{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://publicschema.org/agri/AnimalBreed.schema.json",
  "title": "AnimalBreed",
  "description": "A named population of domesticated animals that a breed society, public authority or breed information system recognizes as a breed. A breed is distinct from any animal attributed to it and from a national breed population or its risk status.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The full display name of the record. Depending on the concept, this is a person's or group's name, or the title of a program, instrument, scoring rule, or software product."
    },
    "biological_taxon": {
      "$ref": "https://publicschema.org/CodedValue.schema.json",
      "description": "The taxon to which this organism, group, breed, variety or sample belongs, as a code or scientific name from an identified taxonomy such as Catalogue of Life or the taxonomy of the National Center for Biotechnology Information. No single taxonomy is required."
    },
    "identifiers": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "https://publicschema.org/Identifier.schema.json"
          },
          {
            "type": "string",
            "description": "URI or identifier reference"
          }
        ],
        "description": "Identifiers carried by this entity, such as national ID numbers, program IDs, or identifiers asserted by an identity document."
      }
    },
    "breed_recognized_by": {
      "oneOf": [
        {
          "$ref": "https://publicschema.org/Organization.schema.json"
        },
        {
          "type": "string",
          "description": "URI or identifier reference"
        }
      ],
      "description": "The organization, such as a breed society, public authority or breed information system operator, that recognizes the breed. Breed codes from that organization belong in the breed's identifiers."
    }
  }
}
