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.7.tar.gz
(67.6 kB
view hashes)
Built Distribution
Close
Hashes for cubicweb-jsonschema-0.2.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93696a1befb0d032c1811c8bc064b2dd567cc7474639d989d7b9359f3d8df8e8 |
|
MD5 | 3fa8094fde75658558a6f1c89c2522a8 |
|
BLAKE2b-256 | b0230194a6424ee5ab434e248ad5f1243ed151f2fa183b893cb26199703f057b |
Close
Hashes for cubicweb_jsonschema-0.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd8b5a6c3e76781a6d8c8a1232073f7d6aa9ae11b7275f7580c7742e00b211cf |
|
MD5 | 02d9140e92e9f0e8b2c4ecfbe36618bf |
|
BLAKE2b-256 | 584668b7e80585d3bf8432ff7b32f6cb39f5eb25ce6a6df1069cf6572cc46eb5 |