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.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.24.0.tar.gz
(187.0 kB
view details)
Built Distribution
File details
Details for the file check-jsonschema-0.24.0.tar.gz
.
File metadata
- Download URL: check-jsonschema-0.24.0.tar.gz
- Upload date:
- Size: 187.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41307c83007790925fcbfbbdc9d93837e6098c16b51e391dd28be5792cc7f7b6 |
|
MD5 | c890bbf953d03e2e0ec4e9ed0009df25 |
|
BLAKE2b-256 | d2b8cf41a85328f98eb619433297d5bb5a32e2b1c338b751716b6279af21b23f |
Provenance
File details
Details for the file check_jsonschema-0.24.0-py3-none-any.whl
.
File metadata
- Download URL: check_jsonschema-0.24.0-py3-none-any.whl
- Upload date:
- Size: 211.0 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 | 3d4e9fb576a3905e365ee26806635c20c3fa4e1086a0d0a005a2adfcb6d48639 |
|
MD5 | b70021ce6b1e217218231bd0304c8e7c |
|
BLAKE2b-256 | cc74bfe820e2143471451ed6bb1086e33ba65ad2f8ad5113a540faaf8afd6b8c |