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.20.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.20.0.tar.gz
(175.2 kB
view details)
Built Distribution
File details
Details for the file check-jsonschema-0.20.0.tar.gz
.
File metadata
- Download URL: check-jsonschema-0.20.0.tar.gz
- Upload date:
- Size: 175.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 188758a4551a1dbc6d7278d53b92e6116cc076ea180e4a847c3bd4953f3ec7b7 |
|
MD5 | 5c4eb91be000d7d7986e8df943b86237 |
|
BLAKE2b-256 | e945644f842056970c3ff3babbe99ca4052b165d4d61a6a5ab989ef8752ba2b5 |
Provenance
File details
Details for the file check_jsonschema-0.20.0-py3-none-any.whl
.
File metadata
- Download URL: check_jsonschema-0.20.0-py3-none-any.whl
- Upload date:
- Size: 195.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b84dbefa8571ae41084eb27fd38df52fddb37e73deb77be16b4e89505633120 |
|
MD5 | a7396524f3d0cf7b2a19b1e8cd04fe74 |
|
BLAKE2b-256 | 344fa94dee486a96b7ed519c7fa498de301a197e850bcf15f8a0a425df1f1d95 |