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.2.8.tar.gz
(71.0 kB
view hashes)
Built Distribution
Close
Hashes for cubicweb-jsonschema-0.2.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e59a1b0a3624d5c7c1a6fc49d4968044189e00edf458ea05794315101f8363b |
|
MD5 | 2af9f6455df7a42a3d4dc28f1f573af1 |
|
BLAKE2b-256 | 000ad7dc2c228caad765a7256039777adf7d9a40b26f30864bfe3909c99178c8 |
Close
Hashes for cubicweb_jsonschema-0.2.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f39aa7c24000e47609a0f246c5db87ad2d4124006fbc48f2e76a6d9c439b9160 |
|
MD5 | 51051ebf437a54c6f030f9b7ad475fac |
|
BLAKE2b-256 | 84b1710a8b15b308debe5610ea13b2e41a853826f35686ca6f9b9facffe7f865 |