Skip to content

Commit fb571ab

Browse files
committed
Add provision for a keyword to be used in the context with @protected, and indicate that other use results in an error, rather than being ignored.
For #246.
1 parent 5a6e511 commit fb571ab

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

index.html

+10-5
Original file line numberDiff line numberDiff line change
@@ -3050,9 +3050,14 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
30503050
<strong>url</strong> and <strong>a</strong>, respectively.</p>
30513051

30523052
<p><span class="changed">Other than for <code>@type</code>,</span> properties of
3053-
<a>expanded term definitions</a> where the term is a <a>keyword</a> are ignored.
3054-
When processing mode is set to <code>json-ld-1.1</code>, there is an exception for <code>@type</code>;
3055-
see <a href="#using-set-with-type" class="sectionRef"></a> for further details.</p>
3053+
<a>expanded term definitions</a> where the term is a <a>keyword</a>
3054+
result in an error.
3055+
<span class="changed">When processing mode is set to <code>json-ld-1.1</code>,
3056+
a keyword may be used with an <a>expanded term definition</a> having
3057+
only the <a>entry</a> `@protected`;
3058+
see <a href="#protected-term-definitions" class="sectionRef"></a> for further details.
3059+
There is also an exception for <code>@type</code>;
3060+
see <a href="#using-set-with-type" class="sectionRef"></a> for further details.</span></p>
30563061

30573062
<p>Since keywords cannot be redefined, they can also not be aliased to
30583063
other keywords.</p>
@@ -7621,11 +7626,11 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
76217626
"@type": "schema:Blog",
76227627
"name": "World Financial News",
76237628
"post": {
7624-
****"http://example.com/posts/1/en"****: {
7629+
****"1/en"****: {
76257630
"body": "World commodities were up today with heavy trading of crude oil...",
76267631
"words": 1539
76277632
},
7628-
****"http://example.com/posts/1/de"****: {
7633+
****"1/de"****: {
76297634
"body": "Die Werte an Warenbörsen stiegen im Sog eines starken Handels von Rohöl...",
76307635
"words": 1204
76317636
}

0 commit comments

Comments
 (0)