Allow for @type: {} in expansion, to support framing.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Wed, 11 Apr 2012 14:46:45 -0700
changeset 501 7d993d679d1c
parent 500 07c91fa1ee3b
child 502 f44db14e8ad4
child 503 f7eff5e07f79
Allow for @type: {} in expansion, to support framing.
spec/latest/json-ld-api/index.html
--- a/spec/latest/json-ld-api/index.html	Wed Apr 11 14:10:42 2012 -0700
+++ b/spec/latest/json-ld-api/index.html	Wed Apr 11 14:46:45 2012 -0700
@@ -1237,8 +1237,9 @@
             property from <em>element</em>.</li>
           <li>If the <em>property</em> is <code>@id</code> the <em>value</em> MUST be a <tref>string</tref>.
             Expand the <em>value</em> according to <a href="#iri-expansion">IRI Expansion</a>.</li>
-          <li>Otherwise, if the <em>property</em> is <code>@type</code> the <em>value</em> MUST be a <tref>string</tref> or an
-            <tref>array</tref> of <tref>string</tref>s. Expand <em>value</em> or each of it's entries according to
+          <li>Otherwise, if the <em>property</em> is <code>@type</code> the <em>value</em>
+            MUST be a <tref>string</tref>, an <tref>array</tref> of <tref>string</tref>s, or an empty
+            <tref>JSON Object</tref>. Expand <em>value</em> or each of it's entries according to
             <a href="#iri-expansion">IRI Expansion</a>.</li>
           <li>Otherwise, if the <em>property</em> is <code>@value</code> or <code>@language</code> the <em>value</em> MUST NOT be a
             <tref>JSON object</tref> or an <tref>array</tref>.</li>