Full Tournaments schema
Tournament: Note - Multiple tournaments can be returned after a call in an array.
{
"$id": "TennisTournament$",
"type": "object",
"additionalProperties": false,
"properties": {
"sport": {
"type": "string"
},
"tournamentName": {
"type": "string"
},
"city": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"Cancelled",
"Confirmed",
"Unconfirmed"
]
},
"location": {
"type": "string"
},
"countryCode": {
"type": "string"
},
"startDate": {
"type": "string",
"format": "date"
},
"endDate": {
"type": "string",
"format": "date"
},
"surface": {
"type": "string",
"enum": [
"Carpet",
"Clay",
"Grass",
"Hard"
]
},
"year": {
"type": "integer"
},
"identifier": {
"type": "integer"
},
"environment": {
"type": "string",
"enum": [
"Indoor",
"Outdoor"
]
},
"numberOfMatches": {
"type": "integer"
},
"utcOffset": {
"type": "number"
},
"eventsSummary": {
"type": "object",
"additionalProperties": false,
"patternProperties": {
"^\\d{4}-\\d{2}-\\d{2}$": {
"type": "object",
"patternProperties": {
"^(?:LS|MD|MS|QLS|QMD|QLD|MD|QMD|LD|QMS)$": {
"type": "integer"
}
}
}
}
},
"competitions": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"organisation": {
"type": "string",
"enum": [
"TennisAustralia",
"AELTC",
"ITF",
"UTR",
"ATP",
"WTA",
"FFT",
"USTA"
]
},
"externalId": {
"type": "string"
},
"competitionId": {
"type": "string"
},
"competitionType": {
"type": "string",
"enum": [
"GrandSlam",
"UTRM",
"ATPCup",
"GrandSlamMens",
"Premier5",
"1000",
"WTA_125k",
"GrandSlamMixed",
"Premier",
"PremierMandatory",
"UTRW",
"Internationals",
"Challenger",
"SuperChallenger",
"GrandSlamLadies",
"250",
"Qualifying",
"500",
"_ITF",
"WorldChampionships",
"NextGenerationFinals"
]
},
"singlesDrawSize": {
"type": "integer"
},
"singlesQualifyingDrawSize": {
"type": "integer"
},
"doublesDrawSize": {
"type": "integer"
},
"doublesQualifyingDrawSize": {
"type": "integer"
},
"startDate": {
"type": "string",
"format": "date"
},
"endDate": {
"type": "string",
"format": "date"
},
"licencingProperty": {
"type": "string",
"enum": [
"TennisUSOpen",
"TennisFROpen",
"ImgStreamTest",
"TennisAUSOpen",
"Badminton",
"TennisUTR",
"TennisWimbledon",
"ImgBadmintonStreamTest",
"TennisATPWTA",
"TennisATPChallenger"
]
},
"drawPoolSize": {
"type": "integer"
},
"drawNumPools": {
"type": "integer"
}
},
"required": [
"organisation",
"externalId",
"competitionId",
"competitionType",
"competitionType",
"singlesDrawSize",
"singlesQualifyingDrawSize",
"doublesDrawSize",
"doublesQualifyingDrawSize",
"startDate",
"endDate",
"licencingProperty"
]
}
},
"eventsResource": {
"type": "string",
"format": "uri"
},
"bookingStatus": {
"type": "string"
},
"venueNames": {
"type": "array",
"items": {
"type": "string"
}
},
"numberOfMatchesBookedToday": {
"type": "integer"
}
},
"required": [
"sport",
"tournamentName",
"status",
"year",
"identifier",
"eventsSummary",
"endDate",
"startDate",
"city",
"environment",
"numberOfMatches",
"countryCode",
"location",
"utcOffset",
"competitions",
"bookingStatus",
"eventsResource",
"venueNames",
"surface"
]
}
Last updated