---
id: "za_province_code"
kind: "pattern"
status: "draft"
is_pii: false
categories: ["geo", "government"]
country: ["ZA"]
quality: 100
url: "http://registry.apicrafter.io/datatype/za_province_code"
---

# South African province code (`za_province_code`)

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

Code of a South African province from ISO 3166-2:ZA, without the ZA- prefix: EC, FS, GP, KZN, LP, MP, NC, NW or WC. Older data also uses GT for Gauteng, NL for KwaZulu-Natal and NP for Limpopo.

- Pattern of: `za_province`
- Personal data (PII): no
- Categories: Geographic identifiers (geo), Government related (government)
- Countries: South Africa (ZA)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^(?:EC|FS|GP|KZN|LP|MP|NC|NW|WC)$
```

## Examples

- `GP` — Gauteng
- `WC` — Western Cape
- `KZN` — KwaZulu-Natal
- `NL` (invalid example) — former code of KwaZulu-Natal

## Mappings

- fta: `STATE_PROVINCE.PROVINCE_ZA`

## Supported by tools

- `fta`

## Translations

- ru: Код провинции ЮАР

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Provinces_of_South_Africa>
- other: <https://github.com/tsegall/fta/blob/main/SemanticTypes.md>

## Quality

Score 100/100.

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