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