A jsonschema CLI and pre-commit hook
Project description
check-jsonschema
A JSON Schema CLI and pre-commit hook built on jsonschema. The schema may be specified as a local or remote (HTTP or HTTPS) file.
Remote files are automatically downloaded and cached if possible.
Usage
check-jsonschema
can be installed and run as a CLI tool, or via pre-commit.
Example pre-commit config
The following configuration uses check-jsonschema
to validate Github Workflow
files.
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.19.0
hooks:
- id: check-github-workflows
Documentation
Full documentation can be found at https://check-jsonschema.readthedocs.io/
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
check-jsonschema-0.19.0.tar.gz
(167.8 kB
view details)
Built Distribution
File details
Details for the file check-jsonschema-0.19.0.tar.gz
.
File metadata
- Download URL: check-jsonschema-0.19.0.tar.gz
- Upload date:
- Size: 167.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0542c5343dc0e4b6cb66b719ff0c5d69809678110a711ce92c8124114d3c674 |
|
MD5 | d27f6455e6348b6ac952f1f84caef0e2 |
|
BLAKE2b-256 | 943c9b4cf78a41e4f608b1a8a266ef173c2e845115b2514b4bb8096e9fb14a16 |
Provenance
File details
Details for the file check_jsonschema-0.19.0-py3-none-any.whl
.
File metadata
- Download URL: check_jsonschema-0.19.0-py3-none-any.whl
- Upload date:
- Size: 187.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78df8479b4a11da39b1601861879bd6754e70d64fb12e87c842d445b4093ab76 |
|
MD5 | 198e0c833db0d48138023fd05c1167e4 |
|
BLAKE2b-256 | 7381242fa9c50fbd15b8d9126baab93bb53878e765e198e9262ab87f886ab91d |