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

Translate edmx:Reference/edmx:Include into a schema reference

    XMLWordPrintable

    Details

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

      Applied

    • Proposal:
      Hide

      Instead of literally translating the edmx:Include element into a sub-object of the translation of the edmx:Reference element make it a property of the "schemas" object that is a JSON reference to the referenced document.

      This way all schemas in scope of the service are consistently represented as properties of the "schemas" object instead of just mimicking the XML document structure.

      If the edmx:Include element has an @Alias attribute, a second reference to the same URL is generated for the alias.

      Show
      Instead of literally translating the edmx:Include element into a sub-object of the translation of the edmx:Reference element make it a property of the "schemas" object that is a JSON reference to the referenced document. This way all schemas in scope of the service are consistently represented as properties of the "schemas" object instead of just mimicking the XML document structure. If the edmx:Include element has an @Alias attribute, a second reference to the same URL is generated for the alias.
    • Resolution:
      Show
      https://www.oasis-open.org/committees/download.php/56552/odata-json-csdl-v4.0-wd01-2015-09-24.docx

      Attachments

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved: