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.9.tar.gz
(71.0 kB
view hashes)
Built Distribution
Close
Hashes for cubicweb-jsonschema-0.2.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47597883af5de4c7c8cb5a06625ff6ef1ec9536bb41c7021ea08ae24c48eac59 |
|
MD5 | d8885a0b251cd947e02e928377d7e9a3 |
|
BLAKE2b-256 | bf5fc007d0e2665fcf28b2de8f36cca686b82c25b65a7b40b046a0f3ba05ef5e |
Close
Hashes for cubicweb_jsonschema-0.2.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4bb32ef84ae814aadf5d412a32caf979c45adeb21296d07f3a8de48d9ded29b |
|
MD5 | bb0e8cc59cdd9fb25494ac54fd9c03f1 |
|
BLAKE2b-256 | b6b074e45e026adefae44f9dbab9aea15731d676c2516bf6fd66cee4c3755d28 |