{
  "id": "no_fodselsnummer",
  "kind": "datatype",
  "status": "draft",
  "name": "Norwegian national identity number (fødselsnummer)",
  "doc": "Fødselsnummer, the 11-digit national identity number in Norway, kept in the National Population Register by the Norwegian Tax Administration: the date of birth (DDMMYY), a 3-digit individual number that also gives the sex, and two mod-11 check digits. A D-number, given to people who are not registered as residents, has the same layout with 4 added to the first digit.",
  "is_pii": true,
  "categories": [
    "pii",
    "persons"
  ],
  "country": [
    "NO"
  ],
  "langs": [
    "no"
  ],
  "classification": "identifier",
  "regexp": "^(?:0[1-9]|[12]\\d|3[01]|4[1-9]|[56]\\d|7[01])(?:0[1-9]|1[0-2])\\d{2}[ -]?\\d{5}$",
  "checksum": "no_fnr",
  "examples": [
    {
      "value": "27051338311",
      "description": "Synthetic number with a valid check digit",
      "valid": true
    },
    {
      "value": "26129914091",
      "description": "Synthetic number with a valid check digit",
      "valid": true
    },
    {
      "value": "270513 38311",
      "description": "The first example in its printed form",
      "valid": true
    },
    {
      "value": "27051338312",
      "description": "Check digits do not match",
      "valid": false
    },
    {
      "value": "270513383117",
      "description": "One character too many",
      "valid": false
    }
  ],
  "mappings": {
    "dpv": "pd:OfficialID",
    "google_dlp": "NORWAY_NI_NUMBER",
    "purview": [
      "Norway Identity Number",
      "Norway identification number"
    ],
    "stdnum": "no.fodselsnummer"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://no.wikipedia.org/wiki/F%C3%B8dselsnummer"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/National_identity_number_(Norway)"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/National_identification_number#Norway"
    },
    {
      "type": "other",
      "url": "https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.no.fodselsnummer.html"
    },
    {
      "type": "other",
      "url": "https://docs.dataprep.ai/user_guide/clean/clean_no_fodselsnummer.html"
    }
  ],
  "translations": {
    "no": {
      "name": "Fødselsnummer"
    }
  },
  "detected_by": {
    "tools": [
      "awsglue",
      "azureailanguage",
      "databricks",
      "dataprep",
      "googledlp",
      "ibmguardium",
      "microsoftpurview",
      "pythonstdnum"
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/NO/persons/no_fodselsnummer.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/NO/persons/no_fodselsnummer.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/NO/persons/no_fodselsnummer.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/no_fodselsnummer",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/no_fodselsnummer.json"
  }
}