For each Measure in the dataset, I need to add a format property. I've allowed multiple measures in the capabilities.json file, but I actually want an AxisObject per measure. Therefore, I'd like the format to be Axis_1 with a Property 1 and a Property 2, then an Axis_2 with a Property 1 and a Property 2. This way I can group them by measure rather than the alternative of grouping them by Property.
Here is my current Capabilities and enumerateObjectInstances (right now I'm just looping statically 2 times to try and get it to work). I've tried different selector types with no luck.
That example only seems to show adding properties dynamically to a group. I'm needing to dynamically add additional groups of properties.
Currently, I've defined 5 of the same groups of properties then just don't push them if I don't have a measure for it. This makes my capabilities longer than it needs to be, and caps my number of measures to the number of properties defined in the capabilities.