This repo contains JSON Schema files and examples of the content that uses them on GOV.UK.
# source files and shared definitions
formats
└── case_study.jsonnet
└── shared
└── default_format.jsonnet
# built schemas (DO NOT EDIT DIRECTLY)
dist
└── formats
└── case_study
├── frontend
│ └── schema.json
└── publisher
└── schema.json
# fixtures to support testing in apps
examples
└── case_study
└── frontend
├── archived.json
├── case_study.json
└── translated.json
For each source file, we generate up to schemas for the content:
publisher
- for when a publishing application transmits data to the content store.frontend
- for data returned by the content store for a frontend application requestnotification
- for broadcasting messages about content items on the message queue
You can use the GOV.UK Docker environment to run the tests with all the necessary dependencies. Follow the usage instructions to get started.
Use GOV.UK Docker to run any commands that follow.