Metadata-Version: 2.1
Name: check-jsonschema
Version: 0.1.1
Summary: A pre-commit hook for validating files against jsonschemas.
Home-page: https://github.com/sirosen/check-jsonschema
Author: Stephen Rosen
Author-email: sirosen@uchicago.edu
License: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.6.2
Description-Content-Type: text/markdown
Requires-Dist: ruamel.yaml (==0.16.12)
Requires-Dist: jsonschema (<4.0)
Requires-Dist: identify (<2.0)

# check-jsonschema

A pre-commit hook for checking files against a JSONSchema.
The schema may be specified as a local or remote (HTTP or HTTPS) file.

Remote files are automatically downloaded and cached if possible.

## Example Usage: Validate GitHub Workflows with Schemastore

Add this hook to your pre-commit config:

```yaml
- repo: https://github.com/sirosen/check-jsonschema
  rev: 0.1.1
  hooks:
    - id: check-workflows
      name: "Lint GitHub Workflows"
      language: python
      files: ^\.github/workflows/.*\.yaml$
      args: ["--schemafile", "https://json.schemastore.org/github-workflow"]
```


