Are there any references to validate YAML spec, like javadoc to refer API spec. Also, what editor do you use for editing YAML files?
Looks like Visual Studio Code. You could use something like https://www.kubeval.com/ to validate your YAML
It is the Microsoft Visual Studio Code. We can arguably say that today, this is the "De facto" standard Code Editor being used by almost everyone. The main reason is the vast amount of plugins/extensions available. Since this is an open source project, it is community driven. I really recommend it.