If you want to avoid defining structs entirely (especially if the rules may change or have lots of fields), I wrote a small library called gyaml that lets you query YAML dynamically without struct definitions:
https://github.com/m4l1c1ou5/gyaml
Useful when the schema isn’t stable. If you try it and see any issues, feel free to open one.