---
id: "ba_postcode"
kind: "pattern"
status: "draft"
is_pii: true
categories: ["geo", "pii", "common"]
country: ["BA"]
langs: ["bs", "hr", "sr"]
quality: 58
url: "http://registry.apicrafter.io/datatype/ba_postcode"
---

# Bosnia and Herzegovina postal code (`ba_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 Bosnia and Herzegovina: five digits.

- Pattern of: `postindex`
- Personal data (PII): yes
- Categories: Geographic identifiers (geo), Personally identifiable information (pii), Common (common)
- Countries: Bosnia and Herzegovina (BA)
- Languages: Bosnian (bs), Croatian (hr), Serbian (sr)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^\d{5}$
```

## Examples

- `71000`
- `7100` (invalid example) — too short

## Sources

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

## Quality

Score 58/100. Missing: longer description, second example, mapping (Wikidata, Schema.org, ...), translation, detector coverage.

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