Raw schema
{
"type": "object",
"properties": {
"date": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
"date_range": {
"type": "object",
"properties": {
"start": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
"end": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
"max_days": {
"default": 7,
"type": "integer",
"minimum": 1,
"maximum": 14
}
},
"required": [
"start",
"end"
]
},
"earliest_time": {
"default": "00:00",
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
},
"latest_end_time": {
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
},
"duration_minutes": {
"description": "Omit to return every duration offered by the provider.",
"type": "integer",
"minimum": 30,
"maximum": 180,
"multipleOf": 30
},
"number_of_players": {
"default": 4,
"description": "Used to compute per-player price only. Does not filter court capacity; use singles_court for that.",
"type": "integer",
"minimum": 1,
"maximum": 4
},
"singles_court": {
"default": false,
"description": "When true, restrict results to courts or venues explicitly identified as supporting singles play.",
"type": "boolean"
},
"provider": {
"type": "string",
"enum": [
"padelstars",
"playtomic",
"padelmates",
"matchi",
"clubspark",
"matchpoint",
"nettla"
]
},
"location": {
"type": "string",
"minLength": 2,
"maxLength": 120
},
"radius_km": {
"default": 10,
"type": "number",
"exclusiveMinimum": 0,
"maximum": 200
},
"max_travel_minutes": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 180
},
"travel_mode": {
"default": "drive",
"type": "string",
"enum": [
"drive"
]
},
"court_type": {
"type": "string",
"enum": [
"indoor",
"outdoor",
"covered",
"unspecified"
]
},
"max_price_per_player": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1000
},
"limit": {
"default": 3,
"type": "integer",
"minimum": 1,
"maximum": 20
}
},
"required": [
"location"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}