Inside the current revision of the proposal for an OData Delta Query Protocol i.e. [OData Delta Query Protocol Design 2012-12-19.docx](https://www.oasis-open.org/committees/download.php/47755/OData%20Delta%20Query%20Protocol%20Design%202012-12-19.docx) the sample inside section "JSON DeltaQuery Result Example" is syntactically invalid. A diff to a validating version yields:
"""
$> diff -u original_odqp_json-sample.json valid_odqp_json-sample.json
— original_odqp_json-sample.json 2013-01-05 14:33:29.000000000 +0100
+++ valid_odqp_json-sample.json 2013-01-05 14:34:22.000000000 +0100
@@ -11,7 +11,7 @@
"odata.type" : "odata.deletedLinkEntry",
"ref":"http://DeltaService.svc/Customers(ALFKI)'",
"relationship":"Orders",
- "related":http://DeltaService.svc/Orders(10643),
+ "related":"http://DeltaService.svc/Orders(10643)",
"when":"2012-11-07T15:38",
},
{ @@ -36,7 +36,7 @@ "ShipCountry":"Canada" },
{ - "odata.type":"odata.deletedEntry":
+ "odata.type":"odata.deletedEntry",
"odata.id":"http://DeltaService.svc/Customers('ALFKI')",
"when":"2012-11-07T15:38",
"reason": "deleted",
"""
I suggest replacing the sample by:
"""
{
"odata.metadata": "http://DeltaService.svc/$metadata ",
"odata.deltaLink": "http://DeltaService.svc/Customers?$expand=orders&$deltatoken=8015",
"value": [
,
,
,
,
,
{ "odata.type": "odata.deletedEntry", "reason": "deleted", "when": "2012-11-07T15:38", "odata.id": "http://DeltaService.svc/Customers('ALFKI')" } ]
}
"""