Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-955

Specifying odata.type on a collection of entities

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.0_ERRATA02
    • Fix Version/s: V4.01_CSD02
    • Component/s: JSON Format
    • Labels:
      None
    • Environment:

      Applied

      Description

      Section 12 of the JSON spec says:

      A collection of entities is represented as a JSON object containing a name/value pair named value. It MAY contain odata.context, odata.count, odata.nextLink, or odata.deltaLink annotations.

      In the event of a dynamic navigation property, a collection of entities would also presumably need an odata.type annotation.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              markdstafford Mark Stafford
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: