{
  "id": "gb_lsoa_name",
  "kind": "datatype",
  "status": "draft",
  "name": "Lower layer Super Output Area name (England and Wales)",
  "doc": "Name of a lower layer Super Output Area (LSOA), a census geography of England and Wales with 400 to 1,200 households. The name is the name of the middle layer area it belongs to, which is the name of the local authority district and three digits, followed by a letter (Cambridge 001A, City of London 001C). The Office for National Statistics publishes the names next to the nine-character codes (E01, W01) in columns such as LSOA11NM and LSOA21NM. The area code itself is the type uksloa.",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "country": [
    "GB"
  ],
  "langs": [
    "en"
  ],
  "classification": "categorical",
  "regexp": "^[A-Z][A-Za-z'’.,-]*(?: [A-Za-z'’.,&-]+){0,6} \\d{3}[A-Z]$",
  "examples": [
    {
      "value": "Cambridge 001A",
      "description": "LSOA of Cambridge, as in Cambridgeshire Insight tables",
      "valid": true
    },
    {
      "value": "City of London 001C",
      "description": "LSOA of the City of London",
      "valid": true
    },
    {
      "value": "Barking and Dagenham 001B",
      "description": "A district name of three words",
      "valid": true
    },
    {
      "value": "Leicester 003",
      "description": "A middle layer area name, without the letter",
      "valid": false
    },
    {
      "value": "E01000001",
      "description": "The code of an LSOA, not its name",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.ons.gov.uk/methodology/geography/ukgeographies/censusgeographies/census2021geographies"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/ONS_coding_system"
    }
  ],
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "gblsoanamebyname",
        "type": "field",
        "match": "regex",
        "file": "gb/gb_geo.yaml"
      },
      {
        "rule": "gblsoanamevalue",
        "type": "data",
        "match": "regex",
        "file": "gb/gb_geo.yaml"
      }
    ]
  },
  "quality": {
    "score": 85,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/GB/geo/gb_lsoa_name.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/GB/geo/gb_lsoa_name.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GB/geo/gb_lsoa_name.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/gb_lsoa_name",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/gb_lsoa_name.json"
  }
}