diff --git a/index.html b/index.html index d5d3aba0..8d84d5ac 100644 --- a/index.html +++ b/index.html @@ -10469,16 +10469,30 @@

application/ld+json

It is RECOMMENDED that profile URIs are dereferenceable and provide useful documentation at that URI. For more information and background please refer to [[RFC6906]].

-

This specification defines three values for the profile parameter. - To request or specify expanded JSON-LD document form, - the URI http://www.w3.org/ns/json-ld#expanded SHOULD be used. - To request or specify compacted JSON-LD document form, - the URI http://www.w3.org/ns/json-ld#compacted SHOULD be used. - To request or specify flattened JSON-LD document form, - the URI http://www.w3.org/ns/json-ld#flattened SHOULD be used. - Please note that, according [[HTTP11]], the value of the profile - parameter has to be enclosed in quotes (") because it contains - special characters and, if multiple profiles are combined, whitespace.

+

This specification defines four values for the profile parameter.

+
+
http://www.w3.org/ns/json-ld#expanded
+
To request or specify expanded JSON-LD document form.
+
http://www.w3.org/ns/json-ld#compacted
+
To request or specify compacted JSON-LD document form.
+
http://www.w3.org/ns/json-ld#flattened
+
To request or specify flattened JSON-LD document form.
+
http://www.w3.org/ns/json-ld#framed
+
To request or specify framed JSON-LD document form.
+
+

+ When used as a media type paramter [[RFC2048]] + in an HTTP Accept header [[RFC7231]], + the value of the profile parameter MUST be enclosed in quotes (") if it contains + special characters such as whitespace, when multiple profiles are combined.

+

In addition to the profile values described above, + the profile parameter MAY include one additional URL, which is interpreted as + the location of either a context or frame, depending on the other profile + parameters included. When used without an defined profile URI, such a URL + is interpreted as the location of a context.

+

JSON-LD processors MAY place restrictions on supported profiles, + MAY provide defaults for context and frame URLs, + and MAY restrict client-provided URLs for contexts and frames.

When processing the "profile" media type parameter, it is important to note that its value contains one or more URIs and not IRIs. In some cases it might therefore be necessary to convert between IRIs and URIs as specified in @@ -10488,9 +10502,9 @@

application/ld+json

Encoding considerations:
-
See RFC 6839, section 3.1.
+
See RFC 8259, section 11.
Security considerations:
-
See [[RFC8259]] +
See RFC 8259, section 12 [[RFC8259]]

Since JSON-LD is intended to be a pure data exchange format for directed graphs, the serialization SHOULD NOT be passed through a code execution mechanism such as JavaScript's eval()