Add profile media type parameter to application/ld+json
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Tue, 16 Oct 2012 18:35:31 +0200
changeset 909 b7e0b8835a77
parent 908 d5c8be036f1a
child 910 132eb61f0d18
Add profile media type parameter to application/ld+json

This closes #164.
spec/latest/json-ld-syntax/index.html
--- a/spec/latest/json-ld-syntax/index.html	Tue Oct 09 19:56:50 2012 +0200
+++ b/spec/latest/json-ld-syntax/index.html	Tue Oct 16 18:35:31 2012 +0200
@@ -3394,6 +3394,20 @@
         choose any form. If no form is specified in an HTTP response, the form
         MUST NOT be assumed to take any particular form.</dd>
     </dl>
+    <dl>
+      <dt><code>profile</code></dt>
+      <dd>A whitespace-separated list of IRIs identifying specific constraints
+        or conventions that apply to a JSON-LD document. A profile MUST NOT change
+        the semantics of the resource representation when processed without profile
+        knowledge, so that clients both with and without knowledge of a profiled
+        resource can safely use the same representation. The <code>profile</code>
+        parameter MAY also be used by clients to express their preferences in the
+        content negotiation process. It is RECOMMENDED that profile IRIs are
+        dereferenceable and provide useful documentation at that IRI. This
+        specification, however, does not define any formats for such profile
+        descriptions.
+      </dd>
+    </dl>
   </dd>
   <dt>Encoding considerations:</dt>
   <dd>The same as the <code>application/json</code> MIME media type.</dd>