{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sportstatsapi/json-schema/sportstatsapi-dto-boxing-event-response-schema.json",
  "title": "dto.BoxingEventResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sportstatsapi-boxing-api-openapi.yml#/components/schemas/dto.BoxingEventResponse",
  "properties": {
    "attribution": {
      "type": "string"
    },
    "bouts": {
      "items": {
        "$ref": "#/$defs/dto.BoxingBoutResponse"
      },
      "type": "array"
    },
    "city": {
      "type": "string"
    },
    "date": {
      "type": "string"
    },
    "id": {
      "type": "integer"
    },
    "kind": {
      "type": "string"
    },
    "main_event_winner": {
      "$ref": "#/$defs/dto.WikiPlayerRef"
    },
    "name": {
      "type": "string"
    },
    "season": {
      "description": "year",
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "updated_at": {
      "type": "string"
    },
    "venue": {
      "type": "string"
    },
    "wikipedia_article": {
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "dto.BoxingBoutResponse": {
      "properties": {
        "card": {
          "type": "string"
        },
        "date": {
          "type": "string"
        },
        "event": {
          "$ref": "#/$defs/dto.WikiTournamentRef"
        },
        "fighter1": {
          "$ref": "#/$defs/dto.WikiPlayerRef"
        },
        "fighter2": {
          "$ref": "#/$defs/dto.WikiPlayerRef"
        },
        "id": {
          "type": "integer"
        },
        "method": {
          "type": "string"
        },
        "result": {
          "type": "string"
        },
        "round": {
          "type": "integer"
        },
        "scheduled_rounds": {
          "type": "integer"
        },
        "time": {
          "type": "string"
        },
        "titles": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "weight_class": {
          "type": "string"
        },
        "winner": {
          "type": "integer"
        }
      },
      "type": "object"
    },
    "dto.WikiPlayerRef": {
      "properties": {
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "dto.WikiTournamentRef": {
      "properties": {
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "season": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}