I have a specific data model for my application. i have realistic nested data structure for my application. I tried it multiple times, but data model created with this reference is very flat. My specification is more on embedded side. I completely understand that Blue Print is improving Bi weekly. But, I need to know from experts that with in existing constraints what is the best practice to specify such Data-model so that we can make best use of Blue Printing. I have attached specification that I am using for my sample application. Any input is appreciated, I am not looking for perfect answer, I just want to correct my approach.
If you want to specific data model, you’d be best place to add this manually. Embedded Data can be added in the Case Data model as you need.
You can even use AI Assistant to do this (it’s much better than trying to “prompt engineer” the initial Blueprint generation). I would think of Application Context and the Blueprint generated as a starting point, then us AI Assistant and the Blueprint tool to refine as you need (vs. going back and trying to regenerate a pixel perfect application from a single prompt)
As @MarcCheong suggested, this can be build using the Embedded Data data type to build your data model with nested structure. The Data model you shared should be accomplished with couple of Embedded Data types based on your requirement. Please let us know if you see any challenges
Seeing how you have a full structure you are wanting to import, creating a YAML file might be worth considering. I had a complex data structure with over 250 properties that I was wanting to import so I placed it into a yaml file and set up the top class in the Get Statement which them imported the top class as Data and all the embedded classes as Embedded classes. Data gets generated as concrete classes with associated tables, embedded is marked as concrete but no tables are generated.
The link below provides details on the approach I used: