If you are using Azure Devops pipelines in your project for the building and deployment of you application, it is a best practice to validate your yaml file using official Azure Devops yaml schema file. This post explains how to do that in Intellij IDEA IDE.