Closed adiherzog closed 9 years ago
@bruderol @tobiaszuercher Please let me know what you think about this question.
I currently prefer variant 3, because it is always clear from the file location and the file name what type it is.
i agree with you: 3. option!
only when we embedd a usecase in another document, then we should use "usecase": { .... }
. this is probably not going to happen, but maybe with the details objects.
Ok, I changed it to the 3rd option and will close this issue.
Variant 1: Map with one key as top level element
Variant 2: Map with all the keys as top level element, additional type field
The cool thing about this is the fact, that the type / name fields look exactly the same as they look in the "object repository" objects in the metadata.
Variant 3: No explicit type in the file, derive type from file name / file location
This is the variant with the least redundancy.