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.3.tar.gz
(67.6 kB
view hashes)
Close
Hashes for cubicweb-jsonschema-0.2.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19973b5877067e64cfcd20e2ffb3369ce715064d3a73d58fa92364b0695a32a5 |
|
MD5 | c626a5e99b989be2c995712dbd721c09 |
|
BLAKE2b-256 | 053e2a399f58e6283cd5164171e22223a6dc03d2c529a57cac2dc099d98c0147 |