The Racing API · JSON Structure

The Racing Api App__Models__Trainers__ Trainer Structure

app__models__trainers__Trainer schema from The Racing API

Type: object Properties: 2 Required: 2
Horse RacingSportsStatisticsBettingAnalytics

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

Properties

id 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__trainers__-trainer-structure.json",
  "name": "app__models__trainers__Trainer",
  "description": "app__models__trainers__Trainer schema from The Racing API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "name": "Id"
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Name"
    }
  },
  "required": [
    "id",
    "name"
  ]
}