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

# Isle of Man postal code (`im_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 Isle of Man: the letters IM, a digit and an optional digit or letter, an optional space, then a digit and two letters.

- Pattern of: `postindex`
- Personal data (PII): yes
- Categories: Geographic identifiers (geo), Personally identifiable information (pii), Common (common)
- Countries: Isle of Man (IM)
- Languages: English (en)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^IM\d[\dA-Z]? ?\d[ABD-HJLN-UW-Z]{2}$
```

## Examples

- `IM2 1AA`
- `IM99 1PS`
- `IM2 1A` (invalid example) — too short

## Sources

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

## Quality

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

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