So YAML is declarative programming language? Because we define what we want instead of writing actual logic.
I am asking this because if anyone knows Ansible which is configuration management tool, it uses YAML but it still falls in procedural language category.