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.23.3
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.23.3.tar.gz
(186.2 kB
view details)
Built Distribution
File details
Details for the file check-jsonschema-0.23.3.tar.gz
.
File metadata
- Download URL: check-jsonschema-0.23.3.tar.gz
- Upload date:
- Size: 186.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b174599b5f1a208e7b22b3d1698708a6d948a2a90ab3413a025e5c0217ee056 |
|
MD5 | 4b3ad455eb2a98916c54f72f06d84c9d |
|
BLAKE2b-256 | 91d70e031767feed17a18e38d75ff3cd255fb2257c625bc213ee8ea796d21577 |
Provenance
File details
Details for the file check_jsonschema-0.23.3-py3-none-any.whl
.
File metadata
- Download URL: check_jsonschema-0.23.3-py3-none-any.whl
- Upload date:
- Size: 210.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 416d2a4be5e8a4a102074131e620b4262b2f1b494635a02792c4a008483794ca |
|
MD5 | ebcc5336c7e7c337c9f7c7f020aca453 |
|
BLAKE2b-256 | 180bad7f22a564cb4d8734a624120d6e6597d69e6a46b44911f9fb75470d2a20 |