<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE rfc SYSTEM"http://xml.resource.org/authoring/rfc2629.dtd" [ <!ENTITY RFC2119 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml'> <!ENTITY RFC5890 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.5890.xml'> <!ENTITY RFC7230 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.7230.xml'> <!ENTITY RFC7480 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.7480.xml'> <!ENTITY RFC7481 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.7481.xml'> <!ENTITY RFC7482 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.7482.xml'> <!ENTITY RFC7483 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.7483.xml'> <!ENTITY RFC7942 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.7942.xml'> <!ENTITY RFC8174 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.8174.xml'> <!ENTITY RFC8288 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.8288.xml'> ]> <?xml-stylesheet type="text/xsl" href="rfc2629.xslt"?> <?rfc toc="yes"?> <?rfc tocompact="yes"?> <?rfc tocdepth="4"?> <?rfc compact="yes"?> <?rfc subcompact="yes"?> <?rfc sortrefs="yes"?> <?rfc symrefs="yes"?> <?rfc iprnotified="no"?>"rfc2629-xhtml.ent"> <rfc xmlns:xi="http://www.w3.org/2001/XInclude" xml:lang="en" submissionType="IETF" category="std" consensus="true" docName="draft-ietf-regext-rdap-partial-response-16"ipr="trust200902">number="8982" ipr="trust200902" tocInclude="true" tocDepth="4" sortRefs="true" symRefs="true" version="3"> <front> <title abbrev="RDAP Partial Response">Registration Data Access Protocol (RDAP) Partial Response</title> <seriesInfo name="RFC" value="8982"/> <author fullname="Mario Loffredo" initials="M." surname="Loffredo"> <organization>IIT-CNR/Registro.it</organization> <address> <postal> <street>Via Moruzzi,1</street> <city>Pisa</city> <country>IT</country> <code>56124</code> </postal> <email>mario.loffredo@iit.cnr.it</email><uri>http://www.iit.cnr.it</uri><uri>https://www.iit.cnr.it</uri> </address> </author> <author fullname="Maurizio Martinelli" initials="M." surname="Martinelli"> <organization>IIT-CNR/Registro.it</organization> <address> <postal> <street>Via Moruzzi,1</street> <city>Pisa</city> <country>IT</country> <code>56124</code> </postal> <email>maurizio.martinelli@iit.cnr.it</email><uri>http://www.iit.cnr.it</uri><uri>https://www.iit.cnr.it</uri> </address> </author><date/><date year="2021" month="February"/> <area>Applications and Real-Time</area> <workgroup>Registration Protocols Extensions</workgroup> <keyword>RDAP</keyword> <keyword>Partial response</keyword> <abstract> <t>The Registration Data Access Protocol (RDAP) does not include capabilities to request partial responses. Servers will only return full responses that include all of the information that a client is authorized to receive. A partial response capability that limits the amount of information returned, especially in the case of search queries, could bring benefits to both clients and servers. This document describes an RDAP query extension that allows clients to specify their preference for obtaining a partial response.</t> </abstract> </front> <middle> <sectionanchor="introduction" title="Introduction">anchor="introduction"> <name>Introduction</name> <t>The use of partial responses in RESTful API <xref target="REST"/> design is very common. The rationale is quite simple: instead of returning objects in API responses with all data fields, only a subset of the fields in each result object is returned. The benefit is obvious: less data transferred over the network means less bandwidth usage, faster server responses, less CPU time spent both on the server and the client, and less memory usage on the client.</t> <t>Currently, RDAP does not provide a client with any way to request a partial response. Servers can only provide the client with a full response <xref target="RFC7483"/>. Servers cannot limit the amount of information returned in a response based on a client's preferences, and this creates inefficiencies.</t> <t>The protocol described in this specification extends RDAP search capabilities to enable partial responses through the provisioning ofpre-definedpredefined sets of fields that clients can submit to an RDAP service by adding a new query parameter. The service is implemented using the Hypertext Transfer Protocol (HTTP) <xref target="RFC7230"/> and the conventions described in <xref target="RFC7480"/>.</t><section title="Conventions<section> <name>Conventions Used in ThisDocument"> <t>TheDocument</name> <t> The key words"MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY","<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"OPTIONAL""<bcp14>OPTIONAL</bcp14>" in this document are to be interpreted as described inBCP 14BCP 14 <xref target="RFC2119"/> <xref target="RFC8174"/> when, and only when, they appear in all capitals, as shownhere.</t>here. </t> </section> </section> <sectionanchor="rdap-path-segment-specification" title="RDAPanchor="rdap-path-segment-specification"> <name>RDAP Path SegmentSpecification">Specification</name> <t>The path segment defined in this section is anOPTIONAL<bcp14>OPTIONAL</bcp14> extension of search path segments defined in <xref target="RFC7482"/>. This document defines an RDAP query parameter,"fieldSet","fieldSet", whose value is a non-empty string identifying a server-defined set of fields returned in place of the full response. The field sets supported by a server are usually described in out-of-band documents (e.g., RDAP profile) together with other features. Moreover, this document defines in <xref target="rdap-subsetting-metadata"/> an in-band mechanism by means of which servers can provide clients withabasic information about the supported field sets.</t> <t>The following is an example of an RDAP query including the"fieldSet""fieldSet" parameter:</t><t>https://example.com/rdap/domains?name=example*.com&fieldSet=afieldset</t><artwork><![CDATA[ https://example.com/rdap/domains?name=example*.com&fieldSet=afieldset ]]></artwork> <t>This solution can be implemented by RDAP providers with less effort than field selection and is easily requested by clients. The considerations that have led to this solution are described in more detail in <xref target="approaches-to-partial-response-implementation"/>.</t> <sectionanchor="rdap-subsetting-metadata" title="Subsetting Metadata">anchor="rdap-subsetting-metadata"> <name>Subsetting Metadata</name> <t>According to most advanced principles in REST design, collectively known asHATEOAS (Hypermedia"Hypermedia as the Engine of ApplicationState)State" (HATEOAS) <xref target="HATEOAS"/>, a client entering a REST application through an initial URI should use server-provided links to dynamically discover available actions and access the resources it needs. In this way, the client is not required to have prior knowledge of the serviceand,nor, consequently, tohard codehard-code the URIs of different resources. This allows the server to make URI changes as the API evolves without breaking clients. Definitively, a REST service should be as self-descriptive as possible.</t> <t>Therefore, servers implementing the query parameter described in this specificationSHOULD<bcp14>SHOULD</bcp14> provide additional information in their responses about the available field sets. Such information is collected in a new JSON data structure named"subsetting_metadata""subsetting_metadata" containing the following properties:</t><t><list style="symbols"> <t>"currentFieldSet": "String" (REQUIRED) either<dl newline="true"> <dt>"currentFieldSet": "String" (<bcp14>REQUIRED</bcp14>) </dt> <dd>either the value of the"fieldSet""fieldSet" parameter as specified in the query string, or the field set applied bydefault;<vspace blankLines='1'/></t> <t>"availableFieldSets": "AvailableFieldSet[]" (OPTIONAL) andefault. </dd> <dt>"availableFieldSets": "AvailableFieldSet[]" (<bcp14>OPTIONAL</bcp14>) </dt> <dd><t>an array of objects, with each element describing an available field set. The AvailableFieldSet object includes the followingmembers: <list style="symbols"> <t>"name": "String" (REQUIRED) the field set name;</t> <t>"default": "Boolean" (REQUIRED)members:</t> <dl newline="true"> <dt>"name": "String" (<bcp14>REQUIRED</bcp14>) </dt> <dd>the field set name. </dd> <dt>"default": "Boolean" (<bcp14>REQUIRED</bcp14>) </dt> <dd>indicator of whether the field set is applied by default. An RDAP serverMUST<bcp14>MUST</bcp14> define only one default fieldset;</t> <t>"description": "String" (OPTIONAL) aset. </dd> <dt>"description": "String" (<bcp14>OPTIONAL</bcp14>) </dt> <dd>a human-readable description of the fieldset;</t> <t>"links": "Link[]" (OPTIONAL) anset. </dd> <dt>"links": "Link[]" (<bcp14>OPTIONAL</bcp14>) </dt> <dd>an array of links as described in <xref target="RFC8288"/> containing the query string that applies the field set (see <xreftarget="subsetting_links"/>).</t> </list></t> </list></t>target="subsetting_links"/>). </dd> </dl> </dd> </dl> <sectionanchor="rdap-conformance" title="RDAP Conformance">anchor="rdap-conformance"> <name>RDAP Conformance</name> <t>Servers returning the"subsetting_metadata""subsetting_metadata" section in their responsesMUST<bcp14>MUST</bcp14> include"subsetting""subsetting" in the rdapConformance array.</t> </section> <sectionanchor="subsetting_links" title="Representinganchor="subsetting_links"> <name>Representing SubsettingLinks">Links</name> <t>An RDAP serverMAY<bcp14>MAY</bcp14> use the"links""links" array of the"subsetting_metadata""subsetting_metadata" element to provide ready-made references <xref target="RFC8288"/> to the available field sets (<xref target="subset-link-in-response-example"/>). The target URI in each link is the reference to an alternative to the current view of results identified by the context URI.</t> <t>The"value", "rel""value", "rel", and"href""href" JSON valuesMUST<bcp14>MUST</bcp14> be specified. All other JSON values areOPTIONAL.</t><bcp14>OPTIONAL</bcp14>.</t> <figureanchor="subset-link-in-response-example" title="Exampleanchor="subset-link-in-response-example"> <name>Example of a"subsetting_metadata" instance"> <artwork xml:space="preserve"><![CDATA["subsetting_metadata" Instance</name> <sourcecode type="json"><![CDATA[ { "rdapConformance": [ "rdap_level_0", "subsetting" ], ... "subsetting_metadata": { "currentFieldSet": "afieldset", "availableFieldSets": [ { "name": "anotherfieldset", "description": "Contains some fields", "default": false, "links": [ { "value": "https://example.com/rdap/domains?name=example*.com &fieldSet=afieldset", "rel": "alternate", "href": "https://example.com/rdap/domains?name=example*.com &fieldSet=anotherfieldset", "title": "Result Subset Link", "type": "application/rdap+json" } ] }, ... ] }, ... "domainSearchResults": [ ... ] }]]></artwork>]]></sourcecode> </figure> </section> </section> </section> <sectionanchor="rdap-field-set-relationships" title="Dealinganchor="rdap-field-set-relationships"> <name>Dealing withRelationships">Relationships</name> <t>Representation ofsecond levelsecond-level objects within a field set produces additional considerations. Since the representation of the topmost returned objects will vary according to the field set in use, the response may contain no relationships (e.g., for an abbreviated field set) or may contain associated objects as in a normal RDAP query response. Each field set can indicate the format of the additional objects to be returned, in the same manner that the format of the topmost objects is controlled by the field set.</t> </section> <sectionanchor="basic-field-sets" title="Basicanchor="basic-field-sets"> <name>Basic FieldSets">Sets</name> <t>This section defines three basic field setswhichthat serversMAY<bcp14>MAY</bcp14> implement to facilitate their interaction with clients:</t><t><list style="symbols"> <t>"id": the<dl> <dt>"id": </dt> <dd>The server provides only the keyfield: "handle"field; "handle" for entities,"ldhName"and "ldhName" for domains and nameservers. If a returned domain or nameserver is an Internationalized Domain Name (IDN) <xref target="RFC5890"/>, then the"unicodeName""unicodeName" fieldMUST<bcp14>MUST</bcp14> additionally be included in the response. This field set could be used when the client wants to obtain a collection of object identifiers (<xreftarget="fieldSet-id-response-example"/>);<vspace blankLines='1' /></t> <t>"brief": thetarget="fieldSet-id-response-example"/>). </dd> <dt>"brief": </dt> <dd>The field set contains the fields that can be included in a"short""short" response. This field set could be used when the client is asking for a subset of the full responsewhichthat provides only basic knowledge of eachobject;<vspace blankLines='1'/></t> <t>"full": theobject. </dd> <dt>"full": </dt> <dd>The field set contains all of the information the server can provide for a particularobject.</t> </list></t>object. </dd> </dl> <t>The"objectClassName""objectClassName" field is implicitly included in each of the above field sets. RDAP providersSHOULD<bcp14>SHOULD</bcp14> include a"links""links" field indicating the"self""self" link relationship. RDAP providersMAY<bcp14>MAY</bcp14> also add any property providing service information.</t> <t>Fields included in the"brief""brief" and"full""full" field set responsesMUST<bcp14>MUST</bcp14> take into account the user's access and authorization levels.</t> <figureanchor="fieldSet-id-response-example" title="Exampleanchor="fieldSet-id-response-example"> <name>Example of RDAPresponse accordingResponse According to the"id" field set"> <artwork xml:space="preserve">"id" Field Set</name> <sourcecode type="json"> { "rdapConformance": [ "rdap_level_0", "subsetting" ], ... "domainSearchResults": [ { "objectClassName": "domain", "ldhName": "example1.com", "links": [ { "value": "https://example.com/rdap/domain/example1.com", "rel": "self", "href": "https://example.com/rdap/domain/example1.com", "type": "application/rdap+json" } ] }, { "objectClassName": "domain", "ldhName": "example2.com", "links": [ { "value": "https://example.com/rdap/domain/example2.com", "rel": "self", "href": "https://example.com/rdap/domain/example2.com", "type": "application/rdap+json" } ] }, ... ] }</artwork></sourcecode> </figure> </section> <sectionanchor="negative-answers" title="Negative Answers">anchor="negative-answers"> <name>Negative Answers</name> <t>Each request including an empty or unsupported"fieldSet""fieldSet" valueMUST<bcp14>MUST</bcp14> produce an HTTP 400 (Bad Request) response code. Optionally, the responseMAY<bcp14>MAY</bcp14> include additional information regarding the supported field sets in the HTTP entity body (<xref target="field-set-error"/>).</t> <figureanchor="field-set-error" title="Exampleanchor="field-set-error"> <name>Example of RDAPerror response dueError Response Due to aninvalid field set includedInvalid Field Set Included in therequest"> <artwork xml:space="preserve">Request</name> <sourcecode type="json"> { "errorCode": 400, "title": "Field set 'unknownfieldset' is not valid", "description": [ "Supported field sets are: 'afieldset', 'anotherfieldset'." ] }</artwork></sourcecode> </figure> </section> <sectionanchor="IANA-considerations" title="IANA Considerations">anchor="IANA-considerations"> <name>IANA Considerations</name> <t>IANAis requested to registerhas registered the following value in theRDAP Extensions Registry:</t> <t><list style="none"> <t>Extension"RDAP Extensions" registry:</t> <dl spacing="compact"> <dt>Extension identifier:subsetting</t> <t>Registry</dt> <dd>subsetting </dd> <dt>Registry operator:Any</t> <t>Published</dt> <dd>Any </dd> <dt>Published specification:This document.</t> <t>Contact: IETF <iesg@ietf.org></t> <t>Intended</dt> <dd>RFC 8982 </dd> <dt>Contact: </dt> <dd>IETF <iesg@ietf.org> </dd> <dt>Intended usage:This</dt> <dd>This extension describes a best practice for partial responseprovisioning.</t> </list></t> </section> <section anchor="impl-status" title="Implementation Status"> <t>NOTE: Please remove this section and the reference to RFC 7942 prior to publication as an RFC.</t> <t>This section records the status of known implementations of the protocol defined by this specification at the time of posting of this Internet-Draft, and is based on a proposal described in <xref target="RFC7942"/>. The description of implementations in this section is intended to assist the IETF in its decision processes in progressing drafts to RFCs. Please note that the listing of any individual implementation here does not imply endorsement by the IETF. Furthermore, no effort has been spent to verify the information presented here that was supplied by IETF contributors. This is not intended as, and must not be construed to be, a catalog of available implementations or their features. Readers are advised to note that other implementations may exist.</t> <t>According to RFC 7942, "this will allow reviewers and working groups to assign due consideration to documents that have the benefit of running code, which may serve as evidence of valuable experimentation and feedback that have made the implemented protocols more mature. It is up to the individual working groups to use this information as they see fit".</t> <section anchor="iit-cnr-registro-it" title="IIT-CNR/Registro.it"> <t><list style="none"> <t>Responsible Organization: Institute of Informatics and Telematics of the National Research Council (IIT-CNR)/Registro.it</t> <t>Location: https://rdap.pubtest.nic.it/</t> <t>Description: This implementation includes support for RDAP queries using data from .it public test environment.</t> <t>Level of Maturity: This is an "alpha" test implementation.</t> <t>Coverage: This implementation includes all of the features described in this specification.</t> <t>Contact Information: Mario Loffredo, mario.loffredo@iit.cnr.it</t> </list></t> </section> <section anchor="apnic" title="APNIC"> <t><list style="none"> <t>Responsible Organization: Asia-Pacific Network Information Centre</t> <t>Location: https://github.com/APNIC-net/rdap-rmp-demo/tree/partial-response</t> <t>Description: A proof-of-concept for RDAP mirroring.</t> <t>Level of Maturity: This is a proof-of-concept implementation.</t> <t>Coverage: This implementation includes all of the features described in this specification.</t> <t>Contact Information: Tom Harrison, tomh@apnic.net</t> </list></t> </section>provisioning. </dd> </dl> </section> <sectionanchor="security-considerations" title="Security Considerations">anchor="security-considerations"> <name>Security Considerations</name> <t>A search query typically requires more server resources (such as memory, CPU cycles, and network bandwidth) when compared to a lookup query. This increases the risk of server resource exhaustion and subsequent denial of service. This risk can be mitigated by supporting the return of partial responses combined with other strategies(e.g.(e.g., restricting search functionality, limiting the rate of search requests, and truncating and paging results).</t> <t>Support for partial responses gives RDAP operators the ability to implement data access control policies based on the HTTP authentication mechanisms described in <xref target="RFC7481"/>. RDAP operators can vary the information returned in RDAP responses based on a client's access and authorization levels. For example:</t><t><list style="symbols"><ul> <li> <t>the list of fields for each set can differ based on the client's access and authorizationlevels;<vspace blankLines='1' /></t> <t>thelevels;</t> <t/> </li> <li>the set of available field sets could be restricted based on the client's access and authorizationlevels.</t> </list></t>levels.</li> </ul> <t>Servers can also define different result limits according to the available field sets, so a more flexible truncation strategy can be implemented. The new query parameter presented in this document provides RDAP operators with a way to implement a server that reduces inefficiency risks.</t> </section> </middle> <back><references title="Normative References"> &RFC2119; &RFC5890; &RFC7230; &RFC7480; &RFC7481; &RFC7482; &RFC7483; &RFC7942; &RFC8174; &RFC8288;<references> <name>References</name> <references> <name>Normative References</name> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.5890.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7230.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7480.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7481.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7482.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7483.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8288.xml"/> </references><references title="Informative References"><references> <name>Informative References</name> <referenceanchor='CQL' target='https://github.com/gregwhitaker/catnap/wiki/Catnap-Query-Language-Reference'>anchor="CQL" target="https://github.com/gregwhitaker/catnap/wiki/Catnap-Query-Language-Reference"> <front> <title>Catnap Query Language Reference</title> <authorinitials='G.' surname='Whitaker' fullname='Greg Whitaker'>initials="G." surname="Whitaker" fullname="Greg Whitaker"> </author> <dateyear='2017' month='September' />year="2017" month="September"/> </front> <refcontent>commit d4f402c</refcontent> </reference> <referenceanchor='HATEOAS' target='https://www.e4developer.com/2018/02/16/hateoas-simple-explanation/'>anchor="HATEOAS" target="https://www.e4developer.com/2018/02/16/hateoas-simple-explanation/"> <front> <title>HATEOAS - a simple explanation</title> <authorinitials='B.' surname='Jedrzejewski' fullname='Bartosz Jedrzejewski'>initials="B." surname="Jedrzejewski" fullname="Bartosz Jedrzejewski"> </author> <dateyear='2018'/>month="February" year="2018"/> </front> </reference> <referenceanchor='REST' target='http://www.ics.uci.edu/~fielding/pubs/dissertation/fielding_dissertation.pdf'>anchor="REST" target="https://www.ics.uci.edu/~fielding/pubs/dissertation/fielding_dissertation.pdf"> <front> <title>Architectural Styles and the Design of Network-based Software Architectures</title> <authorinitials='R.' surname='Fielding' fullname='Royinitials="R." surname="Fielding" fullname="Roy ThomasFielding'> <organization>PH.D. DISSERTATION, UNIVERSITY OF CALIFORNIA, IRVINE</organization>Fielding"> </author> <dateyear='2000'/>year="2000"/> </front> <refcontent>Ph.D. Dissertation, University of California, Irvine</refcontent> </reference> </references> </references> <sectionanchor="approaches-to-partial-response-implementation" title="Approachesanchor="approaches-to-partial-response-implementation"> <name>Approaches to Partial ResponseImplementation">Implementation</name> <t>Looking at the implementation experiences of partialresponseresponses offered by data providers on the web, two approaches are observed:</t><t><list style="symbols"><ul> <li> <t>the client explicitly describes the data fields to bereturned;<vspace blankLines='1' /></t> <t>thereturned;</t> <t/> </li> <li>the client describes a name identifying a server-defined set of datafields.</t> </list></t>fields.</li> </ul> <t>The former is more flexible than the latter because clients can specify all the data fields they need. However, it has some drawbacks:</t><t><list style="symbols"> <t>fields<ul> <li> <t>Fields have to be declared according to a given syntax. This is a simple task when the data structure of the object is flat, but it is much more difficult when the object has a tree structure like that of a JSON object. The presence of arrays and deep nested objects complicate both the syntax definition of the query and, consequently, the processing required on the serverside;<vspace blankLines='1' /></t> <t>clientsside.</t> <t/> </li> <li> <t>Clients need to recognize the returned data structure to avoid cases when the requested fields areinvalid;<vspace blankLines='1' /></t> <t>theinvalid.</t> <t/> </li> <li>The request of some fields might not match the client's access and authorization levels. Clients might request unauthorizedfieldsfields, and servers have to define a strategy forresponding,responding such as always returning an error response or returning a response that ignores the unauthorizedfields.</t> </list></t>fields.</li> </ul> <sectionanchor="specific-issues-in-rdap" title="Specificanchor="specific-issues-in-rdap"> <name>Specific Issues Raised byRDAP">RDAP</name> <t>In addition to those listed above, RDAP responses raise some specific issues:</t><t><list style="symbols"> <t>relevant<ul> <li> <t>Relevant entity object information is included in a jCard, but such information cannot be easily selected because it is split into the items of a jaggedarray;<vspace blankLines='1' /></t> <t>RDAParray.</t> <t/> </li> <li>RDAP responses contain some properties providing service information(e.g.(e.g., rdapConformance, links, notices, remarks,etc.)etc.), which are not normally selected buttheyare just as important. They could be returned anyway but, in this case, the server would provide unrequesteddata.</t> </list></t>data.</li> </ul> <t>It is possible to address these issues. For example, the Catnap Query Language <xref target="CQL"/> is a comprehensive expression language that can be used to customize the JSON response of a RESTful web service. Application of CQL to RDAP responses would explicitly identify the output fields that would be acceptable when a few fields are requested but it would become very complicated when processing a larger number of fields. In the following, two CQL expressions for a domain search query are shown (<xref target="cql-example"/>). In the first, only objectClassName and ldhName are requested. In the second, the fields of a possible WHOIS-like response are listed.</t> <figureanchor="cql-example" title="Examplesanchor="cql-example"> <name>Examples of CQLexpressionsExpressions for adomain search query"> <artwork xml:space="preserve"><![CDATA[Domain Search Query</name> <sourcecode type="http-message"><![CDATA[ https://example.com/rdap/domains?name=example*.com &fields=domainSearchResults(objectClassName,ldhName) https://example.com/rdap/domains?name=example*.com &fields=domainSearchResults(objectClassName,ldhName, unicodeName, status, events(eventAction,eventDate), entities(objectClassName,handle,roles), nameservers(objectClassName,ldhName))]]></artwork>]]> </sourcecode> </figure> <t>The field set approach seems to facilitate RDAP interoperability. Servers can define basic field setswhich,that, if known to clients, can increase the probability of obtaining a valid response. The usage of field sets makes the query stringbeless complex. Moreover, the definition ofpre-definedpredefined sets of fields makes it easier to establish result limits.</t> <t>Finally, considering that there is no real need for RDAP users to have the maximum flexibility in defining all the possible sets of logically connected fields(e.g.(e.g., users interested in domains usually need to know the status, the creation date, and the expiry date of each domain), the field set approach is preferred.</t> </section> </section> <sectiontitle="Acknowledgements" numbered="no">numbered="false"> <name>Acknowledgements</name> <t>The authors would like to acknowledgeScott Hollenbeck, Tom Harrison, Karl<contact fullname="Scott Hollenbeck"/>, <contact fullname="Tom Harrison"/>, <contact fullname="Karl HeinzWolf, Jasdip Singh, Patrick Mevzek, Benjamin Kaduk, Roman Danyliw, Murray Kucherawy, Erik Kline and Robert WiltonWolf"/>, <contact fullname="Jasdip Singh"/>, <contact fullname="Patrick Mevzek"/>, <contact fullname="Benjamin Kaduk"/>, <contact fullname="Roman Danyliw"/>, <contact fullname="Murray Kucherawy"/>, <contact fullname="Erik Kline"/>, and <contact fullname="Robert Wilton"/> for their contribution to this document.</t></section> <section title="Change Log" numbered="no"> <t> <list style="hanging"> <t hangText="00:">Initial working group version ported from draft-loffredo-regext-rdap-partial-response-03</t> <t hangText="01:">Removed "FOR DISCUSSION" items. Changed the basic field sets from REQUIRED to OPTIONAL. Removed the definition of fields included in "brief" field set. Provided a more detailed description of "subsetting_metadata" structure. Removed some references.</t> <t hangText="02:">Added the "Negative Answers" section. Changed "IANA Considerations" section.</t> <t hangText="03:">Added the "unicodeName" field in the id fieldSet when a returned domain or nameserver is an IDN. Added RFC5890 to "Normative References" section.</t> <t hangText="04:">Recommended the RDAP providers to include a "self" link in any field set other than "full". Updated "Acknowledgements" section.</t> <t hangText="05:">Moved "Approaches to Partial Response Implementation" section to the appendix.</t> <t hangText="06:">Clarified the use of self links in "Basic Field Sets" section. Added APNIC to the implementations of the "Implementation Status" section.</t> <t hangText="07:">Changed "only a subset is returned" to "only a subset of fields in each result object is returned" in the "Introduction" section. Moved the "RDAP Conformance" section up in the document. Updated the "Acknowledgements" section.</t> <t hangText="08:">Changed the rdapConformance tag "subsetting_level_0" to "subsetting". Moved <xref target="RFC7942"/> to the "Normative References".</t> <t hangText="09:">Corrected the "rdapConformance" content in <xref target="fieldSet-id-response-example"/>.</t> <t hangText="10:">Corrected the JSON content in <xref target="subset-link-in-response-example"/>. Clarified the meaning of both context and target URIs in a result subset link defined in <xref target="subsetting_links"/>. Updated the "Acknowledgements" section.</t> <t hangText="11:">Minor pre-AD review edits.</t> <t hangText="12:">Additional minor pre-AD review edits.</t> <t hangText="13:">Edits due to Gen-ART review: in the first paragraph of <xref target="rdap-path-segment-specification"/> clarified how field sets are defined by a server, in the first sentence of <xref target="negative-answers"/> replaced SHOULD with MUST. Other minor edits due to AD review.</t> <t hangText="14:">Edits due to IESG review: <list style="symbols"> <t>replaced "fewer data transferred" with "less data transferred" in the "Introduction" section;</t> <t>in the "Subsetting Metadata" section: <list style="symbols"> <t>replaced the phrase "collected in a new data structure" with the phrase "collected in a new JSON data structure";</t> <t>replaced "Members are:" with "The AvailableFieldSet object includes the following members:";</t> <t>clarified that an RDAP server MUST define only one default field set;</t> </list> </t> <t>clarified the required members of a Link object in the "Representing Subsetting Links" section;</t> <t>rewritten the "Dealing with Relationships" section;</t> <t>in the "Basic Field Sets" section: <list style="symbols"> <t>replaced the phrase "include a 'self' link in each field set" with the phrase "include a 'links' field indicating the 'self' link relationship";</t> <t>replaced the phrase "'unicodeName' field MUST be included" with the phrase "'unicodeName' field MUST additionally be included";</t> </list> </t> <t>in the "Negative Answers" section: <list style="symbols"> <t>replaced the phrase "the response MAY include additional information regarding the negative answer" with the phrase "the response MAY include additional information regarding the supported field sets";</t> <t>added a new example;</t> </list> </t> <t>replaced the phrase "and subsequent denial of service due to abuse" with the phrase "and subsequent denial of service" in "Security Considerations" section;</t> <t>corrected the [REST] reference in the "Informative References" section;</t> <t>in "Appendix A": <list style="symbols"> <t>added the phrase " offered by data providers on the web" after the phrase "Looking at the implementation experiences of partial response";</t> <t>replaced the phrase "servers should define a strategy" with the phrase "servers have to define a strategy";</t> <t>replaced the term "latter approach" with the term "field set approach" in the "Appendix A.1" section;</t> </list> </t> <t>updated the "Acknowledgements" section.</t> </list></t> <t hangText="15:">Minor edit in the "Appendix A.1" section;</t> <t hangText="16:">Changed a figure containing only an RDAP query into text. Made the RDAP queries uniform. Other minor edits.</t> </list> </t></section> </back> </rfc>