{
"type": "object",
"properties": {},
"additionalProperties": false
}{
"type": "object",
"properties": {
"destination": {
"type": "string",
"enum": [
"home",
"events",
"nearby_events",
"calendar",
"sign_in",
"sign_up",
"create_organization",
"organizer_dashboard",
"athlete_dashboard",
"athlete_tickets",
"athlete_purchases",
"athlete_bookmarks",
"athlete_calendar",
"athlete_profile",
"athlete_settings",
"programming_marketplace",
"athlete_programming"
],
"description": "The supported WODira destination to display."
}
},
"required": [
"destination"
],
"additionalProperties": false
}{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "Event, competition, sport, or organizer name."
},
"location": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "City, region, or country shown in the event search UI."
},
"dateFrom": {
"type": "string",
"format": "date",
"description": "Inclusive start date. dateTo is required when this is provided."
},
"dateTo": {
"type": "string",
"format": "date",
"description": "Inclusive end date. dateFrom is required when this is provided."
},
"eventTypes": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "string",
"enum": [
"HYBRID",
"CROSSTRAINING",
"OCR",
"SWIMMING",
"WEIGHTLIFTING",
"RUNNING",
"TRIATHLON",
"DUATHLON",
"CYCLING",
"CANICROSS",
"TRAILRUNNING",
"AQUATHLON",
"OTHER"
]
},
"description": "Sport types to show in the results UI."
},
"sortBy": {
"type": "string",
"enum": [
"date",
"price",
"name",
"distanceMeters",
"relevance",
"registrations"
],
"description": "Visible result ordering."
},
"sortOrder": {
"type": "string",
"enum": [
"asc",
"desc"
],
"description": "Ascending or descending result ordering."
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {},
"additionalProperties": false
}{
"type": "object",
"properties": {},
"additionalProperties": false
}