In this class org.apache.camel.dsl.yaml.deserializers.RouteConfigurationDefinitionDeserializer
Then there is an option for "error-handler" which refers to the 5+ error handlers we have in Camel.
In the schema then it looks like its an array where you can use 0..n of them.
But the realitiy is that you can choose to use only one of them. So either you use default error handler, or you use dead letter channel, and not both of them.
The new oneOf in the @YamlProperty may be useful if we can make it generate correct yaml schema output. Or we need to adjust the generator source to make this work.