{
  "id": "co_identity_document_type",
  "kind": "datatype",
  "status": "draft",
  "name": "Colombian identity document type",
  "doc": "Kind of document that identifies a person in a Colombian register, as an abbreviation: RC (registro civil de nacimiento, for young children), TI (tarjeta de identidad, minors from 7 to 17), CC (cédula de ciudadanía, adults), CE (cédula de extranjería, resident foreigners), PA (passport), and the permits of Venezuelan migrants PEP and PPT. Health records add codes for people without a document, AS (adult) and MS (minor); registers that also list companies put NIT in the same column. Written with or without dots (C.C., T.I.), sometimes spelled out, in columns named TIPODOC, Tipo de identificación or tipo_documento, beside the document number.",
  "parent": "category",
  "is_pii": false,
  "categories": [
    "persons",
    "government"
  ],
  "country": [
    "CO"
  ],
  "langs": [
    "es"
  ],
  "classification": "categorical",
  "regexp": "^(?:CC|C\\.C\\.?|TI|T\\.I\\.?|RC|R\\.C\\.?|CE|C\\.E\\.?|PA|PEP|PPT|NUIP|NIT|AS|MS)$",
  "examples": [
    {
      "value": "CC",
      "description": "cédula de ciudadanía",
      "valid": true
    },
    {
      "value": "TI",
      "description": "tarjeta de identidad",
      "valid": true
    },
    {
      "value": "RC",
      "description": "registro civil",
      "valid": true
    },
    {
      "value": "C.C.",
      "valid": true
    },
    {
      "value": "DNI",
      "description": "not a Colombian document",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://es.wikipedia.org/wiki/Cédula_de_ciudadanía_(Colombia)"
    }
  ],
  "translations": {
    "es": {
      "name": "Tipo de documento de identidad (Colombia)"
    },
    "ru": {
      "name": "Тип документа, удостоверяющего личность (Колумбия)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "coidentitydocumenttypebyname",
        "type": "field",
        "match": "regex",
        "file": "co/co_codes.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/CO/persons/co_identity_document_type.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/CO/persons/co_identity_document_type.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/CO/persons/co_identity_document_type.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/co_identity_document_type",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/co_identity_document_type.json"
  }
}