complex type. The value is a JSON Schema object. In addition to the standard properties it may contain the properties abstract, baseType, openType, properties, and navigationProperties. The object for an entity type may in addition contain the properties keys and hasStream. The properties abstract, openType, and hasStream have Boolean values. If not present, their value is false. The property baseType has a string value which is the qualified name of the base type. The object may contain . : { "definitions" : { "Customer" : true, "abstract" : "keys" …, : "properties" …, : "@Some.Term" … }, … }, Properties and Navigation Properties Each property and navigation property is represented as a pair of the standard JSON Schema properties object. … : { "properties" : { "ID" : "type" "string", }, : { "Description" "type" : ["string", "null"], : {} "@Core.IsLanguageDependent" }, : { "ReleaseDate" : ["string", "type" "null"], : "odataType" "Edm.Date" }, : { "DiscontinuedDate" : ["string", "type" "null"], : "odataType" "Edm.Date" }, : { "Rating" : ["integer", "type" "null"], : "odataType" "Edm.Int32" }, : { "Price" : ["number", "type" "null"], : "odataType" "Edm.Decimal", : { "@Org.OData.Measures.V1.ISOCurrency" : "path" "Currency" } },
complex type. The value is a JSON Schema object. In addition to the standard properties it may contain the properties abstract, baseType, openType, properties, and navigationProperties. The object for an entity type may in addition contain the properties keys and hasStream. The properties abstract, openType, and hasStream have Boolean values. If not present, their value is false. The property baseType has a string value which is the qualified name of the base type. The object may contain . "definitions" : { "Customer" : { "abstract" : true, "keys" : …, "properties" : …, "@Some.Term" : … }, … }, Properties and Navigation Properties Each property and navigation property is represented as a pair of the standard JSON Schema properties object. … "properties" : { "ID" : { "type" : "string", }, "Description" : { "type" : ["string", "null"], "@Core.IsLanguageDependent" : {} }, "ReleaseDate" : { "type" : ["string", "null"], "odataType" : "Edm.Date" }, "DiscontinuedDate" : { "type" : ["string", "null"], "odataType" : "Edm.Date" }, "Rating" : { "type" : ["integer", "null"], "odataType" : "Edm.Int32" }, "Price" : { "type" : ["number", "null"], "odataType" : "Edm.Decimal", "@Org.OData.Measures.V1.ISOCurrency" : { "path" : "Currency" } },
odata-json-csdl-v4.0-wd01-2014-10-15.docx