{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fantasypundit-lol/json-schema/fantasypundit-lol-fpl-status-schema.json",
  "title": "FplStatus",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fantasypundit-lol-openapi.json#/components/schemas/FplStatus",
  "type": "object",
  "required": [
    "phase",
    "lastCompletedGameweek"
  ],
  "properties": {
    "phase": {
      "type": "string",
      "enum": [
        "preseason",
        "live",
        "completed"
      ]
    },
    "lastCompletedGameweek": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 1,
      "maximum": 38
    },
    "currentGameweek": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 1,
      "maximum": 38
    },
    "nextGameweek": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 1,
      "maximum": 38
    },
    "expectedReadyAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "While the current Gameweek is live or settling, when its roast usually lands: the first 10:00 UK time at least ten hours after the final kick-off. An estimate, not a guarantee."
    }
  },
  "additionalProperties": true
}