Skip to content

Latest commit

 

History

History
 
 

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Examples

csdl-16.1

This is the Products and Categories Example from the OData CSDL XML specification.

File Description
csdl-16.1.xml CSDL XML
csdl-16.1.schema.json JSON Schema generated from CSDL XML
csdl-16.1-Categories.json Response for GET Categories with three entities
csdl-16.1-Categories-empty.json Empty response for GET Categories
csdl-16.1-Categories-fail.json Invalid response for GET Categories - no value property in outermost object
csdl-16.1-Category.json Response for GET Categories(1)?$expand=Products($expand=Supplier($expand=Products($select=ID)))
csdl-16.1-Category-projected.json Response for GET Categories(1)?$expand=Products($expand=Supplier($expand=Products($select=ID))) with specific context URL
csdl-16.1-Category-fail.json Invalid response for GET Categories(1)?$expand=Products($expand=Supplier($expand=Products($select=ID))) - wrong data type for ID of innermost nested product
csdl-16.1-MainSupplier.json Response for GET MainSupplier singleton
csdl-16.1-Product.json Response for GET Product('WONDER01')?$expand=Category,Supplier

TripPin

The TripPin reference service from www.odata.org.

File Description
TripPin.xml CSDL XML
TripPin.schema.json JSON Schema generated from CSDL XML

ExampleService

A more elaborate example.

File Description
ExampleService.xml CSDL XML
ExampleService.schema.json JSON Schema generated from CSDL XML

miscellaneous

A collection of examples from the OData CSDL XML specification.

File Description
miscellaneous.xml CSDL XML
miscellaneous.schema.json JSON Schema generated from CSDL XML

miscellaneous2

More examples from the OData CSDL XML specification.

File Description
miscellaneous2.xml CSDL XML
miscellaneous2.schema.json JSON Schema generated from CSDL XML