dsanders11/JSON Schema Validate
Validates YAML/JSON files against a JSON schema
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| schema | URL or file path to JSON schema to validate against | yes | — |
| files | Multiline input of file paths to validate - supports globs | yes | — |
| additional-schemas | Multiline input of additional schemas (URL or file path) to register with AJV so $refs to them can be resolved | no | — |
| fail-on-invalid | Whether or not to set action failure if a file is invalid | no | true |
| cache-remote-schema | Whether or not to cache the schema if remote | no | true |
| all-errors | Report all errors instead of stopping at the first | no | false |
| custom-errors | Enable support for custom error messages using ajv-errors | no | false |
Outputs
| name | description |
|---|---|
| valid | true if all files are valid, otherwise false |