{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zippedscript/json-schema/zippedscript-degree-direct-institution-schema.json",
  "title": "DegreeDirectInstitution",
  "description": "A list of the returned records",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zippedscript-direct-api-openapi.yml#/components/schemas/DegreeDirectInstitution",
  "required": [
    "country",
    "name"
  ],
  "type": "object",
  "properties": {
    "id": {
      "title": "Id",
      "type": "integer",
      "readOnly": true
    },
    "year_limits": {
      "title": "Year limits",
      "type": [
        "array",
        "null"
      ],
      "description": "Valid graduation year ranges for this institution. A null start or end leaves that side open.",
      "items": {
        "type": "object",
        "properties": {
          "start": {
            "type": [
              "integer",
              "null"
            ]
          },
          "end": {
            "type": [
              "integer",
              "null"
            ]
          }
        }
      }
    },
    "country": {
      "title": "Country",
      "description": "The country code for the search (e.g., US)",
      "type": "string",
      "maxLength": 32,
      "minLength": 1
    },
    "name": {
      "title": "Name",
      "description": "The name of the institution",
      "type": "string",
      "maxLength": 255,
      "minLength": 1
    },
    "native_name": {
      "title": "Native name",
      "type": [
        "string",
        "null"
      ],
      "maxLength": 255
    },
    "additional_request_details": {
      "title": "Additional request details",
      "type": [
        "object",
        "null"
      ]
    }
  }
}