{
  "id": "ro_cnp",
  "kind": "datatype",
  "status": "draft",
  "name": "Romanian personal numerical code (CNP)",
  "doc": "Cod numeric personal, the 13-digit personal identifier in Romania. It encodes the sex and century of birth, the date of birth (YYMMDD), the county of birth or registration, a serial number and a check digit.",
  "is_pii": true,
  "categories": [
    "pii",
    "persons"
  ],
  "country": [
    "RO"
  ],
  "langs": [
    "ro"
  ],
  "classification": "identifier",
  "regexp": "^[1-9]\\d{12}$",
  "examples": [
    {
      "value": "1461014075258",
      "description": "Synthetic number with a valid check digit",
      "valid": true
    },
    {
      "value": "6861202422810",
      "description": "Synthetic number with a valid check digit",
      "valid": true
    },
    {
      "value": "14610140752587",
      "description": "One character too many",
      "valid": false
    }
  ],
  "mappings": {
    "dpv": "pd:OfficialID",
    "purview": [
      "Romania personal numeric code (CNP)",
      "EU national identification number",
      "EU Tax Identification Number (TIN)",
      "EU Tax identification number"
    ],
    "stdnum": "ro.cnp"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://ro.wikipedia.org/wiki/Cod_numeric_personal"
    },
    {
      "type": "other",
      "url": "https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.ro.cnp.html"
    },
    {
      "type": "other",
      "url": "https://docs.dataprep.ai/user_guide/clean/clean_ro_cnp.html"
    }
  ],
  "translations": {
    "ro": {
      "name": "Cod numeric personal (CNP)"
    }
  },
  "detected_by": {
    "tools": [
      "awsglue",
      "azureailanguage",
      "dataprep",
      "microsoftpurview",
      "pythonstdnum",
      "snowflake"
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/RO/persons/ro_cnp.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/RO/persons/ro_cnp.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/RO/persons/ro_cnp.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/ro_cnp",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/ro_cnp.json"
  }
}