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.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.23.2.tar.gz
(180.4 kB
view details)
Built Distribution
File details
Details for the file check-jsonschema-0.23.2.tar.gz
.
File metadata
- Download URL: check-jsonschema-0.23.2.tar.gz
- Upload date:
- Size: 180.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26c22f506979f59cfa52da0038b8f3ff29e96947e9376a629cc3262516d843ef |
|
MD5 | 2c78c276cfa778f28bb2d82456fea39b |
|
BLAKE2b-256 | 55d3be930c0c484dbf4d3ba28359fc91a8345f47e2d8809e74055cc305727837 |
Provenance
File details
Details for the file check_jsonschema-0.23.2-py3-none-any.whl
.
File metadata
- Download URL: check_jsonschema-0.23.2-py3-none-any.whl
- Upload date:
- Size: 202.8 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 | 7daaa2eab94e7cfeac2d8439ea4f05c4030b0f47d682056406f61d2e6e134e79 |
|
MD5 | 8d83488ef6ce5e84847d659fbca51228 |
|
BLAKE2b-256 | f8c12ec0f8d8192a706741e1988aae4eae5962f9e705c5c0d98cef73926af24c |