{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/soccer-data-co/json-schema/soccer-data-co-get-v1-matches-response-schema.json",
  "title": "GetV1MatchesResponse",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/soccer-data-co-openapi-generated.yml#/components/schemas/GetV1MatchesResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "competition_id": {
      "type": "string"
    },
    "season_id": {
      "type": "string"
    },
    "matchday": {
      "type": "integer"
    },
    "stage": {
      "type": "string"
    },
    "stage_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "group_label": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": "string"
    },
    "utc_date": {
      "type": "string",
      "format": "date-time"
    },
    "home_team": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "away_team": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "score": {
      "type": "object",
      "properties": {
        "home": {
          "type": "integer"
        },
        "away": {
          "type": "integer"
        },
        "final_score": {
          "type": [
            "string",
            "null"
          ]
        },
        "regulation": {
          "type": "object",
          "properties": {
            "home": {
              "type": "integer"
            },
            "away": {
              "type": "integer"
            }
          }
        },
        "after_extra_time": {
          "type": [
            "string",
            "null"
          ]
        },
        "penalty_shootout": {
          "type": [
            "string",
            "null"
          ]
        },
        "went_to_extra_time": {
          "type": "boolean"
        },
        "went_to_penalties": {
          "type": "boolean"
        },
        "winner": {
          "type": "string"
        }
      }
    },
    "is_neutral": {
      "type": "boolean"
    },
    "live": {
      "type": [
        "string",
        "null"
      ]
    },
    "home_manager": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "away_manager": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "odds_available": {
      "type": "boolean"
    },
    "live_odds_available": {
      "type": "boolean"
    },
    "xg_available": {
      "type": "boolean"
    },
    "shotmap_available": {
      "type": "boolean"
    },
    "xg_quality": {
      "type": "string"
    }
  }
}