{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sportstatsapi/json-schema/sportstatsapi-dto-mmabout-response-schema.json",
  "title": "dto.MMABoutResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sportstatsapi-mma-api-openapi.yml#/components/schemas/dto.MMABoutResponse",
  "properties": {
    "attribution": {
      "type": "string"
    },
    "event_id": {
      "type": "integer"
    },
    "fighter1": {
      "$ref": "#/$defs/dto.MMAFighterRef"
    },
    "fighter2": {
      "$ref": "#/$defs/dto.MMAFighterRef"
    },
    "id": {
      "type": "integer"
    },
    "judges_scores": {
      "description": "\"29-28\", one per judge",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "main_card": {
      "type": "boolean"
    },
    "main_event": {
      "type": "boolean"
    },
    "method": {
      "type": "string"
    },
    "method_detail": {
      "description": "Punches, Rear Naked Choke",
      "type": "string"
    },
    "order": {
      "type": "integer"
    },
    "result_source": {
      "description": "ResultSource: provider, or wikipedia where the result (winner,\nmethod, round, time, scores) is the event article's: the data provider had\nnone, it was changed after the event (overturned), or the data provider does\nnot list the bout. Attribution is set then.",
      "type": "string"
    },
    "round": {
      "description": "the round it ended in",
      "type": "integer"
    },
    "start": {
      "description": "UTC",
      "type": "string"
    },
    "stats": {
      "description": "fighter1, fighter2: strikes by target (total, power), knockdowns, takedowns, submissions, control time",
      "items": {
        "type": "integer"
      },
      "type": "array"
    },
    "status": {
      "description": "scheduled, live, finished, cancelled, postponed",
      "type": "string"
    },
    "time": {
      "description": "time in that round, \"4:07\"",
      "type": "string"
    },
    "updated_at": {
      "type": "string"
    },
    "weight_class": {
      "type": "string"
    },
    "winner": {
      "type": "integer"
    }
  },
  "type": "object",
  "$defs": {
    "dto.MMAFighterRef": {
      "properties": {
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}