ValidateKeyExistsYaml
Overview
Raise an error if there is no data in any of the specified YAML files.
In the YAML being checked, set this YAML to fields.validate.key_exists_yaml.
Example
header:
base_type: MultiYamlAction
multi_yaml_action:
type: ValidateKeyExistsYaml
ignores:
- value: 0
multi_yaml_action:
- yaml: item/item.yaml
key: Id
- yaml: unit/unit.yaml
key: Id
...
Details
yaml
yaml: item/item.yaml
- Definition: Required
Specify the YAML that contains the items to check.
key
key: Id
- Definition: Required
Specify the name of the key to check.