{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/openmedici-com/json-schema/openmedici-com-award-list-response-schema.json",
  "title": "AwardListResponse",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/openmedici-com-v1-openapi.json#/components/schemas/AwardListResponse",
  "type": "object",
  "required": [
    "data",
    "meta"
  ],
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "award",
          "program",
          "recipient"
        ],
        "properties": {
          "award": {
            "$ref": "#/$defs/Award"
          },
          "program": {
            "type": "object",
            "additionalProperties": true
          },
          "recipient": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "additionalProperties": false
      }
    },
    "meta": {
      "$ref": "#/$defs/ListMeta"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "Award": {
      "type": "object",
      "required": [
        "id",
        "programId",
        "cycleId",
        "recipientId",
        "awardYear",
        "awardAmountUsd",
        "projectTitle",
        "publicNotes",
        "createdAt",
        "updatedAt"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "programId": {
          "type": "string",
          "format": "uuid"
        },
        "cycleId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "recipientId": {
          "type": "string",
          "format": "uuid"
        },
        "awardYear": {
          "type": "integer"
        },
        "awardAmountUsd": {
          "type": [
            "number",
            "null"
          ]
        },
        "projectTitle": {
          "type": [
            "string",
            "null"
          ]
        },
        "publicNotes": {
          "type": [
            "string",
            "null"
          ]
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        }
      },
      "additionalProperties": false
    },
    "ListMeta": {
      "type": "object",
      "required": [
        "limit",
        "offset",
        "count"
      ],
      "properties": {
        "limit": {
          "type": "integer"
        },
        "offset": {
          "type": "integer"
        },
        "count": {
          "type": "integer"
        }
      },
      "additionalProperties": true
    }
  }
}