Full Tournaments Events schema
Note - Multiple events can be returned after a call in an array.
{
"$id": "TournamentEvent",
"type": "object",
"additionalProperties": false,
"properties": {
"eventId": {
"type": "string"
},
"date": {
"type": "string",
"format": "date"
},
"matchType": {
"type": "string",
"enum": [
"QMS",
"MD",
"MS",
"LS",
"MD",
"QMD",
"QLD",
"QLS",
"QMD",
"LD"
]
},
"status": {
"type": "string",
"enum": [
"NotStarted",
"InProgress",
"Suspended",
"Finished"
]
},
"courtId": {
"type": "string"
},
"courtName": {
"type": "string"
},
"courtSeq": {
"type": "string"
},
"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"
]
}
}
},
"startTime": {
"properties": {
"status": {
"type": "string"
},
"time": {
"type": "string",
"format": "time"
}
}
},
"startTimeText": {
"type": "string"
},
"additionalText": {
"type": "string"
},
"bookingStatus": {
"type": "string",
"enum": [
"EventAutoBooked",
"EventBooked",
"EventLicenceSuspended",
"EventNotLicensed",
"EventNotBooked"
]
},
"completionId": {
"type": "string"
},
"round": {
"type": "string"
}
},
"required": [
"eventId",
"date",
"matchType",
"status",
"courtId",
"courtName",
"courtSeq",
"teamA",
"teamB",
"startTime",
"startTimeText",
"additionalText",
"bookingStatus",
"completionId",
"round"
]
}
Last updated