Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate JSON schema #63

Merged
merged 3 commits into from
May 10, 2024
Merged

Generate JSON schema #63

merged 3 commits into from
May 10, 2024

Commits on Apr 30, 2024

  1. Fix flake8 warnings in cpy.py

    Fix some style issues in our Sphinx extension, as reported by flake8.
    mwoehlke committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    d7f82d9 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. Make schema specification "machine readable"

    Add directives to our custom-domain extension to declare objects and
    attributes, and use these to specify the schema. In addition to
    providing a slightly more structured way to specify attribute
    parameters, this also makes it possible to create a data model of the
    schema which we will eventually use to generate a JSON schema that can
    be used to partially validate CPS JSON.
    mwoehlke committed May 3, 2024
    Configuration menu
    Copy the full SHA
    c9269ab View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. Generate JSON schema from documentation

    Using the structured information extracted from the documentation (see
    previous commit), build and write a JSON schema. This also introduces a
    new utility library to convert build the schema description from the set
    of objects and attributes.
    mwoehlke committed May 10, 2024
    Configuration menu
    Copy the full SHA
    b2e7671 View commit details
    Browse the repository at this point in the history