Hippomundo Enterprise API
Schemas

SportTreeNode

Response and request schema

Schema

object or null

Ancestor node, at most three generations above the subject. Missing or cyclic parents and the parents of depth-limit leaves are null.

Additional properties: false.

FieldTypeDescription
approved_forarray of PedigreeStudbookRef · required
birth_yearBirthYear or null · required

Four-digit year derived from the recorded birth date. Null when no year is available; an exact month and day are never exposed.

Minimum: 1000. Maximum: 9999.

colourstring or null · required
damSportTreeNode or null · required

Ancestor node, at most three generations above the subject. Missing or cyclic parents and the parents of depth-limit leaves are null.

Additional properties: false.

idinteger (int64) · required

Minimum: 1.

namestring · required

Minimum length: 1.

sexstring or null · required
sireSportTreeNode or null · required

Ancestor node, at most three generations above the subject. Missing or cyclic parents and the parents of depth-limit leaves are null.

Additional properties: false.

sportPedigreeSport · required

Stored sport flags, current raw rating (null when zero or unavailable), and levels.

Additional properties: false.

studbookNullablePedigreeStudbookRef or null · required

Additional properties: false.

Related schemas: PedigreeStudbookRef, BirthYear, SportTreeNode, PedigreeSport, NullablePedigreeStudbookRef

Complete OpenAPI definition
{
  "additionalProperties": false,
  "description": "Ancestor node, at most three generations above the subject. Missing or cyclic parents and the parents of depth-limit leaves are null.",
  "nullable": true,
  "properties": {
    "approved_for": {
      "items": {
        "$ref": "#/components/schemas/PedigreeStudbookRef"
      },
      "type": "array"
    },
    "birth_year": {
      "$ref": "#/components/schemas/BirthYear"
    },
    "colour": {
      "nullable": true,
      "type": "string"
    },
    "dam": {
      "$ref": "#/components/schemas/SportTreeNode"
    },
    "id": {
      "format": "int64",
      "minimum": 1,
      "type": "integer"
    },
    "name": {
      "minLength": 1,
      "type": "string"
    },
    "sex": {
      "nullable": true,
      "type": "string"
    },
    "sire": {
      "$ref": "#/components/schemas/SportTreeNode"
    },
    "sport": {
      "$ref": "#/components/schemas/PedigreeSport"
    },
    "studbook": {
      "$ref": "#/components/schemas/NullablePedigreeStudbookRef"
    }
  },
  "required": [
    "id",
    "name",
    "birth_year",
    "sex",
    "colour",
    "studbook",
    "approved_for",
    "sport",
    "sire",
    "dam"
  ],
  "type": "object"
}