{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://lists.metix.ai/schema/ledger-university-pipeline-1.0.json",
  "title": "Metix AI ledger: university research to AI lab talent pipeline 1.0",
  "description": "Universities and public academic research institutes ranked by current mapped technical staff across the evaluated AI labs who previously held dated doctoral, postdoctoral, faculty or academic research roles there.",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "schema_version": {
      "const": "1.0"
    },
    "kind": {
      "const": "university-pipeline"
    },
    "slug": {
      "type": "string",
      "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
    },
    "title": {
      "type": "string",
      "minLength": 1
    },
    "collected": {
      "type": "string",
      "format": "date"
    },
    "updated": {
      "type": "string",
      "format": "date"
    },
    "team_as_of": {
      "type": "string",
      "format": "date"
    },
    "window_start": {
      "type": "string",
      "format": "date"
    },
    "floor": {
      "const": 3
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "source": {
      "type": "string",
      "minLength": 1
    },
    "methodology": {
      "type": "string",
      "format": "uri"
    },
    "$schema": {
      "const": "https://lists.metix.ai/schema/ledger-university-pipeline-1.0.json"
    },
    "min_lab_technical": {
      "type": "integer",
      "minimum": 0
    },
    "min_months": {
      "type": "integer",
      "minimum": 0
    },
    "evaluated_labs": {
      "type": "integer",
      "minimum": 0
    },
    "inclusion": {
      "type": "string",
      "minLength": 1
    },
    "scope_gap": {
      "type": "string"
    },
    "dropped": {
      "type": "object"
    },
    "rows": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "rank": {
            "type": "integer",
            "minimum": 1
          },
          "university": {
            "type": "string",
            "minLength": 1
          },
          "website": {
            "type": "string",
            "format": "uri",
            "pattern": "^https://"
          },
          "region": {
            "type": "string",
            "minLength": 1
          },
          "location": {
            "type": "string",
            "minLength": 1
          },
          "edge": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1
              },
              {
                "type": "null"
              }
            ]
          },
          "lab_technical_staff": {
            "type": "integer",
            "minimum": 0
          },
          "doctoral_faculty_count": {
            "type": "integer",
            "minimum": 0
          },
          "doctoral_faculty_share_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "direct_to_lab_count": {
            "type": "integer",
            "minimum": 0
          },
          "direct_to_lab_share_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "joined_lab_12m": {
            "type": "integer",
            "minimum": 0
          },
          "distinct_labs": {
            "type": "integer",
            "minimum": 0
          },
          "top_labs": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "name": {
                  "type": "string",
                  "minLength": 1
                },
                "people": {
                  "type": "integer",
                  "minimum": 3
                }
              },
              "required": [
                "name",
                "people"
              ]
            }
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          }
        },
        "required": [
          "id",
          "rank",
          "university",
          "website",
          "region",
          "location",
          "edge",
          "lab_technical_staff",
          "doctoral_faculty_count",
          "doctoral_faculty_share_pct",
          "direct_to_lab_count",
          "direct_to_lab_share_pct",
          "joined_lab_12m",
          "distinct_labs",
          "top_labs",
          "tags"
        ]
      }
    }
  },
  "required": [
    "schema_version",
    "kind",
    "slug",
    "title",
    "collected",
    "updated",
    "team_as_of",
    "window_start",
    "floor",
    "url",
    "source",
    "methodology",
    "$schema",
    "min_lab_technical",
    "min_months",
    "evaluated_labs",
    "inclusion",
    "scope_gap",
    "dropped",
    "rows"
  ]
}
