← Prev in month ← Prev in thread
Next in thread → Next in month →

[OASIS Issue Tracker] Created: (ODATA-249) "Kind" property should be optional for EntitySets in JSON Service Documents

From
OASIS Issues Tracker <>
Date
2013-02-06T00:22:05+00:00
ID
942431083.8821360110114484.JavaMail.tomcat55@mw00
Thread
[OASIS Issue Tracker] Created: (ODATA-249) "Kind" property should be optional for EntitySets in JSON Service Documents
"Kind" property should be optional for EntitySets in JSON Service Documents
---------------------------------------------------------------------------

                 Key: ODATA-249
                 URL: http://tools.oasis-open.org/issues/browse/ODATA-249
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Improvement
          Components: OData JSON Format v1.0
    Affects Versions: WD01
         Environment: [Proposed]
            Reporter: Michael Pizzo
             Fix For: WD01


In JSON, service documents are returned as an array containing objects that represent entitysets and named entities, as shown below. By far the most common of these is "EntitySet", which is consistent with legacy OData services. We should make the "kind" property optional for objects in the service document that represent entity sets.

{
  "odata.metadata": "http://host/service/$metadata",
"value": [
    { 
      "name": "Orders",
      "kind": "EntitySet"
      "url": "Orders"
    },
    {
      "name": "OrderDetails",
      "kind": "EntitySet"
      "url": "OrderDetails"
    },
    {
      "name": "Contoso",
      "kind": "Entity"
      "url": "Contoso"
    }
  ]
}


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
← Prev in month ← Prev in thread
Next in thread → Next in month →