…, "properties":{ "ID":…, "Name":…, "Address":…, "Concurrency":…, "Products":… }, … } Primitive Properties Primitive properties of type Edm.PrimitiveType, Edm.Stream, and any of the Edm.Geo* are represented as Schema Objects that are JSON References to definitions in the document. JSON References to Edm.Geo* MAY contain the name/value pair x-srid with a string value. All other primitive properties are represented as a Schema Object with the following OpenAPI Specification types, formats, and validation keywords: Primitive Type OpenAPI Specification Comment Type Format Keywords Edm.Binary string base64url maxlength OData-specific format maxLength is maximum byteLength length of string representation, i.e. 4*ceil(MaxLength/3) byteLength is the maximum length of the binary value in octets Edm.Boolean boolean Edm.Byte OData-specific format integer uint8 Edm.Date OpenAPI format string date Edm.DateTimeOffset string date-time precision OData-specific keyword Edm.Decimal number, decimal minimum OData-specific format string maximum string is needed for multipleOf IEEE754Compatible mode precision keywords precision and scale Edm.Double OpenAPI format with number double [,string] extended meaning string is needed for -INF, INF, and NaN Edm.Duration OData-specific format string duration Edm.Guid OData-specific format string uuid integer format Edm.Int32 integer OpenAPI format
…, "properties":{ "ID":…, "Name":…, "Address":…, "Concurrency":…, "Products":… }, … } Primitive Properties Primitive properties of type Edm.PrimitiveType, Edm.Stream, and any of the Edm.Geo* are represented as Schema Objects that are JSON References to definitions in the document. JSON References to Edm.Geo* MAY contain the name/value pair x-srid with a string value. All other primitive properties are represented as a Schema Object with the following OpenAPI Specification types, formats, and validation keywords: Primitive Type OpenAPI Specification Comment Type Format Keywords Edm.Binary string base64url maxlength byteLength OData-specific format maxLength is maximum length of string representation, i.e. 4*ceil(MaxLength/3) byteLength is the maximum length of the binary value in octets Edm.Boolean boolean Edm.Byte integer uint8 OData-specific format Edm.Date string date OpenAPI format Edm.DateTimeOffset string date-time precision OData-specific keyword Edm.Decimal number, string decimal minimum maximum multipleOf precision OData-specific format string is needed for IEEE754Compatible mode keywords precision and scale Edm.Double number [,string] double OpenAPI format with extended meaning string is needed for -INF, INF, and NaN Edm.Duration string duration OData-specific format Edm.Guid string uuid OData-specific format integer format Edm.Int32 integer OpenAPI format