OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [odata] Groups - OData CSDL XML Representation Version 4.01 uploaded


Thanks

 

From: Handl, Ralf [mailto:ralf.handl@sap.com]
Sent: Thursday, March 02, 2017 2:58 AM
To: Ericson, George <george.ericson@emc.com>; odata@lists.oasis-open.org
Subject: RE: [odata] Groups - OData CSDL XML Representation Version 4.01 uploaded

 

The simpler example is hidden in chapter 11:

Example 29:

"Length": {

  "$Kind": "TypeDefinition",

  "$UnderlyingType": "Edm.Int32",

  "@Measures.Unit": "Centimeters"

},

"Weight": {

  "$Kind": "TypeDefinition",

  "$UnderlyingType": "Edm.Int32",

  "@Measures.Unit": "Kilograms"

},

"Size": {

  "$Kind": "ComplexType",

  "Height": {

    "$Type": "self.Length"

  },

  "Weight": {

    "$Type": "self.Weight"

  }

}

 

From: Ericson, George [mailto:George.Ericson@dell.com]
Sent: Mittwoch, 1. März 2017 14:55
To: Handl, Ralf <ralf.handl@sap.com>; odata@lists.oasis-open.org
Subject: RE: [odata] Groups - OData CSDL XML Representation Version 4.01 uploaded

 

Interesting, but not obvious example.  The use of dynamic expressions deserves more explanation w.r.t. application to an ordinary Term.  I learned something new today, but it required persistence.:

      "Price": {

        "$Type": "Edm.Decimal",

        "@Measures.ISOCurrency": {

          "$Path": "Currency"

        }

      },

      "Currency": {

        "$MaxLength": 3

      },

 

Additional simpler example would be helpful for comparison:

      "Price": {

        "$Type": "Edm.Decimal",

        "@Measures.ISOCurrency": "EUR"

      },

 

Regards,

George

 

From: odata@lists.oasis-open.org [mailto:odata@lists.oasis-open.org] On Behalf Of Ralf Handl
Sent: Wednesday, March 01, 2017 8:06 AM
To: odata@lists.oasis-open.org
Subject: [odata] Groups - OData CSDL XML Representation Version 4.01 uploaded

 

Submitter's message
Reworked to align with CSDL JSON Representation
-- Dr. Ralf Handl

Document Name: OData CSDL XML Representation Version 4.01


Description
Candidate for CSD01
Download Latest Revision
Public Download Link


Submitter: Dr. Ralf Handl
Group: OASIS Open Data Protocol (OData) TC
Folder: Working Documents
Date submitted: 2017-03-01 05:05:15
Revision: 5

 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]