OData Primitive types to XSD Primitive types

When you create a service using the CSDL file, TIBCO BusinessStudio converts the OData definition into XML schema elements. You use the schema elements to configure your OData operations.

When you create an OData service from a CSDL file, a corresponding XSD file is automatically generated in the Schemas folder of your project. The following table shows the conversion of basic OData primitive types to XSD primitive type:
OData Type Description XSD Type
Edm.Binary Binary data base64Binary
Edm.Boolean Binary-valued logic boolean
Edm.Byte Unsigned 8-bit integer unsignedByte
Edm.Date Date without a time-zone offset date
Edm.DateTimeOffset Date and time with a time-zone offset, no leap seconds dateTime
Edm.Decimal Numeric values with fixed precision and scale decimal
Edm.Double IEEE 754 binary64 floating-point number (15-17 decimal digits) double
Edm.Duration Signed duration in days, hours, minutes, and (sub)seconds duration
Edm.Guid 16-byte (128-bit) unique identifier string
Edm.Int16 Signed 16-bit integer short
Edm.Int32 Signed 32-bit integer int
Edm.Int64 Signed 64-bit integer long
Edm.SByte Signed 8-bit integer byte
Edm.Single IEEE 754 binary32 floating-point number (6-9 decimal digits) float
Edm.Stream Binary data stream base64Binary
Edm.String Sequence of UTF-8 characters string
Edm.TimeOfDay Clock time 00:00-23:59:59.999999999999 time