W3C home > Mailing lists > Public > public-linked-json@w3.org > August 2011

Re: MIME type

From: Nathan <nathan@webr3.org>
Date: Wed, 03 Aug 2011 14:23:19 +0100
Message-ID: <4E394BC7.6090902@webr3.org>
To: Markus Lanthaler <markus.lanthaler@gmx.net>
CC: public-linked-json@w3.org
Markus Lanthaler wrote:
> 7) application/ld+json

The above looks good, nice and short, uses the +json appropriately, and 
doesn't repeat the term "json".

> Would be using "text" instead of "application" an option? E.g.
> text/json-ld+json

text tree types would require the use of a ;charset=utf-8 suffix, and 
there may be some nuances around the +json and charsets, could be 
investigated.

> I would also propose to define a media type parameter such as "context" to
> be able to directly link to a context document in a HTTP header and thus
> eliminating the need of @context in the JSON document itself.

Unsure if ;context= would be a good idea, perhaps, maybe some overlap 
with ;profile= from json-schema, and may be able to leverage a Link 
header instead for this purpose. I guess it depends whether we think 
context is, and always will be, ld+json specific.

Best,

Nathan
Received on Wednesday, 3 August 2011 13:24:15 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:25:35 GMT