diff --git a/spec/latest/common/typographical-conventions.html b/spec/latest/common/typographical-conventions.html index 73b306e0e..989c5ace7 100644 --- a/spec/latest/common/typographical-conventions.html +++ b/spec/latest/common/typographical-conventions.html @@ -19,6 +19,8 @@
Notes are in light green boxes with a green left border and with a "Note" header in green. Notes are normative or informative depending on the whether they are in a normative or informative section, respectively.
diff --git a/spec/latest/json-ld-api/index.html b/spec/latest/json-ld-api/index.html index 400d46d63..842a6f84b 100644 --- a/spec/latest/json-ld-api/index.html +++ b/spec/latest/json-ld-api/index.html @@ -70,7 +70,7 @@ ], bugTracker: { - open: "https://github.com/json-ld/json-ld.org/issues?q=is%3Aopen+is%3Aissue+label%3A1.1+label%3Aapi", + open: "https://github.com/json-ld/json-ld.org/issues?utf8=✓&q=is%3Aissue%20label%3Aapi%20is%3Aopen%20milestone%3A%22JSON-LD%201.1%22%20", new: "https://github.com/json-ld/json-ld.org/issues/new" }, @@ -127,6 +127,13 @@ counter-increment: numsection; content: counters(numsection, ".") ") "; } + .changed { + background-color: rgb(215, 238, 197); + } + .changed:hover { + color: green; + background-color: inherit; + } @@ -577,8 +584,9 @@A conforming JSON-LD Processor is a system which can perform the Expansion, Compaction, - and Flattening operations in a manner consistent with - the algorithms defined in this specification.
+ and Flattening operations + in a manner consistent with + the algorithms defined in this specification.JSON-LD Processors MUST NOT attempt to correct malformed IRIs or language tags; @@ -621,7 +629,8 @@
@context
:
+ @context
:
@context
key, which is treated as a local context.null
,
and element is set to the JSON-LD input.
- The algorithm also performs processing steps specific to expanding +
The algorithm also performs processing steps specific to expanding
a JSON-LD Frame. For a frame, the @id
and
@type
properties can accept an array of IRIs or
an empty dictionary. The properties of a value object can also
@@ -1288,12 +1297,13 @@
true
for document relative.
- When the frame expansion
flag is set, value
- may be an empty dictionary, or an array of one
- or more strings. Expanded value will be
- an array of one or more of these, with string
- values expanded using the IRI Expansion Algorithm.frame expansion
flag is set, value
+ may be an empty dictionary, or an array of one
+ or more strings. Expanded value will be
+ an array of one or more of these, with string
+ values expanded using the IRI Expansion Algorithm.
@type
and value
is neither a string nor an array of
strings, an
@@ -1304,13 +1314,15 @@ true
for vocab,
and true
for document relative to expand the value
or each of its items.
- When the frame expansion
flag is set, value
- may also be an empty dictionary.frame expansion
flag is set, value
+ may also be an empty dictionary.
@graph
, set
expanded value to the result of using this algorithm
recursively passing active context, @graph
for active property, and value for element,
- ensuring that expanded value is an array of one or more dictionaries.@value
and
value is not a scalar or null
, an
invalid value object value
@@ -1321,19 +1333,21 @@ @type
member depends
on the existence of an @value
member.
- When the frame expansion
flag is set, value
- may also be an empty dictionary or an array of
- scalar values. Expanded value will be null, or an
- array of one or more scalar values.frame expansion
flag is set, value
+ may also be an empty dictionary or an array of
+ scalar values. Expanded value will be null, or an
+ array of one or more scalar values.
@language
and
value is not a string, an
invalid language-tagged string
- error has been detected and processing is aborted. Otherwise,
- set expanded value to lowercased value.
- When the frame expansion
flag is set, value
- may also be an empty dictionary or an array of zero or
- strings. Expanded value will be an
- array of one or more string values converted to lower case.frame expansion
flag is set, value
+ may also be an empty dictionary or an array of zero or
+ strings. Expanded value will be an
+ array of one or more string values converted to lower case.
@index
and
value is not a string, an
invalid @index value
@@ -1403,7 +1417,7 @@ frame expansion
flag is set,
+ frame expansion
flag is set,
if expanded property is any other
framing keyword (@explicit
, @default
,
@embed
, @explicit
, @omitDefault
, or
@@ -1418,14 +1432,14 @@ @language
and
+ term context is @language
and
value is a JSON object then value
is expanded from a language map
as follows:
@@ -1456,7 +1470,7 @@ @index
and
+ term context is @index
and
value is a JSON object then value
is expanded from an index map as follows:
null
, ignore key
by continuing to the next key from element.@list
and
+ term context is @list
and
expanded value is not already a list object,
convert expanded value to a list object
by first setting it to an array containing only
@@ -1750,7 +1764,7 @@ true
.
This algorithm creates a new map of subjects to nodes using all graphs contained in the graph map created using the Node Map Generation algorithm @@ -3410,8 +3424,9 @@
rdf:rest
,
the array value of the member of node usages map associated with the @id
member of node
has only one member,
- the value associated to the usages
member of node has
- exactly 1 entry,
+
+ the value associated to the usages
member of node has
+ exactly 1 entry,
node has a rdf:first
and rdf:rest
property,
both of which have as value an array consisting of a single element,
and node has no other members apart from an optional @type
@@ -4131,8 +4146,8 @@ frame expansion
flag, to enable content associated with JSON-LD
+ frames, which may not otherwise be valid JSON-LD documents.@context
property, which defines a context used for values of
a property identified with such a term. This context is used
in both the Expansion Algorithm and
Compaction Algorithm.The following is a list of open issues being worked on for the next release.
- - - - - +Frames can include @graph
, which allows information from named graphs
contained within a JSON-LD document to be exposed within it's proper
@@ -795,8 +809,8 @@
@requireAll
@requireAll
Set graph map to the result of performing the +
Set graph map to the result of performing the Node Map Generation algorithm on expanded input.
-If the frameDefault option +
If the frameDefault option
is present with the value true
, set graph name to @default
.
Otherwise, create merged node map using the the Merge Node Maps algorithm
with graph map and add merged node map as the value of @merged
@@ -931,7 +945,7 @@
@first
.@last
or @always
@graph
,
set recurse to true
, unless graph name in state is @merged
@@ -1014,7 +1028,7 @@ @reverse
, then
+ @reverse
, then
for each reverse property and sub frame that are the values of @reverse
in frame:
@reverse
property in output with a new dictionary reverse dict as its value.The Frame Matching Algorithm is used as part of the Framing algorithm @@ -1140,7 +1154,7 @@
The Value Pattern Matching Algorithm is used as part of the Framing @@ -1396,18 +1410,37 @@
@embed
) can take on different
+ values to better control object embedding.wildcard
and match none
+ can be used for type and property values.@value
, @type
, and @language
+ can use wildcard
and match none
+ and may also use a set of specific strings to match (e.g., a set of specific
+ languages).@reverse
.@id
to allow for matching
+ specific objects in a frame.The following is a list of open issues being worked on for the next release.
- - - - - - - -The @reverse
keyword can also be used in
+
The @reverse
keyword can also be used in
expanded term definitions
to create reverse properties as shown in the following example:
An expanded term definition can include a @context
@@ -3207,7 +3221,7 @@
An expanded term definition MUST be a JSON object
composed of zero or more keys from @id
, @reverse
,
- @type
, @language
, @context
or @container
. An
+ @type
, @language
, @context
or @container
. An
expanded term definition SHOULD NOT contain any other keys.
If an expanded term definition has an @reverse
member,
@@ -3242,7 +3256,7 @@
@context
, the associated value MUST be an
index map.
- If an expanded term definition has an @context
member,
+
If an expanded term definition has an @context
member,
it MUST be a valid context definition
.
Terms MUST NOT be used in a circular manner. That is, @@ -3461,6 +3475,9 @@