Representation of named entities in the service document

    • Type: Task
    • Resolution: Fixed
    • Priority: Major
    • V4.0_WD01
    • Affects Version/s: V4.0_WD01
    • Component/s: ATOM Format, JSON Format
    • None
    • Environment:

      [Proposed]

    • Hide

      Atom: define <metadata:entity title="..." href="..." /> extension element for the AtomPub service document. Add one element per named entity.

      • title attribute has same value as Name attribute of <edm:Entity> element.
      • href attribute contains link to named entity

      (New) JSON: use a single array named "value" and add a new "kind" property that is either "EntitySet" or "Entity".
      Example:

      {
      "odata.metadata": "http://host/service/$metadata",
      "value": [

      { "name": "Orders", "kind": "EntitySet" "url": "Orders" }

      ,

      { "name": "OrderDetails", "kind": "EntitySet" "url": "OrderDetails" }

      ,

      { "name": "Contoso", "kind": "Entity" "url": "Contoso" }

      ]
      }

      Accepted: https://www.oasis-open.org/apps/org/workgroup/odata/download.php/47722/latest/odata-meeting-18_on-20121213-minutes.html

      Show
      Atom: define <metadata:entity title="..." href="..." /> extension element for the AtomPub service document. Add one element per named entity. title attribute has same value as Name attribute of <edm:Entity> element. href attribute contains link to named entity (New) JSON: use a single array named "value" and add a new "kind" property that is either "EntitySet" or "Entity". Example: { "odata.metadata": "http://host/service/$metadata", "value": [ { "name": "Orders", "kind": "EntitySet" "url": "Orders" } , { "name": "OrderDetails", "kind": "EntitySet" "url": "OrderDetails" } , { "name": "Contoso", "kind": "Entity" "url": "Contoso" } ] } Accepted: https://www.oasis-open.org/apps/org/workgroup/odata/download.php/47722/latest/odata-meeting-18_on-20121213-minutes.html
    • Show
      https://www.oasis-open.org/committees/download.php/48030/odata-json-format-v1.0-wd01-2013-01-25.doc https://www.oasis-open.org/committees/download.php/48214/odata-atom-format-v1.0-wd01-2013-2-11-MP.docx Accepted: https://www.oasis-open.org/committees/download.php/48269/odata-meeting-25_on-20130214-minutes.html#odata-169

      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.

            Assignee:
            handl
            Reporter:
            handl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: