The Racing API · Schema
Racecard
Racecard schema from The Racing API
Horse RacingSportsStatisticsBettingAnalytics
Properties
| Name | Type | Description |
|---|---|---|
| race_id | string | |
| course | string | |
| course_id | string | |
| date | string | |
| off_time | string | |
| off_dt | object | |
| race_name | string | |
| distance_round | string | |
| distance | string | |
| distance_f | string | |
| region | string | |
| pattern | string | |
| sex_restriction | object | |
| race_class | string | |
| type | string | |
| age_band | string | |
| rating_band | string | |
| prize | string | |
| field_size | string | |
| going_detailed | object | |
| rail_movements | object | |
| stalls | object | |
| weather | object | |
| going | string | |
| surface | object | |
| runners | array | |
| big_race | object | |
| is_abandoned | object | |
| race_status | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/the-racing-api/refs/heads/main/json-schema/the-racing-api-racecard-schema.json",
"title": "Racecard",
"description": "Racecard schema from The Racing API",
"type": "object",
"properties": {
"race_id": {
"type": "string",
"title": "Race Id"
},
"course": {
"type": "string",
"title": "Course"
},
"course_id": {
"type": "string",
"title": "Course Id"
},
"date": {
"type": "string",
"title": "Date"
},
"off_time": {
"type": "string",
"title": "Off Time"
},
"off_dt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Off Dt",
"default": ""
},
"race_name": {
"type": "string",
"title": "Race Name"
},
"distance_round": {
"type": "string",
"title": "Distance Round"
},
"distance": {
"type": "string",
"title": "Distance"
},
"distance_f": {
"type": "string",
"title": "Distance F"
},
"region": {
"type": "string",
"title": "Region"
},
"pattern": {
"type": "string",
"title": "Pattern"
},
"sex_restriction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Sex Restriction",
"default": ""
},
"race_class": {
"type": "string",
"title": "Race Class"
},
"type": {
"type": "string",
"title": "Type"
},
"age_band": {
"type": "string",
"title": "Age Band"
},
"rating_band": {
"type": "string",
"title": "Rating Band"
},
"prize": {
"type": "string",
"title": "Prize"
},
"field_size": {
"type": "string",
"title": "Field Size"
},
"going_detailed": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Going Detailed"
},
"rail_movements": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Rail Movements"
},
"stalls": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Stalls"
},
"weather": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Weather"
},
"going": {
"type": "string",
"title": "Going"
},
"surface": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Surface"
},
"runners": {
"items": {
"$ref": "#/components/schemas/app__models__racecards__Runner"
},
"type": "array",
"title": "Runners"
},
"big_race": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Big Race",
"default": false
},
"is_abandoned": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Is Abandoned",
"default": false
},
"race_status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Race Status",
"default": ""
}
},
"required": [
"race_id",
"course",
"course_id",
"date",
"off_time",
"race_name",
"distance_round",
"distance",
"distance_f",
"region",
"pattern",
"race_class",
"type",
"age_band",
"rating_band",
"prize",
"field_size",
"going_detailed",
"rail_movements",
"stalls",
"weather",
"going",
"surface",
"runners"
]
}