Skip to content

Commit db183ed

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

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
@@ -10535,6 +10535,26 @@ <h2>Node Objects</h2>
1053510535
</ul>
1053610536
</section>
1053710537

10538+
<section class="normative"><h2>Frame Objects</h2>
10539+
<p>When <a>framing</a>, a <a>frame object</a> extends a <a>node object</a> to allow
10540+
members used specifically for <a>framing</a>.</p>
10541+
<ul>
10542+
<li>A <a>frame object</a> MAY include a <a>default object</a> as the value of any key
10543+
which is not a <a>keyword</a>.
10544+
Values of <code>@default</code> MAY include the value <code>@null</code>,
10545+
or an <a>array</a> containing only <code>@null</code>, in addition to other values
10546+
allowed in the grammar for values of <a>member</a> keys expanding to <a>absolute IRIs</a>.</li>
10547+
<li>The values of <code>@id</code> and <code>@type</code> MAY additionally be an empty <a>dictionary</a>,
10548+
an <a>array</a> containing only an empty <a>dictionary</a>,
10549+
an <a>array</a> of <a>IRIs</a>.</li>
10550+
<li>A <a>frame object</a> MAY include a <a>member</a> with the key <code>@embed</code> with
10551+
any value from <code>@always</code>, <code>@list</code>, and <code>@never</code>.</li>
10552+
<li>A <a>frame object</a> MAY include <a>members</a> with the boolean valued
10553+
keys <code>@explicit</code>, <code>@omitDefault</code>, or <code>@requireAll</code></li>
10554+
</ul>
10555+
<p>See [[JSON-LD11-FRAMING]] for a description of how <a>frame objects</a> are used.</p>
10556+
</section>
10557+
1053810558
<section class="normative">
1053910559
<h2>Graph Objects</h2>
1054010560

0 commit comments

Comments
 (0)