{
  "id": "nl_passport",
  "kind": "pattern",
  "status": "draft",
  "name": "Dutch passport number",
  "doc": "Document number of a Dutch passport; identity cards use the same format. It has nine characters. The first two are letters, the next six are letters or digits, and the last is a digit. The letter O is never used; documents issued since 1 December 2019 also leave out the digit 0. Microsoft Purview looks for nine letters or digits.",
  "semantic_type": "passport",
  "is_pii": true,
  "categories": [
    "pii",
    "persons"
  ],
  "country": [
    "NL"
  ],
  "langs": [
    "nl"
  ],
  "classification": "identifier",
  "regexp": "^[A-NP-Z]{2}[A-NP-Z0-9]{6}\\d$",
  "examples": [
    {
      "value": "SPECI2014",
      "description": "Number of the RvIG specimen passport and identity card of 2014",
      "valid": true
    },
    {
      "value": "SPECI2024",
      "description": "Number of the RvIG specimen passport of 2024",
      "valid": true
    },
    {
      "value": "XR1001R58",
      "description": "python-stdnum reference value",
      "valid": true
    },
    {
      "value": "XR1O01R58",
      "description": "The letter O is not used (python-stdnum reference value)",
      "valid": false
    },
    {
      "value": "581001RXR",
      "description": "Starts with digits and ends with a letter (python-stdnum reference value)",
      "valid": false
    }
  ],
  "mappings": {
    "fhir": "http://hl7.org/fhir/sid/passport-NLD",
    "google_dlp": "NETHERLANDS_PASSPORT",
    "purview": "Netherlands passport number",
    "stdnum": "nl.identiteitskaartnummer"
  },
  "links": [
    {
      "type": "doc",
      "url": "https://www.rvig.nl/node/356"
    },
    {
      "type": "doc",
      "url": "https://learn.microsoft.com/en-us/purview/sit-defn-netherlands-passport-number"
    },
    {
      "type": "wikipedia",
      "url": "https://nl.wikipedia.org/wiki/Paspoort#Nederlands_paspoort"
    },
    {
      "type": "other",
      "url": "https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.nl.identiteitskaartnummer.html"
    }
  ],
  "translations": {
    "nl": {
      "name": "Paspoortnummer",
      "doc": "Documentnummer van een Nederlands paspoort of identiteitskaart - twee letters, zes letters of cijfers en een cijfer; de letter O komt niet voor."
    },
    "ru": {
      "name": "Номер паспорта Нидерландов",
      "doc": "Номер нидерландского паспорта или удостоверения личности - две буквы, шесть букв или цифр и цифра; буква O не используется."
    }
  },
  "detected_by": {
    "tools": [
      "awsglue",
      "googledlp",
      "microsoftpurview",
      "pythonstdnum",
      "snowflake"
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/NL/persons/nl_passport.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/NL/persons/nl_passport.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/NL/persons/nl_passport.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/nl_passport",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/nl_passport.json"
  }
}