---
id: "gb_scotland_intermediate_zone_code"
kind: "datatype"
status: "draft"
is_pii: false
name: "Scottish intermediate zone code (GSS)"
regexp: "^S02\\d{6}$"
categories: ["geo"]
country: ["GB"]
langs: ["en"]
quality: 85
url: "https://registry.apicrafter.io/datatype/gb_scotland_intermediate_zone_code"
---

# Scottish intermediate zone code (GSS) (`gb_scotland_intermediate_zone_code`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

GSS code of an intermediate zone, the statistical geography of Scotland built from data zones, of 2500 to 6000 household residents, entity code S02. Stirling has 24 of them, from S02002436 (Blane Valley).

- Parent datatype: [`ukgsscode`](https://registry.apicrafter.io/datatype/ukgsscode.md)
- Personal data (PII): no
- Categories: Geographic identifiers (geo)
- Countries: United Kingdom (GB)
- Languages: English (en)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^S02\d{6}$
```

## Examples

- `S02002436` — Blane Valley, Stirling
- `S02002445` — Broomridge, Stirling
- `S01013001` (invalid example) — A data zone code (S01)

## Metacrafter rules

1 rules: 0 match the field name, 1 match values.

- `gbscotlandintermediatezonecodevalue` (data, `gb/gb_geo.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Sources

- doc: <https://www.ons.gov.uk/methodology/geography/geographicalproducts/namescodesandlookups/codehistorydatabasechd>
- doc: <https://www.gov.scot/publications/small-area-statistics-reference-materials/>

## Quality

Score 85/100. Missing: mapping (Wikidata, Schema.org, ...), translation.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/gb_scotland_intermediate_zone_code.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GB/geo/gb_scotland_intermediate_zone_code.yaml>
