Skip to content

Commit 865d350

Browse files
committed
Clarify that @version is set to 1.1, not "json-ld-1.1".
Fixes #230.
1 parent ba7bc44 commit 865d350

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,9 @@ <h2>Syntax Tokens and Keywords</h2>
597597
New features since [[[JSON-LD10]]] [[JSON-LD10]] described in this specification are
598598
only available when <a>processing mode</a> has been explicitly set to
599599
<code>json-ld-1.1</code>.
600+
<div class="note">Within a <a>context definition</a> `@version` takes the specific value `1.1`, not
601+
`"json-ld-1.1"`, as a JSON-LD 1.0 processor may accept a string value for `@version`,
602+
but will reject a numeric value.</div>
600603
</dd>
601604
<dt class="changed"><code>@json</code></dt><dd class="changed">
602605
Used as the <code>@type</code> value of a <a>JSON literal</a>.

0 commit comments

Comments
 (0)