Terms imported from [[[ECMASCRIPT]]] [[ECMASCRIPT]], [[[RFC8259]]] [[RFC8259]], [[[INFRA]]] [[INFRA]], and [[[WEBIDL]]] [[WEBIDL]]
true and false that are used
to express one of two possible states.In the internal representation a JSON object is described as a map (see [[INFRA]]), composed of entries with key/value pairs.
In the Application Programming Interface, a map is described using a [[WEBIDL]] record.
@context where the value,
or the @id of the value, is null,
explicitly decouples a term's association with an IRI.
A map entry in the body of a JSON-LD document
whose value is null
has the same meaning as if the map entry was not defined.
If @value, @list, or @set is set to null in expanded form,
then the entire JSON object is ignored.true, or false.Terms imported from [[[RFC3987]]] [[RFC3987]]
@type,
and values of terms defined to be vocabulary relative
are resolved relative to the vocabulary mapping,
not the base IRI.Terms imported from [[[RDF11-CONCEPTS]]] [[RDF11-CONCEPTS]], [[[RDF-SCHEMA]]] [[RDF-SCHEMA]], and [[[LINKED-DATA]]] [[LINKED-DATA]]
_:._:.@language key
whose value must be a string representing a [[BCP47]] language code or null.
See the Context Definitions section of JSON-LD 1.1 for a normative description.
@default key.@direction key
whose value must be one of the strings `"ltr"`, `"rtl"`, or null.
See the Context Definitions section of JSON-LD 1.1 for a normative description.
@context entry of one of the following:
a node object, a value object, a graph object, a list object,
a set object, the value of a nested property,
or the value of an expanded term definition.
Its value may be a map for a context definition,
as an IRI, or as an array combining either of the above.
@context entry. It has the same form as an embedded context.
When the term is used as a type, it defines a type-scoped context,
when used as a property it defines a property-scoped context.
@graph entry,
and may also have @id, and @index entries.
A simple graph object
is a graph object which does not have an @id entry.
Note that node objects may have a @graph entry,
but are not considered graph objects if they include any other entries.
A top-level object consisting of @graph is also not a graph object.
Note that a node object may also represent a named graph if it includes other properties.
See the Graph Objects section of JSON-LD 1.1 for a normative description.
@container set to @id.
The values of the id map must be node objects,
and its keys are interpreted as IRIs representing
the @id of the associated node object.
If a value in the id map contains a key expanding to @id,
its value must be equivalent to the referencing key in the id map.
See the Id Maps section of JSON-LD 1.1 for a normative description.
@container is set to @graph.@container set to @index,
whose values must be any of the following types:
string,
number,
true,
false,
null,
node object,
value object,
list object,
set object, or
an array of zero or more of the above possibilities.
See the Index Maps section in JSON-LD 1.1 for a formal description.
rdf:JSON.
In the value object representation, the value of @type is @json.
JSON literals represent values which are valid JSON [[RFC8259]].
See the The `rdf:JSON` Datatype section in JSON-LD 1.1 for a normative description.
true or false,
a typed value,
or a language-tagged string.
It represents an RDF literal.
@container set to @language,
whose keys must be strings representing [[BCP47]] language codes
and the values must be any of the following types:
null,
string, or
an array of zero or more of the above possibilities.
See the Language Maps section of JSON-LD 1.1 for a normative description.
@list key.
It may also have an @index key, but no other entries.
See the Lists and Sets section of JSON-LD 1.1 for a normative description.
@context keyword.@id key.@version entry in a context,
publishers can ensure that processors conformant with JSON-LD 1.0 [[JSON-LD10]]
will not accidentally process JSON-LD 1.1 documents, possibly creating a different output.
The API provides an option for setting the processing mode to `json-ld-1.0`,
which will prevent JSON-LD 1.1 features from being activated,
or error if @version entry in a context is explicitly set to `1.1`.
This specification extends JSON-LD 1.0
via the `json-ld-1.1` processing mode.@set entry.
It may also have an @index key, but no other entries.
See the Lists and Sets section of JSON-LD 1.1 for a normative description.
@container set to @type,
whose keys are interpreted as IRIs
representing the @type of the associated node object;
the value must be a node object, or array of node objects.
If the value contains a term expanding to @type,
its values are merged with the map value when expanding.
See the Type Maps section of JSON-LD 1.1 for a normative description.
@value entry.
See the Value Objects section of JSON-LD 1.1 for a normative description.@vocab key
whose value must be an IRI, a compact IRI, a term, or null.
See the Context Definitions section of JSON-LD 1.1 for a normative description.