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.2.tar.gz
(64.1 kB
view hashes)
Close
Hashes for cubicweb-jsonschema-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2a0b664e5f76c9d077b2355d64c3113f2d31b0663cbcce14236c9ab1b94ffb4 |
|
MD5 | 8dbe20caf9f2a2cb02bc21caf5884b5f |
|
BLAKE2b-256 | a29739284d0a0971c2e63690de9aa65fb7229eeb1932acc97bb6d73123a03efe |