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

# Brunei postal code (`bn_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 Brunei: two letters and four digits, optionally separated by a space.

- Pattern of: `postindex`
- Personal data (PII): yes
- Categories: Geographic identifiers (geo), Personally identifiable information (pii), Common (common)
- Countries: Brunei (BN)
- Languages: Malay (ms)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^[A-Z]{2} ?\d{4}$
```

## Examples

- `BT2328`
- `KA1131`
- `BA1511`
- `BT232` (invalid example) — too short

## Sources

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

## Quality

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

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