{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/realtimesportsapi-com/json-schema/realtimesportsapi-com-availability-state-schema.json",
  "title": "AvailabilityState",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/realtimesportsapi-com-openapi.json#/components/schemas/AvailabilityState",
  "type": "object",
  "properties": {
    "athleteId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "position": {
      "type": "string"
    },
    "teamId": {
      "type": "string"
    },
    "teamName": {
      "type": "string"
    },
    "availability": {
      "type": "string",
      "enum": [
        "OUT",
        "DOUBTFUL",
        "QUESTIONABLE",
        "PROBABLE",
        "DAY_TO_DAY",
        "INJURED_RESERVE",
        "SUSPENDED",
        "AVAILABLE",
        "UNKNOWN"
      ]
    },
    "status": {
      "type": "string"
    },
    "reason": {
      "type": "string"
    },
    "detail": {
      "type": "string"
    },
    "reportDate": {
      "type": "string"
    },
    "observedAt": {
      "type": "string",
      "format": "date-time"
    },
    "injuryId": {
      "type": "string"
    },
    "returnDate": {
      "type": "string"
    },
    "practice": {
      "type": "string",
      "enum": [
        "DNP",
        "LIMITED",
        "FULL"
      ],
      "description": "Parsed from the news note (derived, not a structured provider field)."
    },
    "practiceDay": {
      "type": "string"
    },
    "seasonYear": {
      "type": "integer"
    },
    "seasonType": {
      "type": "integer"
    },
    "week": {
      "type": "integer"
    }
  }
}