{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sportstatsapi/json-schema/sportstatsapi-dto-mmaevent-response-schema.json",
  "title": "dto.MMAEventResponse",
  "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.MMAEventResponse",
  "properties": {
    "attribution": {
      "description": "Attribution: set when a result shown comes from Wikipedia.",
      "type": "string"
    },
    "bouts": {
      "type": "integer"
    },
    "card": {
      "items": {
        "$ref": "#/$defs/dto.MMABoutResponse"
      },
      "type": "array"
    },
    "date": {
      "description": "the event's (US) date",
      "type": "string"
    },
    "id": {
      "type": "integer"
    },
    "main_event": {
      "$ref": "#/$defs/dto.MMABoutResponse"
    },
    "name": {
      "type": "string"
    },
    "status": {
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "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"
    },
    "dto.MMAFighterRef": {
      "properties": {
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}