{
  "id": "cr_cr",
  "kind": "datatype",
  "status": "draft",
  "name": "Costa Rican foreigner residence ID number (DIMEX)",
  "doc": "Cédula de Residencia, also called DIMEX (Documento de Identificación Migratorio para Extranjeros), the identifier of foreigners in Costa Rica. It has 11 or 12 digits: 1, a 3-digit code of the country of origin, then a sequence over all issued numbers and a sequence per country.",
  "is_pii": true,
  "categories": [
    "pii",
    "persons"
  ],
  "country": [
    "CR"
  ],
  "langs": [
    "es"
  ],
  "classification": "identifier",
  "regexp": "^1\\d{3}-?\\d{1,8}-?\\d{1,8}$",
  "examples": [
    {
      "value": "165997848390",
      "description": "Synthetic number in the documented format",
      "valid": true
    },
    {
      "value": "12516350370",
      "description": "Synthetic number in the documented format",
      "valid": true
    }
  ],
  "mappings": {
    "dpv": "pd:OfficialID",
    "stdnum": "cr.cr"
  },
  "links": [
    {
      "type": "other",
      "url": "https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.cr.cr.html"
    },
    {
      "type": "other",
      "url": "https://docs.dataprep.ai/user_guide/clean/clean_cr_cr.html"
    }
  ],
  "translations": {
    "es": {
      "name": "Cédula de Residencia (DIMEX)"
    }
  },
  "detected_by": {
    "tools": [
      "dataprep",
      "pythonstdnum"
    ]
  },
  "quality": {
    "score": 88,
    "missing": [
      "negative example",
      "authoritative source link"
    ]
  },
  "source": {
    "path": "data/datatypes/CR/persons/cr_cr.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/CR/persons/cr_cr.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/CR/persons/cr_cr.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/cr_cr",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/cr_cr.json"
  }
}