{
  "id": "gb_scotland_data_zone_code",
  "kind": "datatype",
  "status": "draft",
  "name": "Scottish data zone code (GSS)",
  "doc": "GSS code of a data zone, the small-area statistical geography of Scotland, of 500 to 1000 household residents, entity code S01. The 2011 data zones run from S01006506 to S01013481.",
  "parent": "ukgsscode",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "country": [
    "GB"
  ],
  "langs": [
    "en"
  ],
  "classification": "categorical",
  "regexp": "^S01\\d{6}$",
  "examples": [
    {
      "value": "S01006556",
      "description": "Data zone, 2011",
      "valid": true
    },
    {
      "value": "S01006557",
      "description": "Data zone, 2011",
      "valid": true
    },
    {
      "value": "S02001236",
      "description": "An intermediate zone code (S02)",
      "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": "gbscotlanddatazonecodevalue",
        "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_scotland_data_zone_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/GB/geo/gb_scotland_data_zone_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GB/geo/gb_scotland_data_zone_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/gb_scotland_data_zone_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/gb_scotland_data_zone_code.json"
  }
}