---
id: "za_small_area_code"
kind: "datatype"
status: "draft"
is_pii: false
name: "South African census small area code (SAL)"
regexp: "^\\d{7}$"
categories: ["geo", "government"]
country: ["ZA"]
langs: ["en"]
quality: 70
url: "https://registry.apicrafter.io/datatype/za_small_area_code"
---

# South African census small area code (SAL) (`za_small_area_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.

Seven-digit code of a small area of the Small Area Layer of Statistics South Africa, the finest geography of the 2011 census, such as 2610024.

- Personal data (PII): no
- Categories: Geographic identifiers (geo), Government related (government)
- Countries: South Africa (ZA)
- Languages: English (en)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^\d{7}$
```

## Examples

- `2610024`
- `2610045`
- `261002` (invalid example) — Six digits

## Metacrafter rules

1 rules: 1 match the field name, 0 match values.

- `zasmallareacodebyname` (field, `za/za_codes.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Quality

Score 70/100. Missing: source link, mapping (Wikidata, Schema.org, ...), translation.

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