Two separate duplicate checks have been introduced: 1. Within the same YAML file, YamlDotNet has been instructed to error on duplicate keys. 2. Between different YAML files, custom logic enforces that there should be no duplicate instance names.