<?xml version='1.0' encoding='utf-8'?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" version="3" category="std" consensus="true" docName="draft-ietf-httpapi-linkset-10" indexInclude="true" ipr="trust200902" number="9264" prepTime="2022-07-26T09:45:06" scripts="Common,Latin" sortRefs="true" submissionType="IETF" symRefs="true" tocDepth="3" tocInclude="true" xml:lang="en">
  <link href="https://datatracker.ietf.org/doc/draft-ietf-httpapi-linkset-10" rel="prev"/>
  <link href="https://dx.doi.org/10.17487/rfc9264" rel="alternate"/>
  <link href="urn:issn:2070-1721" rel="alternate"/>
  <front>
    <title abbrev="Linkset">Linkset: Media Types and a Link Relation Type for Link Sets</title>
    <seriesInfo name="RFC" value="9264" stream="IETF"/>
    <author initials="E." surname="Wilde" fullname="Erik Wilde">
      <organization showOnFrontPage="true">Axway</organization>
      <address>
        <email>erik.wilde@dret.net</email>
      </address>
    </author>
    <author initials="H." surname="Van de Sompel" fullname="Herbert Van de Sompel">
      <organization showOnFrontPage="true">Data Archiving and Networked Services</organization>
      <address>
        <email>herbert.van.de.sompel@dans.knaw.nl</email>
        <uri>https://orcid.org/0000-0002-0715-6126</uri>
      </address>
    </author>
    <date month="07" year="2022"/>
    <area>art</area>
    <workgroup>httpapi</workgroup>
    <keyword>Web linking</keyword>
    <keyword>Typed links</keyword>
    <keyword>JSON</keyword>
    <keyword>HTTP</keyword>
    <abstract pn="section-abstract">
      <t indent="0" pn="section-abstract-1">This specification defines two formats and associated media types for representing sets of links as standalone documents. One format is based on JSON, and the other is aligned with the format for representing links in the HTTP "Link" header field. This specification also introduces a link relation type to support the discovery of sets of links.</t>
    </abstract>
    <boilerplate>
      <section anchor="status-of-memo" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.1">
        <name slugifiedName="name-status-of-this-memo">Status of This Memo</name>
        <t indent="0" pn="section-boilerplate.1-1">
            This is an Internet Standards Track document.
        </t>
        <t indent="0" pn="section-boilerplate.1-2">
            This document is a product of the Internet Engineering Task Force
            (IETF).  It represents the consensus of the IETF community.  It has
            received public review and has been approved for publication by
            the Internet Engineering Steering Group (IESG).  Further
            information on Internet Standards is available in Section 2 of 
            RFC 7841.
        </t>
        <t indent="0" pn="section-boilerplate.1-3">
            Information about the current status of this document, any
            errata, and how to provide feedback on it may be obtained at
            <eref target="https://www.rfc-editor.org/info/rfc9264" brackets="none"/>.
        </t>
      </section>
      <section anchor="copyright" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.2">
        <name slugifiedName="name-copyright-notice">Copyright Notice</name>
        <t indent="0" pn="section-boilerplate.2-1">
            Copyright (c) 2022 IETF Trust and the persons identified as the
            document authors. All rights reserved.
        </t>
        <t indent="0" pn="section-boilerplate.2-2">
            This document is subject to BCP 78 and the IETF Trust's Legal
            Provisions Relating to IETF Documents
            (<eref target="https://trustee.ietf.org/license-info" brackets="none"/>) in effect on the date of
            publication of this document. Please review these documents
            carefully, as they describe your rights and restrictions with
            respect to this document. Code Components extracted from this
            document must include Revised BSD License text as described in
            Section 4.e of the Trust Legal Provisions and are provided without
            warranty as described in the Revised BSD License.
        </t>
      </section>
    </boilerplate>
    <toc>
      <section anchor="toc" numbered="false" removeInRFC="false" toc="exclude" pn="section-toc.1">
        <name slugifiedName="name-table-of-contents">Table of Contents</name>
        <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1">
          <li pn="section-toc.1-1.1">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.1.1"><xref derivedContent="1" format="counter" sectionFormat="of" target="section-1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-introduction">Introduction</xref></t>
          </li>
          <li pn="section-toc.1-1.2">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.2.1"><xref derivedContent="2" format="counter" sectionFormat="of" target="section-2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-terminology">Terminology</xref></t>
          </li>
          <li pn="section-toc.1-1.3">
            <t indent="0" pn="section-toc.1-1.3.1"><xref derivedContent="3" format="counter" sectionFormat="of" target="section-3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-use-cases-and-motivation">Use Cases and Motivation</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.3.2">
              <li pn="section-toc.1-1.3.2.1">
                <t indent="0" keepWithNext="true" pn="section-toc.1-1.3.2.1.1"><xref derivedContent="3.1" format="counter" sectionFormat="of" target="section-3.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-third-party-links">Third-Party Links</xref></t>
              </li>
              <li pn="section-toc.1-1.3.2.2">
                <t indent="0" pn="section-toc.1-1.3.2.2.1"><xref derivedContent="3.2" format="counter" sectionFormat="of" target="section-3.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-challenges-writing-to-the-h">Challenges Writing to the HTTP "Link" Header Field</xref></t>
              </li>
              <li pn="section-toc.1-1.3.2.3">
                <t indent="0" pn="section-toc.1-1.3.2.3.1"><xref derivedContent="3.3" format="counter" sectionFormat="of" target="section-3.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-large-number-of-links">Large Number of Links</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.4">
            <t indent="0" pn="section-toc.1-1.4.1"><xref derivedContent="4" format="counter" sectionFormat="of" target="section-4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-document-formats-for-sets-o">Document Formats for Sets of Links</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2">
              <li pn="section-toc.1-1.4.2.1">
                <t indent="0" pn="section-toc.1-1.4.2.1.1"><xref derivedContent="4.1" format="counter" sectionFormat="of" target="section-4.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-http-link-document-format-a">HTTP Link Document Format: application/linkset</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.2">
                <t indent="0" pn="section-toc.1-1.4.2.2.1"><xref derivedContent="4.2" format="counter" sectionFormat="of" target="section-4.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-json-document-format-applic">JSON Document Format: application/linkset+json</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2.2.2">
                  <li pn="section-toc.1-1.4.2.2.2.1">
                    <t indent="0" pn="section-toc.1-1.4.2.2.2.1.1"><xref derivedContent="4.2.1" format="counter" sectionFormat="of" target="section-4.2.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-set-of-links">Set of Links</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.2.2.2">
                    <t indent="0" pn="section-toc.1-1.4.2.2.2.2.1"><xref derivedContent="4.2.2" format="counter" sectionFormat="of" target="section-4.2.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-link-context-object">Link Context Object</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.2.2.3">
                    <t indent="0" pn="section-toc.1-1.4.2.2.2.3.1"><xref derivedContent="4.2.3" format="counter" sectionFormat="of" target="section-4.2.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-link-target-object">Link Target Object</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.2.2.4">
                    <t indent="0" pn="section-toc.1-1.4.2.2.2.4.1"><xref derivedContent="4.2.4" format="counter" sectionFormat="of" target="section-4.2.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-link-target-attributes">Link Target Attributes</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.2.2.5">
                    <t indent="0" pn="section-toc.1-1.4.2.2.2.5.1"><xref derivedContent="4.2.5" format="counter" sectionFormat="of" target="section-4.2.5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-json-extensibility">JSON Extensibility</xref></t>
                  </li>
                </ul>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.5">
            <t indent="0" pn="section-toc.1-1.5.1"><xref derivedContent="5" format="counter" sectionFormat="of" target="section-5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-the-profile-parameter-for-m">The "profile" Parameter for Media Types to Represent Sets of Links</xref></t>
          </li>
          <li pn="section-toc.1-1.6">
            <t indent="0" pn="section-toc.1-1.6.1"><xref derivedContent="6" format="counter" sectionFormat="of" target="section-6"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-the-linkset-relation-type-f">The "linkset" Relation Type for Linking to a Set of Links</xref></t>
          </li>
          <li pn="section-toc.1-1.7">
            <t indent="0" pn="section-toc.1-1.7.1"><xref derivedContent="7" format="counter" sectionFormat="of" target="section-7"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-examples">Examples</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.7.2">
              <li pn="section-toc.1-1.7.2.1">
                <t indent="0" pn="section-toc.1-1.7.2.1.1"><xref derivedContent="7.1" format="counter" sectionFormat="of" target="section-7.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-set-of-links-provided-as-ap">Set of Links Provided as "application/linkset"</xref></t>
              </li>
              <li pn="section-toc.1-1.7.2.2">
                <t indent="0" pn="section-toc.1-1.7.2.2.1"><xref derivedContent="7.2" format="counter" sectionFormat="of" target="section-7.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-set-of-links-provided-as-app">Set of Links Provided as "application/linkset+json"</xref></t>
              </li>
              <li pn="section-toc.1-1.7.2.3">
                <t indent="0" pn="section-toc.1-1.7.2.3.1"><xref derivedContent="7.3" format="counter" sectionFormat="of" target="section-7.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-discovering-a-link-set-via-">Discovering a Link Set via the "linkset" Link Relation Type</xref></t>
              </li>
              <li pn="section-toc.1-1.7.2.4">
                <t indent="0" pn="section-toc.1-1.7.2.4.1"><xref derivedContent="7.4" format="counter" sectionFormat="of" target="section-7.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-link-set-profiles">Link Set Profiles</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.7.2.4.2">
                  <li pn="section-toc.1-1.7.2.4.2.1">
                    <t indent="0" pn="section-toc.1-1.7.2.4.2.1.1"><xref derivedContent="7.4.1" format="counter" sectionFormat="of" target="section-7.4.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-using-a-profile-attribute-w">Using a "profile" Attribute with a "linkset" Link</xref></t>
                  </li>
                  <li pn="section-toc.1-1.7.2.4.2.2">
                    <t indent="0" pn="section-toc.1-1.7.2.4.2.2.1"><xref derivedContent="7.4.2" format="counter" sectionFormat="of" target="section-7.4.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-using-a-profile-parameter-w">Using a "profile" Parameter with a Link Set Media Type</xref></t>
                  </li>
                  <li pn="section-toc.1-1.7.2.4.2.3">
                    <t indent="0" pn="section-toc.1-1.7.2.4.2.3.1"><xref derivedContent="7.4.3" format="counter" sectionFormat="of" target="section-7.4.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-using-a-link-with-a-profile">Using a Link with a "profile" Link Relation Type</xref></t>
                  </li>
                </ul>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.8">
            <t indent="0" pn="section-toc.1-1.8.1"><xref derivedContent="8" format="counter" sectionFormat="of" target="section-8"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-iana-considerations">IANA Considerations</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.8.2">
              <li pn="section-toc.1-1.8.2.1">
                <t indent="0" pn="section-toc.1-1.8.2.1.1"><xref derivedContent="8.1" format="counter" sectionFormat="of" target="section-8.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-link-relation-type-linkset">Link Relation Type: linkset</xref></t>
              </li>
              <li pn="section-toc.1-1.8.2.2">
                <t indent="0" pn="section-toc.1-1.8.2.2.1"><xref derivedContent="8.2" format="counter" sectionFormat="of" target="section-8.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-media-type-application-link">Media Type: application/linkset</xref></t>
              </li>
              <li pn="section-toc.1-1.8.2.3">
                <t indent="0" pn="section-toc.1-1.8.2.3.1"><xref derivedContent="8.3" format="counter" sectionFormat="of" target="section-8.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-media-type-application-links">Media Type: application/linkset+json</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.9">
            <t indent="0" pn="section-toc.1-1.9.1"><xref derivedContent="9" format="counter" sectionFormat="of" target="section-9"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-security-considerations">Security Considerations</xref></t>
          </li>
          <li pn="section-toc.1-1.10">
            <t indent="0" pn="section-toc.1-1.10.1"><xref derivedContent="10" format="counter" sectionFormat="of" target="section-10"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-references">References</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.10.2">
              <li pn="section-toc.1-1.10.2.1">
                <t indent="0" pn="section-toc.1-1.10.2.1.1"><xref derivedContent="10.1" format="counter" sectionFormat="of" target="section-10.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-normative-references">Normative References</xref></t>
              </li>
              <li pn="section-toc.1-1.10.2.2">
                <t indent="0" pn="section-toc.1-1.10.2.2.1"><xref derivedContent="10.2" format="counter" sectionFormat="of" target="section-10.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-informative-references">Informative References</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.11">
            <t indent="0" pn="section-toc.1-1.11.1"><xref derivedContent="Appendix A" format="default" sectionFormat="of" target="section-appendix.a"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-json-ld-context">JSON-LD Context</xref></t>
          </li>
          <li pn="section-toc.1-1.12">
            <t indent="0" pn="section-toc.1-1.12.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.b"/><xref derivedContent="" format="title" sectionFormat="of" target="name-acknowledgements">Acknowledgements</xref></t>
          </li>
          <li pn="section-toc.1-1.13">
            <t indent="0" pn="section-toc.1-1.13.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.c"/><xref derivedContent="" format="title" sectionFormat="of" target="name-authors-addresses">Authors' Addresses</xref></t>
          </li>
        </ul>
      </section>
    </toc>
  </front>
  <middle>
    <section anchor="introduction" numbered="true" toc="include" removeInRFC="false" pn="section-1">
      <name slugifiedName="name-introduction">Introduction</name>
      <t indent="0" pn="section-1-1">Resources on the Web often use typed Web Links <xref target="RFC8288" format="default" sectionFormat="of" derivedContent="RFC8288"/>, either (1) embedded in resource representations -- for example, using the &lt;link&gt; element for HTML documents or (2) conveyed in the HTTP "Link" header field for documents of any media type. In some cases, however, providing links in this manner is impractical or impossible, and delivering a set of links as a standalone document is preferable.</t>
      <t indent="0" pn="section-1-2">Therefore, this specification defines two formats for representing sets of Web Links and their attributes as standalone documents. One serializes links in the same format as the format used in the HTTP "Link" header field, and the other serializes links in JSON. It also defines associated media types to represent sets of links, and the "linkset" relation type to support the discovery of any resource that conveys a set of links as a standalone document.</t>
    </section>
    <section anchor="terminology" numbered="true" toc="include" removeInRFC="false" pn="section-2">
      <name slugifiedName="name-terminology">Terminology</name>
      <t indent="0" pn="section-2-1">The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>",
          "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>",
          "<bcp14>SHALL NOT</bcp14>", "<bcp14>SHOULD</bcp14>",
          "<bcp14>SHOULD NOT</bcp14>",
          "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>",
          "<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document
          are to be interpreted as described in BCP 14
          <xref target="RFC2119" format="default" sectionFormat="of" derivedContent="RFC2119"/> <xref target="RFC8174" format="default" sectionFormat="of" derivedContent="RFC8174"/> when, and only
          when, they appear in all capitals, as shown here.</t>
      <t indent="0" pn="section-2-2">This specification uses the terms "link context" and "link target" in the same manner that
