Skip to content

Commit c3c9592

Browse files
committed
Describe that type-scoped contexts are only in affect on the node objects in which they're used. Add changes for type-scoped contexts.
Fixes #174.
1 parent 16c60eb commit c3c9592

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

index.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3405,7 +3405,10 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
34053405
relate things of different types, where the vocabularies in use within
34063406
different entities calls for different context scoping. For example,
34073407
<code>hasPart</code>/<code>partOf</code> may be common terms used in a document, but mean
3408-
different things depending on the context.</p>
3408+
different things depending on the context.
3409+
A <a>context</a> scoped on <code>@type</code> is only in effect for the <a>node object</a> on which
3410+
the type is used; the previous in-scope <a>contexts</a> are placed back into
3411+
effect when traversing into another <a>node object</a>.</p>
34093412

34103413
<p>When expanding, each value of <code>@type</code> is considered
34113414
(ordering them lexicographically) where that value is also a <a>term</a> in
@@ -12835,6 +12838,8 @@ <h2>Changes since JSON-LD Community Group Final Report</h2>
1283512838
using type <code>application/ld+json;profile=http://www.w3.org/ns/json-ld#frame</code>.</li>
1283612839
<li>Term definitions can now be <a href="#protected-term-definitions">protected</a>,
1283712840
to limit the ability of other contexts to override them.</li>
12841+
<li>A <a>context</a> defined in an <a>expanded term definition</a> may also be used for values
12842+
of <code>@type</code>, which defines a <a>context</a> to use for <a>node objects</a> including the associated type.</li>
1283812843
</ul>
1283912844
</section>
1284012845

0 commit comments

Comments
 (0)