{
  "id": "pt_concelho",
  "kind": "datatype",
  "status": "draft",
  "name": "Portuguese municipality (concelho)",
  "doc": "Name of one of the 308 municipalities (concelhos, municípios) of Portugal, such as Abrantes, Águeda, Chaves or Vila Pouca de Aguiar; 278 are on the mainland, 19 in the Azores and 11 in Madeira. Tables give it in columns named concelho or município, in capitals in many geoportal layers (VILA POUCA DE AGUIAR). Its code is the four-digit form of pt_dicofre.",
  "parent": "admin_area_2",
  "is_pii": false,
  "categories": [
    "geo",
    "government"
  ],
  "country": [
    "PT"
  ],
  "langs": [
    "pt"
  ],
  "classification": "categorical",
  "examples": [
    {
      "value": "Abrantes",
      "valid": true
    },
    {
      "value": "Águeda",
      "valid": true
    },
    {
      "value": "Vila Pouca de Aguiar",
      "valid": true
    },
    {
      "value": "CHAVES",
      "description": "in capitals",
      "valid": true
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://pt.wikipedia.org/wiki/Lista_de_municípios_de_Portugal"
    }
  ],
  "translations": {
    "pt": {
      "name": "Concelho"
    },
    "ru": {
      "name": "Муниципалитет Португалии (конселью)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "ptconcelhobyname",
        "type": "field",
        "match": "regex",
        "file": "pt/pt_codes.yaml"
      }
    ]
  },
  "quality": {
    "score": 65,
    "missing": [
      "regexp",
      "negative example",
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/PT/geo/pt_concelho.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/PT/geo/pt_concelho.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/PT/geo/pt_concelho.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/pt_concelho",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/pt_concelho.json"
  }
}