<xref target="RFC8288" format="default" sectionFormat="of" derivedContent="RFC8288">"Web Linking"</xref> uses them.</t>
      <t indent="0" pn="section-2-3">In the examples provided in this document, links in the HTTP "Link" header field are shown on separate lines in order to improve readability. 
                Note, however, that as per
<xref target="RFC9110" section="5.5" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc9110#section-5.5" derivedContent="RFC9110">"HTTP Semantics"</xref>, line breaks are deprecated in values for HTTP fields; only whitespaces and 
                tabs are supported as separators.</t>
    </section>
    <section anchor="use-cases" numbered="true" toc="include" removeInRFC="false" pn="section-3">
      <name slugifiedName="name-use-cases-and-motivation">Use Cases and Motivation</name>
      <t indent="0" pn="section-3-1">The following sections describe use cases in which providing links by means of a standalone document instead of in an HTTP "Link" header field or as links embedded in the resource representation is advantageous or necessary.</t>
      <t indent="0" pn="section-3-2">For all scenarios, links could be provided by means of a standalone document that is formatted according to the JSON-based serialization, the serialization aligned with the HTTP "Link" field format, or both. The former serialization is motivated by the widespread use of JSON and related tools, which suggests that handling sets of links expressed as JSON documents should be attractive to developers. The latter serialization is provided for compatibility with the existing serialization used in the HTTP "Link" field and to allow the reuse of tools created to handle it.</t>
      <t indent="0" pn="section-3-3">It is important to keep in mind that when providing links by means of a standalone representation, other links can still be provided using other approaches, i.e., it is possible to combine various mechanisms to convey links.</t>
      <section anchor="third-party" numbered="true" toc="include" removeInRFC="false" pn="section-3.1">
        <name slugifiedName="name-third-party-links">Third-Party Links</name>
        <t indent="0" pn="section-3.1-1">In some cases, it is useful that links pertaining to a resource are provided 
                    by a server other than the one that hosts the resource. For example, this allows:</t>
        <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-3.1-2">
          <li pn="section-3.1-2.1">Providing links in which the resource is involved not just as a link context but 
                        also as a link target, with a different resource being the link context.</li>
          <li pn="section-3.1-2.2">Providing links pertaining to the resource that the server hosting that 
                        resource is not aware of.</li>
          <li pn="section-3.1-2.3">External management of links pertaining to the resource in a special-purpose link
                        management service.</li>
        </ul>
        <t indent="0" pn="section-3.1-3">In such cases, links pertaining to a resource can be provided by another, specific resource. 
                    That specific resource may be managed, by the same custodian or by another custodian, as the resource to which the links pertain. 
                    For clients intent on consuming links provided in that manner, it would be beneficial if the following conditions were met:</t>
        <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-3.1-4">
          <li pn="section-3.1-4.1">Links are provided in a document that uses a well-defined media type.</li>
          <li pn="section-3.1-4.2">The resource to which the provided links pertain is able to link to the resource that provides these links using a well-known 
                    link relation type.</li>
        </ul>
        <t indent="0" pn="section-3.1-5">These requirements are addressed in this specification through the definition of two media types and a link relation type, respectively.</t>
      </section>
      <section anchor="header-writing" numbered="true" toc="include" removeInRFC="false" pn="section-3.2">
        <name slugifiedName="name-challenges-writing-to-the-h">Challenges Writing to the HTTP "Link" Header Field</name>
        <t indent="0" pn="section-3.2-1">In some cases, it is not straightforward to write links to the HTTP "Link" header field
                    from an application. This can, for example, be the case because not all 
                    required link information is available to the application or because the 
                    application does not have the capability to directly write HTTP fields. 
                    In such cases, providing links by means of a standalone document can be a solution. 
                    Making the resource that provides these links discoverable can be achieved by means of a 
                    typed link.</t>
      </section>
      <section anchor="link-volume" numbered="true" toc="include" removeInRFC="false" pn="section-3.3">
        <name slugifiedName="name-large-number-of-links">Large Number of Links</name>
        <t indent="0" pn="section-3.3-1">When conveying links in an HTTP "Link" header field, it is possible for the size of the HTTP 
                    response fields to become unpredictable. This can be the case when links are determined 
                    dynamically in a manner dependent on a range of contextual factors. It is possible to statically configure 
                    a web server to correctly handle large HTTP response fields by specifying an upper bound 
                    for their size. But when the number of links is 
                    unpredictable, estimating a reliable upper bound is challenging.</t>
        <t indent="0" pn="section-3.3-2"><xref target="RFC9110" section="15" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc9110#section-15" derivedContent="RFC9110">"HTTP Semantics"</xref> defines error codes related to excess communication 
                    by the user agent ("413 Content Too Large" and "414 URI Too Long"), but no specific
                    error codes are defined to indicate that response field content exceeds the upper bound that can 
                    be handled by the server and thus has been truncated.
                    As a result, applications take countermeasures aimed at controlling 
                    the size of the HTTP "Link" header field -- for example, by limiting the links they provide to those 
                    with select relation types, thereby limiting the value of the HTTP "Link" header field to clients. 
                    Providing links by means of a standalone document overcomes challenges related to the unpredictable 
                    (to the web server implementation) nature of the size of HTTP "Link" header fields.</t>
      </section>
    </section>
    <section anchor="linkset-formats" numbered="true" toc="include" removeInRFC="false" pn="section-4">
      <name slugifiedName="name-document-formats-for-sets-o">Document Formats for Sets of Links</name>
      <t indent="0" pn="section-4-1">This section specifies two document formats to convey a set of links. Both are based on the abstract model specified in 
