{
  "id": "sepersonnummer",
  "kind": "datatype",
  "status": "stable",
  "name": "Sweden personal identity number (personnummer)",
  "doc": "The personal identity number (Swedish: personnummer) is the Swedish national identification number. It is a ten digit number that is widely used in Sweden to identify individuals.",
  "is_pii": true,
  "categories": [
    "pii",
    "persons"
  ],
  "country": [
    "SE"
  ],
  "langs": [
    "sv"
  ],
  "classification": "identifier",
  "regexp": "^[0-9]{2,4}[0-9]{2}(0[1-9]|1[0-2])(0[1-9]|[1-2][0-9]|3[0-1])[-+][0-9]{4}$",
  "mappings": {
    "dpv": "pd:OfficialID",
    "fta": "IDENTITY.PERSONNUMMER_SE",
    "google_dlp": "SWEDEN_NATIONAL_ID_NUMBER",
    "presidio": "SE_PERSONNUMMER",
    "purview": [
      "Sweden national ID",
      "Sweden tax identification number",
      "EU Social Security Number (SSN) or Equivalent ID",
      "EU social security number or equivalent identification",
      "EU Tax Identification Number (TIN)",
      "EU Tax identification number"
    ],
    "stdnum": "se.personnummer"
  },
  "links": [
    {
      "type": "other",
      "url": "https://en.wikipedia.org/wiki/Personal_identity_number_(Sweden)"
    }
  ],
  "detected_by": {
    "tools": [
      "awsglue",
      "azureailanguage",
      "databricks",
      "fta",
      "googledlp",
      "ibmguardium",
      "metacrafter",
      "microsoftpurview",
      "presidio",
      "pythonstdnum",
      "snowflake",
      "talend"
    ],
    "metacrafter_rules": [
      {
        "rule": "sepersonnummerfield",
        "type": "field",
        "match": "text",
        "file": "pii/se/se_pii.yaml"
      },
      {
        "rule": "se_persons_sepersonnummerfield",
        "type": "field",
        "match": "text",
        "file": "se/se_persons.yaml"
      }
    ]
  },
  "quality": {
    "score": 68,
    "missing": [
      "examples",
      "negative example",
      "authoritative source link",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/SE/persons/sepersonnummer.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/SE/persons/sepersonnummer.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/SE/persons/sepersonnummer.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/sepersonnummer",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/sepersonnummer.json"
  }
}