Full Tournaments results schem
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "MatchResultResponse$",
"type": "object",
"additionalProperties": false,
"properties": {
"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"
]
}
}
},
"winner": {
"type": "string",
"enum": [
"TeamA",
"TeamB"
]
},
"matchScore": {
"type": "object",
"additionalProperties": false,
"properties": {
"setScores": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"teamAGamesWon": {
"type": "integer"
},
"teamBGamesWon": {
"type": "integer"
},
"tieBreakPointsA": {
"type": "integer"
},
"tieBreakPointsB": {
"type": "integer"
}
},
"required": [
"teamAGamesWon",
"teamBGamesWon"
]
}
}
},
"required": [
"setScores"
]
},
"matchExternalId": {
"type": "string"},
"finishReason": {
"type": "string",
"enum": [
"Unknown",
"Normal",
"Default",
"SuddenDeath",
"Retirement",
"Walkover",
"Abandoned"
]
},
"matchId": {
"type": "integer"
},
"eventId": {
"type": "string"
}
},
"required": [
"teamA",
"teamB",
"winner",
"matchScore",
"matchExternalId",
"finishReason",
"matchId",
"eventId"
]
}
Last updated