{
  "id": "gb_msoa_name",
  "kind": "datatype",
  "status": "draft",
  "name": "Middle layer Super Output Area name (England and Wales)",
  "doc": "Name of a middle layer Super Output Area (MSOA), a census geography of England and Wales with 2,000 to 6,000 households that fits within a local authority. The name is the name of the local authority district and three digits (Leicester 003, Barking and Dagenham 001); the Office for National Statistics publishes it next to the code (E02, W02) in columns such as MSOA11NM. The names that the House of Commons Library gave to the same areas (Belgrave South) are another list. The area code itself is the type ukmsoa.",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "country": [
    "GB"
  ],
  "langs": [
    "en"
  ],
  "classification": "categorical",
  "regexp": "^[A-Z][A-Za-z'’.,-]*(?: [A-Za-z'’.,&-]+){0,6} \\d{3}$",
  "examples": [
    {
      "value": "Leicester 003",
      "description": "MSOA of Leicester, as in Open Leicester tables",
      "valid": true
    },
    {
      "value": "City of London 001",
      "description": "The one MSOA of the City of London",
      "valid": true
    },
    {
      "value": "Cambridge 001A",
      "description": "A lower layer area name, with a letter",
      "valid": false
    },
    {
      "value": "Belgrave South",
      "description": "A House of Commons Library name of an MSOA",
      "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": "gbmsoanamebyname",
        "type": "field",
        "match": "regex",
        "file": "gb/gb_geo.yaml"
      }
    ]
  },
  "quality": {
    "score": 85,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/GB/geo/gb_msoa_name.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/GB/geo/gb_msoa_name.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GB/geo/gb_msoa_name.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/gb_msoa_name",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/gb_msoa_name.json"
  }
}