W3C home > Mailing lists > Public > public-linked-json@w3.org > April 2015

RE: Can you provide some context?

From: Ron Siemens <rsiemens77@hotmail.com>
Date: Wed, 29 Apr 2015 10:37:15 -0700
Message-ID: <BAY177-W1188B7554FA88F42866FDD7D70@phx.gbl>
To: "public-linked-json@w3.org" <public-linked-json@w3.org>
Thanks for the explanations, Markus.

>The problem is that you have a data model that you only implicitly expose in your JSON representations. The properties you use are context sensitive (in the traditional sense; not talking about JSON-LD contexts here).

If I use unique property names, rather than the value prefixes in your example, would that also lead to a viable context solution?

I've implemented an experimental content negotiation solution that provides JSON as the below.  Could you suggest an appropriate context?  Also have posted this as an open problem here http://www.guru.com/emp/projectDetail.aspx?ProjectId=1126285 if you'd prefer that venue.



 "branches":[ { "branch_id":"201", "branch_name":"sub1_branch" }, { "branch_id":"202", "branch_name":"sub2_branch" } ],
 "leaves":[ { "leaf_id":"500", "leaf_name":"leaf1" }, { "leaf_id":"501", "leaf_name":"leaf3" }, { "leaf_id":"502", "leaf_name":"leaf4" } ],


Received on Wednesday, 29 April 2015 17:37:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:44 UTC