{
  "id": "uk_output_area_code",
  "kind": "datatype",
  "status": "draft",
  "name": "Census output area code (United Kingdom)",
  "doc": "GSS code of a census output area, the smallest geography of the UK census, of about 125 households. England uses the entity code E00, Wales W00, Scotland S00 and Northern Ireland N00 (its small areas). LSOAs and MSOAs (uksloa, ukmsoa) are built from output areas.",
  "parent": "ukgsscode",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "country": [
    "GB"
  ],
  "langs": [
    "en"
  ],
  "classification": "categorical",
  "regexp": "^[EWSN]00\\d{6}$",
  "examples": [
    {
      "value": "E00054810",
      "description": "Output area in Calderdale, 2011 census",
      "valid": true
    },
    {
      "value": "E00054811",
      "description": "Output area in Calderdale, 2011 census",
      "valid": true
    },
    {
      "value": "E01010876",
      "description": "An LSOA code (E01)",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/ONS_coding_system"
    },
    {
      "type": "doc",
      "url": "https://www.ons.gov.uk/methodology/geography/geographicalproducts/namescodesandlookups/codehistorydatabasechd"
    }
  ],
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "ukoutputareacodevalue",
        "type": "data",
        "match": "regex",
        "file": "gb/gb_geo.yaml"
      }
    ]
  },
  "quality": {
    "score": 85,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/GB/geo/uk_output_area_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/GB/geo/uk_output_area_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GB/geo/uk_output_area_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/uk_output_area_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/uk_output_area_code.json"
  }
}