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 GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Apr 22, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: chase-roohms/schema-validator@921649e0a5f054bd8f350d35d698b30e6b46b748 # v1.1.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
filesThe files to validate, seperated by newline. If not provided, all files matching the specified format in the repository will be validated. no
file-formatThe 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-fileThe schema file to validate against. Must exist on the runner. no
schema-urlThe URL of the schema to validate against. Will be fetched and used for validation. no
schema-formatThe format of the schema. Options: json, yaml, xml, toml Will be inferred from the file extension if not provided. no
output-formatThe format of the validation results. Options: json, text nojson
output-fileThe file to write the validation results tono${{ runner.temp }}/validation-results
namedescription
validation-passedIndicates whether the validation passed or failed (true or false)
output-fileThe file to write the validation results to