---
id: "gb_cattle_breed_code"
kind: "datatype"
status: "draft"
is_pii: false
name: "GB cattle breed code (BCMS)"
regexp: "^[A-Z]{2,4}(?: ?X)?$"
categories: ["agriculture"]
country: ["GB"]
langs: ["en"]
quality: 85
url: "https://registry.apicrafter.io/datatype/gb_cattle_breed_code"
---

# GB cattle breed code (BCMS) (`gb_cattle_breed_code`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

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).

- Personal data (PII): no
- Categories: Agriculture, livestock and food (agriculture)
- Countries: United Kingdom (GB)
- Languages: English (en)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^[A-Z]{2,4}(?: ?X)?$
```

## Examples

- `AA` — Aberdeen Angus
- `AAX` — Aberdeen Angus cross
- `AY` — Ayrshire
- `BAZX` — Bazadaise cross
- `A` (invalid example) — One letter
- `AA1` (invalid example) — A digit

## Metacrafter rules

1 rules: 1 match the field name, 0 match values.

- `gbcattlebreedcodefield` (field, `gb/gb_agriculture.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/British_Cattle_Movement_Service>

## Quality

Score 85/100. Missing: mapping (Wikidata, Schema.org, ...), translation.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/gb_cattle_breed_code.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GB/agriculture/gb_cattle_breed_code.yaml>
