---
id: "nz_swn"
kind: "datatype"
status: "draft"
is_pii: true
categories: ["pii", "persons"]
country: ["NZ"]
langs: ["en"]
quality: 75
url: "http://registry.apicrafter.io/datatype/nz_swn"
---

# New Zealand social welfare number (`nz_swn`)

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

Client number of the New Zealand social welfare system: nine digits, optionally in groups of three separated by hyphens.

- Personal data (PII): yes
- Categories: Personally identifiable information (pii), Person related (persons)
- Countries: New Zealand (NZ)
- Languages: English (en)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^\d{3}-?\d{3}-?\d{3}$
```

## Mappings

- dpv: `pd:OfficialID`
- purview: `New Zealand social welfare number`

## Supported by tools

- `azureailanguage`
- `microsoftpurview`

## Sources

- doc: <https://learn.microsoft.com/en-us/purview/sit-defn-new-zealand-social-welfare-number>

## Quality

Score 75/100. Missing: examples, negative example, translation.

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