{
  "id": "ar_caba_comuna",
  "kind": "datatype",
  "status": "draft",
  "name": "Comuna of the City of Buenos Aires",
  "doc": "One of the 15 comunas of the Autonomous City of Buenos Aires, the units of its decentralised government (Law 1777 of 2005), each made of one to six barrios. City datasets give the comuna of an address, a school or a complaint as a number from 1 to 15, often after the word (Comuna 14, COMUNA 04) and in spreadsheets as 14.0; rows of totals say Total or Total Ciudad. INDEC counts the comunas as the departments of the city, so a departamento column of city data holds the same values. Chilean and Colombian comunas are other things: municipalities and urban districts.",
  "parent": "ar_department",
  "is_pii": false,
  "categories": [
    "geo",
    "government"
  ],
  "country": [
    "AR"
  ],
  "langs": [
    "es"
  ],
  "classification": "categorical",
  "regexp": "^(?:[Cc]omuna|COMUNA) ?(?:0?[1-9]|1[0-5])$",
  "examples": [
    {
      "value": "Comuna 14",
      "description": "Palermo",
      "valid": true
    },
    {
      "value": "COMUNA 04",
      "description": "with a leading zero, as the city government's complaint data write it",
      "valid": true
    },
    {
      "value": "Comuna 1",
      "valid": true
    },
    {
      "value": "Comuna 16",
      "description": "there are 15 comunas",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Communes_of_Buenos_Aires"
    },
    {
      "type": "doc",
      "url": "https://data.buenosaires.gob.ar/dataset/comunas"
    }
  ],
  "translations": {
    "es": {
      "name": "Comuna de la Ciudad de Buenos Aires"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "arcabacomunabyname",
        "type": "field",
        "match": "regex",
        "file": "ar_country/ar_caba.yaml"
      },
      {
        "rule": "arcabacomunavalue",
        "type": "data",
        "match": "func",
        "file": "ar_country/ar_caba.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/AR/geo/ar_caba_comuna.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/AR/geo/ar_caba_comuna.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/AR/geo/ar_caba_comuna.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/ar_caba_comuna",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/ar_caba_comuna.json"
  }
}