Schemas
Competition
Response and request schema
Schema
object
Thin competition search result. Competitions carry no date; year and date filtering exists on editions.
| Field | Type | Description |
|---|---|---|
country_iso_code | string or null · required | Competition country, ISO 3166-1 alpha-2. |
discipline | string · required | Open set; documented values are Known values (open set): |
id | integer (int64) · required | Public competition ID. |
international | boolean · required | Whether the competition is international. |
name | string · required |
Complete OpenAPI definition
{
"description": "Thin competition search result. Competitions carry no date; year and date filtering exists on editions.",
"properties": {
"country_iso_code": {
"description": "Competition country, ISO 3166-1 alpha-2.",
"nullable": true,
"type": "string"
},
"discipline": {
"description": "Open set; documented values are `jumping`, `dressage` and `eventing`.",
"type": "string",
"x-known-values": [
"jumping",
"dressage",
"eventing"
]
},
"id": {
"description": "Public competition ID.",
"format": "int64",
"type": "integer"
},
"international": {
"description": "Whether the competition is international.",
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name",
"country_iso_code",
"international",
"discipline"
],
"type": "object"
}