{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/collegecalcai-com/json-schema/collegecalcai-com-estimate-schema.json",
  "title": "Estimate",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/collegecalcai-com-openapi.yml#/components/schemas/Estimate",
  "type": "object",
  "properties": {
    "school": {
      "$ref": "#/$defs/SchoolRef"
    },
    "estimate": {
      "type": "object",
      "properties": {
        "chancePercent": {
          "type": "integer"
        },
        "verdict": {
          "type": "string",
          "enum": [
            "reach",
            "target",
            "likely",
            "safety"
          ]
        },
        "verdictMeaning": {
          "type": "string"
        },
        "profileStrength": {
          "type": [
            "number",
            "null"
          ]
        }
      }
    },
    "facts": {
      "$ref": "#/$defs/Facts"
    },
    "whatMovesIt": {
      "type": "array",
      "items": {}
    },
    "strengths": {
      "type": "array",
      "items": {}
    },
    "inputsUsed": {
      "type": "object"
    },
    "disclaimer": {
      "type": "string"
    },
    "fullCalculator": {
      "type": "string",
      "format": "uri"
    },
    "methodology": {
      "type": "string",
      "format": "uri"
    },
    "attribution": {
      "type": "string"
    }
  },
  "$defs": {
    "Facts": {
      "type": [
        "object",
        "null"
      ],
      "description": "Federal admissions and outcome figures",
      "properties": {
        "applied": {
          "type": [
            "integer",
            "null"
          ]
        },
        "admitted": {
          "type": [
            "integer",
            "null"
          ]
        },
        "enrolled": {
          "type": [
            "integer",
            "null"
          ]
        },
        "yieldPercent": {
          "type": [
            "number",
            "null"
          ]
        },
        "satMiddle50": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "integer"
          }
        },
        "actMiddle50": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "integer"
          }
        },
        "testPolicy": {
          "type": [
            "string",
            "null"
          ]
        },
        "undergraduates": {
          "type": [
            "integer",
            "null"
          ]
        },
        "costOfAttendance": {
          "type": [
            "number",
            "null"
          ]
        },
        "netPriceAfterAid": {
          "type": [
            "number",
            "null"
          ]
        },
        "graduationRatePercent": {
          "type": [
            "number",
            "null"
          ]
        },
        "medianEarnings10yr": {
          "type": [
            "number",
            "null"
          ]
        },
        "dataYear": {
          "type": "integer"
        },
        "source": {
          "type": "string"
        },
        "earlyRounds": {
          "type": [
            "object",
            "null"
          ],
          "description": "Early Decision, Early Action, waitlist and transfer counts and rates from the college's own Common Data Set (C1, C2, C21, C22, D2), when published",
          "additionalProperties": true
        }
      }
    },
    "SchoolRef": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "acceptanceRate": {
          "type": [
            "number",
            "null"
          ],
          "description": "Percent admitted"
        },
        "page": {
          "type": "string",
          "format": "uri"
        }
      }
    }
  }
}