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.18.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.18.1.tar.gz
(166.6 kB
view details)
Built Distribution
File details
Details for the file check-jsonschema-0.18.1.tar.gz
.
File metadata
- Download URL: check-jsonschema-0.18.1.tar.gz
- Upload date:
- Size: 166.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de142367ad4f70faec483693c8fd90dcebdbe1abce75ca24df85251c51c2436d |
|
MD5 | 5b707854d905d757c52e58cbb6e67ca1 |
|
BLAKE2b-256 | acc0e66de81a65b0686904389b8c8f503cecd3ed6e1c27e2c690b1f2fc84cd93 |
Provenance
File details
Details for the file check_jsonschema-0.18.1-py3-none-any.whl
.
File metadata
- Download URL: check_jsonschema-0.18.1-py3-none-any.whl
- Upload date:
- Size: 185.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f27e5fa807c055e4291d6152e62435929ed90376649202d2cd3910d604d5fca0 |
|
MD5 | 690e664e5f92d05b108952b5ca8f51c6 |
|
BLAKE2b-256 | 8889a57da0f004619443f0b163b5a52ba736dba7be0d950d26a5cb69a733b07c |