Validates YAML data against a schema