The Racing API · JSON Structure

The Racing Api App__Models__Na_Entries__ Race Structure

app__models__na_entries__Race schema from The Racing API

Type: object Properties: 36 Required: 2
Horse RacingSportsStatisticsBettingAnalytics

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

Properties

age_restriction age_restriction_description breed changes course_type course_type_class distance_description distance_unit distance_value grade handicapper_name has_finished has_results is_cancelled max_claim_price min_claim_price mtp post_time post_time_long purse race_class race_key race_name race_pools race_restriction race_restriction_description race_type race_type_description runners sex_restriction sex_restriction_description surface_description time_zone tote_track_id track_condition track_name

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-app__models__na_entries__-race-structure.json",
  "name": "app__models__na_entries__Race",
  "description": "app__models__na_entries__Race schema from The Racing API",
  "type": "object",
  "properties": {
    "age_restriction": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Age Restriction"
    },
    "age_restriction_description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Age Restriction Description"
    },
    "breed": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Breed"
    },
    "changes": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/components/schemas/Change"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "name": "Changes"
    },
    "course_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Course Type"
    },
    "course_type_class": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Course Type Class"
    },
    "distance_description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Distance Description"
    },
    "distance_unit": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Distance Unit"
    },
    "distance_value": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Distance Value"
    },
    "grade": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Grade"
    },
    "handicapper_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Handicapper Name"
    },
    "has_finished": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "name": "Has Finished"
    },
    "has_results": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "name": "Has Results"
    },
    "is_cancelled": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "name": "Is Cancelled"
    },
    "max_claim_price": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Max Claim Price"
    },
    "min_claim_price": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Min Claim Price"
    },
    "mtp": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "name": "Mtp"
    },
    "post_time": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Post Time"
    },
    "post_time_long": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Post Time Long"
    },
    "purse": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Purse"
    },
    "race_class": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Race Class"
    },
    "race_key": {
      "$ref": "#/components/schemas/RaceKey"
    },
    "race_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Race Name"
    },
    "race_pools": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/components/schemas/RacePool"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "name": "Race Pools"
    },
    "race_restriction": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Race Restriction"
    },
    "race_restriction_description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Race Restriction Description"
    },
    "race_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Race Type"
    },
    "race_type_description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Race Type Description"
    },
    "runners": {
      "items": {
        "$ref": "#/components/schemas/app__models__na_entries__Runner"
      },
      "type": "array",
      "name": "Runners"
    },
    "sex_restriction": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Sex Restriction"
    },
    "sex_restriction_description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Sex Restriction Description"
    },
    "surface_description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Surface Description"
    },
    "time_zone": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Time Zone"
    },
    "tote_track_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Tote Track Id"
    },
    "track_condition": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Track Condition"
    },
    "track_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Track Name"
    }
  },
  "required": [
    "race_key",
    "runners"
  ]
}