{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/admit-coach-com/json-schema/admit-coach-com-plan-import-schema.json",
  "title": "PlanImport",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/admit-coach-com-plans-api-openapi.yml#/components/schemas/PlanImport",
  "properties": {
    "input": {
      "$ref": "#/$defs/PlanInput"
    },
    "schools": {
      "items": {
        "$ref": "#/$defs/PlanSchool"
      },
      "type": "array",
      "maxItems": 20,
      "minItems": 1,
      "title": "Schools"
    },
    "annual_budget": {
      "anyOf": [
        {
          "type": "number",
          "maximum": 500000.0,
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Annual Budget"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "schools"
  ],
  "$defs": {
    "PlanInput": {
      "properties": {
        "gpa": {
          "type": "number",
          "maximum": 5.0,
          "minimum": 0.0,
          "title": "Gpa",
          "default": 0
        },
        "sat": {
          "type": "integer",
          "maximum": 1600.0,
          "minimum": 0.0,
          "title": "Sat",
          "default": 0
        },
        "act": {
          "type": "integer",
          "maximum": 36.0,
          "minimum": 0.0,
          "title": "Act",
          "default": 0
        },
        "state": {
          "type": "string",
          "maxLength": 2,
          "pattern": "^[A-Za-z]{0,2}$",
          "title": "State",
          "default": ""
        },
        "major": {
          "type": "string",
          "maxLength": 100,
          "title": "Major",
          "default": ""
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "PlanInput"
    },
    "PlanSchool": {
      "properties": {
        "unitid": {
          "type": "string",
          "pattern": "^\\d{1,10}$",
          "title": "Unitid"
        },
        "tier": {
          "type": "string",
          "enum": [
            "reach",
            "target",
            "safety"
          ],
          "title": "Tier",
          "default": "target"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "unitid"
      ],
      "title": "PlanSchool"
    }
  }
}