WienerWiener
  • Introduction
  • Comparison
  • Pricing
  • FAQ
  • Use Cases
  • License
  • Unity Asset vs Standalone
  • Obfuscation & Tamper Detection
  • Mismatch Detection & Debug
  • Localization
  • Versioning
  • Google Sheets Input
  • Excel
  • YAML
  • Settings
  • Data Format
  • Convert
  • ValueOnly Format
  • Startup
  • Samples
  • Converter
  • YAML Editor
  • Setting Editor
  • 日本語
  • English
  • Introduction
  • Comparison
  • Pricing
  • FAQ
  • Use Cases
  • License
  • Unity Asset vs Standalone
  • Obfuscation & Tamper Detection
  • Mismatch Detection & Debug
  • Localization
  • Versioning
  • Google Sheets Input
  • Excel
  • YAML
  • Settings
  • Data Format
  • Convert
  • ValueOnly Format
  • Startup
  • Samples
  • Converter
  • YAML Editor
  • Setting Editor
  • 日本語
  • English
  • YAML

    • Overview
    • Definition List
    • Header Definition
    • Fields Definition
    • MultiYamlAction Definition
    • ValidateKeyExistsYamlConditions
    • ValidateKeyExistsYaml
    • ValidateUnique
    • EnumConstJoin

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.

Last Updated:: 6/8/26, 2:19 AM
Contributors: artisan-sawasaka
Prev
ValidateKeyExistsYamlConditions
Next
ValidateUnique