{
  "id": "nz_ird",
  "kind": "datatype",
  "status": "draft",
  "name": "New Zealand IRD number",
  "doc": "Inland Revenue Department number (Te Tari Taake), the tax number of individuals and businesses in New Zealand. It has eight or nine digits with a check digit and is often written in groups of three separated by hyphens.",
  "is_pii": true,
  "categories": [
    "finances"
  ],
  "country": [
    "NZ"
  ],
  "langs": [
    "en"
  ],
  "classification": "identifier",
  "regexp": "^(?:NZ)?\\d{2,3}-?\\d{3}-?\\d{3}$",
  "examples": [
    {
      "value": "147388330",
      "description": "Synthetic number with a valid check digit",
      "valid": true
    },
    {
      "value": "106499253",
      "description": "Synthetic number with a valid check digit",
      "valid": true
    },
    {
      "value": "147-388-330",
      "description": "The first example in its printed form",
      "valid": true
    },
    {
      "value": "1473883307",
      "description": "One character too many",
      "valid": false
    }
  ],
  "mappings": {
    "purview": "New Zealand inland revenue number",
    "schema_org": "taxID",
    "stdnum": "nz.ird"
  },
  "links": [
    {
      "type": "other",
      "url": "https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.nz.ird.html"
    },
    {
      "type": "other",
      "url": "https://docs.dataprep.ai/user_guide/clean/clean_nz_ird.html"
    }
  ],
  "detected_by": {
    "tools": [
      "awsglue",
      "azureailanguage",
      "databricks",
      "dataprep",
      "microsoftpurview",
      "pythonstdnum",
      "snowflake"
    ]
  },
  "quality": {
    "score": 88,
    "missing": [
      "authoritative source link",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/NZ/finances/nz_ird.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/NZ/finances/nz_ird.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/NZ/finances/nz_ird.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/nz_ird",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/nz_ird.json"
  }
}