<xref target="RFC8288" section="2" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc8288#section-2" derivedContent="RFC8288">"Web Linking"</xref>,
                which defines a link as consisting of a "link context", a "link relation type", a "link target", 
                and optional "target attributes":</t>
      <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-4-2">
        <li pn="section-4-2.1">The format defined in <xref target="linkset-native" format="default" sectionFormat="of" derivedContent="Section 4.1"/> is nearly identical to the field value 
                    of the HTTP "Link" header field as specified in <xref target="RFC8288" section="3" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc8288#section-3" derivedContent="RFC8288"/>.</li>
        <li pn="section-4-2.2">The format defined in <xref target="linkset-json" format="default" sectionFormat="of" derivedContent="Section 4.2"/> is expressed in <xref target="RFC8259" format="default" sectionFormat="of" derivedContent="RFC8259">JSON</xref>.</li>
      </ul>
      <t indent="0" pn="section-4-3">Links provided in the HTTP "Link" header field are intended to be used in the context of an HTTP interaction, and contextual information 
		   that is available during an interaction is used to correctly interpret them. 
		   Links provided in link sets, however, can be reused outside of an HTTP interaction, when no such contextual information is available. 
		   As a result, implementers of link sets should strive to make them self-contained by adhering to the following recommendations.</t>
      <t indent="0" pn="section-4-4">For links provided in the HTTP "Link" header field that have no anchor or that use relative references, 
			the URI of the resource that delivers the links provides the contextual information that is needed for their 
			correct interpretation. In order to support use cases where link set documents are reused outside the context 
			of an HTTP interaction, it is <bcp14>RECOMMENDED</bcp14> to make them self-contained by adhering to the following guidelines:</t>
      <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-4-5">
        <li pn="section-4-5.1">For every link provided in the set of links, explicitly provide the link context  
                        using the "anchor" attribute.</li>
        <li pn="section-4-5.2">For the link context ("anchor" attribute) and link target ("href" attribute), use URI references that are not relative references (as defined in <xref target="RFC3986" section="4.1" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc3986#section-4.1" derivedContent="RFC3986"/>). 
                    </li>
      </ul>
      <t indent="0" pn="section-4-6">If these recommendations are not followed, the interpretation of links in link set documents will depend on which URI is used as the context.</t>
      <t indent="0" pn="section-4-7">For a "title" attribute provided on a link in the HTTP "Link" header field, the language in which the title is expressed is provided by 
	the "Content-Language" header field of the HTTP interaction with the resource that delivers the links. 
	This does not apply to "title" attributes provided for links in link set documents because that would constrain 
	all links in a link set to having a single title language and would not support determining title languages when 
	a link set is used outside of an HTTP interaction. In order to support use cases where link set documents are 
	reused outside the context of an HTTP interaction, it is <bcp14>RECOMMENDED</bcp14> to make them self-contained by using the 
	"title*" attribute instead of the "title" attribute because "title*" allows expressing the title language as part of its value by means of a language tag. 
	Note that, in this regard, language tags are matched case insensitively (see <xref target="RFC5646" section="2.1.1" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc5646#section-2.1.1" derivedContent="RFC5646"/>).
	If this recommendation is not followed, accurately determining the language of titles provided on links in link set documents will not be possible.</t>
      <t indent="0" pn="section-4-8">Note also that <xref target="RFC8288" section="3.3" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc8288#section-3.3" derivedContent="RFC8288"/> deprecates the "rev" construct that was provided by <xref target="RFC5988" format="default" sectionFormat="of" derivedContent="RFC5988"/> as a means to express links with a directionality that is the inverse of direct links that use the "rel" construct. In both serializations for link sets defined here, inverse links may be represented as direct links using the "rel" construct and by switching the roles of the resources involved in the link.</t>
      <section anchor="linkset-native" numbered="true" toc="include" removeInRFC="false" pn="section-4.1">
        <name slugifiedName="name-http-link-document-format-a">HTTP Link Document Format: application/linkset</name>
        <t indent="0" pn="section-4.1-1">This document format is nearly identical to the field value of the 
                    HTTP "Link" header field as defined in 
                    <xref target="RFC8288" section="3" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc8288#section-3" derivedContent="RFC8288"/>, more specifically by  
                    its ABNF <xref target="RFC5234" format="default" sectionFormat="of" derivedContent="RFC5234"/> production rule for "Link" and its subsequent rules. It differs from the format for field values of the 
                    HTTP "Link" header field only in that not only spaces and horizontal tabs are allowed as separators but also newline 
                    characters as a means to improve readability for humans.
                    The use of non-ASCII characters in the field value of the HTTP "Link" header field is not allowed
			and as such is also not allowed in "application/linkset" link sets.</t>
        <t indent="0" pn="section-4.1-2">The assigned media type for this format is "application/linkset".</t>
        <t indent="0" pn="section-4.1-3">When converting an "application/linkset" document to a field value for the 
                    HTTP "Link" header field, newline characters <bcp14>MUST</bcp14> be removed or <bcp14>MUST</bcp14> be replaced by whitespace (SP) in order to comply with 
                    <xref target="RFC9110" section="5.5" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc9110#section-5.5" derivedContent="RFC9110"/>.</t>
        <t indent="0" pn="section-4.1-4">Implementers of "application/linkset" link sets should strive to make them self-contained 
		   by following the recommendations provided in <xref target="linkset-formats" format="default" sectionFormat="of" derivedContent="Section 4"/> regarding their use outside the context of an HTTP interaction.</t>
        <t indent="0" pn="section-4.1-5">It should be noted that the "application/linkset" format specified here is different from the "application/link-format" 
                    format specified in <xref target="RFC6690" format="default" sectionFormat="of" derivedContent="RFC6690"/> in that the former fully matches the 
                    field value of the HTTP "Link" header field as defined in <xref target="RFC8288" section="3" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc8288#section-3" derivedContent="RFC8288"/>, whereas 
                    the latter introduces constraints on that definition to meet requirements for Constrained RESTful Environments (CoRE).</t>
      </section>
      <section anchor="linkset-json" numbered="true" toc="include" removeInRFC="false" pn="section-4.2">
        <name slugifiedName="name-json-document-format-applic">JSON Document Format: application/linkset+json</name>
        <t indent="0" pn="section-4.2-1">This document format uses JSON <xref target="RFC8259" format="default" sectionFormat="of" derivedContent="RFC8259"/> as the syntax to represent 
                    a set of links. The set of links follows the abstract model defined by <xref target="RFC8288" section="2" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc8288#section-2" derivedContent="RFC8288"/>.</t>
        <t indent="0" pn="section-4.2-2">The assigned media type for this format is "application/linkset+json".</t>
        <t indent="0" pn="section-4.2-3">In the interests of interoperability, "application/linkset+json" link sets <bcp14>MUST</bcp14> be encoded using UTF-8 as per 
			<xref target="RFC8259" section="8.1" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc8259#section-8.1" derivedContent="RFC8259"/>.</t>
        <t indent="0" pn="section-4.2-4">Implementers of "application/linkset+json" link sets should strive to make them self-contained 
			by following the recommendations provided in <xref target="linkset-formats" format="default" sectionFormat="of" derivedContent="Section 4"/> regarding their use outside the context of an HTTP interaction.</t>
        <t indent="0" pn="section-4.2-5">The "application/linkset+json" serialization allows for <bcp14>OPTIONAL</bcp14> support of a JSON-LD  serialization.
		This can be achieved by adding an appropriate context to the "application/linkset+json" serialization using the approach described in 
                    <xref target="W3C.REC-json-ld" section="6.1" relative="#interpreting-json-as-json-ld" format="default" sectionFormat="of" derivedLink="https://www.w3.org/TR/json-ld/#interpreting-json-as-json-ld" derivedContent="W3C.REC-json-ld"/>.
                    Communities of practice can decide which context best meets their application needs.  
		<xref target="appendix-1" format="default" sectionFormat="of" derivedContent="Appendix A"/> shows an example of a possible context that, when added to a JSON serialization, 
		allows it to be interpreted as Resource Description Framework (RDF) data <xref target="W3C.REC-rdf11-concepts" format="default" sectionFormat="of" derivedContent="W3C.REC-rdf11-concepts"/>.</t>
        <section anchor="linkset-in-json" numbered="true" toc="include" removeInRFC="false" pn="section-4.2.1">
          <name slugifiedName="name-set-of-links">Set of Links</name>
          <t indent="0" pn="section-4.2.1-1">In the JSON representation of a set of links:</t>
          <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-4.2.1-2">
            <li pn="section-4.2.1-2.1">A set of links is represented in JSON as an object that <bcp14>MUST</bcp14> contain "linkset" as its sole member.</li>
            <li pn="section-4.2.1-2.2">The value of the "linkset" member is an array in which a distinct JSON object -- 
                            the "link context object" (see <xref target="linkset-json-link-context-object" format="default" sectionFormat="of" derivedContent="Section 4.2.2"/>) -- 
                            is used to represent links that have the same link context.</li>
            <li pn="section-4.2.1-2.3">Even if there is only one link context object, it <bcp14>MUST</bcp14> be wrapped in an array.</li>
          </ul>
        </section>
        <section anchor="linkset-json-link-context-object" numbered="true" toc="include" removeInRFC="false" pn="section-4.2.2">
          <name slugifiedName="name-link-context-object">Link Context Object</name>
          <t indent="0" pn="section-4.2.2-1">In the JSON representation, one or more links that have the same link context  
                        are represented by a JSON object -- the link context object. A link context object 
                        adheres to the following rules:</t>
          <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-4.2.2-2">
            <li pn="section-4.2.2-2.1">Each link context object <bcp14>MAY</bcp14> contain an "anchor" member with a value that represents 
                            the link context. If present, this value <bcp14>MUST</bcp14> be a URI reference 
                            and <bcp14>SHOULD NOT</bcp14> be a relative reference as defined in <xref target="RFC3986" section="4.1" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc3986#section-4.1" derivedContent="RFC3986"/>.</li>
            <li pn="section-4.2.2-2.2">
              <t indent="0" pn="section-4.2.2-2.2.1">
                            For each distinct relation type that the link context has with link targets,  
                            a link context object <bcp14>MUST</bcp14> contain an additional member. 
                            The value of this member is an array in which a distinct JSON object 
                            -- the "link target object" (see <xref target="linkset-json-link-target-object" format="default" sectionFormat="of" derivedContent="Section 4.2.3"/>) -- 
                            <bcp14>MUST</bcp14> be used for each link target for which the relationship with 
                            the link context (value of the encompassing "anchor" member) applies. The name 
                            of this member expresses the relation type of the link as follows:</t>
              <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-4.2.2-2.2.2">
                <li pn="section-4.2.2-2.2.2.1">For registered relation types (<xref target="RFC8288" section="2.1.1" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc8288#section-2.1.1" derivedContent="RFC8288"/>), 
                                    the name of this member is the registered name of the relation type.</li>
                <li pn="section-4.2.2-2.2.2.2">For extension relation types (<xref target="RFC8288" section="2.1.2" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc8288#section-2.1.2" derivedContent="RFC8288"/>), 
                                    the name of this member is the URI that uniquely represents the relation type.</li>
              </ul>
            </li>
            <li pn="section-4.2.2-2.3">Even if there is only one link target object, it <bcp14>MUST</bcp14> be wrapped in an array.</li>
          </ul>
        </section>
        <section anchor="linkset-json-link-target-object" numbered="true" toc="include" removeInRFC="false" pn="section-4.2.3">
          <name slugifiedName="name-link-target-object">Link Target Object</name>
          <t indent="0" pn="section-4.2.3-1">In the JSON representation, a link target is represented by a JSON object -- the link target object. 
                        A link target object adheres to the following rules:</t>
          <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-4.2.3-2">
            <li pn="section-4.2.3-2.1">Each link target object <bcp14>MUST</bcp14> contain an "href" member with a value that represents 
                            the link target. This value <bcp14>MUST</bcp14> be a URI reference and <bcp14>SHOULD NOT</bcp14> be a relative reference  
                            as defined in <xref target="RFC3986" section="4.1" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc3986#section-4.1" derivedContent="RFC3986"/>. Cases where the "href" member is present but no value is provided 
                            for it (i.e., the resource providing the set of links is the target of the link 
                            in the link target object) <bcp14>MUST</bcp14> be handled by providing an "href" member with an empty string as its value ("href": "").</li>
            <li pn="section-4.2.3-2.2">In many cases, a link target is further qualified by target attributes. 
                            Various types of attributes exist, and they are conveyed as additional members of the link target object 
                            as detailed in <xref target="json-target-attributes" format="default" sectionFormat="of" derivedContent="Section 4.2.4"/>.</li>
          </ul>
          <t indent="0" pn="section-4.2.3-3">The following example of a JSON-serialized set of links represents one
                        link with its core components: link context, link relation
                        type, and link target.</t>
          <figure align="left" suppress-title="false" pn="figure-1">
            <name slugifiedName="name-simple-linkset-example">Simple linkset example</name>
            <sourcecode type="json" markers="false" pn="section-4.2.3-4.1">
{ "linkset":
  [
    { "anchor": "https://example.net/bar",
      "next": [
        {"href": "https://example.com/foo"}
      ]
    }
  ]
}
</sourcecode>
          </figure>
          <t indent="0" pn="section-4.2.3-5">The following example of a JSON-serialized set of links represents two links 
                        that share a link context and relation type but have different link targets.</t>
          <figure align="left" suppress-title="false" pn="figure-2">
            <name slugifiedName="name-linkset-with-two-links-with">Linkset with two links with the same context</name>
            <sourcecode type="json" markers="false" pn="section-4.2.3-6.1">
{ "linkset":
  [
    { "anchor": "https://example.net/bar",
      "item": [
        {"href": "https://example.com/foo1"},
        {"href": "https://example.com/foo2"}
      ]
    }
  ]
}
</sourcecode>
          </figure>
          <t indent="0" pn="section-4.2.3-7">The following example shows a set of links that represents two links, each with 
                    a different link context, link target, and relation type. 
                    One relation type is registered, and the other is an extension relation type.</t>
          <figure align="left" suppress-title="false" pn="figure-3">
            <name slugifiedName="name-linkset-with-two-links-with-">Linkset with two links with different contexts</name>
            <sourcecode type="json" markers="false" pn="section-4.2.3-8.1">
{ "linkset":
  [
    { "anchor": "https://example.net/bar",
      "next": [
        {"href": "https://example.com/foo1"}
      ]
    },
    { "anchor": "https://example.net/boo",
      "https://example.com/relations/baz" : [
        {"href": "https://example.com/foo2"}
      ]
    }
  ]
}
</sourcecode>
          </figure>
        </section>
        <section anchor="json-target-attributes" numbered="true" toc="include" removeInRFC="false" pn="section-4.2.4">
          <name slugifiedName="name-link-target-attributes">Link Target Attributes</name>
          <t indent="0" pn="section-4.2.4-1">A link may be further qualified by target attributes as defined by <xref target="RFC8288" section="2" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc8288#section-2" derivedContent="RFC8288"/>.
                        Three types of attributes exist:</t>
          <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-4.2.4-2">
            <li pn="section-4.2.4-2.1">Serialization-defined attributes as described in <xref target="RFC8288" section="3.4.1" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc8288#section-3.4.1" derivedContent="RFC8288"/>.</li>
            <li pn="section-4.2.4-2.2">Extension attributes defined and used by communities as allowed by  
                            <xref target="RFC8288" section="3.4.2" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc8288#section-3.4.2" derivedContent="RFC8288"/>.</li>
            <li pn="section-4.2.4-2.3">Internationalized versions of the "title" attribute as defined by <xref target="RFC8288" format="default" sectionFormat="of" derivedContent="RFC8288"/> and of extension attributes
                            allowed by <xref target="RFC8288" section="3.4" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc8288#section-3.4" derivedContent="RFC8288"/>.</li>
          </ul>
          <t indent="0" pn="section-4.2.4-3">The handling of these different types of attributes is described in the sections below.</t>
          <section anchor="json-target-attributes-existing" numbered="true" toc="exclude" removeInRFC="false" pn="section-4.2.4.1">
            <name slugifiedName="name-target-attributes-defined-b">Target Attributes Defined by Web Linking</name>
            <t indent="0" pn="section-4.2.4.1-1"><xref target="RFC8288" section="3.4.1" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc8288#section-3.4.1" derivedContent="RFC8288"/> defines the following target attributes that may be used to annotate links: 
                            "hreflang", "media", "title", "title*", and "type";  
                            these target attributes follow different occurrence and value patterns.  
                            In the JSON representation, these attributes <bcp14>MUST</bcp14> be conveyed as additional 
                            members of the link target object as follows:</t>
            <dl spacing="normal" indent="3" newline="false" pn="section-4.2.4.1-2">
              <dt pn="section-4.2.4.1-2.1">"hreflang":</dt>
              <dd pn="section-4.2.4.1-2.2">The "hreflang" target attribute, 
				    defined as optional and repeatable by <xref target="RFC8288" format="default" sectionFormat="of" derivedContent="RFC8288"/>, 
                                <bcp14>MUST</bcp14> be represented by an "hreflang" member, its value <bcp14>MUST</bcp14> be an array (even if there is only one value to be represented), 
                                and each value in that array <bcp14>MUST</bcp14> be a string -- representing one value 
                                of the "hreflang" target attribute for a link -- that follows the same 
                                model as the syntax discussed in <xref target="RFC8288" format="default" sectionFormat="of" derivedContent="RFC8288"/>.</dd>
              <dt pn="section-4.2.4.1-2.3">"media":</dt>
              <dd pn="section-4.2.4.1-2.4">The "media" target attribute, 
				    defined as optional and not repeatable by <xref target="RFC8288" format="default" sectionFormat="of" derivedContent="RFC8288"/>, <bcp14>MUST</bcp14> be 
                                represented by a "media" member 
                                in the link target object, and its value <bcp14>MUST</bcp14> be a string that follows the 
                                same model as the syntax discussed in <xref target="RFC8288" format="default" sectionFormat="of" derivedContent="RFC8288"/>.</dd>
              <dt pn="section-4.2.4.1-2.5">"title":</dt>
              <dd pn="section-4.2.4.1-2.6">The "title" target attribute, 
				    defined as optional and not repeatable by <xref target="RFC8288" format="default" sectionFormat="of" derivedContent="RFC8288"/>,
				    <bcp14>MUST</bcp14> be represented by a "title" 
                                member in the link target object, and its value <bcp14>MUST</bcp14> be a JSON string.</dd>
              <dt pn="section-4.2.4.1-2.7">"title*":</dt>
              <dd pn="section-4.2.4.1-2.8">The "title*" target attribute, 
				    defined as optional and not repeatable by <xref target="RFC8288" format="default" sectionFormat="of" derivedContent="RFC8288"/>, 
                                is motivated by character encoding 
                                and language issues and follows the model defined in <xref target="RFC8187" format="default" sectionFormat="of" derivedContent="RFC8187"/>. 
                                The details of the JSON 
                                representation that applies to "title*" are described in 
                                <xref target="linkset-json-i18n-link-parameter" format="default" sectionFormat="of" derivedContent="Section 4.2.4.2"/>. 
                            </dd>
              <dt pn="section-4.2.4.1-2.9">"type":</dt>
              <dd pn="section-4.2.4.1-2.10">The "type" target attribute, 
				    defined as optional and not repeatable by <xref target="RFC8288" format="default" sectionFormat="of" derivedContent="RFC8288"/>, 
				    <bcp14>MUST</bcp14> be represented by a "type" member 
                                in the link target object, and its value <bcp14>MUST</bcp14> be a string that follows the 
                                same model as the syntax discussed in <xref target="RFC8288" format="default" sectionFormat="of" derivedContent="RFC8288"/>.</dd>
            </dl>
            <t indent="0" pn="section-4.2.4.1-3">The following example illustrates how the "hreflang" (repeatable) target attribute and the "type" (not repeatable) target attribute are represented in a link target object.</t>
            <figure align="left" suppress-title="false" pn="figure-4">
              <name slugifiedName="name-linkset-with-hreflang-and-t">Linkset with "hreflang" and "type" target attributes</name>
              <sourcecode type="json" markers="false" pn="section-4.2.4.1-4.1">
{ "linkset":
  [
    { "anchor": "https://example.net/bar",
      "next": [
        { "href":     "https://example.com/foo",
          "type":     "text/html",
          "hreflang": [ "en" , "de" ]
        }
      ]
    }
  ]
}
</sourcecode>
            </figure>
          </section>
          <section anchor="linkset-json-i18n-link-parameter" numbered="true" toc="exclude" removeInRFC="false" pn="section-4.2.4.2">
            <name slugifiedName="name-internationalized-target-at">Internationalized Target Attributes</name>
            <t indent="0" pn="section-4.2.4.2-1">In addition to the target attributes described in <xref target="json-target-attributes-existing" format="default" sectionFormat="of" derivedContent="Section 4.2.4.1"/>,  
                            <xref target="RFC8288" section="3.4" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc8288#section-3.4" derivedContent="RFC8288"/> also supports 
                            attributes that follow the content model of <xref target="RFC8187" format="default" sectionFormat="of" derivedContent="RFC8187"/>. 
                            In <xref target="RFC8288" format="default" sectionFormat="of" derivedContent="RFC8288"/>, these target 
                            attributes are recognizable by the use of a trailing asterisk in the attribute name, 
                            such as "title*". 
                            The content model of <xref target="RFC8187" format="default" sectionFormat="of" derivedContent="RFC8187"/> uses a string-based microsyntax 
                            that represents the character encoding, an optional language tag,
                            and the escaped attribute value encoded according to the specified character encoding.</t>
            <t indent="0" pn="section-4.2.4.2-2">The JSON serialization for these target attributes <bcp14>MUST</bcp14> be  
                            as follows:</t>
            <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-4.2.4.2-3">
              <li pn="section-4.2.4.2-3.1">An internationalized target attribute is represented as a member of the link context object with 
                                the same name (including the "*") as the attribute.</li>
              <li pn="section-4.2.4.2-3.2">The character encoding information   
                                as prescribed by <xref target="RFC8187" format="default" sectionFormat="of" derivedContent="RFC8187"/> is not preserved; instead, the 
                                content of the internationalized attribute is represented as a JSON string.</li>
              <li pn="section-4.2.4.2-3.3">The value of the internationalized target attribute is an 
                                array that contains one or more JSON objects. The name of one member 
                                of such JSON objects is "value",
                                and its value is the actual content (in its unescaped version) of the internationalized target attribute, i.e., the 
                                value of the attribute from which 
                                the encoding and language information are removed. 
                                The name of another, optional member of such JSON objects is "language", and 
                                its value is the language tag <xref target="RFC5646" format="default" sectionFormat="of" derivedContent="RFC5646"/> 
                                for the language in which the attribute content is conveyed.
                            </li>
            </ul>
            <t indent="0" pn="section-4.2.4.2-4">The following example illustrates how the "title*" target attribute as
                            defined by <xref target="RFC8288" section="3.4.1" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc8288#section-3.4.1" derivedContent="RFC8288"/> is represented in a link target object.</t>
            <figure align="left" suppress-title="false" pn="figure-5">
              <name slugifiedName="name-linkset-with-title-and-titl">Linkset with "title" and "title*" target attributes</name>
              <sourcecode type="json" markers="false" pn="section-4.2.4.2-5.1">
{ "linkset":
  [
    { "anchor": "https://example.net/bar",
      "next": [
        { "href":     "https://example.com/foo",
          "type":     "text/html",
          "hreflang": [ "en" , "de" ],
          "title":    "Next chapter",
          "title*":   [ { "value": "nächstes Kapitel" ,
                          "language" : "de" } ]
        }
      ]
    }
  ]
}
</sourcecode>
            </figure>
            <t indent="0" pn="section-4.2.4.2-6">The above example assumes that the German title contains an umlaut character (in the original syntax, it would be encoded as title*=UTF-8'de'n%c3%a4chstes%20Kapitel), 
                            which gets encoded in its unescaped form in the JSON representation. 
                            Implementations <bcp14>MUST</bcp14> properly decode/encode internationalized target attributes that follow the model of <xref target="RFC8187" format="default" sectionFormat="of" derivedContent="RFC8187"/> when transcoding between the "application/linkset" format and the "application/linkset+json" format.</t>
          </section>
          <section anchor="json-target-attributes-extension" numbered="true" toc="exclude" removeInRFC="false" pn="section-4.2.4.3">
            <name slugifiedName="name-extension-target-attributes">Extension Target Attributes</name>
            <t indent="0" pn="section-4.2.4.3-1">Extension target attributes (e.g., as listed in <xref target="json-target-attributes-existing" format="default" sectionFormat="of" derivedContent="Section 4.2.4.1"/>) are attributes that are not defined by <xref target="RFC8288" section="3.4.1" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc8288#section-3.4.1" derivedContent="RFC8288"/> but are nevertheless 
                        used to qualify links. 
                        They can be defined by communities in any way deemed necessary, and it is up to them 
                        to make sure their usage is understood by target applications. 
                        However, lacking standardization, there is no interoperable 
                        understanding of these extension attributes. One important consequence is that 
                        their cardinality is unknown to generic applications. Therefore, in the JSON serialization, 
                        all extension target attributes are treated as repeatable.</t>
            <t indent="0" pn="section-4.2.4.3-2">The JSON serialization for these target attributes <bcp14>MUST</bcp14> be  
                        as follows:</t>
            <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-4.2.4.3-3">
              <li pn="section-4.2.4.3-3.1">An extension target attribute is represented as a member of the link target object with the same name as the attribute, including the "*" if applicable.</li>
              <li pn="section-4.2.4.3-3.2">The value of an extension attribute <bcp14>MUST</bcp14> be represented by an array, even if there is only one value to be represented.</li>
              <li pn="section-4.2.4.3-3.3">If the extension target attribute does not have a name with a trailing asterisk,  
                            then each value in that array <bcp14>MUST</bcp14> be a JSON string that represents one value 
                            of the attribute.</li>
              <li pn="section-4.2.4.3-3.4">If the extension attribute has a name with a trailing asterisk 
                            (it follows the content model of <xref target="RFC8187" format="default" sectionFormat="of" derivedContent="RFC8187"/>),  
                            then each value in that array <bcp14>MUST</bcp14> be a JSON object. The value of each such JSON object  
                            <bcp14>MUST</bcp14> be structured as described in <xref target="linkset-json-i18n-link-parameter" format="default" sectionFormat="of" derivedContent="Section 4.2.4.2"/>.</li>
            </ul>
            <t indent="0" pn="section-4.2.4.3-4">The following example shows a link target object with three extension target attributes. The value for each extension target attribute is an array. The first two are regular extension target attributes, with the first one ("foo") having only one value and the second one ("bar") having two.
                        The last extension target attribute ("baz*") follows the naming rule of <xref target="RFC8187" format="default" sectionFormat="of" derivedContent="RFC8187"/> and therefore is encoded according to the serialization described in  <xref target="linkset-json-i18n-link-parameter" format="default" sectionFormat="of" derivedContent="Section 4.2.4.2"/>.</t>
            <figure align="left" suppress-title="false" pn="figure-6">
              <name slugifiedName="name-linkset-with-extension-targ">Linkset with extension target attributes</name>
              <sourcecode type="json" markers="false" pn="section-4.2.4.3-5.1">
{ "linkset":
  [
    { "anchor": "https://example.net/bar",
      "next": [
        { "href": "https://example.com/foo",
          "type": "text/html",
          "foo":  [ "foovalue" ],
          "bar":  [ "barone", "bartwo" ],
          "baz*": [ { "value": "bazvalue" ,
                      "language" : "en" } ]
        }
      ]
    }
  ]
}
</sourcecode>
            </figure>
          </section>
        </section>
        <section anchor="json-extensibility" numbered="true" toc="include" removeInRFC="false" pn="section-4.2.5">
          <name slugifiedName="name-json-extensibility">JSON Extensibility</name>
          <t indent="0" pn="section-4.2.5-1">The Web Linking model <xref target="RFC8288" format="default" sectionFormat="of" derivedContent="RFC8288"/> provides for the use of extension target attributes as discussed in 
                        <xref target="json-target-attributes-extension" format="default" sectionFormat="of" derivedContent="Section 4.2.4.3"/>. 
			    The use of other forms of extensions is <bcp14>NOT RECOMMENDED</bcp14>. 
			    Limiting the JSON format in this way allows unambiguous round trips between links provided in the HTTP "Link" header field, 
                        sets of links serialized according to the "application/linkset" format, and sets of links serialized 
                        according to the "application/linkset+json" format.
          </t>
          <t indent="0" pn="section-4.2.5-2">Cases may exist in which the use of extensions other than those discussed in <xref target="json-target-attributes-extension" format="default" sectionFormat="of" derivedContent="Section 4.2.4.3"/> may be useful -- 
		for example, when a link set publisher needs to include descriptive or technical metadata for internal consumption. 
	      If such extensions are used, they <bcp14>MUST NOT</bcp14> change the semantics of the JSON members defined in this specification.  
	      Agents that consume JSON linkset documents can safely ignore such extensions.</t>
        </section>
      </section>
    </section>
    <section anchor="profile-attribute" numbered="true" toc="include" removeInRFC="false" pn="section-5">
      <name slugifiedName="name-the-profile-parameter-for-m">The "profile" Parameter for Media Types to Represent Sets of Links</name>
      <t indent="0" pn="section-5-1">As a means to convey specific constraints or conventions (as per <xref target="RFC6906" format="default" sectionFormat="of" derivedContent="RFC6906"/>) that apply to a link set document, 
            the "profile" parameter <bcp14>MAY</bcp14> be used in conjunction with the media types "application/linkset" and 
            "application/linkset+json" as detailed in 
            Sections <xref target="linkset-native" format="counter" sectionFormat="of" derivedContent="4.1"/> and <xref target="linkset-json" format="counter" sectionFormat="of" derivedContent="4.2"/>, respectively. 
            For example, the parameter could be used to indicate that a link set uses a specific, limited set of link relation 
            types.</t>
      <t indent="0" pn="section-5-2">The value of the "profile" parameter <bcp14>MUST</bcp14> be a non-empty list of space-separated URIs, 
            each of which identifies specific constraints or conventions that apply to the link set document. When providing multiple 
	    profile URIs, care should be taken that the corresponding profiles are not conflicting.
            Profile URIs <bcp14>MAY</bcp14> be registered in the IANA's "Profile URIs" registry in the manner specified by <xref target="RFC7284" format="default" sectionFormat="of" derivedContent="RFC7284"/>.</t>
      <t indent="0" pn="section-5-3">The presence of a "profile" parameter in conjunction with the "application/linkset" and 
            "application/linkset+json" media types does not change the semantics of
            a link set. As such, clients with and without knowledge of profile URIs can use the same representation.</t>
      <t indent="0" pn="section-5-4"><xref target="profile-parameter-example" format="default" sectionFormat="of" derivedContent="Section 7.4.2"/> shows an example of using the "profile" parameter in conjunction with the 
            "application/linkset+json" media type.</t>
    </section>
    <section anchor="linkset-link-relation" numbered="true" toc="include" removeInRFC="false" pn="section-6">
      <name slugifiedName="name-the-linkset-relation-type-f">The "linkset" Relation Type for Linking to a Set of Links</name>
      <t indent="0" pn="section-6-1">The target of a link with the "linkset" relation type provides a set of links, 
                including links in which the resource that is the link context participates.</t>
      <t indent="0" pn="section-6-2">A link with the "linkset" relation type <bcp14>MAY</bcp14> be provided in the header field and/or 
                the body of a resource's representation. It may also be discovered by other means, such as through
                client-side information.</t>
      <t indent="0" pn="section-6-3">A resource <bcp14>MAY</bcp14> provide more than one link with a "linkset" relation type. 
                Multiple such links can refer to the same set of links expressed using different 
                media types, or to different sets of links, potentially provided by different third-party services.</t>
      <t indent="0" pn="section-6-4">The set of links provided by the resource that is the target of a "linkset" link may contain links in which the 
		    resource that is the context of the "linkset" link does not participate.  User agents <bcp14>MUST</bcp14> process each link 
		    in the link set independently, including processing of the link context and link target, and <bcp14>MAY</bcp14> ignore links from 
		    the link set in which the context of the "linkset" link does not participate.</t>
      <t indent="0" pn="section-6-5">A user agent that follows a "linkset" link and obtains links for which anchors and targets are expressed as 
                relative references (as per <xref target="RFC3986" section="4.1" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc3986#section-4.1" derivedContent="RFC3986"/>) <bcp14>MUST</bcp14> determine what the context is for these links; it <bcp14>SHOULD</bcp14> ignore links for which it is unable to 
                unambiguously make that determination.</t>
      <t indent="0" pn="section-6-6">As a means to convey specific constraints or conventions (as per <xref target="RFC6906" format="default" sectionFormat="of" derivedContent="RFC6906"/>) that apply to a link set document, 
        the "profile" attribute <bcp14>MAY</bcp14> be used in conjunction with the "linkset" link relation type. 
        For example, the attribute could be used to indicate that a link set uses a specific, limited set of link relation 
        types. The value of the "profile" attribute <bcp14>MUST</bcp14> be a non-empty 
        list of space-separated URIs, each of which identifies specific constraints or conventions that apply 
        to the link set document. Profile URIs <bcp14>MAY</bcp14> be registered in the IANA's "Profile URIs" registry in the manner specified by <xref target="RFC7284" format="default" sectionFormat="of" derivedContent="RFC7284"/>. 
        <xref target="profile-attribute-example" format="default" sectionFormat="of" derivedContent="Section 7.4.1"/> shows an example of using the "profile" attribute on a link  
        with the "linkset" relation type, making both the link set and the profile(s) to which it complies discoverable.</t>
    </section>
    <section anchor="linkset-link-examples" numbered="true" toc="include" removeInRFC="false" pn="section-7">
      <name slugifiedName="name-examples">Examples</name>
      <t indent="0" pn="section-7-1">Sections <xref target="linkset-link-link-format" format="counter" sectionFormat="of" derivedContent="7.1"/> and <xref target="linkset-link-json-format" format="counter" sectionFormat="of" derivedContent="7.2"/>
              show examples whereby a set of links is provided as "application/linkset" and "application/linkset+json" documents, respectively.
                  <xref target="linkset-rel-example" format="default" sectionFormat="of" derivedContent="Section 7.3"/> illustrates the use of the "linkset" link relation type to support the discovery of sets of links, and 
                  <xref target="profile-examples" format="default" sectionFormat="of" derivedContent="Section 7.4"/> shows how to convey profile information pertaining to a link set.</t>
      <section anchor="linkset-link-link-format" numbered="true" toc="include" removeInRFC="false" pn="section-7.1">
        <name slugifiedName="name-set-of-links-provided-as-ap">Set of Links Provided as "application/linkset"</name>
        <t indent="0" pn="section-7.1-1"><xref target="Request1" format="default" sectionFormat="of" derivedContent="Figure 7"/> shows a client issuing an 
                   HTTP GET request against resource &lt;https://example.org/links/resource1&gt;.</t>
        <figure anchor="Request1" align="left" suppress-title="false" pn="figure-7">
          <name slugifiedName="name-client-http-get-request">Client HTTP GET request</name>
          <sourcecode type="http-message" markers="false" pn="section-7.1-2.1">
GET /links/resource1 HTTP/1.1
Host: example.org

</sourcecode>
        </figure>
        <t indent="0" pn="section-7.1-3"><xref target="Response1.1" format="default" sectionFormat="of" derivedContent="Figure 8"/> shows the response to the GET request of 
             <xref target="Request1" format="default" sectionFormat="of" derivedContent="Figure 7"/>. The response contains a "Content-Type" header field 
             specifying that the media type of the response is "application/linkset". A set of links, revealing authorship and versioning related  
             to resource &lt;https://example.org/resource1&gt;, is provided in the response body. The HTTP "Link" header field indicates the availability 
             of an alternate representation of the set of links using media type "application/linkset+json".</t>
        <figure anchor="Response1.1" align="left" suppress-title="false" pn="figure-8">
          <name slugifiedName="name-response-to-http-get-includ">Response to HTTP GET includes a set of links</name>
          <sourcecode type="http-message" markers="false" pn="section-7.1-4.1">
HTTP/1.1 200 OK
Date: Mon, 12 Aug 2019 10:35:51 GMT
Server: Apache-Coyote/1.1
Content-Length: 1023
Content-Type: application/linkset
Link: &lt;https://example.org/links/resource1&gt;
      ; rel="alternate"
      ; type="application/linkset+json"

&lt;https://authors.example.net/johndoe&gt;
   ; rel="author"
   ; type="application/rdf+xml"
   ; anchor="https://example.org/resource1",
&lt;https://example.org/resource1?version=3&gt;
   ; rel="latest-version"
   ; type="text/html"
   ; anchor="https://example.org/resource1",
&lt;https://example.org/resource1?version=2&gt;
   ; rel="predecessor-version"
   ; type="text/html"
   ; anchor="https://example.org/resource1?version=3",
&lt;https://example.org/resource1?version=1&gt;
   ; rel="predecessor-version"
   ; type="text/html"
   ; anchor="https://example.org/resource1?version=2",
&lt;https://example.org/resource1?version=1&gt;
   ; rel="memento"
   ; type="text/html"
   ; datetime="Thu, 13 Jun 2019 09:34:33 GMT"
   ; anchor="https://example.org/resource1",
&lt;https://example.org/resource1?version=2&gt;
   ; rel="memento"
   ; type="text/html"
   ; datetime="Sun, 21 Jul 2019 12:22:04 GMT"
   ; anchor="https://example.org/resource1",
&lt;https://authors.example.net/alice&gt;
   ; rel="author"
   ; anchor="https://example.org/resource1#comment=1"
</sourcecode>
        </figure>
      </section>
      <section anchor="linkset-link-json-format" numbered="true" toc="include" removeInRFC="false" pn="section-7.2">
        <name slugifiedName="name-set-of-links-provided-as-app">Set of Links Provided as "application/linkset+json"</name>
        <t indent="0" pn="section-7.2-1"><xref target="Request4" format="default" sectionFormat="of" derivedContent="Figure 9"/> shows the client issuing an HTTP GET 
                     request against &lt;https://example.org/links/resource1&gt;. 
                     In the request, the client uses an "Accept" header field to indicate that it prefers a response in the 
                     "application/linkset+json" format.</t>
        <figure anchor="Request4" align="left" suppress-title="false" pn="figure-9">
          <name slugifiedName="name-client-http-get-request-exp">Client HTTP GET request expressing preference for an "application⁠/linkset+json" response</name>
          <sourcecode type="http-message" markers="false" pn="section-7.2-2.1">
GET links/resource1 HTTP/1.1
Host: example.org
Accept: application/linkset+json

</sourcecode>
        </figure>
        <t indent="0" pn="section-7.2-3"><xref target="Response4.1" format="default" sectionFormat="of" derivedContent="Figure 10"/> shows the response to the HTTP GET request of <xref target="Request4" format="default" sectionFormat="of" derivedContent="Figure 9"/>. 
                     The set of links is serialized according to the media type "application/linkset+json".</t>
        <figure anchor="Response4.1" align="left" suppress-title="false" pn="figure-10">
          <name slugifiedName="name-response-to-the-clients-req">Response to the client's request for the linkset</name>
          <sourcecode type="http-message" markers="false" pn="section-7.2-4.1">
HTTP/1.1 200 OK
Date: Mon, 12 Aug 2019 10:46:22 GMT
Server: Apache-Coyote/1.1
Content-Type: application/linkset+json
Link: &lt;https://example.org/links/resource1&gt;
      ; rel="alternate"
      ; type="application/linkset"
Content-Length: 1246

{ "linkset":
  [
    { "anchor": "https://example.org/resource1",
      "author": [
        { "href": "https://authors.example.net/johndoe",
          "type": "application/rdf+xml"
        }
      ],
      "memento": [
        { "href": "https://example.org/resource1?version=1",
          "type": "text/html",
          "datetime": "Thu, 13 Jun 2019 09:34:33 GMT"
        },
        { "href": "https://example.org/resource1?version=2",
          "type": "text/html",
          "datetime": "Sun, 21 Jul 2019 12:22:04 GMT"
        }
      ],
      "latest-version": [
        { "href": "https://example.org/resource1?version=3",
          "type": "text/html"
        }
      ]
    },
    { "anchor": "https://example.org/resource1?version=3",
      "predecessor-version": [
        { "href": "https://example.org/resource1?version=2",
          "type": "text/html"
        }
      ]
    },
    { "anchor": "https://example.org/resource1?version=2",
      "predecessor-version": [
        { "href": "https://example.org/resource1?version=1",
          "type": "text/html"
        }
      ]
    },
    { "anchor": "https://example.org/resource1#comment=1",
      "author": [
        { "href": "https://authors.example.net/alice"}
      ]
    }
  ]
}
</sourcecode>
        </figure>
      </section>
      <section anchor="linkset-rel-example" numbered="true" toc="include" removeInRFC="false" pn="section-7.3">
        <name slugifiedName="name-discovering-a-link-set-via-">Discovering a Link Set via the "linkset" Link Relation Type</name>
        <t indent="0" pn="section-7.3-1"><xref target="Request3" format="default" sectionFormat="of" derivedContent="Figure 11"/> shows a client issuing an 
                     HTTP HEAD request against resource 
                     &lt;https://example.org/resource1&gt;.</t>
        <figure anchor="Request3" align="left" suppress-title="false" pn="figure-11">
          <name slugifiedName="name-client-http-head-request">Client HTTP HEAD request</name>
          <sourcecode type="http-message" markers="false" pn="section-7.3-2.1">
HEAD resource1 HTTP/1.1
Host: example.org

</sourcecode>
        </figure>
        <t indent="0" pn="section-7.3-3"><xref target="Response3.1" format="default" sectionFormat="of" derivedContent="Figure 12"/> shows the response to the HEAD request of 
                     <xref target="Request3" format="default" sectionFormat="of" derivedContent="Figure 11"/>. The response contains an HTTP "Link" header field with  
                     a link that has the "linkset" relation type. It indicates that a set of links is provided 
                     by resource &lt;https://example.org/links/resource1&gt;, which 
                     provides a representation with media type "application/linkset+json".</t>
        <figure anchor="Response3.1" align="left" suppress-title="false" pn="figure-12">
          <name slugifiedName="name-response-to-http-head-reque">Response to HTTP HEAD request</name>
          <sourcecode type="http-message" markers="false" pn="section-7.3-4.1">
HTTP/1.1 200 OK
Date: Mon, 12 Aug 2019 10:45:54 GMT
Server: Apache-Coyote/1.1
Link: &lt;https://example.org/links/resource1&gt;
      ; rel="linkset"
      ; type="application/linkset+json"
Content-Length: 236
Content-Type: text/html;charset=utf-8

</sourcecode>
        </figure>
      </section>
      <section anchor="profile-examples" numbered="true" toc="include" removeInRFC="false" pn="section-7.4">
        <name slugifiedName="name-link-set-profiles">Link Set Profiles</name>
        <t indent="0" pn="section-7.4-1">The examples in this section illustrate the use of the "profile" attribute for a link with the "linkset" link relation type and the "profile" attribute for a link set media type. The examples are inspired by the implementation of link sets by GS1 (the standards body behind many of the world's barcodes).</t>
        <section anchor="profile-attribute-example" numbered="true" toc="include" removeInRFC="false" pn="section-7.4.1">
          <name slugifiedName="name-using-a-profile-attribute-w">Using a "profile" Attribute with a "linkset" Link</name>
          <t indent="0" pn="section-7.4.1-1"><xref target="Request_pr_at" format="default" sectionFormat="of" derivedContent="Figure 13"/> shows a client issuing an 
                  HTTP HEAD request against trade item 09506000134352 at <eref target="https://id.gs1.org/01/9506000134352" brackets="angle"/>.</t>
          <figure anchor="Request_pr_at" align="left" suppress-title="false" pn="figure-13">
            <name slugifiedName="name-client-http-head-request-2">Client HTTP HEAD request</name>
            <sourcecode type="http-message" markers="false" pn="section-7.4.1-2.1">
HEAD /01/9506000134352 HTTP/1.1
Host: id.gs1.org

</sourcecode>
          </figure>
          <t indent="0" pn="section-7.4.1-3"><xref target="Response_pr_at" format="default" sectionFormat="of" derivedContent="Figure 14"/> shows the server's response to the request of 
    <xref target="Request_pr_at" format="default" sectionFormat="of" derivedContent="Figure 13"/>, including a "linkset" link with a "profile" attribute 
    that has the profile URI <eref target="https://www.gs1.org/voc/?show=linktypes" brackets="angle"/> as its value. 
    Dereferencing that URI yields a profile document that lists all the link relation types that 
    a client can expect when requesting the link set made discoverable by the "linkset" link. The link relation types are 
	presented in abbreviated form, e.g., &lt;gs1:activityIdeas&gt;, whereas the actual link relation type URIs are 
	available as hyperlinks on the abbreviations, e.g., <eref target="https://www.gs1.org/voc/activityIdeas" brackets="angle"/>.
    For posterity, that profile document was saved in the Internet Archive at 
    <eref target="https://web.archive.org/web/20210927160406/https://www.gs1.org/voc/?show=linktypes" brackets="angle"/> 
    on 27 September 2021.</t>
          <figure anchor="Response_pr_at" align="left" suppress-title="false" pn="figure-14">
            <name slugifiedName="name-response-to-the-clients-hea">Response to the client's HEAD request, including a "profile" attribute for the "linkset" link</name>
            <sourcecode type="http-message" markers="false" pn="section-7.4.1-4.1">
HTTP/1.1 307 Temporary Redirect
Date:  Mon, 27 Sep 2021 16:03:07 GMT
Server: nginx
Link: &lt;https://id.gs1.org/01/9506000134352?linkType=all&gt;
      ; rel="linkset"
      ; type="application/linkset+json"
      ; profile="https://www.gs1.org/voc/?show=linktypes"
Location: https://example.com/risotto-rice-with-mushrooms/

</sourcecode>
          </figure>
        </section>
        <section anchor="profile-parameter-example" numbered="true" toc="include" removeInRFC="false" pn="section-7.4.2">
          <name slugifiedName="name-using-a-profile-parameter-w">Using a "profile" Parameter with a Link Set Media Type</name>
          <t indent="0" pn="section-7.4.2-1"><xref target="Request_pr_par" format="default" sectionFormat="of" derivedContent="Figure 15"/> shows a client issuing an 
HTTP HEAD request against the link set <eref target="https://id.gs1.org/01/9506000134352?linkType=all" brackets="angle"/> that was discovered through the HTTP interactions shown in <xref target="profile-attribute-example" format="default" sectionFormat="of" derivedContent="Section 7.4.1"/>.</t>
          <figure anchor="Request_pr_par" align="left" suppress-title="false" pn="figure-15">
            <name slugifiedName="name-client-http-head-request-3">Client HTTP HEAD request</name>
            <sourcecode type="http-message" markers="false" pn="section-7.4.2-2.1">
HEAD /01/9506000134352?linkType=all HTTP/1.1
Host: id.gs1.org

</sourcecode>
          </figure>
          <t indent="0" pn="section-7.4.2-3"><xref target="Response_pr_par" format="default" sectionFormat="of" derivedContent="Figure 16"/> shows the server's response to the request of <xref target="Request_pr_par" format="default" sectionFormat="of" derivedContent="Figure 15"/>. Note the "profile" parameter for the "application/linkset+json" media type, which has as its value the same profile URI <eref target="https://www.gs1.org/voc/?show=linktypes" brackets="angle"/> as was used in <xref target="Response_pr_at" format="default" sectionFormat="of" derivedContent="Figure 14"/>.</t>
          <figure anchor="Response_pr_par" align="left" suppress-title="false" pn="figure-16">
            <name slugifiedName="name-response-to-the-clients-head">Response to the client's HEAD request, including a "profile" parameter for the "application/linkset+json" media type</name>
            <sourcecode type="http-message" markers="false" pn="section-7.4.2-4.1">
HTTP/1.1 200 OK
Date:  Mon, 27 Sep 2021 16:03:33 GMT
Server: nginx
Content-Type: application/linkset+json;
     profile="https://www.gs1.org/voc/?show=linktypes"
Content-Length: 396

</sourcecode>
          </figure>
        </section>
        <section anchor="profile-link-example" numbered="true" toc="include" removeInRFC="false" pn="section-7.4.3">
          <name slugifiedName="name-using-a-link-with-a-profile">Using a Link with a "profile" Link Relation Type</name>
          <t indent="0" pn="section-7.4.3-1">Note that the response shown in <xref target="Response_pr_par" format="default" sectionFormat="of" derivedContent="Figure 16"/> from the link set resource is equivalent to the response shown in <xref target="Response_pr_link" format="default" sectionFormat="of" derivedContent="Figure 17"/>, which leverages the "profile" link relation type defined in <xref target="RFC6906" format="default" sectionFormat="of" derivedContent="RFC6906"/>.</t>
          <figure anchor="Response_pr_link" align="left" suppress-title="false" pn="figure-17">
            <name slugifiedName="name-response-to-the-clients-head-">Response to the client's HEAD request, including a "profile" link</name>
            <sourcecode type="http-message" markers="false" pn="section-7.4.3-2.1">
HTTP/1.1 200 OK
Date:  Mon, 27 Sep 2021 16:03:33 GMT
Server: nginx
Content-Type: application/linkset+json
Link: &lt;https://www.gs1.org/voc/?show=linktypes&gt;; rel="profile"
Content-Length: 396

</sourcecode>
          </figure>
          <t indent="0" pn="section-7.4.3-3">A link with a "profile" link relation type as shown in <xref target="Response_pr_link" format="default" sectionFormat="of" derivedContent="Figure 17"/> can also be conveyed in the link set document itself. This is illustrated by <xref target="Response_pr_linkset" format="default" sectionFormat="of" derivedContent="Figure 18"/>. Following the recommendation that all links in a link set document should have an explicit anchor, such a link has the URI of the link set itself as the anchor and the profile URI as the target. Multiple profile URIs are handled by using multiple "href" members.</t>
          <figure anchor="Response_pr_linkset" align="left" suppress-title="false" pn="figure-18">
            <name slugifiedName="name-a-linkset-that-declares-the">A linkset that declares the profile it complies with, using a "profile" link</name>
            <sourcecode type="json" markers="false" pn="section-7.4.3-4.1">
{ "linkset":
  [
    { "anchor": "https://id.gs1.org/01/9506000134352?linkType=all",
      "profile": [
            {"href": "https://www.gs1.org/voc/?show=linktypes"}
      ]
    },
     { "anchor": "https://id.gs1.org/01/9506000134352",
       "https://gs1.org/voc/whatsInTheBox": [
         {"href": "https://example.com/en/packContents/GB"}
       ]
    }
  ]
}
</sourcecode>
          </figure>
        </section>
      </section>
    </section>
    <section anchor="iana-considerations" numbered="true" toc="include" removeInRFC="false" pn="section-8">
      <name slugifiedName="name-iana-considerations">IANA Considerations</name>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-8.1">
        <name slugifiedName="name-link-relation-type-linkset">Link Relation Type: linkset</name>
        <t indent="0" pn="section-8.1-1">The link relation type below has been registered by IANA in the "Link Relation Types" registry 
			as per <xref target="RFC8288" section="4.2" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc8288#section-4.2" derivedContent="RFC8288"/>:</t>
        <dl newline="false" spacing="normal" indent="3" pn="section-8.1-2">
          <dt pn="section-8.1-2.1">Relation Name:</dt>
          <dd pn="section-8.1-2.2">linkset</dd>
          <dt pn="section-8.1-2.3">Description:</dt>
          <dd pn="section-8.1-2.4">The link target of a link with the "linkset" relation type 
                            provides a set of links, including links in which the link context of the link participates.</dd>
          <dt pn="section-8.1-2.5">Reference:</dt>
          <dd pn="section-8.1-2.6">RFC 9264</dd>
        </dl>
      </section>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-8.2">
        <name slugifiedName="name-media-type-application-link">Media Type: application/linkset</name>
        <t indent="0" pn="section-8.2-1">The Internet media type "application/linkset" for a linkset encoded as described in <xref target="linkset-native" format="default" sectionFormat="of" derivedContent="Section 4.1"/> 
		       has been registered by IANA in the "Media Types" registry as per <xref target="RFC6838" format="default" sectionFormat="of" derivedContent="RFC6838"/>.</t>
        <dl newline="false" spacing="normal" indent="3" pn="section-8.2-2">
          <dt pn="section-8.2-2.1">Type name:</dt>
          <dd pn="section-8.2-2.2">application</dd>
          <dt pn="section-8.2-2.3">Subtype name:</dt>
          <dd pn="section-8.2-2.4">linkset</dd>
          <dt pn="section-8.2-2.5">Required parameters:</dt>
          <dd pn="section-8.2-2.6">N/A</dd>
          <dt pn="section-8.2-2.7">Optional parameters:</dt>
          <dd pn="section-8.2-2.8">profile</dd>
          <dt pn="section-8.2-2.9">Encoding considerations:</dt>
          <dd pn="section-8.2-2.10">Linksets are encoded according to the
                            definitions provided in <xref target="RFC8288" format="default" sectionFormat="of" derivedContent="RFC8288"/>. The encoding discussed in
                            <xref target="RFC8288" format="default" sectionFormat="of" derivedContent="RFC8288"/> is based on the general encoding rules specified by
                            HTTP <xref target="RFC9110" format="default" sectionFormat="of" derivedContent="RFC9110"/> and allows specific parameters to be extended 
                            by the indication of character encoding and language as
                            defined by <xref target="RFC8187" format="default" sectionFormat="of" derivedContent="RFC8187"/>.</dd>
          <dt pn="section-8.2-2.11">Security considerations:</dt>
          <dd pn="section-8.2-2.12">The security considerations of RFC 9264 apply.</dd>
          <dt pn="section-8.2-2.13">Interoperability considerations:</dt>
          <dd pn="section-8.2-2.14">N/A</dd>
          <dt pn="section-8.2-2.15">Published specification:</dt>
          <dd pn="section-8.2-2.16">RFC 9264</dd>
          <dt pn="section-8.2-2.17">Applications that use this media type:</dt>
          <dd pn="section-8.2-2.18">This media type is not specific to any application, as it can be used by any application that wants to interchange Web Links.</dd>
        </dl>
        <dl newline="true" spacing="normal" indent="3" pn="section-8.2-3">
          <dt pn="section-8.2-3.1">Additional information:</dt>
          <dd pn="section-8.2-3.2">
            <dl newline="false" spacing="compact" indent="3" pn="section-8.2-3.2.1">
              <dt pn="section-8.2-3.2.1.1">Magic number(s):</dt>
              <dd pn="section-8.2-3.2.1.2">N/A</dd>
              <dt pn="section-8.2-3.2.1.3">File extension(s):</dt>
              <dd pn="section-8.2-3.2.1.4">This media type does not propose a specific extension.</dd>
              <dt pn="section-8.2-3.2.1.5">Macintosh file type code(s):</dt>
              <dd pn="section-8.2-3.2.1.6">TEXT</dd>
            </dl>
          </dd>
        </dl>
        <dl newline="false" spacing="normal" indent="3" pn="section-8.2-4">
          <dt pn="section-8.2-4.1">Person &amp; email address to contact for further information:</dt>
          <dd pn="section-8.2-4.2">Erik Wilde &lt;erik.wilde@dret.net&gt;</dd>
          <dt pn="section-8.2-4.3">Intended usage:</dt>
          <dd pn="section-8.2-4.4">COMMON</dd>
          <dt pn="section-8.2-4.5">Restrictions on usage:</dt>
          <dd pn="section-8.2-4.6">none</dd>
          <dt pn="section-8.2-4.7">Author:</dt>
          <dd pn="section-8.2-4.8">Erik Wilde &lt;erik.wilde@dret.net&gt;</dd>
          <dt pn="section-8.2-4.9">Change controller:</dt>
          <dd pn="section-8.2-4.10">IETF</dd>
        </dl>
      </section>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-8.3">
        <name slugifiedName="name-media-type-application-links">Media Type: application/linkset+json</name>
        <t indent="0" pn="section-8.3-1">The Internet media type "application/linkset+json" for a linkset encoded as described in <xref target="linkset-json" format="default" sectionFormat="of" derivedContent="Section 4.2"/> 
		   has been registered by IANA in the "Media Types" registry as per <xref target="RFC6838" format="default" sectionFormat="of" derivedContent="RFC6838"/>.</t>
        <dl newline="false" spacing="normal" indent="3" pn="section-8.3-2">
          <dt pn="section-8.3-2.1">Type name:</dt>
          <dd pn="section-8.3-2.2">application</dd>
          <dt pn="section-8.3-2.3">Subtype name:</dt>
          <dd pn="section-8.3-2.4">linkset+json</dd>
          <dt pn="section-8.3-2.5">Required parameters:</dt>
          <dd pn="section-8.3-2.6">N/A</dd>
          <dt pn="section-8.3-2.7">Optional parameters:</dt>
          <dd pn="section-8.3-2.8">profile</dd>
          <dt pn="section-8.3-2.9">Encoding considerations:</dt>
          <dd pn="section-8.3-2.10">The encoding considerations of <xref target="RFC8259" format="default" sectionFormat="of" derivedContent="RFC8259"/> apply.</dd>
          <dt pn="section-8.3-2.11">Security considerations:</dt>
          <dd pn="section-8.3-2.12">The security considerations of RFC 9264 apply.</dd>
          <dt pn="section-8.3-2.13">Interoperability considerations:</dt>
          <dd pn="section-8.3-2.14">The interoperability considerations of <xref target="RFC8259" format="default" sectionFormat="of" derivedContent="RFC8259"/> apply.</dd>
          <dt pn="section-8.3-2.15">Published specification:</dt>
          <dd pn="section-8.3-2.16">RFC 9264</dd>
          <dt pn="section-8.3-2.17">Applications that use this media type:</dt>
          <dd pn="section-8.3-2.18">This media type is not specific to any application, as it can be used by any application that wants to interchange Web Links.</dd>
        </dl>
        <dl newline="true" spacing="normal" indent="3" pn="section-8.3-3">
          <dt pn="section-8.3-3.1">Additional information:</dt>
          <dd pn="section-8.3-3.2">
            <dl newline="false" spacing="compact" indent="3" pn="section-8.3-3.2.1">
              <dt pn="section-8.3-3.2.1.1">Magic number(s):</dt>
              <dd pn="section-8.3-3.2.1.2">N/A</dd>
              <dt pn="section-8.3-3.2.1.3">File extension(s):</dt>
              <dd pn="section-8.3-3.2.1.4">JSON documents often use ".json" as the file extension, and this media type does not propose a specific extension other than this generic one.</dd>
              <dt pn="section-8.3-3.2.1.5">Macintosh file type code(s):</dt>
              <dd pn="section-8.3-3.2.1.6">TEXT</dd>
            </dl>
          </dd>
        </dl>
        <dl newline="false" spacing="normal" indent="3" pn="section-8.3-4">
          <dt pn="section-8.3-4.1">Person &amp; email address to contact for further information:</dt>
          <dd pn="section-8.3-4.2">Erik Wilde &lt;erik.wilde@dret.net&gt;</dd>
          <dt pn="section-8.3-4.3">Intended usage:</dt>
          <dd pn="section-8.3-4.4">COMMON</dd>
          <dt pn="section-8.3-4.5">Restrictions on usage:</dt>
          <dd pn="section-8.3-4.6">none</dd>
          <dt pn="section-8.3-4.7">Author:</dt>
          <dd pn="section-8.3-4.8">Erik Wilde &lt;erik.wilde@dret.net&gt;</dd>
          <dt pn="section-8.3-4.9">Change controller:</dt>
          <dd pn="section-8.3-4.10">IETF</dd>
        </dl>
      </section>
    </section>
    <section anchor="security-considerations" numbered="true" toc="include" removeInRFC="false" pn="section-9">
      <name slugifiedName="name-security-considerations">Security Considerations</name>
      <t indent="0" pn="section-9-1">The security considerations of <xref target="RFC3986" section="7" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc3986#section-7" derivedContent="RFC3986"/> apply, as well as those of Web Linking <xref target="RFC8288" format="default" sectionFormat="of" derivedContent="RFC8288"/> as long as the latter are not specifically discussing the risks of exposing information in HTTP header fields.</t>
      <t indent="0" pn="section-9-2">In general, links may cause information leakage when they expose information (such as URIs) that can be sensitive or private. Links may expose "hidden URIs" that are not supposed to be openly shared and that may not be sufficiently protected. Ideally, none of the URIs exposed in links should be supposed to be "hidden"; instead, if these URIs are supposed to be limited to certain users, then technical measures should be put in place so that accidentally exposing them does not cause any harm.</t>
      <t indent="0" pn="section-9-3">For the specific mechanisms defined in this specification, two security considerations should be taken into account:</t>
      <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-9-4">
        <li pn="section-9-4.1">The Web Linking model always has an "implicit context", which is the resource of the HTTP interaction. This original context can be lost or can change when self-contained link representations are moved. Changing the context can change the interpretation of links when they have no explicit anchor or when they use relative URIs. Applications may choose to ignore links that have no explicit anchor or that use relative URIs when these are exchanged in standalone resources.</li>
        <li pn="section-9-4.2">The model introduced in this specification supports "third-party links", where one party can provide links that have another party's resource as an anchor. Depending on the link semantics and the application context, it is important to verify that there is sufficient trust in that third party to allow it to provide these links. Applications may choose to treat third-party links differently than cases where a resource and the links for that resource are provided by the same party.</li>
      </ul>
    </section>
  </middle>
  <back>
    <references pn="section-10">
      <name slugifiedName="name-references">References</name>
      <references pn="section-10.1">
        <name slugifiedName="name-normative-references">Normative References</name>
        <reference anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119" quoteTitle="true" derivedAnchor="RFC2119">
          <front>
            <title>Key words for use in RFCs to Indicate Requirement Levels</title>
            <author initials="S." surname="Bradner" fullname="S. Bradner">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="1997" month="March"/>
            <abstract>
              <t indent="0">In many standards track documents several words are used to signify the requirements in the specification.  These words are often capitalized. This document defines these words as they should be interpreted in IETF documents.  This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="2119"/>
          <seriesInfo name="DOI" value="10.17487/RFC2119"/>
        </reference>
        <reference anchor="RFC3986" target="https://www.rfc-editor.org/info/rfc3986" quoteTitle="true" derivedAnchor="RFC3986">
          <front>
            <title>Uniform Resource Identifier (URI): Generic Syntax</title>
            <author initials="T." surname="Berners-Lee" fullname="T. Berners-Lee">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="R." surname="Fielding" fullname="R. Fielding">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="L." surname="Masinter" fullname="L. Masinter">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2005" month="January"/>
            <abstract>
              <t indent="0">A Uniform Resource Identifier (URI) is a compact sequence of characters that identifies an abstract or physical resource.  This specification defines the generic URI syntax and a process for resolving URI references that might be in relative form, along with guidelines and security considerations for the use of URIs on the Internet.  The URI syntax defines a grammar that is a superset of all valid URIs, allowing an implementation to parse the common components of a URI reference without knowing the scheme-specific requirements of every possible identifier.  This specification does not define a generative grammar for URIs; that task is performed by the individual specifications of each URI scheme.  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="STD" value="66"/>
          <seriesInfo name="RFC" value="3986"/>
          <seriesInfo name="DOI" value="10.17487/RFC3986"/>
        </reference>
        <reference anchor="RFC5234" target="https://www.rfc-editor.org/info/rfc5234" quoteTitle="true" derivedAnchor="RFC5234">
          <front>
            <title>Augmented BNF for Syntax Specifications: ABNF</title>
            <author initials="D." surname="Crocker" fullname="D. Crocker" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="P." surname="Overell" fullname="P. Overell">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2008" month="January"/>
            <abstract>
              <t indent="0">Internet technical specifications often need to define a formal syntax.  Over the years, a modified version of Backus-Naur Form (BNF), called Augmented BNF (ABNF), has been popular among many Internet specifications.  The current specification documents ABNF. It balances compactness and simplicity with reasonable representational power.  The differences between standard BNF and ABNF involve naming rules, repetition, alternatives, order-independence, and value ranges.  This specification also supplies additional rule definitions and encoding for a core lexical analyzer of the type common to several Internet specifications.  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="STD" value="68"/>
          <seriesInfo name="RFC" value="5234"/>
          <seriesInfo name="DOI" value="10.17487/RFC5234"/>
        </reference>
        <reference anchor="RFC5646" target="https://www.rfc-editor.org/info/rfc5646" quoteTitle="true" derivedAnchor="RFC5646">
          <front>
            <title>Tags for Identifying Languages</title>
            <author initials="A." surname="Phillips" fullname="A. Phillips" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="M." surname="Davis" fullname="M. Davis" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2009" month="September"/>
            <abstract>
              <t indent="0">This document describes the structure, content, construction, and semantics of language tags for use in cases where it is desirable to indicate the language used in an information object.  It also describes how to register values for use in language tags and the creation of user-defined extensions for private interchange.  This document  specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="47"/>
          <seriesInfo name="RFC" value="5646"/>
          <seriesInfo name="DOI" value="10.17487/RFC5646"/>
        </reference>
        <reference anchor="RFC6838" target="https://www.rfc-editor.org/info/rfc6838" quoteTitle="true" derivedAnchor="RFC6838">
          <front>
            <title>Media Type Specifications and Registration Procedures</title>
            <author initials="N." surname="Freed" fullname="N. Freed">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="J." surname="Klensin" fullname="J. Klensin">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="T." surname="Hansen" fullname="T. Hansen">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2013" month="January"/>
            <abstract>
              <t indent="0">This document defines procedures for the specification and registration of media types for use in HTTP, MIME, and other Internet protocols.  This memo documents an Internet Best Current Practice.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="13"/>
          <seriesInfo name="RFC" value="6838"/>
          <seriesInfo name="DOI" value="10.17487/RFC6838"/>
        </reference>
        <reference anchor="RFC8174" target="https://www.rfc-editor.org/info/rfc8174" quoteTitle="true" derivedAnchor="RFC8174">
          <front>
            <title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
            <author initials="B." surname="Leiba" fullname="B. Leiba">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2017" month="May"/>
            <abstract>
              <t indent="0">RFC 2119 specifies common key words that may be used in protocol  specifications.  This document aims to reduce the ambiguity by clarifying that only UPPERCASE usage of the key words have the  defined special meanings.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="8174"/>
          <seriesInfo name="DOI" value="10.17487/RFC8174"/>
        </reference>
        <reference anchor="RFC8187" target="https://www.rfc-editor.org/info/rfc8187" quoteTitle="true" derivedAnchor="RFC8187">
          <front>
            <title>Indicating Character Encoding and Language for HTTP Header Field Parameters</title>
            <author initials="J." surname="Reschke" fullname="J. Reschke">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2017" month="September"/>
            <abstract>
              <t indent="0">By default, header field values in Hypertext Transfer Protocol (HTTP) messages cannot easily carry characters outside the US-ASCII coded character set.  RFC 2231 defines an encoding mechanism for use in parameters inside Multipurpose Internet Mail Extensions (MIME) header field values.  This document specifies an encoding suitable for use in HTTP header fields that is compatible with a simplified profile of the encoding defined in RFC 2231.</t>
              <t indent="0">This document obsoletes RFC 5987.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8187"/>
          <seriesInfo name="DOI" value="10.17487/RFC8187"/>
        </reference>
        <reference anchor="RFC8259" target="https://www.rfc-editor.org/info/rfc8259" quoteTitle="true" derivedAnchor="RFC8259">
          <front>
            <title>The JavaScript Object Notation (JSON) Data Interchange Format</title>
            <author initials="T." surname="Bray" fullname="T. Bray" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2017" month="December"/>
            <abstract>
              <t indent="0">JavaScript Object Notation (JSON) is a lightweight, text-based, language-independent data interchange format.  It was derived from the ECMAScript Programming Language Standard.  JSON defines a small set of formatting rules for the portable representation of structured data.</t>
              <t indent="0">This document removes inconsistencies with other specifications of JSON, repairs specification errors, and offers experience-based interoperability guidance.</t>
            </abstract>
          </front>
          <seriesInfo name="STD" value="90"/>
          <seriesInfo name="RFC" value="8259"/>
          <seriesInfo name="DOI" value="10.17487/RFC8259"/>
        </reference>
        <reference anchor="RFC8288" target="https://www.rfc-editor.org/info/rfc8288" quoteTitle="true" derivedAnchor="RFC8288">
          <front>
            <title>Web Linking</title>
            <author initials="M." surname="Nottingham" fullname="M. Nottingham">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2017" month="October"/>
            <abstract>
              <t indent="0">This specification defines a model for the relationships between resources on the Web ("links") and the type of those relationships ("link relation types").</t>
              <t indent="0">It also defines the serialisation of such links in HTTP headers with the Link header field.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8288"/>
          <seriesInfo name="DOI" value="10.17487/RFC8288"/>
        </reference>
        <reference anchor="RFC9110" target="https://www.rfc-editor.org/info/rfc9110" quoteTitle="true" derivedAnchor="RFC9110">
          <front>
            <title>HTTP Semantics</title>
            <author initials="R." surname="Fielding" fullname="R. Fielding" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="M." surname="Nottingham" fullname="M. Nottingham" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="J." surname="Reschke" fullname="J. Reschke" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2022" month="June"/>
            <abstract>
              <t indent="0">The Hypertext Transfer Protocol (HTTP) is a stateless application-level protocol for distributed, collaborative, hypertext information systems. This document describes the overall architecture of HTTP, establishes common terminology, and defines aspects of the protocol that are shared by all versions. In this definition are core protocol elements, extensibility mechanisms, and the "http" and "https" Uniform Resource Identifier (URI) schemes. </t>
              <t indent="0">This document updates RFC 3864 and obsoletes RFCs 2818, 7231, 7232, 7233, 7235, 7538, 7615, 7694, and portions of 7230.</t>
            </abstract>
          </front>
          <seriesInfo name="STD" value="97"/>
          <seriesInfo name="RFC" value="9110"/>
          <seriesInfo name="DOI" value="10.17487/RFC9110"/>
        </reference>
        <reference anchor="W3C.REC-json-ld" target="https://www.w3.org/TR/json-ld/" quoteTitle="true" derivedAnchor="W3C.REC-json-ld">
          <front>
            <title>JSON-LD 1.1: A JSON-based Serialization for Linked Data</title>
            <author initials="M." surname="Sporny" fullname="Manu Sporny" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="G." surname="Kellogg" fullname="Gregg Kellogg" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="M." surname="Lanthaler" fullname="Markus Lanthaler" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <date month="July" year="2020"/>
          </front>
          <refcontent>W3C Recommendation REC-json-ld-20140116</refcontent>
        </reference>
      </references>
      <references pn="section-10.2">
        <name slugifiedName="name-informative-references">Informative References</name>
        <reference anchor="DCMI-TERMS" target="https://www.dublincore.org/specifications/dublin-core/dcmi-terms/" quoteTitle="true" derivedAnchor="DCMI-TERMS">
          <front>
            <title abbrev="DCMI Terms">DCMI Metadata Terms</title>
            <author>
              <organization showOnFrontPage="true">Dublin Core Metadata Initiative</organization>
            </author>
            <date month="January" year="2020"/>
          </front>
        </reference>
        <reference anchor="RFC5988" target="https://www.rfc-editor.org/info/rfc5988" quoteTitle="true" derivedAnchor="RFC5988">
          <front>
            <title>Web Linking</title>
            <author initials="M." surname="Nottingham" fullname="M. Nottingham">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2010" month="October"/>
            <abstract>
              <t indent="0">This document specifies relation types for Web links, and defines a registry for them.  It also defines the use of such links in HTTP headers with the Link header field.  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="5988"/>
          <seriesInfo name="DOI" value="10.17487/RFC5988"/>
        </reference>
        <reference anchor="RFC6690" target="https://www.rfc-editor.org/info/rfc6690" quoteTitle="true" derivedAnchor="RFC6690">
          <front>
            <title>Constrained RESTful Environments (CoRE) Link Format</title>
            <author initials="Z." surname="Shelby" fullname="Z. Shelby">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2012" month="August"/>
            <abstract>
              <t indent="0">This specification defines Web Linking using a link format for use by constrained web servers to describe hosted resources, their attributes, and other relationships between links.  Based on the HTTP Link Header field defined in RFC 5988, the Constrained RESTful Environments (CoRE) Link Format is carried as a payload and is assigned an Internet media type.  "RESTful" refers to the Representational State Transfer (REST) architecture.  A well-known URI is defined as a default entry point for requesting the links hosted by a server.  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6690"/>
          <seriesInfo name="DOI" value="10.17487/RFC6690"/>
        </reference>
        <reference anchor="RFC6906" target="https://www.rfc-editor.org/info/rfc6906" quoteTitle="true" derivedAnchor="RFC6906">
          <front>
            <title>The 'profile' Link Relation Type</title>
            <author initials="E." surname="Wilde" fullname="E. Wilde">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2013" month="March"/>
            <abstract>
              <t indent="0">This specification defines the 'profile' link relation type that allows resource representations to indicate that they are following one or more profiles.  A profile is defined not to alter the semantics of the resource representation itself, but to allow clients to learn about additional semantics (constraints, conventions, extensions) that are associated with the resource representation, in addition to those defined by the media type and possibly other mechanisms.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6906"/>
          <seriesInfo name="DOI" value="10.17487/RFC6906"/>
        </reference>
        <reference anchor="RFC7284" target="https://www.rfc-editor.org/info/rfc7284" quoteTitle="true" derivedAnchor="RFC7284">
          <front>
            <title>The Profile URI Registry</title>
            <author initials="M." surname="Lanthaler" fullname="M. Lanthaler">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2014" month="June"/>
            <abstract>
              <t indent="0">This document defines a registry for profile URIs to be used in specifications standardizing profiles.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7284"/>
          <seriesInfo name="DOI" value="10.17487/RFC7284"/>
        </reference>
        <reference anchor="W3C.REC-rdf11-concepts" target="https://www.w3.org/TR/rdf11-concepts/" quoteTitle="true" derivedAnchor="W3C.REC-rdf11-concepts">
          <front>
            <title>RDF 1.1 Concepts and Abstract Syntax</title>
            <author initials="R." surname="Cyganiak" fullname="Richard Cyganiak" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="D." surname="Wood" fullname="David Wood" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="M." surname="Lanthaler" fullname="Markus Lanthaler" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <date month="February" year="2014"/>
          </front>
          <refcontent>W3C Consortium Recommendation REC-rdf11-concepts</refcontent>
        </reference>
      </references>
    </references>
    <section anchor="appendix-1" numbered="true" toc="include" removeInRFC="false" pn="section-appendix.a">
      <name slugifiedName="name-json-ld-context">JSON-LD Context</name>
      <t indent="0" pn="section-appendix.a-1">A set of links rendered according to the 
               JSON serialization defined in <xref target="linkset-json" format="default" sectionFormat="of" derivedContent="Section 4.2"/> can be interpreted 
                as RDF triples by adding a <xref target="W3C.REC-json-ld" format="default" sectionFormat="of" derivedContent="W3C.REC-json-ld">JSON-LD context</xref> that maps 
                the JSON keys to corresponding Linked Data terms. And, as per
                <xref target="W3C.REC-json-ld" section="6.1" relative="#interpreting-json-as-json-ld" format="default" sectionFormat="of" derivedLink="https://www.w3.org/TR/json-ld/#interpreting-json-as-json-ld" derivedContent="W3C.REC-json-ld"/>, 
                when delivering a link set that is rendered according to the "application/linkset+json" media type to a user agent, 
                a server can convey the availability of such a JSON-LD context by using a link with the relation type 
                "<eref target="http://www.w3.org/ns/json-ld#context" brackets="none"/>" in the HTTP "Link" header field.</t>
      <t indent="0" pn="section-appendix.a-2"><xref target="contextlinkrel" format="default" sectionFormat="of" derivedContent="Figure 19"/> shows the response to an HTTP GET against the URI of a link set resource and 
                 illustrates this approach to support the discovery of a JSON-LD context. This example is inspired by the GS1 implementation and 
                 shows a link set that uses relation types from the GS1 vocabulary at <eref target="https://www.gs1.org/voc/" brackets="angle"/>
                 that are expressed as HTTP URIs.</t>
      <figure anchor="contextlinkrel" align="left" suppress-title="false" pn="figure-19">
        <name slugifiedName="name-using-a-typed-link-to-suppo">Using a typed link to support the discovery of a JSON-LD context for a linkset</name>
        <artwork type="" align="left" pn="section-appendix.a-3.1">
HTTP/1.1 200 OK
Date: Mon, 11 Oct 2021 10:48:22 GMT
Server: Apache-Coyote/1.1
Content-Type: application/linkset+json
Link: &lt;https://example.org/contexts/linkset.jsonld&gt;
      ; rel="http://www.w3.org/ns/json-ld#context"
      ; type="application/ld+json"
Content-Length: 1532

{
  "linkset": [
    {
      "anchor": "https://id.gs1.org/01/09506000149301",
      "https://gs1.org/voc/pip": [
        {
          "href": "https://example.com/en/defaultPage",
          "hreflang": [
            "en"
          ],
          "type": "text/html",
          "title": "Product information"
        },
        {
          "href": "https://example.com/fr/defaultPage",
          "hreflang": [
            "fr"
          ],
          "title": "Information produit"
        }
      ],
      "https://gs1.org/voc/whatsInTheBox": [
        {
          "href": "https://example.com/en/packContents/GB",
          "hreflang": [
            "en"
          ],
          "title": "What's in the box?"
        },
        {
          "href": "https://example.com/fr/packContents/FR",
          "hreflang": [
            "fr"
          ],
          "title": "Qu'y a-t-il dans la boite?"
        },
        {
          "href": "https://example.com/fr/packContents/CH",
          "hreflang": [
            "fr"
          ],
          "title": "Qu'y a-t-il dans la boite?"
        }
      ],
      "https://gs1.org/voc/relatedVideo": [
        {
          "href": "https://video.example",
          "hreflang": [
            "en",
            "fr"
          ],
          "title*": [
            {
              "value": "See it in action!",
              "language": "en"
            },
            {
              "value": "Voyez-le en action!",
              "language": "fr"
            }
          ]
        }
      ]
    }
  ]
}
                </artwork>
      </figure>
      <t indent="0" pn="section-appendix.a-4">In order to obtain the JSON-LD context conveyed by the server, the user agent issues an HTTP GET against the 
                link target of the link with the "<eref target="http://www.w3.org/ns/json-ld#context" brackets="none"/>" relation type. The response to this GET is 
                shown in <xref target="jsonld-context" format="default" sectionFormat="of" derivedContent="Figure 20"/>. This particular JSON-LD context maps "application/linkset+json" representations of link sets 
                to Dublin Core terms <xref target="DCMI-TERMS" format="default" sectionFormat="of" derivedContent="DCMI-TERMS"/>. Note that the "linkset" entry in the JSON-LD context is 
                introduced to support links with the "linkset" relation type in link sets.</t>
      <figure anchor="jsonld-context" align="left" suppress-title="false" pn="figure-20">
        <name slugifiedName="name-json-ld-context-mapping-to-">JSON-LD context mapping to Dublin Core terms</name>
        <sourcecode type="http-message" markers="false" pn="section-appendix.a-5.1">
HTTP/1.1 200 OK
Content-Type: application/ld+json
Content-Length: 658

{
  "@context": [
    {
      "@version": 1.1,
      "@vocab": "https://gs1.org/voc/",
      "anchor": "@id",
      "href": "@id",
      "linkset": {
        "@id": "@graph",
        "@context": {
          "linkset": "linkset"
        }
      },
      "title": {
        "@id": "http://purl.org/dc/terms/title"
      },
      "title*": {
        "@id": "http://purl.org/dc/terms/title"
      },
      "type": {
        "@id": "http://purl.org/dc/terms/format"
      }
    },
    {
      "language": "@language",
      "value": "@value",
      "hreflang": {
        "@id": "http://purl.org/dc/terms/language",
        "@container": "@set"
      }
    }
  ]
}
</sourcecode>
      </figure>
      <t indent="0" pn="section-appendix.a-6">Applying the JSON-LD context of <xref target="jsonld-context" format="default" sectionFormat="of" derivedContent="Figure 20"/> to the link set of <xref target="contextlinkrel" format="default" sectionFormat="of" derivedContent="Figure 19"/> 
                allows transforming the "application/linkset+json" link set to an RDF link set. <xref target="triples" format="default" sectionFormat="of" derivedContent="Figure 21"/> shows 
                the latter represented by means of the "text/turtle" RDF serialization.</t>
      <figure anchor="triples" align="left" suppress-title="false" pn="figure-21">
        <name slugifiedName="name-rdf-serialization-of-the-li">RDF serialization of the linkset resulting from applying the JSON-LD context</name>
        <artwork align="left" pn="section-appendix.a-7.1">
&lt;https://example.com/en/defaultPage&gt; 
        &lt;http://purl.org/dc/terms/format&gt; 
        "text/html" .
&lt;https://example.com/en/defaultPage&gt; 
        &lt;http://purl.org/dc/terms/language&gt; 
        "en" .
&lt;https://example.com/en/defaultPage&gt; 
        &lt;http://purl.org/dc/terms/title&gt;
        "Product information" .
&lt;https://example.com/en/packContents/GB&gt; 
        &lt;http://purl.org/dc/terms/language&gt; 
        "en" .
&lt;https://example.com/en/packContents/GB&gt; 
        &lt;http://purl.org/dc/terms/title&gt; 
        "What's in the box?" .
&lt;https://example.com/fr/defaultPage&gt; 
        &lt;http://purl.org/dc/terms/language&gt; 
        "fr" .
&lt;https://example.com/fr/defaultPage&gt; 
        &lt;http://purl.org/dc/terms/title&gt; 
        "Information produit" .
&lt;https://example.com/fr/packContents/CH&gt; 
        &lt;http://purl.org/dc/terms/language&gt; 
        "fr" .
&lt;https://example.com/fr/packContents/CH&gt; 
        &lt;http://purl.org/dc/terms/title&gt; 
        "Qu'y a-t-il dans la boite?" .
&lt;https://example.com/fr/packContents/FR&gt; 
        &lt;http://purl.org/dc/terms/language&gt; 
        "fr" .
&lt;https://example.com/fr/packContents/FR&gt; 
        &lt;http://purl.org/dc/terms/title&gt; 
        "Qu'y a-t-il dans la boite?" .
&lt;https://id.gs1.org/01/09506000149301&gt; 
        &lt;https://gs1.org/voc/pip&gt; 
        &lt;https://example.com/en/defaultPage&gt; .
&lt;https://id.gs1.org/01/09506000149301&gt; 
        &lt;https://gs1.org/voc/pip&gt; 
        &lt;https://example.com/fr/defaultPage&gt; .
&lt;https://id.gs1.org/01/09506000149301&gt; 
        &lt;https://gs1.org/voc/relatedVideo&gt; 
        &lt;https://video.example&gt; .
&lt;https://id.gs1.org/01/09506000149301&gt; 
        &lt;https://gs1.org/voc/whatsInTheBox&gt; 
        &lt;https://example.com/en/packContents/GB&gt; .
&lt;https://id.gs1.org/01/09506000149301&gt; 
        &lt;https://gs1.org/voc/whatsInTheBox&gt; 
        &lt;https://example.com/fr/packContents/CH&gt; .
&lt;https://id.gs1.org/01/09506000149301&gt; 
        &lt;https://gs1.org/voc/whatsInTheBox&gt; 
        &lt;https://example.com/fr/packContents/FR&gt; .
&lt;https://video.example&gt; 
        &lt;http://purl.org/dc/terms/language&gt; 
        "en" .
&lt;https://video.example&gt; 
        &lt;http://purl.org/dc/terms/language&gt; 
        "fr" .
&lt;https://video.example&gt; 
        &lt;http://purl.org/dc/terms/title&gt; 
        "See it in action!"@en .
&lt;https://video.example&gt; 
        &lt;http://purl.org/dc/terms/title&gt; 
        "Voyez-le en action!"@fr .  
                </artwork>
      </figure>
    </section>
    <section numbered="false" toc="include" removeInRFC="false" pn="section-appendix.b">
      <name slugifiedName="name-acknowledgements">Acknowledgements</name>
      <t indent="0" pn="section-appendix.b-1">Thanks for comments and suggestions provided by <contact fullname="Phil Archer"/>, <contact fullname="Dominique Guinard"/>, <contact fullname="Mark Nottingham"/>, <contact fullname="Julian Reschke"/>, <contact fullname="Rob Sanderson"/>, <contact fullname="Stian Soiland-Reyes"/>, <contact fullname="Sarven Capadisli"/>, and <contact fullname="Addison Phillips"/>.</t>
    </section>
    <section anchor="authors-addresses" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.c">
      <name slugifiedName="name-authors-addresses">Authors' Addresses</name>
      <author initials="E." surname="Wilde" fullname="Erik Wilde">
        <organization showOnFrontPage="true">Axway</organization>
        <address>
          <email>erik.wilde@dret.net</email>
        </address>
      </author>
      <author initials="H." surname="Van de Sompel" fullname="Herbert Van de Sompel">
        <organization showOnFrontPage="true">Data Archiving and Networked Services</organization>
        <address>
          <email>herbert.van.de.sompel@dans.knaw.nl</email>
          <uri>https://orcid.org/0000-0002-0715-6126</uri>
        </address>
      </author>
    </section>
  </back>
</rfc>
