---
id: "gb_cph_number"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["agriculture", "geo"]
country: ["GB"]
langs: ["common"]
quality: 73
url: "https://registry.apicrafter.io/datatype/gb_cph_number"
---

# UK County Parish Holding (CPH) number (`gb_cph_number`)

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

Number of the land or premises where livestock is kept in Great Britain, issued by the Rural Payments Agency in England, the Welsh Government and the Scottish Government (where it is also called the Main Location Code). It has nine digits written as county (2), parish (3) and holding (4) separated by slashes. Livestock movement, disease control and farm payment data use it.

- Personal data (PII): no
- Categories: Agriculture, livestock and food (agriculture), Geographic identifiers (geo)
- Countries: United Kingdom (GB)
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^\d{2}/\d{3}/\d{4}$
```

## Examples

- `12/345/0001` — Illustration from the Welsh Government
- `12-345-0001` (invalid example) — Hyphens instead of slashes
- `12/345/001` (invalid example) — The holding part has three digits instead of four

## Translations

- ru: Номер CPH (County Parish Holding) в Великобритании: Номер земли или помещения, где содержится скот в Великобритании, — графство (2 цифры), приход (3) и хозяйство (4) через косую черту.

## Sources

- doc: <https://www.gov.uk/guidance/apply-for-a-county-parish-holding-cph-number>
- doc: <https://www.gov.wales/county-parish-holdings-and-livestock-movements-new-rules-faqs-html>
- doc: <https://www.fas.scot/downloads/getting-registered-to-keep-livestock-and-claim-for-support>

## Quality

Score 73/100. Missing: second example, mapping (Wikidata, Schema.org, ...), detector coverage.

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