The value of keys is an array with one object per key property, containing a name/value pair name and optionally a name/value pair alias. For abstract entity types that neither specify a base type nor a key the value of keys is an empty array. An array is used to preserve the order of the key properties. The chema may contain . Example : Product entity type "ODataDemo.Product":{ "type":"object", "mediaEntity":true, "keys":[ { "name":"ID" } ], "properties": …, … } Example : Manager entity type inheriting from Employee "org.example.Manager":{ "type":"object", "allOf":[ { "$ref":"#/definitions/org.example.Employee" } ], … } Properties Each structural property and navigation property is represented as a name/value pair of the standard JSON Schema properties object. The name is the property name; the value is a chema describing the allowed values of the property. The chema may contain . Example : structural and navigation properties of Supplier entity type "ODataDemo.Supplier":{ …, "properties":{ "ID":…, "Name":…, "Address":…, "Concurrency":…, "Products":… }, … } Primitive Properties Primitive properties of type Edm.PrimitiveType and any of the Edm.Geo* are represented as JSON eferences to definitions in the schema. Primitive properties of type Edm.Stream are represented as JSON eferences to an unfulfillable definition in the schema as they are never represented in JSON payloads. All other primitive properties are represented with the following JSON Schema types, formats, and validation keywords:
The value of keys is an array with one object per key property, containing a name/value pair name and optionally a name/value pair alias. For abstract entity types that neither specify a base type nor a key the value of keys is an empty array. An array is used to preserve the order of the key properties. The chema may contain . Example : Product entity type "ODataDemo.Product":{ "type":"object", "mediaEntity":true, "keys":[ { "name":"ID" } ], "properties": …, … } Example : Manager entity type inheriting from Employee "org.example.Manager":{ "type":"object", "allOf":[ { "$ref":"#/definitions/org.example.Employee" } ], … } Properties Each structural property and navigation property is represented as a name/value pair of the standard JSON Schema properties object. The name is the property name; the value is a chema describing the allowed values of the property. The chema may contain . Example : structural and navigation properties of Supplier entity type "ODataDemo.Supplier":{ …, "properties":{ "ID":…, "Name":…, "Address":…, "Concurrency":…, "Products":… }, … } Primitive Properties Primitive properties of type Edm.PrimitiveType and any of the Edm.Geo* are represented as JSON eferences to definitions in the schema. Primitive properties of type Edm.Stream are represented as JSON eferences to an unfulfillable definition in the schema as they are never represented in JSON payloads. All other primitive properties are represented with the following JSON Schema types, formats, and validation keywords: