---
id: "idnik"
kind: "datatype"
status: "stable"
is_pii: true
categories: ["pii", "persons"]
country: ["ID"]
langs: ["id"]
quality: 68
url: "http://registry.apicrafter.io/datatype/idnik"
---

# Indonesian NIK (`idnik`)

Indonesian NIK (Nomor Induk Kependudukan) - national identification number

- Personal data (PII): yes
- Categories: Personally identifiable information (pii), Person related (persons)
- Countries: Indonesia (ID)
- Languages: Indonesian (id)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[0-9]{16}$
```

## Examples

- `1234567890123456` — Example Indonesian NIK

## Mappings

- dpv: `pd:OfficialID`
- purview: `Indonesia identity card (KTP) number`
- stdnum: `id.nik`

## Metacrafter rules

4 rules: 2 match the field name, 2 match values.

- `idnikfield` (field, `id/id_persons.yaml`)
- `idnikvalue` (data, `id/id_persons.yaml`)
- `id_pii_idnikfield` (field, `pii/id/id_pii.yaml`)
- `id_pii_idnikvalue` (data, `pii/id/id_pii.yaml`)

## Supported by tools

- `awsglue`
- `azureailanguage`
- `metacrafter`
- `microsoftpurview`
- `nightfall`
- `pythonstdnum`

## Quality

Score 68/100. Missing: second example, negative example, source link, translation.

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