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.24.1
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.24.1.tar.gz
(187.1 kB
view details)
Built Distribution
File details
Details for the file check-jsonschema-0.24.1.tar.gz
.
File metadata
- Download URL: check-jsonschema-0.24.1.tar.gz
- Upload date:
- Size: 187.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 336846d97d007ad394a2629165b0eca78ae56c7e1edde1fc50f7555dbad618ed |
|
MD5 | a00e8f05374aa491ae3f790ced342dc7 |
|
BLAKE2b-256 | 3212f8a33b13e2e6167de4ff5df76648f7a058097a85293bd4b402f486f6e59f |
Provenance
File details
Details for the file check_jsonschema-0.24.1-py3-none-any.whl
.
File metadata
- Download URL: check_jsonschema-0.24.1-py3-none-any.whl
- Upload date:
- Size: 211.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3dd3382b754d3d7f6feb52a5b8a6e314b7932ffe9c2853e19979a0535a689a5 |
|
MD5 | afca751f392a987978cdbe03c7490826 |
|
BLAKE2b-256 | 720b7e9789b41c0964add0c48035958ecfde9169d961d5ac44a7da2578822710 |