{
  "id": "urban_rural_class",
  "kind": "datatype",
  "status": "draft",
  "name": "Urban or rural class of a place",
  "doc": "Whether a place, a school, a dwelling or a station is urban, suburban or rural, in words: Urbano, Rural, Urbano marginal, Rural disperso in Argentine and other Spanish school and census data; urban, rural, suburban, peri-urban in English, with the classes of the ONS rural-urban classification (Urban major conurbation, Rural town and fringe); städtisch, vorstädtisch, ländlich in German; urbain, périurbain, rural in French. Numeric or letter codes of a classification have types of their own (eu_degurba, ar_indec_census_radius_type).",
  "parent": "category",
  "children": [
    "gb_scotland_urban_rural_classification"
  ],
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "examples": [
    {
      "value": "Urbano marginal",
      "description": "ambito of the schools of Mendoza",
      "valid": true
    },
    {
      "value": "Rural",
      "valid": true
    },
    {
      "value": "(England/Wales) Rural town and fringe",
      "description": "ONS rural-urban classification, in the register of schools of England",
      "valid": true
    },
    {
      "value": "städtisches Gebiet",
      "description": "station setting of the German air quality stations",
      "valid": true
    },
    {
      "value": "1",
      "description": "a code of the Eurostat degree of urbanisation: eu_degurba",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Urban_area"
    },
    {
      "type": "doc",
      "url": "https://www.gov.uk/government/collections/rural-urban-classification"
    }
  ],
  "translations": {
    "es": {
      "name": "Ámbito urbano o rural"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "urbanruralbyname",
        "type": "field",
        "match": "regex",
        "file": "common/geo.yaml"
      },
      {
        "rule": "urbanruralvalue",
        "type": "data",
        "match": "func",
        "file": "common/geo.yaml"
      },
      {
        "rule": "plresidencebyname",
        "type": "field",
        "match": "regex",
        "file": "pl/pl_statistics.yaml"
      }
    ]
  },
  "quality": {
    "score": 70,
    "missing": [
      "regexp",
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/geo/urban_rural_class.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/geo/urban_rural_class.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/geo/urban_rural_class.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/urban_rural_class",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/urban_rural_class.json"
  }
}