{
  "id": "iso11784_animal_id",
  "kind": "datatype",
  "status": "draft",
  "name": "Animal transponder code (ISO 11784/11785)",
  "doc": "Code stored in a passive low-frequency transponder of an animal (ear tag, bolus or microchip) under ISO 11784 and ISO 11785, usually shown as 15 digits. The first three digits are an ISO 3166 numeric country code, used only with the national authority's permission, or an ICAR manufacturer code (900 shared, 901 to 998 assigned to one manufacturer each, 999 for test transponders). The last twelve digits hold a 38-bit number, so they never exceed 274877906943.",
  "is_pii": false,
  "categories": [
    "agriculture"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^\\d{3}[0-2]\\d{11}$",
  "examples": [
    {
      "value": "840003456789012",
      "description": "Example animal identification number of the USDA APHIS traceability standards",
      "valid": true
    },
    {
      "value": "999000000000001",
      "description": "Test transponder code following the ICAR rule for 999",
      "valid": true
    },
    {
      "value": "840300000000000",
      "description": "The national part exceeds the 38-bit maximum",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/ISO_11784_and_ISO_11785"
    },
    {
      "type": "doc",
      "url": "https://www.icar.org/Guidelines/10-Procedure-2-Granting-Manufacturer-Code.pdf"
    },
    {
      "type": "doc",
      "url": "https://www.aphis.usda.gov/sites/default/files/adt-general-standards.pdf"
    }
  ],
  "quality": {
    "score": 75,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/agriculture/iso11784_animal_id.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/agriculture/iso11784_animal_id.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/agriculture/iso11784_animal_id.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/iso11784_animal_id",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/iso11784_animal_id.json"
  }
}