This repo contains JSON Schema files and examples of the content that uses them on GOV.UK.
The actual JSON schema files live in dist and are generated from Jsonnet templates in source. Using templates makes it easier to duplicate common blocks across multiple schemas e.g. format and URL fields. Do not edit files in dist manually, as they will be overwritten.
Schemas and examples are divided into three categories:
publisher_v2 - for when a publishing application transmits data to the content store
frontend - for data returned by the content store for a frontend application request
notification - for broadcasting messages about content items on the message queue