Shard schema
Department shard
A UK government department. Carries current ministers, record counts per type, top topics by record volume, recent records, and outbound official-source URLs.
This page is the field reference for developers and AI clients. If you came here looking for a department, browse the department index instead.
Required fields
4
Optional fields
9
Dialect
JSON Schema draft 2020-12
Version
Required fields
Every shard validating against department@0.1.0 ships these fields. Provenance lines show where each value comes from — the load-bearing column for the structured-evidence promise.
-
slugstring<slug>URL-safe department identifier.
Provenance: Curated at admission against the GOV.UK organisations list.
-
displayNamestringFull name.
Provenance: GOV.UK organisations directory verbatim.
-
canonicalUrlstring<URL>Department page on GOV.UK.
Provenance: GOV.UK content API base_path.
-
provenanceobjectProvenance for the department snapshot.
Provenance: Emitted by intake at department-snapshot refresh.
Optional fields
Present where the source carries the value or the derivation succeeds. Code consuming this schema should treat them as nullable.
-
shortNamestring · optionalCommon short form.
Provenance: GOV.UK organisations directory verbatim.
-
officialIdstring · optionalGOV.UK organisation identifier.
Provenance: GOV.UK content API content_id.
-
subtitlestring · optionalShort descriptor of the department's remit.
Provenance: GOV.UK organisations directory verbatim.
-
secretaryOfStateobject · optionalCurrent Secretary of State.
Provenance: Members API role lookup keyed to the department.
-
currentMinistersarray<object> · optionalCurrent ministerial team.
Provenance: Members API role lookup keyed to the department.
-
recordCountsarray<object> · optionalRecords assigned to this department per record-type.
Provenance: Aggregated from per-record entity links produced at intake from the source feed.
-
topTopicsarray<object> · optionalTop topics by record volume.
Provenance: Aggregated from topic assignments over the records naming this department.
-
recentRecordsarray<object> · optionalRecent records naming this department.
Provenance: Records linked to this department via the per-record entity links, ordered by published date.
-
outboundSourcesarray<object> · optionalExternal source links (department GOV.UK page, departmental publications).
Provenance: Curated at admission.
Related schemas
Entities referenced by this shard kind. A department shard's entities[] / 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 $schema field. AI clients should respect that version when files become available.