{
  "id": "es_ine_municipio",
  "kind": "datatype",
  "status": "draft",
  "name": "Spanish INE municipality code",
  "doc": "Code of a Spanish province (two digits), municipality (five digits) or populated entity (eleven digits) assigned by the National Statistics Institute (INE).",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "country": [
    "ES"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(0[1-9]|[1-4][0-9]|5[0-2])(|\\d{3}|\\d{9})$",
  "examples": [
    {
      "value": "11015",
      "description": "Chiclana de la Frontera",
      "valid": true
    },
    {
      "value": "42071000100",
      "description": "Almarail",
      "valid": true
    },
    {
      "value": "44",
      "description": "Teruel Province",
      "valid": true
    }
  ],
  "mappings": {
    "wikidata": "P772"
  },
  "links": [
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P772"
    }
  ],
  "quality": {
    "score": 80,
    "missing": [
      "negative example",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/ES/geo/es_ine_municipio.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/ES/geo/es_ine_municipio.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/ES/geo/es_ine_municipio.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/es_ine_municipio",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/es_ine_municipio.json"
  }
}