chase-roohms/Schema Validator
Validate JSON, YAML, TOML, and XML files against a schema. Schemas can be provided either via file or URL.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Apr 22, 2026
- License
- MIT
Pinned Snippet
uses: chase-roohms/schema-validator@921649e0a5f054bd8f350d35d698b30e6b46b748 # v1.1.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| files | The files to validate, seperated by newline. If not provided, all files matching the specified format in the repository will be validated. | no | — |
| file-format | The format of the files to validate. Options: json, yaml, xml, toml To validate all supported file formats, use 'all'. Inferred from the file extensions of inputs.files if not provided. Required if inputs.files is not provided. | no | — |
| schema-file | The schema file to validate against. Must exist on the runner. | no | — |
| schema-url | The URL of the schema to validate against. Will be fetched and used for validation. | no | — |
| schema-format | The format of the schema. Options: json, yaml, xml, toml Will be inferred from the file extension if not provided. | no | — |
| output-format | The format of the validation results. Options: json, text | no | json |
| output-file | The file to write the validation results to | no | ${{ runner.temp }}/validation-results |
Outputs
| name | description |
|---|---|
| validation-passed | Indicates whether the validation passed or failed (true or false) |
| output-file | The file to write the validation results to |