---
name: "openqa-validate-yaml"
section: "1"
platform: "linux"
package: "openqa-client"
version: "4.6.1732034221.ae34b08ff-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/openqa-validate-yaml"
---

# openqa-validate-yaml(1)

check YAML files against a schema

## NAME

openqa-validate-yaml - check YAML files against a schema

## SYNOPSIS

openqa-validate-yaml \[*OPTIONS*\] \[-\] \[*file* ...\]

## DESCRIPTION

**openqa-validate-yaml** should be given a list of one or more filenames. The files are expected to be YAML files. **openqa-validate-yaml** tests each item in the list to see if the files are valid when checked against a Schema.

'-' can be specified instead of a filename to read the test input from STDIN.

## OPTIONS

- **--validate-schema**

  Validate the Schema file itself, in addition to any YAML files.

- **--schema-file**=*SCHEMA*

  Specify the schema file or URL to validate against (default .../public/schema/JobTemplates-01.yaml)'\],

- **-h**

  Print a usage message, and exit.

## AUTHOR

This manual page was written by Philip Hands \<phil@hands.com\>, for the Debian GNU/Linux system (but may be used by others).
