Add info about profile URIs to sections defining the resp. document form
/cc @msporny @gkellogg
--- a/spec/latest/changes-since-lc.txt Sun May 05 16:41:18 2013 +0200
+++ b/spec/latest/changes-since-lc.txt Sun May 05 16:58:54 2013 +0200
@@ -2,6 +2,7 @@
---------------------
- Permit keywords as value of @id in expanded term definitions (section B.7 Context Definitions)
+- Add information about profile URIs to the document form sections
API spec
--- a/spec/latest/json-ld/index.html Sun May 05 16:41:18 2013 +0200
+++ b/spec/latest/json-ld/index.html Sun May 05 16:58:54 2013 +0200
@@ -2493,6 +2493,11 @@
]
-->
</pre>
+
+ <p><a href="#application-ld-json">JSON-LD's media type</a> defines a
+ <code>profile</code> parameter which can be used to signal or request
+ expanded document form. The profile URI identifying expanded document
+ form is <code>http://www.w3.org/ns/json-ld#expanded</code>.</p>
</section>
<section class="informative">
@@ -2563,6 +2568,11 @@
}
-->
</pre>
+
+ <p><a href="#application-ld-json">JSON-LD's media type</a> defines a
+ <code>profile</code> parameter which can be used to signal or request
+ compacted document form. The profile URI identifying compacted document
+ form is <code>http://www.w3.org/ns/json-ld#compacted</code>.</p>
</section>
<section class="informative">
@@ -2634,6 +2644,14 @@
}
-->
</pre>
+
+ <p><a href="#application-ld-json">JSON-LD's media type</a> defines a
+ <code>profile</code> parameter which can be used to signal or request
+ flattened document form. The profile URI identifying flattened document
+ form is <code>http://www.w3.org/ns/json-ld#flattened</code>. It can be
+ combined with the profile URI identifying
+ <a href="#expanded-document-form">expanded document form</a> or
+ <a href="#compact-document-form">compacted document from</a>.</p>
</section>
<section class="informative">
@@ -3645,12 +3663,12 @@
useful documentation at that URI. For more information and background
please refer to [[RFC6906]].</p>
<p>This specification defines three values for the <code>profile</code> parameter.
- To request or specify Expanded JSON-LD document form, the URI
- <code>http://www.w3.org/ns/json-ld#expanded</code> SHOULD be used.
- To request or specify Compacted JSON-LD document form, the URI
- <code>http://www.w3.org/ns/json-ld#compacted</code> SHOULD be used.
- To request or specify Flattened JSON-LD document form, the URI
- <code>http://www.w3.org/ns/json-ld#flattened</code> SHOULD be used.
+ To request or specify <a href="#expanded-document-form">expanded JSON-LD document form</a>,
+ the URI <code>http://www.w3.org/ns/json-ld#expanded</code> SHOULD be used.
+ To request or specify <a href="#compact-document-form">compacted JSON-LD document form</a>,
+ the URI <code>http://www.w3.org/ns/json-ld#compacted</code> SHOULD be used.
+ To request or specify <a href="#flattened-document-form">flattened JSON-LD document form</a>,
+ the URI <code>http://www.w3.org/ns/json-ld#flattened</code> SHOULD be used.
Please note that, according [[HTTP11]], the value of the <code>profile</code>
parameter has to be enclosed in quotes (<code>"</code>) because it contains
special characters and, if multiple profiles are combined, whitespace.</p>