Skip to content

Add grammar pieces for framing. #135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 26, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10535,6 +10535,31 @@ <h2>Node Objects</h2>
</ul>
</section>

<section class="normative"><h2>Frame Objects</h2>
<p>When <a>framing</a>, a <a>frame object</a> extends a <a>node object</a> to allow
members used specifically for <a>framing</a>.</p>
<ul>
<li>A <a>frame object</a> MAY include a <a>default object</a> as the value of any key
which is not a <a>keyword</a>.
Values of <code>@default</code> MAY include the value <code>@null</code>,
or an <a>array</a> containing only <code>@null</code>, in addition to other values
allowed in the grammar for values of <a>member</a> keys expanding to <a>absolute IRIs</a>.</li>
<li>The values of <code>@id</code> and <code>@type</code> MAY additionally be
an empty <a>dictionary</a> (<a data-cite="JSON-LD11-FRAMING#dfn-wildcard">wildcard</a>),
an <a>array</a> containing only an empty <a>dictionary</a>,
an empty <a>array</a> (<a data-cite="JSON-LD11-FRAMING#dfn-match-none">match none</a>)
an <a>array</a> of <a>IRIs</a>.</li>
<li>A <a>frame object</a> MAY include a <a>member</a> with the key <code>@embed</code> with
any value from <code>@always</code>, <code>@list</code>, and <code>@never</code>.</li>
<li>A <a>frame object</a> MAY include <a>members</a> with the boolean valued
keys <code>@explicit</code>, <code>@omitDefault</code>, or <code>@requireAll</code></li>
<li>In addition to other property values, a property of a <a>frame object</a>
MAY include a <a data-cite="JSON-LD11-FRAMING#dfn-value-pattern">value pattern</a>
(See <a href="#value-patterns" class="sectionRef"></a>).</li>
</ul>
<p>See [[JSON-LD11-FRAMING]] for a description of how <a>frame objects</a> are used.</p>
</section>

<section class="normative">
<h2>Graph Objects</h2>

Expand Down Expand Up @@ -10610,6 +10635,21 @@ <h2>Value Objects</h2>
for more information on <a>value objects</a>.</p>
</section>

<section class="normative">
<h2>Value Patterns</h2>
<p>When <a>framing</a>,
a <a data-cite="JSON-LD11-FRAMING#dfn-value-pattern">value pattern</a>
extends a <a>value object</a> to allow
members used specifically for <a>framing</a>.</p>
<ul>
<li>The values of <code>@value</code>, <code>@language</code> and <code>@type</code> MAY additionally be
an empty <a>dictionary</a> (<a data-cite="JSON-LD11-FRAMING#dfn-wildcard">wildcard</a>),
an <a>array</a> containing only an empty <a>dictionary</a>,
an empty <a>array</a> (<a data-cite="JSON-LD11-FRAMING#dfn-match-none">match none</a>)
an <a>array</a> of <a>strings</a>.</li>
</ul>
</section>

<section class="normative">
<h2>Lists and Sets</h2>

Expand Down