I am trying to write a custom yaml lint rule for lists. However, I cannot figure out how to get just the lists from the file.
For example if I have the following file