---
id: "ad_postcode"
kind: "pattern"
status: "draft"
is_pii: true
categories: ["geo", "pii", "common"]
country: ["AD"]
langs: ["ca"]
quality: 75
url: "http://registry.apicrafter.io/datatype/ad_postcode"
---

# Andorra postal code (`ad_postcode`)

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

Postal code in Andorra: the letters AD and three digits; the first digit is 1 to 7 and the second is 0.

- Pattern of: `postindex`
- Personal data (PII): yes
- Categories: Geographic identifiers (geo), Personally identifiable information (pii), Common (common)
- Countries: Andorra (AD)
- Languages: Catalan (ca)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^AD[1-7]0\d$
```

## Examples

- `AD100`
- `AD501`
- `AD700`
- `AD10` (invalid example) — too short

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Postal_codes_in_Andorra>
- other: <https://chromium-i18n.appspot.com/ssl-address/data/AD>

## Quality

Score 75/100. Missing: mapping (Wikidata, Schema.org, ...), translation, detector coverage.

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