{
  "id": "ukgsscode",
  "kind": "datatype",
  "status": "stable",
  "name": "GSS code (United Kingdom)",
  "doc": "UK GSS (Government Statistical Service) code, the nine-character geographic code used by the Office for National Statistics to identify administrative and statistical geographies across the United Kingdom.",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "country": [
    "GB"
  ],
  "langs": [
    "en"
  ],
  "classification": "categorical",
  "regexp": "^[EKLMNSW]\\d{8}$",
  "examples": [
    {
      "value": "E09000025",
      "description": "London Borough of Newham",
      "valid": true
    },
    {
      "value": "E08000001",
      "description": "Bolton",
      "valid": true
    },
    {
      "value": "W92000004",
      "description": "Wales",
      "valid": true
    }
  ],
  "mappings": {
    "wikidata": "P836"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/ONS_coding_system"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P836"
    }
  ],
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "ukgsscodefield",
        "type": "field",
        "match": "text",
        "file": "gb/gb_geo.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "negative example",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/GB/geo/ukgsscode.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/GB/geo/ukgsscode.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GB/geo/ukgsscode.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/ukgsscode",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/ukgsscode.json"
  }
}