@@ -3055,13 +3055,20 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
3055
3055
<p><span class="changed">Other than for <code>@type</code>,</span> properties of
3056
3056
<a>expanded term definitions</a> where the term is a <a>keyword</a>
3057
3057
result in an error.
3058
- <span class="changed">When processing mode is set to <code>json-ld-1.1</code>,
3059
- a keyword may be used with an <a>expanded term definition</a> having
3060
- only the <a>entry</a> `@protected`;
3061
- see <a href="#protected-term-definitions" class="sectionRef"></a> for further details.
3062
- There is also an exception for <code>@type</code>;
3058
+ <span class="changed">When processing mode is set to <code>json-ld-1.1</code>,t
3059
+ there is also an exception for <code>@type</code>;
3063
3060
see <a href="#using-set-with-type" class="sectionRef"></a> for further details.</span></p>
3064
3061
3062
+ <p class="changed">When processing mode is set to <code>json-ld-1.1</code>,
3063
+ aliases of <a>keywords</a> are either <a>simple term definitions</a>,
3064
+ where the value is a <a>keyword</a>,
3065
+ or a <a>expanded term definitions</a> with an `@id` <a>entry</a> and optionally an `@protected` <a>entry</a>;
3066
+ no other entries are allowed.
3067
+ there is also an exception for aliases of <code>@type</code>,
3068
+ as indicated above.
3069
+ See <a href="#protected-term-definitions" class="sectionRef"></a> for further details
3070
+ of using `@protected`.</p>
3071
+
3065
3072
<p>Since keywords cannot be redefined, they can also not be aliased to
3066
3073
other keywords.</p>
3067
3074
@@ -11512,9 +11519,10 @@ <h1>JSON-LD Grammar</h1>
11512
11519
<h2>Terms</h2>
11513
11520
11514
11521
<p>A <a>term</a> is a short-hand <a>string</a> that expands
11515
- to an <a>IRI</a> or a <a>blank node identifier</a>.</p>
11522
+ to an <a>IRI</a>, <a>blank node identifier</a>, or <a>keyword </a>.</p>
11516
11523
11517
- <p>A <a>term</a> MUST NOT equal any of the JSON-LD <a>keywords</a>.</p>
11524
+ <p>A <a>term</a> MUST NOT equal any of the JSON-LD <a>keywords</a>,
11525
+ <span class="changed">other than `@type` in</span>.</p>
11518
11526
11519
11527
<p class="changed">When used as the <a>prefix</a> in a <a>Compact IRI</a>, to avoid
11520
11528
the potential ambiguity of a <a>prefix</a> being confused with an IRI
@@ -12020,7 +12028,8 @@ <h2>Context Definitions</h2>
12020
12028
its value MUST be <code>true</code> or <code>false</code>.</p>
12021
12029
12022
12030
<p class="changed">If the <a>context definition</a> has an <code>@type</code> key,
12023
- its value MUST be a <a>map</a> with the single <a>entry</a> <code>@container</code> set to <code>@set</code>.</p>
12031
+ its value MUST be a <a>map</a> with the single <a>entry</a> <code>@container</code> set to <code>@set</code>,
12032
+ and optional entry `@protected`.</p>
12024
12033
12025
12034
<p class="changed">If the <a>context definition</a> has an <code>@version</code> key,
12026
12035
its value MUST be a <a>number</a> with the value <code>1.1</code>.</p>
@@ -12050,9 +12059,14 @@ <h2>Context Definitions</h2>
12050
12059
<code>@container</code>,
12051
12060
<code class="changed">@context</code>,
12052
12061
<code class="changed">@prefix</code>,
12062
+ <code class="changed">@propagate</code>, or
12053
12063
<code class="changed">@protected</code>.
12054
12064
An <a>expanded term definition</a> SHOULD NOT contain any other keys.</p>
12055
12065
12066
+ <p class="changed">When the associated term is `@type`, the <a>expanded term definition</a>
12067
+ MUST NOT contain keys other than `@container` and `@protected`.
12068
+ The value of `@container` is limited to the single value `@set`.</p>
12069
+
12056
12070
<p>If the term being defined is not a <a>compact IRI</a> or
12057
12071
<a>absolute IRI</a> and the <a>active context</a> does not have an
12058
12072
<code>@vocab</code> mapping, the <a>expanded term definition</a> MUST
@@ -12110,13 +12124,21 @@ <h2>Context Definitions</h2>
12110
12124
<p class="changed">If an <a>expanded term definition</a> has an <code>@context</code> <a>entry</a>,
12111
12125
it MUST be a valid <code>context definition</code>.</p>
12112
12126
12127
+ <p class="changed">If a <a>context</a> contains the <code>@import</code>
12128
+ <a>keyword</a>, its value MUST be an <a>absolute IRI</a> or <a>relative IRI</a>.
12129
+ When used as a reference from an `@import`, the referenced <a>context definition</a> MUST NOT
12130
+ include an `@import` key, itself.</p>
12131
+
12113
12132
<p class="changed">If the <a>expanded term definition</a> contains the <code>@nest</code>
12114
12133
<a>keyword</a>, its value MUST be either <code>@nest</code>, or a term
12115
12134
which expands to <code>@nest</code>.</p>
12116
12135
12117
12136
<p class="changed">If the <a>expanded term definition</a> contains the <code>@prefix</code>
12118
12137
<a>keyword</a>, its value MUST be <code>true</code> or <code>false</code>.</p>
12119
12138
12139
+ <p class="changed">If the <a>expanded term definition</a> contains the <code>@propagate</code>
12140
+ <a>keyword</a>, its value MUST be <code>true</code> or <code>false</code>.</p>
12141
+
12120
12142
<p class="changed">If the <a>expanded term definition</a> contains the <code>@protected</code>
12121
12143
<a>keyword</a>, its value MUST be <code>true</code> or <code>false</code>.</p>
12122
12144
0 commit comments