Skip to content

Commit 1c672da

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

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
@@ -596,6 +596,9 @@ <h2>Syntax Tokens and Keywords</h2>
596596
New features since [[[JSON-LD10]]] [[JSON-LD10]] described in this specification are
597597
only available when <a>processing mode</a> has been explicitly set to
598598
<code>json-ld-1.1</code>.
599+
<div class="note">Within a <a>context definition</a> `@version` takes the specific value `1.1`, not
600+
`"json-ld-1.1"`, as a JSON-LD 1.0 processor may accept a string value for `@version`,
601+
but will reject a numeric value.</div>
599602
</dd>
600603
<dt class="changed"><code>@json</code></dt><dd class="changed">
601604
Used as the <code>@type</code> value of a <a>JSON literal</a>.

0 commit comments

Comments
 (0)