{
  "$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-horse-structure.json",
  "name": "Horse",
  "description": "Horse schema from The Racing API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "name": "Id"
    },
    "dam": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Dam",
      "default": ""
    },
    "dam_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Dam Id",
      "default": ""
    },
    "damsire": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Damsire",
      "default": ""
    },
    "damsire_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Damsire Id",
      "default": ""
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Name",
      "default": ""
    },
    "sire": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Sire",
      "default": ""
    },
    "sire_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "name": "Sire Id",
      "default": ""
    }
  },
  "required": [
    "id"
  ]
}