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.2
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.2.tar.gz
(166.6 kB
view details)
Built Distribution
File details
Details for the file check-jsonschema-0.18.2.tar.gz
.
File metadata
- Download URL: check-jsonschema-0.18.2.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 | a886a679ec95a1788789fa5da4aeacb11564faa4c331973347adb612fc9c6723 |
|
MD5 | dd1414b48cfdab56632e81b2d18d877f |
|
BLAKE2b-256 | a19b47a9d2b9cd6d1bc3c0418d8e066d01c6355578091c83872f0b4e3823d299 |
Provenance
File details
Details for the file check_jsonschema-0.18.2-py3-none-any.whl
.
File metadata
- Download URL: check_jsonschema-0.18.2-py3-none-any.whl
- Upload date:
- Size: 185.4 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 | fdaec3660d1667e44f9f4ada1bbafe3b3342593d1cdd0b9c2e8ee5fda1cb488f |
|
MD5 | 6ef04c2f1b49e9a59ab659f8140a171b |
|
BLAKE2b-256 | b453de2fbdf32a315dc7af4146b4e0eef401706ebec951dcd1eb25039d443c01 |