From 2c51113b1ba108abd3ee8ac2ac556fe8e58deb6e Mon Sep 17 00:00:00 2001
From: Gregg Kellogg Other than for When processing mode is set to Since keywords cannot be redefined, they can also not be aliased to
other keywords. A term is a short-hand string that expands
- to an IRI or a blank node identifier.Using the Document Base for the Default Vocabulary
@type
, properties of
expanded term definitions where the term is a keyword
result in an error.
- When processing mode is set to json-ld-1.1
,
- a keyword may be used with an expanded term definition having
- only the entry `@protected`;
- see for further details.
- There is also an exception for @type
;
+ When processing mode is set to json-ld-1.1
,t
+ there is also an exception for @type
;
see for further details.json-ld-1.1
,
+ aliases of keywords are either simple term definitions,
+ where the value is a keyword,
+ or a expanded term definitions with an `@id` entry and optionally an `@protected` entry;
+ no other entries are allowed.
+ there is also an exception for aliases of @type
,
+ as indicated above.
+ See for further details
+ of using `@protected`.JSON-LD Grammar
Terms
A term MUST NOT equal any of the JSON-LD keywords.
+A term MUST NOT equal any of the JSON-LD keywords, + other than `@type` in.
When used as the prefix in a Compact IRI, to avoid the potential ambiguity of a prefix being confused with an IRI @@ -12167,7 +12175,8 @@
If the context definition has an @type
key,
- its value MUST be a map with the single entry @container
set to @set
.
@container
set to @set
,
+ and optional entry `@protected`.
If the context definition has an @vocab
key,
its value MUST be a absolute IRI, a compact IRI,
@@ -12197,10 +12206,15 @@
@language
,
@container
,
@context
,
- @prefix
, or
+ @prefix
,
+ @protected
, or
@propagate
.
An expanded term definition SHOULD NOT contain any other keys.
+ When the associated term is `@type`, the expanded term definition + MUST NOT contain keys other than `@container` and `@protected`. + The value of `@container` is limited to the single value `@set`.
+If the term being defined is not a compact IRI or
absolute IRI and the active context does not have an
@vocab
mapping, the expanded term definition MUST
@@ -12268,6 +12282,9 @@
If the expanded term definition contains the @propagate
keyword, its value MUST be true
or false
.
If the expanded term definition contains the @protected
+ keyword, its value MUST be true
or false
.
If a context contains the @import
keyword, its value MUST be an absolute IRI or relative IRI.
When used as a reference from an `@import`, the referenced context definition MUST NOT