vanekj/Ajv validate JSON(s)
Validate JSON(s) by given schema using Ajv schema validator
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| schema | Relative path to the JSON schema file | yes | — |
| additional_schema | Relative path to additional JSON schema files references by `schema`. This can either be a single file or directory full of schemas (eg. schemas/ or schemas.schema.json) | no | "" |
| additional_schema_extention | The file extention of the additional schema used (This is required if you are using additional_schema to look for multiple schemas which are not schema.json) ( default: .schema.json )) | no | .schema.json |
| pattern | Glob pattern to the JSON(s) to validate (eg. data/**/*.json) | yes | — |
| use_ajv_formats | Whether or not to use the AJV formats - "true" or "false" | no | false |
| allow_matching_properties | Whether or not to allow properties that also match patternProperties in objects - "true" or "false" | no | false |
| show_result_in_summary | Whether or not to allow the results to show in summary - "true" or "false" | no | false |
Outputs
| name | description |
|---|---|
| result | Relative paths to the invalid JSON(s) |