{
  "id": "upov_code",
  "kind": "datatype",
  "status": "draft",
  "name": "UPOV code of a plant taxon",
  "doc": "Code of a plant taxon in the UPOV Code System of the International Union for the Protection of New Varieties of Plants, used in plant variety protection and variety lists (GENIE, PLUTO). It is five letters for the genus, optionally an underscore and three letters for the species and an underscore and up to three letters for a sub-specific element or group, as in ZEAAA_MAY for maize. Short names repeat their last letter (POAAA for Poa). An appended element of up to six characters starting with a digit may follow.",
  "is_pii": false,
  "categories": [
    "agriculture",
    "science"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[A-Z]{5}(?:_[A-Z]{3}(?:_[A-Z]{1,3})?)?(?:_[1-9][A-Z0-9]{0,5})?$",
  "examples": [
    {
      "value": "ZEAAA_MAY",
      "description": "Zea mays L. (maize)",
      "valid": true
    },
    {
      "value": "PRUNU_ARM",
      "description": "Prunus armeniaca L. (apricot)",
      "valid": true
    },
    {
      "value": "BETAA_VUL_GVS",
      "description": "Beta vulgaris, Sugar Beet Group",
      "valid": true
    },
    {
      "value": "CICHO_INT_1WIT",
      "description": "Cichorium intybus, Witloof Chicory Group, with an appended element",
      "valid": true
    },
    {
      "value": "TRITL",
      "description": "×Triticosecale (triticale), genus code",
      "valid": true
    },
    {
      "value": "ZEA_MAY",
      "description": "The genus element must have five letters",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.upov.int/edocs/infdocs/en/upov_inf_23.pdf"
    },
    {
      "type": "doc",
      "url": "https://www.upov.int/genie/en/updates/upov_code.xhtml"
    }
  ],
  "translations": {
    "ru": {
      "name": "Код UPOV таксона растения",
      "doc": "Код таксона растения в системе кодов Международного союза по охране новых сортов растений (UPOV), например ZEAAA_MAY для кукурузы."
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/agriculture/upov_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/agriculture/upov_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/agriculture/upov_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/upov_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/upov_code.json"
  }
}