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.21.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.21.0.tar.gz
(175.4 kB
view details)
Built Distribution
File details
Details for the file check-jsonschema-0.21.0.tar.gz
.
File metadata
- Download URL: check-jsonschema-0.21.0.tar.gz
- Upload date:
- Size: 175.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 691579e3c849af01e7a15e17c0ef39b85c68395a214dffa3bd92a8be99021744 |
|
MD5 | 57b85362eda433fdf5b66c42493a4b55 |
|
BLAKE2b-256 | fbc6abcd484d6f7682c1316a374c5808f8040cf6cfc73995f38734deecce7e42 |
Provenance
File details
Details for the file check_jsonschema-0.21.0-py3-none-any.whl
.
File metadata
- Download URL: check_jsonschema-0.21.0-py3-none-any.whl
- Upload date:
- Size: 195.9 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 | f7b232ddfaced917dc75b932b8ed9e52ab603fd455c8af72e0cd04586f7b968a |
|
MD5 | 2a1cf79dbd99fcfc2e62a9df59b5d2f8 |
|
BLAKE2b-256 | 9676a789a90bd725c01362f8357a4f1ed49c2b161d0e471310f70878fe5ad4b4 |