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

RE: MIME type

From: Markus Lanthaler <markus.lanthaler@gmx.net>
Date: Thu, 4 Aug 2011 14:42:14 +0200
To: <public-linked-json@w3.org>
Message-ID: <023c01cc52a3$f0cac830$d2605890$@lanthaler@gmx.net>
Gregg Kellogg wrote
> We'll also need a MIME type for a JSON-LD context, which
> is a subset of JSON-LD, as only the @context elements are
> parsed, and the processing entrypoint is at
> http://json-ld.org/spec/latest/#context.
> The latest version of the spec describes a context document
> as being just the JSON description of the context, not the
> enclosing @context relationship.
> ...
> In which case, I'd suggest application/ld-context+json and
> an extension of .jsonldc.

What about doing it similar to Atom which uses a MIME type for that:

So, e.g. application/ld+json;type=context

> Given that it really is a different document type, I'd go
> with the separate MIME type and extension. 

I'm not really a fan of this sort of MIME type pollution and would
definitely favor a type parameter for such "details".

Markus Lanthaler
Received on Thursday, 4 August 2011 12:42:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:53:18 UTC