I had created following schema. Schema
I am getting all the data in main object or root position, as it can been seen that data belongs to two different person, it should be differentiated individually.
Is it possible to get data in following structure in document ai.
[{ name: "XXX", id: "XXX", line_items: [{ shift_date: "xxx", shift_duration: "xxx", ... }] }, { name: "XXX", id: "XXX", line_items: [{ shift_date: "xxx", shift_duration: "xxx", ... }] } ]