Complex Structured Inputs

I’d suggest structref. If you need lots of them, it may be worth writing a code generator to create them.
There’s a lot of good info about them in this thread, and @DannyWeitekamp’s CRE library has lots of outstanding examples.