JSON Schema for CubicWeb
Project description
cubicweb-jsonschema
cubicweb-jsonschema provides mappings from CubicWeb entities to JSON Schema documents as well as an HTTP API based on the JSON Hyper-Schema specification.
Documentation is available at https://cubicweb-jsonschema.readthedocs.io/
Testing
Tests can be run using:
python -m unittest discover -s test
from top-level directory after having installed test dependencies from file test-requirements.txt.
Some tests make use of the ajv program (more specifically ajv-cli) to validate JSON Schema response against meta schema. This can be installed using npm and should be in $PATH when running tests. If not available validation would not occur.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cubicweb-jsonschema-0.1.7.tar.gz
(66.8 kB
view hashes)
Built Distribution
Close
Hashes for cubicweb-jsonschema-0.1.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd87d14df99015736ecba61f56e247611ef9ea8450bb43c71b05e19f62d3e8c5 |
|
MD5 | d7ef6663b87dc18dfe6aa299a255a18e |
|
BLAKE2b-256 | d98873810338f8ad2b241d26e943336e5375932c7b9595b4353c39d7812cbcf6 |
Close
Hashes for cubicweb_jsonschema-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6f18984a2bdf7d00b6979f01a0908d5f129ba5d41d1885efb8543470b863775 |
|
MD5 | 7490a28d3f9b9fdd7015cf03abc8c77e |
|
BLAKE2b-256 | 265334ffd114d37a8b249e10567aa58181f354fddd2f94bde14727df1a2ff7fb |