The Racing API · Schema

app__models__na_results__Race

app__models__na_results__Race schema from The Racing API

Horse RacingSportsStatisticsBettingAnalytics

Properties

Name Type Description
age_restriction object
age_restriction_description object
also_ran object
breed object
distance_description object
distance_unit object
distance_value object
fraction object
grade object
maximum_claim_price object
minimum_claim_price object
off_time object
payoffs object
post_time object
post_time_long object
race_class object
race_key object
race_name object
race_restriction object
race_restriction_description object
race_type object
race_type_description object
runners object
scratches object
sex_restriction object
sex_restriction_description object
surface object
surface_description object
time_zone object
total_purse object
track_condition_description object
track_name object
wager_types object
View JSON Schema on GitHub

JSON Schema

the-racing-api-app__models__na_results__-race-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__na_results__-race-schema.json",
  "title": "app__models__na_results__Race",
  "description": "app__models__na_results__Race schema from The Racing API",
  "type": "object",
  "properties": {
    "age_restriction": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Age Restriction"
    },
    "age_restriction_description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Age Restriction Description"
    },
    "also_ran": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "items": {},
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Also Ran"
    },
    "breed": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Breed"
    },
    "distance_description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Distance Description"
    },
    "distance_unit": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Distance Unit"
    },
    "distance_value": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Distance Value"
    },
    "fraction": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/Fraction"
        },
        {
          "type": "null"
        }
      ]
    },
    "grade": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Grade"
    },
    "maximum_claim_price": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Maximum Claim Price"
    },
    "minimum_claim_price": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Minimum Claim Price"
    },
    "off_time": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Off Time"
    },
    "payoffs": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/components/schemas/Payoff"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Payoffs"
    },
    "post_time": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Post Time"
    },
    "post_time_long": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Post Time Long"
    },
    "race_class": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Race Class"
    },
    "race_key": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/RaceKey"
        },
        {
          "type": "null"
        }
      ]
    },
    "race_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Race Name"
    },
    "race_restriction": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Race Restriction"
    },
    "race_restriction_description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Race Restriction Description"
    },
    "race_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Race Type"
    },
    "race_type_description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Race Type Description"
    },
    "runners": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/components/schemas/app__models__na_results__Runner"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Runners"
    },
    "scratches": {
      "anyOf": [
        {
          "items": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Scratches"
    },
    "sex_restriction": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sex Restriction"
    },
    "sex_restriction_description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sex Restriction Description"
    },
    "surface": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Surface"
    },
    "surface_description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Surface Description"
    },
    "time_zone": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Time Zone"
    },
    "total_purse": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Total Purse"
    },
    "track_condition_description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Track Condition Description"
    },
    "track_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Track Name"
    },
    "wager_types": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/components/schemas/WagerType"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Wager Types"
    }
  }
}