---
id: "bh_postcode"
kind: "pattern"
status: "draft"
is_pii: true
categories: ["geo", "pii", "common"]
country: ["BH"]
langs: ["ar"]
quality: 61
url: "http://registry.apicrafter.io/datatype/bh_postcode"
---

# Bahrain postal code (`bh_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 Bahrain: a number of three or four digits from 100 to 1299.

- Pattern of: `postindex`
- Personal data (PII): yes
- Categories: Geographic identifiers (geo), Personally identifiable information (pii), Common (common)
- Countries: Bahrain (BH)
- Languages: Arabic (ar)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^(?:1[0-2]|[1-9])\d{2}$
```

## Examples

- `317`
- `31` (invalid example) — too short

## Sources

- other: <https://chromium-i18n.appspot.com/ssl-address/data/BH>

## Quality

Score 61/100. Missing: second example, authoritative source link, mapping (Wikidata, Schema.org, ...), translation, detector coverage.

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