{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thesports/json-schema/thesports-competition-details-response-schema.json",
  "title": "CompetitionDetailsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thesports-competitions-api-openapi.yml#/components/schemas/CompetitionDetailsResponse",
  "type": "object",
  "properties": {
    "code": {
      "type": "integer"
    },
    "message": {
      "type": "string"
    },
    "results": {
      "$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"
        }
      }
    }
  }
}