The Racing API · Schema

app__models__racecards__RunnerOdds

app__models__racecards__RunnerOdds schema from The Racing API

Horse RacingSportsStatisticsBettingAnalytics

Properties

Name Type Description
horse_id string
horse string
dob object
age object
sex object
sex_code object
colour object
region object
breeder object
dam string
dam_id string
dam_region object
sire string
sire_id string
sire_region object
damsire string
damsire_id string
damsire_region object
trainer string
trainer_id string
trainer_location object
trainer_14_days object
owner string
owner_id string
prev_trainers object
prev_owners object
comment object
spotlight object
quotes object
stable_tour object
medical object
number string
draw string
headgear object
headgear_run object
wind_surgery object
wind_surgery_run object
past_results_flags object
lbs string
ofr string
rpr string
ts string
jockey string
jockey_id string
silk_url object
last_run string
form object
trainer_rtf object
odds object
View JSON Schema on GitHub

JSON Schema

the-racing-api-app__models__racecards__-runner-odds-schema.json Raw ↑
{
  "$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-app__models__racecards__-runner-odds-schema.json",
  "title": "app__models__racecards__RunnerOdds",
  "description": "app__models__racecards__RunnerOdds schema from The Racing API",
  "type": "object",
  "properties": {
    "horse_id": {
      "type": "string",
      "title": "Horse Id"
    },
    "horse": {
      "type": "string",
      "title": "Horse"
    },
    "dob": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Dob"
    },
    "age": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Age"
    },
    "sex": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sex"
    },
    "sex_code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sex Code"
    },
    "colour": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Colour"
    },
    "region": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Region"
    },
    "breeder": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Breeder"
    },
    "dam": {
      "type": "string",
      "title": "Dam"
    },
    "dam_id": {
      "type": "string",
      "title": "Dam Id"
    },
    "dam_region": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Dam Region",
      "default": ""
    },
    "sire": {
      "type": "string",
      "title": "Sire"
    },
    "sire_id": {
      "type": "string",
      "title": "Sire Id"
    },
    "sire_region": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sire Region",
      "default": ""
    },
    "damsire": {
      "type": "string",
      "title": "Damsire"
    },
    "damsire_id": {
      "type": "string",
      "title": "Damsire Id"
    },
    "damsire_region": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Damsire Region",
      "default": ""
    },
    "trainer": {
      "type": "string",
      "title": "Trainer"
    },
    "trainer_id": {
      "type": "string",
      "title": "Trainer Id"
    },
    "trainer_location": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Trainer Location",
      "default": ""
    },
    "trainer_14_days": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/RunnerTrainer14Days"
        },
        {
          "type": "null"
        }
      ],
      "default": {}
    },
    "owner": {
      "type": "string",
      "title": "Owner"
    },
    "owner_id": {
      "type": "string",
      "title": "Owner Id"
    },
    "prev_trainers": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/components/schemas/RunnerPrevTrainer"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Prev Trainers",
      "default": []
    },
    "prev_owners": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/components/schemas/RunnerPrevOwner"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Prev Owners",
      "default": []
    },
    "comment": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Comment",
      "default": ""
    },
    "spotlight": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Spotlight",
      "default": ""
    },
    "quotes": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/components/schemas/RunnerQuote"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Quotes",
      "default": []
    },
    "stable_tour": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/components/schemas/RunnerStableTour"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Stable Tour",
      "default": []
    },
    "medical": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/components/schemas/RunnerMedical"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Medical",
      "default": []
    },
    "number": {
      "type": "string",
      "title": "Number"
    },
    "draw": {
      "type": "string",
      "title": "Draw"
    },
    "headgear": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Headgear",
      "default": ""
    },
    "headgear_run": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Headgear Run",
      "default": ""
    },
    "wind_surgery": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Wind Surgery",
      "default": ""
    },
    "wind_surgery_run": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Wind Surgery Run",
      "default": ""
    },
    "past_results_flags": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Past Results Flags",
      "default": []
    },
    "lbs": {
      "type": "string",
      "title": "Lbs"
    },
    "ofr": {
      "type": "string",
      "title": "Ofr"
    },
    "rpr": {
      "type": "string",
      "title": "Rpr"
    },
    "ts": {
      "type": "string",
      "title": "Ts"
    },
    "jockey": {
      "type": "string",
      "title": "Jockey"
    },
    "jockey_id": {
      "type": "string",
      "title": "Jockey Id"
    },
    "silk_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Silk Url",
      "default": ""
    },
    "last_run": {
      "type": "string",
      "title": "Last Run"
    },
    "form": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Form"
    },
    "trainer_rtf": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Trainer Rtf"
    },
    "odds": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/components/schemas/OddsNoHistory"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Odds",
      "default": []
    }
  },
  "required": [
    "horse_id",
    "horse",
    "dob",
    "age",
    "sex",
    "sex_code",
    "colour",
    "region",
    "breeder",
    "dam",
    "dam_id",
    "sire",
    "sire_id",
    "damsire",
    "damsire_id",
    "trainer",
    "trainer_id",
    "owner",
    "owner_id",
    "number",
    "draw",
    "lbs",
    "ofr",
    "rpr",
    "ts",
    "jockey",
    "jockey_id",
    "last_run",
    "form",
    "trainer_rtf"
  ]
}