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

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

      Applied

    • 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).
    • Show
      https://www.oasis-open.org/committees/download.php/64685/odata-json-format-v4.01-wd06-2019-02-08.docx

      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.

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

              Created:
              Updated:
              Resolved: