{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thesports/json-schema/thesports-competition-list-response-schema.json",
  "title": "CompetitionListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thesports-competitions-api-openapi.yml#/components/schemas/CompetitionListResponse",
  "type": "object",
  "properties": {
    "code": {
      "type": "integer"
    },
    "message": {
      "type": "string"
    },
    "results": {
      "type": "object",
      "properties": {
        "total": {
          "type": "integer"
        },
        "data": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Competition"
          }
        }
      }
    }
  },
  "$defs": {
    "Competition": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "short_name": {
          "type": "string"
        },
        "logo": {
          "type": "string"
        },
        "country_id": {
          "type": "string"
        },
        "country_name": {
          "type": "string"
        },
        "type": {
          "type": "integer"
        },
        "cur_season_id": {
          "type": "string"
        },
        "cur_stage_id": {
          "type": "string"
        }
      }
    }
  }
}