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

Clarify @type (@odata.type) and metadata=full

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: V4.01_CS01
    • Fix Version/s: V4.01_CS02
    • Component/s: JSON Format
    • Labels:
      None
    • Environment:

      Applied

    • Proposal:
      Hide

      Reference "heurstically determined" in odata.type section:

      type: the type of the containing object or targeted property if the type of the object or targeted property cannot be heuristically determined from the data value, see section "Control Information: type (odata.type)".

      (added text in bold).

      Show
      Reference "heurstically determined" in odata.type section: type: the type of the containing object or targeted property if the type of the object or targeted property cannot be heuristically determined from the data value, see section "Control Information: type (odata.type)" . (added text in bold).
    • Resolution:
      Show
      https://www.oasis-open.org/committees/download.php/64685/odata-json-format-v4.01-wd06-2019-02-08.docx

      Description

      Section 3.1.2 metadata=full (odata.metadata=full) states

      • type: the type of the containing object or targeted property if the type of the object or targeted property cannot be heuristically determined

      If "heuristically determined" for metadata=full means: only look at the data values, not at $metadata, the only objects whose type can be heuristically determined are GeoJSON values.

      All structured type instances need $metadata knowledge.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              handl Ralf Handl
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: