Skip to content

Commit c0fe219

Browse files
committed
Add grammar pieces for framing.
Relates to w3c/json-ld-framing#28.
1 parent db91a3e commit c0fe219

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

index.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9984,6 +9984,26 @@ <h2>Node Objects</h2>
99849984
</ul>
99859985
</section>
99869986

9987+
<section class="normative"><h2>Frame Objects</h2>
9988+
<p>When <a>framing</a>, a <a>frame object</a> extends a <a>node object</a> to allow
9989+
members used specifically for <a>framing</a>.</p>
9990+
<ul>
9991+
<li>A <a>frame object</a> MAY include a <a>default object</a> as the value of any key
9992+
which is not a <a>keyword</a>.
9993+
Values of <code>@default</code> MAY include the value <code>@null</code>,
9994+
or an <a>array</a> containing only <code>@null</code>, in addition to other values
9995+
allowed in the grammar for values of <a>member</a> keys expanding to <a>absolute IRIs</a>.</li>
9996+
<li>The values of <code>@id</code> and <code>@type</code> MAY additionally be an empty <a>dictionary</a>,
9997+
an <a>array</a> containing only an empty <a>dictionary</a>,
9998+
an <a>array</a> of <a>IRIs</a>.</li>
9999+
<li>A <a>frame object</a> MAY include a <a>member</a> with the key <code>@embed</code> with
10000+
any value from <code>@always</code>, <code>@list</code>, and <code>@never</code>.</li>
10001+
<li>A <a>frame object</a> MAY include <a>members</a> with the boolean valued
10002+
keys <code>@explicit</code>, <code>@omitDefault</code>, or <code>@requireAll</code></li>
10003+
</ul>
10004+
<p>See [[JSON-LD11-FRAMING]] for a description of how <a>frame objects</a> are used.</p>
10005+
</section>
10006+
998710007
<section class="normative">
998810008
<h2>Graph Objects</h2>
998910009

0 commit comments

Comments
 (0)