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

# Scottish Parliament constituency code (GSS) (`gb_scottish_parliament_constituency_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 one of the 73 constituencies of the Scottish Parliament, entity code S16. Constituencies of the UK Parliament in Scotland have the entity code S14.

- 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`):

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

## Examples

- `S16000144` — Stirling
- `S16000088` — Clackmannanshire and Dunblane
- `S14000057` (invalid example) — A UK Parliament constituency code (S14)

## Metacrafter rules

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

- `gbscottishparliamentconstituencycodevalue` (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>
- wikipedia: <https://en.wikipedia.org/wiki/Scottish_Parliament_constituencies_and_electoral_regions>

## Quality

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

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