{
  "id": "ir_passport",
  "kind": "pattern",
  "status": "draft",
  "name": "Iranian passport number",
  "doc": "Number of an Iranian passport: a letter followed by eight digits. The Persian rendering of the number on the passport omits the letter.",
  "semantic_type": "passport",
  "is_pii": true,
  "categories": [
    "pii",
    "persons"
  ],
  "country": [
    "IR"
  ],
  "langs": [
    "fa"
  ],
  "classification": "identifier",
  "regexp": "^[A-Z][0-9]{8}$",
  "examples": [
    {
      "value": "K3829174",
      "description": "Seven digits",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Iranian_passport"
    }
  ],
  "detected_by": {
    "tools": [
      "validatorjs"
    ]
  },
  "quality": {
    "score": 70,
    "missing": [
      "examples",
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/IR/persons/ir_passport.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/IR/persons/ir_passport.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/IR/persons/ir_passport.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/ir_passport",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/ir_passport.json"
  }
}