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.26.2
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.26.2.tar.gz
(219.4 kB
view details)
Built Distribution
File details
Details for the file check-jsonschema-0.26.2.tar.gz
.
File metadata
- Download URL: check-jsonschema-0.26.2.tar.gz
- Upload date:
- Size: 219.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b11799bb3e69ee97a4918f934f1499d321b8a189798566d1411f50fb66599e8d |
|
MD5 | 16b8c524d7c1d3050b09da197a114be5 |
|
BLAKE2b-256 | 94ed9b72d5b80a729e63f59737e7259cab545be037858171151ecae016128542 |
Provenance
File details
Details for the file check_jsonschema-0.26.2-py3-none-any.whl
.
File metadata
- Download URL: check_jsonschema-0.26.2-py3-none-any.whl
- Upload date:
- Size: 215.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f805a727c9cf53b443c617ad6a04fc898fde05c1bb65905b7bb5041a44240ea5 |
|
MD5 | 2684153350ab640aa88f9114b4186ced |
|
BLAKE2b-256 | 9cd5296ee1f5f602501d5ecbe67d6b02702dbf5bcb09f26ee3f26b600320330e |