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

Describe structure of "JSON properties"

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.01_CS01
    • Fix Version/s: None
    • Component/s: Vocabularies
    • Labels:
      None
    • Environment:

      Proposed

    • Proposal:
      Hide

      Create a type definition JSON.JSON in the JSON vocabulary, similar to Core.LocalDateTime:

      • type Edm.Stream
      • annotated with Core.AcceptableMediaTypes, listing application/json

      Create a new JSON vocabulary containing terms and functions specific to JSON stream properties.

      Term JSON.Schema of type JSON.JSON containing a JSON Schema describing/restricting the values of a JSON stream property.

      The annotation value is represented according to ODATA-1323

      • in XML metadata as a string
      • in JSON metadata as native JSON
        The annotation needs to be annotated with Core.MediaType and a value of application/json.
      Show
      Create a type definition JSON.JSON in the JSON vocabulary, similar to Core.LocalDateTime : type Edm.Stream annotated with Core.AcceptableMediaTypes , listing application/json Create a new JSON vocabulary containing terms and functions specific to JSON stream properties. Term JSON.Schema of type JSON.JSON containing a JSON Schema describing/restricting the values of a JSON stream property. The annotation value is represented according to ODATA-1323 in XML metadata as a string in JSON metadata as native JSON The annotation needs to be annotated with Core.MediaType and a value of application/json .
    • Resolution:
      Show
      https://github.com/oasis-tcs/odata-vocabularies/pull/52/files https://github.com/oasis-tcs/odata-csdl-schemas/pull/9/files  

      Description

      "JSON properties" are stream properties whose value is of media type application/json or one of its subtypes. They were introduced with ODATA-1177.

      As outlined in OData Extension for JSON Data we need query capabilities on these properties.

      Requirements:

      1. Specify a JSON Schema that describes/restricts the JSON stream values (this issue)
      2. Address parts of the JSON stream values in common expressions, e.g. in $filter, $compute, $orderby (ODATA-1336)

       

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: