{
  "id": "co_department_code",
  "kind": "datatype",
  "status": "draft",
  "name": "Colombian department code (DIVIPOLA)",
  "doc": "Two-digit code of a Colombian department, or of the capital district, in DIVIPOLA, the coding of the political and administrative division kept by the national statistics office DANE: 05 Antioquia, 11 Bogotá D.C., 25 Cundinamarca, 76 Valle del Cauca, 99 Vichada. It begins the five-digit municipality code (co_divipola). Tables name it Código Departamento, COD_DEPTO, COD_DPTO, CodigoDaneDepartamento or ID_DEPARTAMENTO, and spreadsheets drop the leading zero of 05 and 08.",
  "parent": "id",
  "is_pii": false,
  "categories": [
    "geo",
    "government"
  ],
  "country": [
    "CO"
  ],
  "langs": [
    "es"
  ],
  "classification": "categorical",
  "regexp": "^(?:05|08|11|13|15|17|18|19|20|23|25|27|41|44|47|50|52|54|63|66|68|70|73|76|81|85|86|88|91|94|95|97|99)$",
  "examples": [
    {
      "value": "05",
      "description": "Antioquia",
      "valid": true
    },
    {
      "value": "11",
      "description": "Bogotá D.C.",
      "valid": true
    },
    {
      "value": "25",
      "description": "Cundinamarca",
      "valid": true
    },
    {
      "value": "76",
      "description": "Valle del Cauca",
      "valid": true
    },
    {
      "value": "12",
      "description": "not assigned",
      "valid": false
    },
    {
      "value": "05001",
      "description": "a municipality code (co_divipola)",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://es.wikipedia.org/wiki/Departamentos_de_Colombia"
    }
  ],
  "translations": {
    "es": {
      "name": "Código DIVIPOLA de departamento"
    },
    "ru": {
      "name": "Код департамента Колумбии (DIVIPOLA)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "codepartmentcodebyname",
        "type": "field",
        "match": "regex",
        "file": "co/co_geo.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/CO/geo/co_department_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/CO/geo/co_department_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/CO/geo/co_department_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/co_department_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/co_department_code.json"
  }
}