{
  "id": "gb_cattle_breed_code",
  "kind": "datatype",
  "status": "draft",
  "name": "GB cattle breed code (BCMS)",
  "doc": "Breed code of a bovine animal in the Cattle Tracing System of the British Cattle Movement Service (Rural Payments Agency): two to four letters for a breed (AA Aberdeen Angus, AY Ayrshire, BAZ Bazadaise), an X added for its cross (AAX).",
  "is_pii": false,
  "categories": [
    "agriculture"
  ],
  "country": [
    "GB"
  ],
  "langs": [
    "en"
  ],
  "classification": "categorical",
  "regexp": "^[A-Z]{2,4}(?: ?X)?$",
  "examples": [
    {
      "value": "AA",
      "description": "Aberdeen Angus",
      "valid": true
    },
    {
      "value": "AAX",
      "description": "Aberdeen Angus cross",
      "valid": true
    },
    {
      "value": "AY",
      "description": "Ayrshire",
      "valid": true
    },
    {
      "value": "BAZX",
      "description": "Bazadaise cross",
      "valid": true
    },
    {
      "value": "A",
      "description": "One letter",
      "valid": false
    },
    {
      "value": "AA1",
      "description": "A digit",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/British_Cattle_Movement_Service"
    }
  ],
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "gbcattlebreedcodefield",
        "type": "field",
        "match": "regex",
        "file": "gb/gb_agriculture.yaml"
      }
    ]
  },
  "quality": {
    "score": 85,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/GB/agriculture/gb_cattle_breed_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/GB/agriculture/gb_cattle_breed_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GB/agriculture/gb_cattle_breed_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/gb_cattle_breed_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/gb_cattle_breed_code.json"
  }
}