Installing

Via pip

It is available at https://pypi.org/project/compiletojsonschema/

pip install compiletojsonschema

Directly

To install,

  1. Check out the git repository ( https://github.com/OpenDataServices/compile-to-json-schema ) onto your machine.
  2. In that directory, create a new Python Virtual Environment (or similar, using the tool of your choice).
  3. To install the tool and it’s dependencies, run:
pip install -e .

If you will want to develop the tool, instead run:

pip install -e .[test]
  1. The tool should now be available! Run
compiletojsonschema --help