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.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.23.0.tar.gz
(179.8 kB
view details)
Built Distribution
File details
Details for the file check-jsonschema-0.23.0.tar.gz
.
File metadata
- Download URL: check-jsonschema-0.23.0.tar.gz
- Upload date:
- Size: 179.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b779902a37f009e6abd0fe7371cd8d97a3b0b0ac2a22e5bbb4ddd033bc594369 |
|
MD5 | 32962ec9268157d074c1d47d2d6edc57 |
|
BLAKE2b-256 | 83fd5dd3df297bf0335188be8d91e25d68da8fa412764014d47026615b44c36d |
Provenance
File details
Details for the file check_jsonschema-0.23.0-py3-none-any.whl
.
File metadata
- Download URL: check_jsonschema-0.23.0-py3-none-any.whl
- Upload date:
- Size: 202.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6aaed2dc08b59201f7245f795af6a0147e97d480ae52362d4cc8b1aca83aac90 |
|
MD5 | 6c2e2b9c857f09c7446f487aa62d6490 |
|
BLAKE2b-256 | 5f29c04c2f074065692c266bffe400c899a2b22e48bb4ac9e80b4b9d18d3fdd7 |