The Racing API · JSON Structure

The Racing Api Distances Structure

Distances schema from The Racing API

Type: object Properties: 13 Required: 13
Horse RacingSportsStatisticsBettingAnalytics

Distances is a JSON Structure definition published by The Racing API, describing 13 properties, of which 13 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

dist dist_y dist_m dist_f times runs 1st 2nd 3rd 4th a/e win_% 1_pl

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/the-racing-api/refs/heads/main/json-structure/the-racing-api-distances-structure.json",
  "name": "Distances",
  "description": "Distances schema from The Racing API",
  "type": "object",
  "properties": {
    "dist": {
      "type": "string",
      "name": "Distance"
    },
    "dist_y": {
      "type": "string",
      "name": "Distance yards"
    },
    "dist_m": {
      "type": "string",
      "name": "Distance metres"
    },
    "dist_f": {
      "type": "string",
      "name": "Distance furlongs"
    },
    "times": {
      "items": {
        "$ref": "#/components/schemas/TimesGoing"
      },
      "type": "array",
      "name": "Times"
    },
    "runs": {
      "type": "integer",
      "name": "Runs"
    },
    "1st": {
      "type": "integer",
      "name": "1st place finishes"
    },
    "2nd": {
      "type": "integer",
      "name": "2nd place finishes"
    },
    "3rd": {
      "type": "integer",
      "name": "3rd place finishes"
    },
    "4th": {
      "type": "integer",
      "name": "4th place finishes"
    },
    "a/e": {
      "type": "number",
      "name": "Actual/expected"
    },
    "win_%": {
      "type": "number",
      "name": "Win percentage (decimal)"
    },
    "1_pl": {
      "type": "number",
      "name": "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"
  ]
}