Full Live events schema

Live Event: Note: api will return a list of LiveEvent when hitting LiveEvents endpoint.

{
  "$id": "LiveEvent$",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "tournamentName": {
      "type": "string"
    },
    "eventId": {
      "type": "string"
    },
    "startTime": {
      "oneOf": [
        {
          "type": "object",
          "description": "Holds default ordering for different types.",
          "additionalProperties": false,
          "properties": {
            "time": {
              "type": "string",
              "format": "time"
            }
          },
          "required": [
            "time"
          ]
        },
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "NoInformation",
                "FollowsPrevious"
              ]
            }
          },
          "required": [
            "status"
          ]
        }
      ]
    },
    "teamA": {
      "properties": {
        "status": {
          "type": "string"
        },
        "team": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "player1": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "id": {
                  "type": "string"
                },
                "firstName": {
                  "type": "string"
                },
                "lastName": {
                  "type": "string"
                },
                "country": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "firstName",
                "lastName",
                "country"
              ]
            },
            "player2": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "id": {
                  "type": "string"
                },
                "firstName": {
                  "type": "string"
                },
                "lastName": {
                  "type": "string"
                },
                "country": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "firstName",
                "lastName",
                "country"
              ]
            },
            "seed": {
              "type": "integer"
            },
            "entryType": {
              "type": "string",
              "enum": [
                "QualifierEntry",
                "Wildcard",
                "SpecialExempt",
                "LuckyLoser",
                "Standard",
                "Alternate",
                "ProtectedRank"
              ]
            }
          },
          "required": [
            "player1",
            "entryType"
          ]
        }
      }
    },
    "teamB": {
      "properties": {
        "status": {
          "type": "string"
        },
        "team": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "player1": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "id": {
                  "type": "string"
                },
                "firstName": {
                  "type": "string"
                },
                "lastName": {
                  "type": "string"
                },
                "country": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "firstName",
                "lastName",
                "country"
              ]
            },
            "player2": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "id": {
                  "type": "string"
                },
                "firstName": {
                  "type": "string"
                },
                "lastName": {
                  "type": "string"
                },
                "country": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "firstName",
                "lastName",
                "country"
              ]
            },
            "seed": {
              "type": "integer"
            },
            "entryType": {
              "type": "string",
              "enum": [
                "QualifierEntry",
                "Wildcard",
                "SpecialExempt",
                "LuckyLoser",
                "Standard",
                "Alternate",
                "ProtectedRank"
              ]
            }
          },
          "required": [
            "player1",
            "entryType"
          ]
        }
      }
    }
  },
  "required": [
    "teamB",
    "eventId",
    "tournamentName",
    "teamA",
    "eventTiming"
  ]
}

Last updated