{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/realtimesportsapi-com/json-schema/realtimesportsapi-com-athlete-schema.json",
  "title": "Athlete",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/realtimesportsapi-com-openapi.json#/components/schemas/Athlete",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "displayName": {
      "type": "string"
    },
    "firstName": {
      "type": "string"
    },
    "lastName": {
      "type": "string"
    },
    "position": {
      "type": "string"
    },
    "jersey": {
      "type": "string"
    },
    "age": {
      "type": "integer"
    },
    "team": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "headshot": {
      "type": "string"
    },
    "hasStats": {
      "type": "boolean"
    },
    "statistics": {
      "type": "object",
      "properties": {
        "splits": {
          "type": "object",
          "additionalProperties": true
        }
      },
      "description": "Present on the single-athlete endpoint, or on the list with include=statistics."
    },
    "statisticsScope": {
      "type": "object",
      "properties": {
        "season": {
          "type": "string"
        },
        "seasonType": {
          "type": [
            "integer",
            "null"
          ]
        }
      }
    }
  }
}