{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/collegecalcai-com/json-schema/collegecalcai-com-college-schema.json",
  "title": "College",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/collegecalcai-com-openapi.yml#/components/schemas/College",
  "type": "object",
  "properties": {
    "school": {
      "$ref": "#/$defs/SchoolRef"
    },
    "facts": {
      "$ref": "#/$defs/Facts"
    },
    "chancesAtTypicalProfiles": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "satColumns": {
          "type": "array",
          "items": {
            "type": "integer"
          }
        },
        "rows": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "gpa": {
                "type": "number"
              },
              "cells": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "sat": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "chancePercent": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "verdict": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "assumptions": {
          "type": "string"
        }
      }
    },
    "page": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "estimateMyChances": {
      "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"
        }
      }
    }
  }
}