Closed larshp closed 3 years ago
Yes, I agree. I think we can add this to our schema generator. If we see that there are use cases for non-unique items we can react on this.
it's only possible for SAP to implement this issue, as the code for JSON generation is proprietary
actually, see https://github.com/SAP/abap-file-formats/pull/126, its not relevant for all internal tables, but if there is a unique key defined it should be okay to add uniqueItems
... but if there is a unique key defined it should be okay to add uniqueItems
Good point, thanks!
I have talked to the team, today. It agrees to add a uniqueItems
.
Hi, I think its safe to set
uniqueItems
for all arrays?https://json-schema.org/understanding-json-schema/reference/array.html#uniqueness