The Racing API · Schema

Distances

Distances schema from The Racing API

Horse RacingSportsStatisticsBettingAnalytics

Properties

Name Type Description
dist string
dist_y string
dist_m string
dist_f string
times array
runs integer
1st integer
2nd integer
3rd integer
4th integer
a/e number
win_% number
1_pl number
View JSON Schema on GitHub

JSON Schema

the-racing-api-distances-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-distances-schema.json",
  "title": "Distances",
  "description": "Distances schema from The Racing API",
  "type": "object",
  "properties": {
    "dist": {
      "type": "string",
      "title": "Distance"
    },
    "dist_y": {
      "type": "string",
      "title": "Distance yards"
    },
    "dist_m": {
      "type": "string",
      "title": "Distance metres"
    },
    "dist_f": {
      "type": "string",
      "title": "Distance furlongs"
    },
    "times": {
      "items": {
        "$ref": "#/components/schemas/TimesGoing"
      },
      "type": "array",
      "title": "Times"
    },
    "runs": {
      "type": "integer",
      "title": "Runs"
    },
    "1st": {
      "type": "integer",
      "title": "1st place finishes"
    },
    "2nd": {
      "type": "integer",
      "title": "2nd place finishes"
    },
    "3rd": {
      "type": "integer",
      "title": "3rd place finishes"
    },
    "4th": {
      "type": "integer",
      "title": "4th place finishes"
    },
    "a/e": {
      "type": "number",
      "title": "Actual/expected"
    },
    "win_%": {
      "type": "number",
      "title": "Win percentage (decimal)"
    },
    "1_pl": {
      "type": "number",
      "title": "One unit p/l at SP"
    }
  },
  "required": [
    "dist",
    "dist_y",
    "dist_m",
    "dist_f",
    "times",
    "runs",
    "1st",
    "2nd",
    "3rd",
    "4th",
    "a/e",
    "win_%",
    "1_pl"
  ]
}