{
  "id": "bd_nid",
  "kind": "datatype",
  "status": "draft",
  "name": "Bangladeshi national identity card number (NID)",
  "doc": "Number of the national identity card issued by the Bangladesh Election Commission. Cards issued from 2008 carry 13-digit numbers, and later registrations received 17-digit numbers; a 13-digit number can be turned into the 17-digit form by putting the four-digit year of birth in front of it. Smart cards carry a 10-digit number of nine random digits and a check digit, whose algorithm is not published.",
  "is_pii": true,
  "categories": [
    "pii",
    "persons"
  ],
  "country": [
    "BD"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(?:\\d{10}|\\d{13}|\\d{17})$",
  "examples": [
    {
      "value": "5912783460",
      "description": "Synthetic value in the 10-digit smart card format",
      "valid": true
    },
    {
      "value": "1592617403928",
      "description": "Synthetic value in the 13-digit format",
      "valid": true
    },
    {
      "value": "19851592617403928",
      "description": "The synthetic 13-digit value with the year of birth 1985 in front",
      "valid": true
    },
    {
      "value": "159261740392",
      "description": "Twelve digits is not a valid length",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://bdnews24.com/bangladesh/election-commission-decides-on-10-digit-smart-nid-cards-for-bangladesh-nationals"
    },
    {
      "type": "doc",
      "url": "https://www.thedailystar.net/frontpage/how-get-smart-nid-card-1293733"
    }
  ],
  "quality": {
    "score": 75,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/BD/persons/bd_nid.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/BD/persons/bd_nid.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/BD/persons/bd_nid.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/bd_nid",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/bd_nid.json"
  }
}