Advice on converting data structure into Ash resources

You might also want to look at embedded resources Embedded Resources — ash v3.29.3 and unions Ash.Type.Union — ash v3.29.3