{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sportstatsapi/json-schema/sportstatsapi-dto-boxing-fighter-response-schema.json",
  "title": "dto.BoxingFighterResponse",
  "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.BoxingFighterResponse",
  "properties": {
    "attribution": {
      "type": "string"
    },
    "bouts_recorded": {
      "type": "integer"
    },
    "id": {
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "profile": {
      "$ref": "#/$defs/dto.BoxerData"
    },
    "recent_bouts": {
      "items": {
        "$ref": "#/$defs/dto.BoxingBoutResponse"
      },
      "type": "array"
    },
    "titles": {
      "items": {
        "$ref": "#/$defs/dto.BoxingChampionLine"
      },
      "type": "array"
    },
    "wikipedia_article": {
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "dto.BoxerData": {
      "properties": {
        "birth_date": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "height_cm": {
          "type": "integer"
        },
        "reach_cm": {
          "type": "integer"
        },
        "record": {
          "items": {
            "type": "integer"
          },
          "type": "array"
        },
        "stance": {
          "type": "string"
        },
        "wikidata_id": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "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.BoxingChampionLine": {
      "properties": {
        "body": {
          "type": "string"
        },
        "fighter": {
          "$ref": "#/$defs/dto.WikiPlayerRef"
        },
        "record": {
          "type": "string"
        },
        "sex": {
          "description": "men, women",
          "type": "string"
        },
        "since": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "weight_class": {
          "type": "string"
        }
      },
      "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"
    }
  }
}