MultiYamlAction Definition
Overview
Details of the top-level multi_yaml_action list in YAML.
Use this in YAML files where header.base_type is MultiYamlAction.
Required tags differ depending on the value of header.multi_yaml_action.type.
Example
header:
base_type: MultiYamlAction
multi_yaml_action:
type: ValidateKeyExistsYamlConditions
ignores:
- value: 0
multi_yaml_action:
- key: ItemId
yaml: item/item.yaml
conditions_param: Item
- key: UnitId
yaml: unit/unit.yaml
conditions_param: Unit
Details
yaml
- yaml: item/item.yaml
- Definition: Required
Specify the target YAML.
For EnumConstJoin, specify the Enum or Const YAML to join.
For other types, specify the YAML that contains the key to check.
key
- key: ItemId
- Definition: Conditional
Specify the key to check.
Required when header.multi_yaml_action.type is one of the following:
- ValidateKeyExistsYaml
- ValidateKeyExistsYamlConditions
- ValidateUnique
conditions_param
- conditions_param: Item
- Definition: Conditional
Specify the condition parameter.
Required when header.multi_yaml_action.type is ValidateKeyExistsYamlConditions.