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.5.tar.gz
(65.5 kB
view hashes)
Built Distribution
Close
Hashes for cubicweb-jsonschema-0.1.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74a6f8843c6d951a677d233c2a612e82c3ff850a81cf33eed2ff40038f7fa5b3 |
|
MD5 | 348d5bb95d9e98ce1f1b116a6ff7dfdf |
|
BLAKE2b-256 | 72e4452b9d3ca9222b5cb0b43e2c4eda8c23a2279ac9dbc734a2e865d30fb707 |
Close
Hashes for cubicweb_jsonschema-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b8f5dce6be64a65821bd3a8155aa4e7dcd28c261392c71d12bd4f3a2c97764d |
|
MD5 | 8e9dc71583c6d83594d932f19783ffcc |
|
BLAKE2b-256 | 31635962e2a4901a5b00afd14d7ac166bc1a47e0433bc3a06d65e0ac7b205dc7 |