# `TF009` Validating YAMLs Without generating any output, we validate that the YAMLs conform to the expected schema :::{dropdown} Is a test for :open: :icon: check-circle-fill :color: primary [`SF012` YAML validation](/requirements/SF012) ::: ## Initial state The [uv](https://docs.astral.sh/uv/getting-started/installation/) tool and curl are required. The expected state is the final state of [`TF004` Add comments](/tests/TF004) ## Procedure ### Step 1 Install Yamale ```console $ uv tool install yamale [...] Installed 1 executable: yamale ``` ### Step 2 Obtain the schema ```console $ curl --pogress-bar -O https://raw.githubusercontent.com/agagniere/speky/refs/heads/master/schema.yaml #[...]# 100.0% ``` ### Step 3 Run Yamale on the YAMLs ```console $ yamale -s schema.yaml specs.yaml tests.yaml comments.yaml Validating specs.yaml... Validating tests.yaml... Validating comments.yaml... Validation success! 👍 ```