UCFs, input sensor files, and output device files are in files/
.
Used to validate the syntax of a UCF, input sensor file, or output sensor file. Found in schemas/
.
Validate all the files in this repository with:
pip install -r requirements.txt
python -m unittest
Every file in files/
appropriately named and placed within the repository will be tested automatically by Travis CI. The matching pattern for UCF files, for example, is files/v2/ucf/**/*.UCF.json
.
Schemas are also verified with Travis CI.
Using json-schema-to-class:
json-schema-to-class gates.schema.json
Using jsonschema2pojo:
jsonschema2pojo --source gates.schema.json --target java-gen