---
id: "ukpostalcode"
kind: "pattern"
status: "stable"
is_pii: true
categories: ["geo"]
country: ["GB"]
langs: ["en"]
quality: 55
url: "http://registry.apicrafter.io/datatype/ukpostalcode"
---

# UK Postal code (`ukpostalcode`)

Postal codes used in the United Kingdom, British Overseas Territories and Crown dependencies are known as postcodes (originally, postal codes).

- Pattern of: `postindex`
- Personal data (PII): yes
- Categories: Geographic identifiers (geo)
- Countries: United Kingdom (GB)
- Languages: English (en)
- Classification: categorical

## Mappings

- autotype: `ukpost`
- fta: `POSTAL_CODE.POSTAL_CODE_UK`
- presidio: `UK_POSTCODE`

## Metacrafter rules

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

- `ukpostcodefield` (field, `gb/gb_geo.yaml`)
- `ukpostcodevalue` (data, `gb/gb_geo.yaml`)

## Supported by tools

- `autotype`
- `collibra`
- `fta`
- `ibmknowledgecatalog`
- `metacrafter`
- `presidio`
- `snowflake`
- `talend`

## Sources

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

## Quality

Score 55/100. Missing: regexp, examples, negative example, translation.

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