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

Chapter 11: Annotations on properties in single-property messages

    XMLWordPrintable

    Details

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

      Proposed

    • Proposal:
      Hide

      For primitive/collection-valued properties:

      As the property name is not part of the single-property response and the property's value is represented as

      "value": <property value>

      the annotations should be next to "value" and not prefixed with "value":

      "@Namespace.Term": <annotation value>
      "value": <property value>

      Show
      For primitive/collection-valued properties: As the property name is not part of the single-property response and the property's value is represented as "value": <property value> the annotations should be next to "value" and not prefixed with "value": "@Namespace.Term": <annotation value> "value": <property value>

      Description

      Annotations on properties within structured instances are represented as

      "PropName@Namespace.Term": <annotation value>
      "PropName": <property value>

      How to represent annotations on properties if the message represents just a single property?

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: