Cite the Record

Shard schema

Constituency shard

A UK Parliamentary constituency. Carries current MP, geographic context, mention contexts in records, and recent records referencing the constituency.

This page is the field reference for developers and AI clients. If you came here looking for a constituency, browse the constituency index instead.

Authoritative source Use with AI

Required fields

6

Optional fields

7

Dialect

JSON Schema draft 2020-12

Version

Required fields

Every shard validating against ships these fields. Provenance lines show where each value comes from — the load-bearing column for the structured-evidence promise.

  • URL-safe constituency identifier.

    Provenance: Derived from displayName; stable across boundary review unless the constituency is abolished.

  • Official constituency name.

    Provenance: OS Boundary-Line; cross-checked against Members API constituency reference.

  • ONS GSS code (e.g. E14001392).

    Provenance: ONS geography portal.

  • Nation.

    Provenance: ONS geography portal.

  • Constituency page on members.parliament.uk.

    Provenance: Constructed from the Members API constituency reference via the documented URL template.

  • Provenance for the constituency snapshot.

    Provenance: Emitted by intake at admission.

Optional fields

Present where the source carries the value or the derivation succeeds. Code consuming this schema should treat them as nullable.

  • Region (England) or null (Scotland / Wales / NI).

    Provenance: ONS geography portal.

  • Boundary-review generation this geometry belongs to.

    Provenance: OS Boundary-Line release tag.

  • Current MP.

    Provenance: Members API latest constituency membership.

  • Records mentioning this constituency.

    Provenance: Count over records whose body text mentions the constituency name, derived by the geoparser at shard-build time.

  • Most-common record-types in which this constituency appears.

    Provenance: Aggregated from the record-type field of records mentioning the constituency.

  • Recent records mentioning this constituency.

    Provenance: Geoparser-derived constituency matches in record bodies, ordered by published date.

  • External source links.

    Provenance: Curated at admission.

Related schemas

Entities referenced by this shard kind. A constituency shard's / nested references resolve to shards of these kinds.

Versioning + dialect

Each planned schema follows semver. Patch bumps are additive and backwards-compatible. Minor bumps may add required fields or change validation rules. Major bumps will use a new URL path once canonical files are published.

Published structured data will declare its version in a field. AI clients should respect that version when files become available.