{
  "id": "ir_melli_code",
  "kind": "datatype",
  "status": "draft",
  "name": "Iranian national identification number (code melli)",
  "doc": "Ten-digit national identification number (code melli) printed on the Iranian national identity card and written as XXX-XXXXXX-X. Validators such as validator.js treat the last digit as a modulo 11 check digit over the first nine; no official description of the algorithm was found, so the record sets no checksum.",
  "is_pii": true,
  "categories": [
    "pii",
    "persons"
  ],
  "country": [
    "IR"
  ],
  "langs": [
    "fa"
  ],
  "classification": "identifier",
  "regexp": "^[0-9]{3}-?[0-9]{6}-?[0-9]$",
  "mappings": {
    "dpv": "pd:OfficialID"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/National_identification_number"
    },
    {
      "type": "other",
      "url": "https://github.com/validatorjs/validator.js/blob/master/src/lib/isIdentityCard.js"
    }
  ],
  "detected_by": {
    "tools": [
      "validatorjs"
    ]
  },
  "quality": {
    "score": 75,
    "missing": [
      "examples",
      "negative example",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/IR/persons/ir_melli_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/IR/persons/ir_melli_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/IR/persons/ir_melli_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/ir_melli_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/ir_melli_code.json"
  }
}