{
  "id": "br_cnh",
  "kind": "datatype",
  "status": "draft",
  "name": "Brazilian driving licence registration number (CNH)",
  "doc": "Número de registro of the Brazilian national driving licence (Carteira Nacional de Habilitação), generated by the national BINCO system. It is unique to each driver for life and never reused. It has nine positions and two check digits, eleven digits in all; the check-digit algorithm is not published in the CONTRAN resolution.",
  "is_pii": true,
  "categories": [
    "pii",
    "persons",
    "transport"
  ],
  "country": [
    "BR"
  ],
  "langs": [
    "pt"
  ],
  "classification": "identifier",
  "regexp": "^\\d{11}$",
  "examples": [
    {
      "value": "99427484645",
      "description": "Synthetic value in the documented format; the check digits are not computed",
      "valid": true
    },
    {
      "value": "9942748464",
      "description": "Ten digits",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.gov.br/transportes/pt-br/assuntos/transito/conteudo-contran/resolucoes/resolucao5982016.pdf"
    }
  ],
  "translations": {
    "pt": {
      "name": "Número de registro da CNH"
    }
  },
  "quality": {
    "score": 73,
    "missing": [
      "second example",
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/BR/persons/br_cnh.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/BR/persons/br_cnh.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/BR/persons/br_cnh.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/br_cnh",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/br_cnh.json"
  }
}