YAML stands (ironically?) for "YAML ain't markup language" was intended as more human readable substitute for programming data structures. The specifications for
YAML, unfortunately not very human readable, so hopefully these rules will suffice.
1. Indentation means scope. Indenting one or more spaces means that the indented stuff belongs to the less indented thing that precedes it. It doesn't matter how many spaces a child element is indented from a parent, but all children must be indented with the same number of spaces.
object:
parameter:
2.Start with the handler type:
permissions: