{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/owlsinsight-com/json-schema/owlsinsight-com-hard-rock-events-response-schema.json",
  "title": "HardRockEventsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/owlsinsight-com-hard-rock-bet-v2-api-openapi.yml#/components/schemas/HardRockEventsResponse",
  "properties": {
    "categoryName": {
      "type": "string"
    },
    "compId": {
      "type": "string"
    },
    "compName": {
      "type": "string"
    },
    "count": {
      "format": "double",
      "type": "number"
    },
    "data": {
      "items": {
        "$ref": "#/$defs/HardRockEvent"
      },
      "type": "array"
    },
    "etag": {
      "type": "string"
    },
    "league": {
      "type": "string"
    },
    "meta": {
      "$ref": "#/$defs/HardRockMeta"
    },
    "slug": {
      "type": "string"
    },
    "sport": {
      "$ref": "#/$defs/HardRockSport"
    },
    "state": {
      "$ref": "#/$defs/HardRockState"
    },
    "success": {
      "type": "boolean"
    }
  },
  "type": "object",
  "x-owls-required": [
    "success",
    "sport",
    "state",
    "count",
    "data"
  ],
  "$defs": {
    "HardRockEvent": {
      "properties": {
        "eventTime": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "inplay": {
          "type": "boolean"
        },
        "markets": {
          "items": {
            "$ref": "#/$defs/HardRockMarket"
          },
          "type": "array"
        },
        "name": {
          "type": "string"
        },
        "participants": {
          "items": {
            "$ref": "#/$defs/HardRockParticipant"
          },
          "type": "array"
        },
        "simpleMatchState": {
          "type": "object"
        },
        "sport": {
          "type": "string"
        }
      },
      "type": "object",
      "x-owls-required": [
        "id",
        "name",
        "inplay",
        "sport",
        "eventTime",
        "participants",
        "markets"
      ]
    },
    "HardRockMarket": {
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "selections": {
          "items": {
            "$ref": "#/$defs/HardRockSelection"
          },
          "type": "array"
        },
        "state": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object",
      "x-owls-required": [
        "id",
        "type",
        "name",
        "state",
        "selections"
      ]
    },
    "HardRockMeta": {
      "properties": {
        "ageSeconds": {
          "format": "double",
          "type": "number"
        },
        "cacheTimestamp": {
          "type": "string"
        },
        "cached": {
          "type": "boolean"
        },
        "source": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "timestamp": {
          "type": "string"
        }
      },
      "type": "object",
      "x-owls-required": [
        "source"
      ]
    },
    "HardRockParticipant": {
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "position": {
          "format": "double",
          "type": "number"
        }
      },
      "type": "object",
      "x-owls-required": [
        "id",
        "name",
        "position"
      ]
    },
    "HardRockSelection": {
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "rootIdx": {
          "format": "double",
          "type": "number"
        },
        "state": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "x-extensible-enum": [
            "A",
            "AH",
            "B",
            "BH",
            "Over",
            "Under"
          ]
        }
      },
      "type": "object",
      "x-owls-required": [
        "id",
        "name",
        "rootIdx",
        "type",
        "state"
      ]
    },
    "HardRockSport": {
      "type": "string",
      "x-extensible-enum": [
        "AMERICAN_FOOTBALL",
        "AUSSIE_RULES",
        "BASEBALL",
        "BASKETBALL",
        "BOXING",
        "CRICKET",
        "DARTS",
        "HANDBALL",
        "ICE_HOCKEY",
        "MMA",
        "RUGBY",
        "SNOOKER",
        "SOCCER",
        "TABLE_TENNIS",
        "TENNIS",
        "VOLLEYBALL"
      ]
    },
    "HardRockState": {
      "type": "string",
      "x-extensible-enum": [
        "az",
        "fl"
      ]
    }
  }
}