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

Formally define OData Metamodel

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: V4.0_CSD01
    • Fix Version/s: V4.02
    • Component/s: CSDL JSON, CSDL XML
    • Labels:

      Description

      Various aspects of OData seem unclear or redundant. A formal UML model for the OData metamodel can be used to clarify and simplify OData.

      The existing metamodel defined by 'MetadataService.xml' contains much of what is needed, but has some issues, such as:

      • The MetadataContainer element refers to metadata elements, but should be referencing instances of metadata elements (i.e. schema).
      • Various language elements are included, (eg. ne and eq)

      The included proposal started from scratch out of a need to understand several concepts, including the semantics of Singletons and EntitySets. It needs to be rationalized with the existing 'MetadataService.xml' . It is preliminary and needs review and refinement. It is expressed in CSDL XML. (See https://www.oasis-open.org/apps/org/workgroup/odata/download.php/60420/OdataMetamodel.xml.) UML diagrams are provided that illustrate this proposal. (See: https://www.oasis-open.org/apps/org/workgroup/odata/download.php/60421/OdataMetamodel.pdf)

      An advantage of the UML model is that it expresses the Odata metamodel in precise terms. Constraints and requirements on the various elements of the model are expressed normatively using the UML model together with UML Object Constraing Language (OCL) statements. An added Term supports this.

      The various schema definition languages CSDL XML, CSDL JSON, and others should conform to the OData metamodel.

        Attachments

        1. screenshot-1.png
          109 kB
          Christof Sprenger

          Issue Links

            Activity

              People

              • Assignee:
                chrispre Christof Sprenger
                Reporter:
                george.ericson George Ericson
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: