Giter Club home page Giter Club logo

alphagov.govuk-content-schemas's Introduction

GOV.UK content schemas

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 request
  • notification - for broadcasting messages about content items on the message queue

Technical documentation

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.

alphagov.govuk-content-schemas's People

Contributors

36degrees avatar alext avatar barrucadu avatar benlovell avatar boffbowsh avatar brenetic avatar cbaines avatar danielroseman avatar edwardkerry avatar elliotcm avatar emmabeynon avatar fofr avatar gpeng avatar h-lame avatar heathd avatar jamiecobbett avatar keithiopia avatar kevindew avatar leenagupte avatar nickcolley avatar rubenarakelyan avatar sihugh avatar steventux avatar suzannehamilton avatar tekin avatar thehenster avatar thomasleese avatar tijmenb avatar tommyp avatar tuzz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.