-
Type:
Task
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: V4.0_WD01
-
Fix Version/s: V4.0_WD01
-
Component/s: ATOM Format, JSON Format
-
Labels:None
-
Environment:
[Proposed]
-
Proposal:
-
Resolution:
https://www.oasis-open.org/apps/org/workgroup/odata/download.php/46576/Association%20Simplification.pptx introduced the concept of Named Entities that are children of the entity container.
As these were important enough to get named, they should be advertised in the service document.
I like the format for ATOM, but would like the JSON format to be similar. i.e., a single array that differentiates between the different types of things in the service document. this could give us the ability to add other things to the service document in the future (such as functions/actions, nested service documents, etc.)
I would suggest for JSON that we simply add a "kind" property that is "collection" for collections (as we have now, and consistent with ATOM) and "entity" for named entities (consistent with the new metadata:entity element added to JSON).