| Internet-Draft | JSON for RPP | November 2026 |
| Wullink & Kowalik | Expires 6 May 2027 | [Page] |
This document defines the rules for representing the RESTful Provisioning Protocol (RPP) data objects using the JavaScript Object Notation (JSON) Data Interchange Format. It specifies how RPP primitive types, common data types, Component Objects, Data Objects, and associations are mapped to JSON and JSON Schema, and provides normative JSON Schema definitions and examples for the RPP Data Objects, the representation of update requests, and an extension framework.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 6 May 2027.¶
Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) 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.¶
The RESTful Provisioning Protocol (RPP) defines a set of data objects for managing registry resources, such as domain names, contacts, hosts, organisations, and users. The data model is defined in [I-D.ietf-rpp-data-objects] independently of any particular representation format. This document defines the JSON [RFC8259] representation of those data objects.¶
JSON has emerged as the de facto standard data format for modern RESTful APIs. Its widespread adoption across tools, libraries, and developer communities makes it well suited as the primary representation format for RPP. This document provides the normative rules and JSON Schema definitions required for implementations to produce and consume RPP messages in JSON.¶
The separation between the abstract data model and its concrete JSON representation ensures that the protocol's semantic foundation remains stable while enabling the adoption of JSON across diverse deployment environments.¶
The RESTful Provisioning Protocol (RPP) introduces a new provisioning mechanism that aligns more closely with modern cloud infrastructure, enhancing the scalability of server deployments. While RESTful protocols do not mandate a specific media type for resource description, the widespread adoption of JSON in web services has established it as the de facto standard for modern APIs. The increasing availability of tools, software libraries, and a skilled workforce has led several registries to adopt JSON for data exchange within their API ecosystems. Registries supporting JSON can offer a unified API ecosystem that extends beyond domain name and IP address provisioning, maintaining a consistent technology stack, data formats, and developer experience.¶
JSON's syntax, known for its straightforwardness and minimal verbosity, significantly eases the tasks of writing, reading, and maintaining code. This simplicity is especially advantageous for the rapid comprehension and integration of provisioning APIs.¶
The lightweight nature of JSON can result in faster processing and data transfers, a critical aspect in high-volume transaction environments such as domain registration. Enhanced API response times can lead to more efficient domain lookups, registrations, and updates. JSON parsing is typically fast and well-supported by standard libraries, contributing to improved system performance amid frequent interactions between RPP clients and servers.¶
However, the absence of a standardised JSON format for domain provisioning has led to the emergence of TLD-specific implementations that lack interoperability, increasing the development effort required for integration. Similarly, at the registrar level, the absence of standards has resulted in numerous incompatible API implementations provided to clients and resellers. Standardising a JSON format for domain provisioning within the RPP framework could mitigate these challenges, reducing fragmentation and simplifying integration efforts across the domain registration industry.¶
In this document, the following terminology is used.¶
Terms of the RPP data model, such as Data Object, Component Object, Process Object, Common Data Type, data element, cardinality, mutability, Identifier, Unique Identifier, Input Data Element, Parameter, Visibility, Direct Access, Input, Output, Reference, Owner Data Object, and This Object, are used as defined in [I-D.ietf-rpp-data-objects].¶
RPP Data Objects - The abstract data model definitions of the objects provisioned and exchanged with RPP, as specified in [I-D.ietf-rpp-data-objects].¶
RESTful Provisioning Protocol - A RESTful protocol for provisioning heterogeneous database objects.¶
JSON Schema - A vocabulary that allows annotation and validation of JSON documents, as described in [I-D.ietf-jsonschema-json-schema].¶
EPP Compatibility Profile - A set of additional constraints defined in [I-D.ietf-rpp-data-objects] that a server MUST adhere to when supporting both RPP and EPP concurrently.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119].¶
JSON is case sensitive. Unless stated otherwise, JSON specifications and examples provided in this document MUST be interpreted in the character case presented. The examples in this document assume that request and response messages are properly formatted JSON documents. Indentation and white space in examples are provided only to illustrate element relationships and for improving readability, and are not REQUIRED features of the protocol.¶
All JSON Schema definitions in this document use JSON Schema draft 2020-12 [I-D.ietf-jsonschema-json-schema], and where not provided with a $schema keyword, the following default applies:¶
"$schema": "https://json-schema.org/draft/2020-12/schema"¶
This section defines the normative rules for representing the RPP data model in JSON. The data model defines all primitive types, common data types, component objects, resource objects, and associations independently of any concrete representation format. The rules in this section specify how those abstract definitions map to JSON and JSON Schema version 2020-12.¶
RPP primitive types MUST be represented in JSON as follows:¶
| RPP Primitive Type | JSON Type | Notes |
|---|---|---|
| String |
string
|
Unicode character sequence |
| Integer |
number
|
Whole number, positive or negative |
| Boolean |
boolean
|
true or false
|
| Decimal |
string
|
Base-10 fractional value with exact representation within a defined precision. Number is encoded into string same as "number" in [RFC8259] without exponent part "ext". |
| Date |
string
|
Full-date as per [RFC3339], e.g. "2025-10-27"
|
| Timestamp |
string
|
Date-time in UTC as per [RFC3339], e.g. "2025-10-27T09:42:51Z"
|
| URL |
string
|
Uniform Resource Locator as per [RFC1738] |
| Binary |
string
|
Base64-encoded binary data |
A data element can have no defined value, for example when the value is NULL in the server's database or has never been set. The JSON null value must not be used to represent an undefined value, a JSON Schema type such as "type": "string" does not allow null.¶
An undefined value of a primitive type data element must not be rendered, the property must be omitted from the JSON object. An array data element with cardinality 0+ that has no values may be rendered as an empty array ([]) or may be omitted from the JSON object. Consumers must treat both representations as equivalent.¶
Example: a domain name for which the primitive type data element expiryDate is undefined and not rendered, the array data element nameservers has no values, with nameservers rendered as an empty array:¶
{
"@type": "domainName",
"name": "example.example",
"provMetadata": {
"@type": "provMetadata",
"spClientId": "ClientX"
},
"nameservers": []
}
¶
The same domain name with the nameservers array omitted is equivalent:¶
{
"@type": "domainName",
"name": "example.example",
"provMetadata": {
"@type": "provMetadata",
"spClientId": "ClientX"
}
}
¶
The cardinality of each data element in the RPP data model MUST be represented as follows in JSON:¶
A data element with cardinality 1 (exactly one) MUST be represented as a JSON property and MUST be present in the containing JSON object. The element MUST be listed under required in the corresponding JSON Schema.¶
{
"type": "object",
"properties": {
"name": { "type": "string" }
},
"required": ["name"]
}
¶
A data element with cardinality 0-1 (zero or one) MUST be represented as an optional JSON property. The element MUST NOT be listed under required in the corresponding JSON Schema. When absent, the element MUST be omitted from the JSON object (not represented as null).¶
{
"type": "object",
"properties": {
"expiryDate": { "type": "string", "format": "date-time" }
}
}
¶
A data element with cardinality 0+ (zero or more) MUST be represented as an optional JSON array. When no values are present, the property MUST be omitted or represented as an empty array.¶
{
"type": "object",
"properties": {
"status": {
"type": "array",
"items": { "$ref": "#/$defs/domainStatus.read" }
}
}
}
¶
A data element with cardinality 1+ (one or more) MUST be represented as a required JSON array with "minItems": 1 and the element MUST be listed under required in the corresponding JSON Schema.¶
{
"type": "object",
"properties": {
"records": {
"type": "array",
"items": { "$ref": "#/$defs/dnsRecord.read" },
"minItems": 1
}
},
"required": ["records"]
}
¶
Data elements in the RPP data model carry a mutability attribute: create-only, read-write, or read-only. Which of them an object representation contains follows from the Input and Output of the operation:¶
onDemand and the client did not request it, or when authorisation or server policy withholds it.¶
create-only and read-write data elements. For a Component Object or an Aggregation object creation can take place in create or update operation on the containing object, when a value is set or added.¶
read-write data elements.¶
Input Data Elements and Parameters are not data elements of the object, have no mutability, and are not subject to the following rules.¶
Data elements with mutability read-only MUST be annotated with "readOnly": true in the JSON Schema and MUST NOT be part of any request view.¶
{
"repositoryId": {
"type": "string",
"readOnly": true
}
}
¶
Data elements with mutability create-only MUST be annotated with "writeOnly": true in request schemas and MUST NOT be part of the update view.¶
Data elements with mutability read-write have no additional annotation.¶
A server MUST reject a request whose content contains a data element that is not allowed in that request, such as a read-only data element or a create-only data element of an existing object. With the enrichment required by Undeclared Properties, such a request fails JSON Schema validation.¶
The RPP data model defines several association types between objects, the following rules specify their JSON representations. An Aggregation represents a relationship between two independent objects, where one object references another. A Composition represents a parent-child relationship where the child object is embedded within the parent object and cannot exist independently.¶
Some associations between objects carry a string label that provides additional context for the relationship. The label is not an identifier of the target object, but rather a descriptor of the association itself. Labelled associations can occur in both aggregations and compositions. When representing labelled associations in JSON, the property label MUST be included alongside the reference to the target object. A property with the name object MUST be used to contain the reference to the target object, which can be either a limited representation containing at minimum the Unique Identifier of the target object for aggregations or an embedded object for compositions.¶
An Aggregation[Type] represents a relationship between two independent objects. The referenced object is identified by its Unique Identifier. When the cardinality allows more than one target, it MUST be represented as a JSON array. Each element of the array is a limited representation of the referenced object, as specified below.¶
Aggregation[Type] with cardinality 0+ or 1+ MUST be represented as a JSON array of embedded objects. Each object in the array MUST include the data elements of the referenced object type that are relevant to the context (at minimum the Unique Identifier). Other data elements of the referenced object type MAY be included as needed to provide additional context for the client, but are not required. The JSON Schema MUST allow for the presence of these additional fields.¶
Example: domain nameservers (Aggregation[Host Data Object]) in a read response, returning a limited object representation containing only the Unique Identifier hostName:¶
{
"@type": "domainName",
"name": "name.example",
"nameservers": [
{ "@type": "host", "hostName": "ns1.name.example" },
{ "@type": "host", "hostName": "ns2.name.example" }
]
}
¶
A Type represents a parent-child relationship where the child's lifecycle is bound to the parent and the child cannot exist independently of the parent. In JSON, the child object MUST be fully embedded within the parent object.¶
{
"@type": "domainName",
"name": "name.example",
"nameservers": [
{
"@type": "host",
"hostName": "ns1.name.example",
"provMetadata": {
"@type": "provMetadata",
"repositoryId": "NS1-REP",
"spClientId": "ClientX"
},
"status": [ { "@type": "hostStatus", "label": "ok" } ],
"dns": {
"@type": "dnsData",
"records": [
{
"@type": "dnsRecord",
"name": "@",
"type": "ns",
"rdata": { "nsdname": "ns1.name.example." }
},
{
"@type": "dnsRecord",
"name": "ns1.name.example.",
"type": "a",
"rdata": { "address": "192.0.2.1" }
}
]
}
}
]
}
¶
A LabelledAggregation[Type] is a relationship between two independent objects where each association carries a string label. Multiple associations with the same label are allowed.¶
LabelledAggregation[Type] with cardinality 0+ MUST be represented as a JSON array of objects. Each object in the array MUST contain a label property (string) alongside the identifier of the referenced object. The object MUST include at least the Unique Identifier of the referenced object type. Other data elements of the referenced object type MAY be included as needed to provide additional context for the client, but are not required. The JSON Schema MUST allow for the presence of these additional fields.¶
Example: domain contacts (LabelledAggregation[Contact Object]):¶
"contacts": [
{
"label": "admin",
"object": {
"@type": "contact",
"id": "ABC-8013"
}
},
{
"label": "tech",
"object": {
"@type": "contact",
"id": "ABC-8014"
}
}
]
¶
A DictionaryAggregation[Type] is a relationship between two independent objects where each association carries a unique string label that serves as a dictionary key.¶
DictionaryAggregation[Type] MUST be represented as a JSON object where each key is the unique label and the corresponding value is the referenced object, the object MUST include at least the Unique Identifier of the referenced object type. Other data elements of the referenced object type MAY be included as needed to provide additional context for the client, but are not required. The JSON Schema MUST allow for the presence of these additional fields.¶
Example: domain contacts keyed by unique role (DictionaryAggregation[Contact Object]):¶
"contacts": {
"admin": {
"@type": "contact",
"id": "ABC-8013"
},
"tech": {
"@type": "contact",
"id": "ABC-8014"
}
}
¶
A LabelledComposition[Type] is a parent-child relationship where each embedded child carries a string label. Multiple instances with the same label are allowed.¶
LabelledComposition[Type] with cardinality 0+ MUST be represented as a JSON array of embedded objects. Each object in the array MUST contain a label property alongside the data elements of the composed type.¶
Example: remarks (LabelledComposition[Remark Object]):¶
"remarks": [
{
"label": "public",
"object": {
"@type": "remark",
"description": "This domain is used for test purposes."
}
},
{
"label": "private",
"object": {
"@type": "remark",
"description": "Internal note for the sponsoring client."
}
}
]
¶
A DictionaryComposition[Type] is a parent-child relationship where each embedded child carries a unique string label used as a dictionary key.¶
DictionaryComposition[Type] MUST be represented as a JSON object where each key is the unique label and the corresponding value is the fully embedded child object.¶
Example: remarks keyed by scope (DictionaryComposition[Remark Object]):¶
"remarks": {
"public": {
"@type": "remark",
"description": "This domain is used for test purposes."
},
"private": {
"@type": "remark",
"description": "Internal note for the sponsoring client."
}
}
¶
When a resource or component object is referenced by identifier (for example in an aggregation), the identifier MUST be represented as a JSON string using the value of the object's primary identifier data element.¶
When a resource or component object is embedded (as in a composition), all data elements of the object MUST be represented as properties of a JSON object according to the rules of this section.¶
RPP data objects may include data elements whose types are defined by external specifications (e.g., JSContact in [RFC9553]). When embedding a value of an externally defined type into a JSON representation, the following rules apply, in order of preference:¶
If the external type has a native JSON representation (i.e., the external specification defines how the type is represented using the JSON format), the value MUST be embedded as a valid JSON element using the native JSON representation defined by that specification.¶
If the external type does not have a native JSON representation but has a native UTF-8 encoded text representation, the value MUST be embedded as a JSON string using the UTF-8 encoding.¶
If the external type has neither a native JSON nor a native UTF-8 text representation, the binary representation of the value MUST be Base64-encoded ([RFC4648], Section 4) and embedded as a JSON string.¶
As defined in [I-D.ietf-rpp-core], a uniform interface operation MAY require process data in addition to the object representation data. This section defines how such process data MUST be represented in JSON when transmitted together with the object representation in a single request body.¶
Process data accompanying a uniform interface operation MUST be represented using the processes data element of the owning resource object (see Processes Object), following the Aggregation rules for the corresponding process type (for example createProcess for creation-specific inputs). Each embedded process object MUST be a valid JSON representation of the process object. This applies uniformly regardless of whether the resource object already exists.¶
Example: a domain create request body carrying a two-year registration period as process data embedded in a createProcess process object under processes:¶
{
"@type": "domainName",
"name": "example.example",
"nameservers": [
{ "@type": "host", "hostName": "ns1.example.example" },
{ "@type": "host", "hostName": "ns2.example.example" }
],
"processes": {
"@type": "processes",
"createProcess": [
{
"@type": "createProcess",
"period": {
"@type": "period",
"value": 2,
"unit": "y"
}
}
]
}
}
¶
Each RPP component object and resource object MUST have a corresponding JSON Schema definition. Object definitions MUST be placed in the $defs keyword of the JSON Schema document.¶
Identifier fields MUST use "type": "string" in JSON Schema.¶
Enumeration constraints on string fields MUST be expressed using the "enum" keyword in JSON Schema.¶
Example (Transfer Status enum):¶
"trStatus": {
"type": "string",
"enum": ["pending", "clientApproved", "clientCancelled",
"clientRejected", "serverApproved", "serverCancelled"]
}
¶
Each JSON Schema definition for an RPP object MUST include a "required" array listing all data elements with cardinality 1 or 1+.¶
JSON Schema definitions for extendible RPP objects MUST NOT use "additionalProperties": false or "unevaluatedProperties": false. However, before validation, schemas on every property level MUST be enriched with "unevaluatedProperties": false property to prevent the presence of undeclared properties in JSON instances. JSON Schemas for Object type MAY use "additionalProperties": true to allow for free key definition.¶
Every RPP object representation MUST include a "@type" property whose value is the object's identifier as registered in the IANA RPP Data Object Registry. This property enables identification and allows clients and servers to unambiguously determine the type of an object. The "@type" property MUST be included in the JSON Schema "properties" object for each RPP object definition with a "const" constraint fixing the value to the object's registered identifier. The "@type" property MUST be listed in the "required" array of the corresponding JSON Schema definition.¶
Example (Domain Name Data Object):¶
{
"@type": "domainName",
"name": "example.example"
}
¶
The JSON Schema definitions of all RPP objects MUST be located in a single shared $defs object at the top level of the RPP schema document. A schema that refers to another definition MUST use the $ref keyword with a JSON Pointer fragment to the definition in the shared $defs object.¶
The key of a definition in the shared $defs object MUST be formed as follows, using the Identifiers of the data model unchanged:¶
. and the name of the view. An object that extends another object uses its own Identifier, not the Identifier of the object it extends.¶
The view names are:¶
create: the request content of the Create operation.¶
read: the object representation returned in responses.¶
update: the request content of the Update operation.¶
reference: the limited representation of an aggregated object (see Aggregation), containing @type and the object's Unique Identifier.¶
query: the response content of the Query operation, typically an array of read views.¶
.output: the response content of an operation, other than Read and Query, whose output is not an existing view of the object.¶
A Component Object has a read view. A Component Object that has at least one data element with mutability create-only or read-write also has a create view. A Component Object has no other views.¶
A view that holds request content MUST reference the create view of an embedded Component Object. A view that holds response content MUST reference the read view of an embedded Component Object.¶
Each key MUST be unique within the shared $defs object. Common Data Types and types defined by an external specification are not subject to this rule. They MAY use a key that is not derived from an RPP Identifier.¶
A schema that refers to another component object or data object MUST use the $ref keyword with a JSON Pointer fragment to the definition in the shared $defs object, for example { "$ref": "#/$defs/period.create" }.¶
The final RPP schema document, containing the shared $defs object with all sub-schemas, MUST have an $id keyword whose value is an absolute URI without a fragment, serving as the stable identifier of the complete RPP schema document.¶
Example (structure of the final RPP schema document):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:ietf:params:rpp:schema:json-1.0",
"$defs": {
"period.create": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "period" },
"value": { "type": "integer" },
"unit": { "type": "string", "enum": ["y", "m"] }
},
"required": ["@type", "value", "unit"]
},
"domainCreateProcess.create": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "domainCreateProcess" },
"period": { "$ref": "#/$defs/period.create" }
},
"required": ["@type"]
}
}
}
¶
Each status object has a status values table whose "Set By" column identifies the entity that adds and removes each status value: client, server, or client, server. In this section, a client-settable status value is a value whose "Set By" column contains client.¶
The read view of a status object lists all of its status values in the "enum" of "label". Its create view lists only the client-settable status values in the "enum" of "label".¶
When a status object has no client-settable status value, the create and update views of the Data Object MUST NOT contain the status data element.¶
When the status values of a status object state that a client is not required to provide a status value when creating or updating the object, the status data element MUST NOT be listed under "required" and MUST NOT carry "minItems" in the create and update views, notwithstanding Cardinality Rules and JSON Schema Definition Rules.¶
When the status values of a status object state that a server MUST assign at least one status value to the object, the status data element MUST be listed under "required" in the read view, with "minItems": 1 when it is an array.¶
RPP Data Objects and Component Objects MAY inherit the data elements and operations of another object. The JSON Schema for an object must include all the inherited data elements and constraints from its base object, using a flat structure where all properties are defined at the top level of the schema, rather than nested under an "allOf" or "anyOf" construct.¶
Example: a Shape Object with the data elements name (cardinality 1) and colour (cardinality 0-1), and a Circle Object that extends it with the additional data element radius (cardinality 1).¶
JSON Schema of the base Shape Object:¶
{
"$defs": {
"shape": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "shape" },
"name": { "type": "string" },
"colour": { "type": "string" }
},
"required": ["@type", "name"]
}
}
}
¶
JSON Schema of the Circle Object, which defines the inherited name and colour properties at the top level alongside its own radius property, without referencing the Shape Object schema using "allOf":¶
{
"$defs": {
"circle": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "circle" },
"name": { "type": "string" },
"colour": { "type": "string" },
"radius": { "type": "integer" }
},
"required": ["@type", "name", "radius"]
}
}
}
¶
Example Circle Object instance:¶
{
"@type": "circle",
"name": "my-circle",
"colour": "red",
"radius": 10
}
¶
RPP profiles, such as the EPP Compatibility Profile, may impose additional constraints on top of the base RPP data model. These additional constraints MUST be enforced by implementations through validation rules that go beyond what can be expressed in JSON Schema. Such validation rules MUST be clearly documented in the profile specification and implemented by both clients and servers when operating under that profile. For example, the EPP Compatibility Profile requires that certain fields be present in specific object types, and that certain identifier fields conform to EPP syntax rules. These constraints cannot be fully captured in JSON Schema and therefore require additional validation logic in implementations.¶
JSON representations for update operations follow specific rules to ensure consistency and correctness. There are two types of update operations: full updates and partial updates.¶
A full update operation replaces the entire state of a resource object with the new representation provided in the request, all required properties MUST be included in the new representation.¶
A partial update operation allows clients to update specific properties of a resource object, while leaving other properties unchanged.
A partial update MUST use JSON Patch [RFC6902], extended with a match property for matching array elements. The match property is not part of [RFC6902]; it is introduced and defined in this document (see Section 5.2.1).¶
The request body of a partial update is a JSON array of patch operations, see Section 5.3. Each patch operation consists of an op (the operation), a path (a JSON Pointer to the property the operation targets), a value (the new value, for add and replace), and optionally a match (to select array elements). When the path points to an existing primitive type property, the add operation has the same semantics as replace and will overwrite the existing value.¶
The match property is used to identify elements in an array of objects. It is a JSON object that contains key-value pairs corresponding to the properties of the array elements. The server uses the match property to locate the elements in the array that should be removed or replaced. The match property MUST NOT be used when the path does not point to an array, and MUST NOT be used for an array of primitive types. An array of primitive types is changed by replacing the array as a whole, or by adding a value without match.¶
The following rules apply to matching and depend on the type of the property in the match object:¶
match object matches the value of the property with the same name in the target object. Properties of the target object that are not named in the match object are not compared.¶
match property is only used for matching elements in the immediate array specified by the path property of the JSON Patch operation.¶
match that is not a JSON object, or that contains a value that cannot be compared using the rules above.¶
Example domain object for matching an array element with a specific key-value pair:¶
{
"@type": "domainName",
"name": "example.example",
"contacts": [
{ "label": "admin", "object": { "@type": "contact", "id": "REG-100" } },
{ "label": "tech", "object": { "@type": "contact", "id": "REG-200" } },
{ "label": "tech", "object": { "@type": "contact", "id": "REG-300" } }
]
}
¶
Example match object for matching the array element with the "tech" label and the contact ID "REG-200" in the contacts array of the domain object above:¶
{
"match": {
"label": "tech",
"object": { "@type": "contact", "id": "REG-200" }
}
}
¶
Example object for matching an array element that has a property containing an array of primitive types, here the tld property of the elements of the idnLgr array:¶
{
"@type": "discovery",
"idnLgr": [
{
"@type": "discoveryIdnLgr",
"tld": ["example", "org"],
"name": "example-latn-1.0"
},
{
"@type": "discoveryIdnLgr",
"tld": ["example"],
"name": "example-cyrl-1.0"
}
]
}
¶
Example match object for matching the elements of the idnLgr array above for which the tld array contains the value "org" and "example". The order of the values in tld is ignored and only the first element matches, because the second element does not contain "org":¶
{
"match": {
"tld": ["org", "example"]
}
}
¶
The server MUST process the patch operations in the order in which they appear in the request body. A partial update is atomic, meaning that if any of the operations fails or is rejected, the server MUST reject the complete request with an appropriate error response that identifies the patch operation that failed.¶
For each patch operation the server MUST perform the following steps. Figure 1 shows the steps for a single patch operation, Figure 2 shows the handling of a primitive type value or an object, and Figure 3 shows the handling of an array.¶
op must be one of "add", "remove" or "replace". JSON Patch operations other than these are not allowed.¶
path must point to an existing property in the JSON object or a non-existing but allowed property defined in the JSON Schema of the object.¶
Determine the type of the target that the path points to:¶
Apply the operation to a primitive type value or an object:¶
For "add" and "replace", the value property must be present.¶
value must match the type of the target field.¶
value must be a valid object, the @type property of value must match the @type property of the target object or be a supertype of the target object's @type.¶
value.¶
Apply the operation to an array:¶
If match is present, the operation targets the elements identified by match:¶
match.¶
value.¶
If match is absent, the operation targets the array property as a whole:¶
If a step fails because no element matches, the server MUST return an error response indicating that the specified element could not be found.¶
+-------------------------------+
| Take next patch operation |<-------------------+
+---------------+---------------+ |
| |
v |
+-------------------------------+ |
| Is op "add", "remove" or |--- no --> REJECT |
| "replace"? | |
+---------------+---------------+ |
| yes |
v |
+-------------------------------+ |
| Does path point to an |--- no --> REJECT |
| existing field or element? | |
+---------------+---------------+ |
| yes |
v |
+-------------------------------+ |
| Does path point to an array? | |
+-------+---------------+-------+ |
| no | yes |
v v |
+---------------+ +---------------+ |
| Simple value | | Array | |
| or object | | (figure 3) | |
| (figure 2) | | | |
+-------+-------+ +-------+-------+ |
| | |
+--------+--------+ |
| |
v |
+-------------------------------+ |
| Another patch operation? |--- yes ------------+
+---------------+---------------+
| no
v
+-------------------------------+
| Is the resulting object valid |--- no --> REJECT
| for the JSON Schema and the |
| constraints? |
+---------------+---------------+
| yes
v
Apply all changes
+-------------------------------+
| Is match present? |--- yes -> REJECT
+---------------+---------------+
| no
v
+-------------------------------+
| Is op "remove"? |--- yes --> Remove the field
+---------------+---------------+
| no ("add" or "replace")
v
+-------------------------------+
| Is value present? |--- no ---> REJECT
+---------------+---------------+
| yes
|
v
+---------------+
| Simple value |
| and same type | --- yes ---> Set the field to value
| |
+-------+-------+
| no
|
v
+---------------+
| Object and |
| @type matches | --- yes ---> Set the field to value
| |
+-------+-------+
|
| no
v
REJECT
+-------------------------------+
| Is match present? |--- yes --> continue at (B)
+---------------+---------------+
| no
v
+-------------------------------+
| Is op "add"? |--- yes --> Append value as
+---------------+---------------+ a new element
| no
v
+-------------------------------+
| Is op "remove"? |--- yes --> Remove the property
+---------------+---------------+ (REJECT if the property
has cardinality 1+)
| no ("replace")
v
+-------------------------------+
| Does value violate the schema |
| of the array elements? |--- yes --> REJECT
+---------------+---------------+
| no
v
Replace the array with value
(B) Match present: the matching elements are targeted
+-------------------------------+
| Is op "add"? |--- yes --> REJECT
+---------------+---------------+
| no
v
+-------------------------------+
| Is match a JSON object whose |
| values can be compared? |--- no ---> REJECT
+---------------+---------------+
| yes
v
+-------------------------------+
| Does any element match? |--- no ---> REJECT
+---------------+---------------+
| yes
v
+-------------------------------+
| Is op "remove"? |--- yes --> Remove all
+---------------+---------------+ matching elements
| no ("replace")
v
+-------------------------------+
| Does more than one element |
| match? |--- yes --> REJECT (ambiguous)
+---------------+---------------+
| no
v
+-------------------------------+
| Is value valid for the |
| element type? |--- no ---> REJECT
+---------------+---------------+
| yes
v
Replace the element with value
A partial update request body MUST be a JSON array of patch operation objects. Each operation MUST include an op and a path property. The value property MUST be present for add and replace operations. The match property MAY be present when the path points to an array property, to identify the array elements to operate on. When match is absent, the operation targets the array property as a whole (see step 5 in Section 5.2.2).¶
The value property is intentionally left unconstrained ({}) in the JSON Schema below, since the JSON type it MUST hold depends on the target path: it can be a JSON object (e.g. when replacing a single object property or a single matched array element), a JSON array (e.g. when replacing an array property as a whole), or a primitive type such as a string, number, or boolean.¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/partialUpdate",
"$defs": {
"partialUpdate": {
"type": "array",
"items": { "$ref": "#/$defs/patchOperation" },
"minItems": 1
},
"patchOperation": {
"oneOf": [
{ "$ref": "#/$defs/patchAdd" },
{ "$ref": "#/$defs/patchRemove" },
{ "$ref": "#/$defs/patchReplace" }
]
},
"patchAdd": {
"type": "object",
"properties": {
"op": { "type": "string", "const": "add" },
"path": { "type": "string" },
"value": {}
},
"required": ["op", "path", "value"],
"additionalProperties": false
},
"patchRemove": {
"type": "object",
"properties": {
"op": { "type": "string", "const": "remove" },
"path": { "type": "string" },
"match": { "type": "object" }
},
"required": ["op", "path"],
"additionalProperties": false
},
"patchReplace": {
"type": "object",
"properties": {
"op": { "type": "string", "const": "replace" },
"path": { "type": "string" },
"match": { "type": "object" },
"value": {}
},
"required": ["op", "path", "value"],
"additionalProperties": false
}
}
}
¶
Example JSON document used by partial update examples below:¶
{
"@type": "domainName",
"name": "example.example",
"provMetadata": {
"@type": "provMetadata",
"repositoryId": "EXAMPLE1-REP",
"spClientId": "ClientX",
"crClientId": "ClientX",
"crDate": "1999-04-03T22:00:00.0Z"
},
"nameservers": [
{ "@type": "host", "hostName": "ns1.example.example" },
{ "@type": "host", "hostName": "ns2.example.example" }
],
"registrant": { "@type": "contact", "id": "JD-1234" },
"contacts": [
{ "label": "admin", "object": { "@type": "contact", "id": "SH-8013" } },
{ "label": "tech", "object": { "@type": "contact", "id": "SH-8013" } }
],
"status": [
{ "@type": "domainStatus", "label": "ok" }
],
"expiryDate": "2027-01-01T00:00:00.0Z"
}
¶
Example of a partial update request to change the registrant of a domain name from "JD-1234" to "JD-1235":¶
[
{
"op": "replace",
"path": "/registrant",
"value": {
"@type": "contact",
"id": "JD-1235"
}
}
]
¶
Example of a partial update request to change the status of a domain name from "ok" to "clientUpdateProhibited":¶
[
{
"op": "replace",
"path": "/status",
"match": {
"label": "ok"
},
"value": {
"@type": "domainStatus",
"label": "clientUpdateProhibited"
}
}
]
¶
Example of a partial update request for adding an additional tech contact to a domain name:¶
[
{
"op": "add",
"path": "/contacts",
"value": {
"label": "tech",
"object": {
"@type": "contact",
"id": "SH-8014"
}
}
}
]
¶
Example of a partial update request replacing the entire nameservers array of a domain name in a single operation, with no "match" property present:¶
[
{
"op": "replace",
"path": "/nameservers",
"value": [
{ "@type": "host", "hostName": "ns1.example.example" },
{ "@type": "host", "hostName": "ns3.example.example" }
]
}
]
¶
This section provides normative JSON Schema definitions for RPP component objects and resource objects. All schemas use JSON Schema draft 2020-12 [I-D.ietf-jsonschema-json-schema].¶
This section defines shared data types that are based on the primitive data types above and are reused across multiple data object definitions.¶
Identifiers are character strings with a specified minimum length, a specified maximum length, and a specified format outlined in Section 2.8 of [RFC5730]. Identifiers for certain object types MAY have additional constraints imposed either by server policy, object-specific specifications, or both.¶
In JSON, an Identifier MUST be represented as a string value conforming to the roidType syntax defined in Section 2.8 of [RFC5730]: one to eight word characters optionally preceded by an underscore, followed by a hyphen and one or more word characters, with a maximum total length of 89 characters.¶
{
"$defs": {
"identifier": {
"type": "string",
"pattern": "^(\\w|_){1,8}-\\w{1,}$",
"maxLength": 89
}
}
}
¶
Client identifiers are character strings with a specified minimum length, a specified maximum length, and a specified format. Client identifiers use the clIDType syntax described in [RFC5730].¶
In JSON, a Client Identifier MUST be represented as a string value.¶
{
"$defs": {
"clientIdentifier": {
"type": "string",
"minLength": 3,
"maxLength": 16,
"pattern": "^\\S+( \\S+)*$"
}
}
}
¶
Telephone number syntax is derived from structures defined in [ITU.E164.2005]. Telephone numbers described in this specification are character strings that MUST begin with a plus sign ("+", ASCII value 0x002B), followed by a country code defined in [ITU.E164.2005], followed by a dot (".", ASCII value 0x002E), followed by a sequence of digits representing the telephone number. An optional "x" (ASCII value 0x0078) separator with additional digits representing extension information can be appended to the end of the value.¶
In JSON, a Phone Number MUST be represented as a string value conforming to the pattern described above.¶
{
"$defs": {
"phoneNumber": { "type": "string", "pattern": "^\\+[0-9]{1,3}\\.[0-9]{1,14}(x[0-9]+)?$" }
}
}
¶
Read schema:¶
{
"$defs": {
"period.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "period", "readOnly": true },
"value": { "type": "integer", "minimum": 1, "maximum": 99 },
"unit": { "type": "string", "enum": ["y", "m"] }
},
"required": ["@type", "value", "unit"]
}
}
}
¶
Create schema:¶
{
"$defs": {
"period.create": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "period" },
"value": { "type": "integer", "minimum": 1, "maximum": 99 },
"unit": { "type": "string", "enum": ["y", "m"] }
},
"required": ["@type", "value", "unit"]
}
}
}
¶
The following constraints cannot be expressed in JSON Schema and MUST be enforced by implementations:¶
upClientId and upDate MUST NOT be present if the object has never been modified.¶
trDate MUST NOT be present if the object has never been transferred.¶
repositoryId MUST be provided.¶
Read schema:¶
{
"$defs": {
"provMetadata.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "provMetadata", "readOnly": true },
"repositoryId": { "$ref": "#/$defs/identifier", "readOnly": true },
"spClientId": { "$ref": "#/$defs/clientIdentifier", "readOnly": true },
"crClientId": { "$ref": "#/$defs/clientIdentifier", "readOnly": true },
"crDate": { "type": "string", "format": "date-time", "readOnly": true },
"upClientId": { "$ref": "#/$defs/clientIdentifier", "readOnly": true },
"upDate": { "type": "string", "format": "date-time", "readOnly": true },
"trDate": { "type": "string", "format": "date-time", "readOnly": true }
},
"required": ["@type", "spClientId"]
}
}
}
¶
Each RPP Data Object type that carries a status uses a type-specific status object. The create view of a status object holds only the status values that a client can set (see Section 4.10.1).¶
The following constraints cannot be expressed in JSON Schema and MUST be enforced by implementations:¶
"status" of the request does not remove them. A server MAY alter or override client-settable status values, subject to local server policy.¶
"status" array contains a combination of label values prohibited by the status exclusion rules for that object type.¶
"status" array MUST NOT contain the same "label" value more than once.¶
Extensions MAY define additional "label" values for a status object; such values are added to the "enum" of the corresponding status object in the effective schema, as described in Section 7.¶
The following constraints cannot be expressed in JSON Schema and MUST be enforced by implementations:¶
"due": Servers MAY restrict the ability of clients to set or update this value.¶
"rgp" MUST only appear when the server supports the Redemption Grace Period (RGP) for the domain name.¶
"rgpRedemptionPeriod", "rgpPendingRestore", and "rgpPendingDelete" MUST only appear together with the "pendingDelete" label.¶
Read schema:¶
{
"$defs": {
"domainStatus.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "domainStatus", "readOnly": true },
"label": {
"type": "string",
"enum": [
"clientDeleteProhibited",
"serverDeleteProhibited",
"clientHold",
"serverHold",
"clientRenewProhibited",
"serverRenewProhibited",
"clientTransferProhibited",
"serverTransferProhibited",
"clientUpdateProhibited",
"serverUpdateProhibited",
"inactive",
"ok",
"pendingCreate",
"pendingDelete",
"pendingRenew",
"pendingTransfer",
"pendingUpdate",
"rgpAddPeriod",
"rgpAutoRenewPeriod",
"rgpRenewPeriod",
"rgpTransferPeriod",
"rgpRedemptionPeriod",
"rgpPendingRestore",
"rgpPendingDelete"
],
"readOnly": true
},
"reason": { "type": "string", "readOnly": true },
"due": { "type": "string", "format": "date-time" }
},
"required": ["@type", "label"]
}
}
}
¶
Create schema (status values that a client can set):¶
{
"$defs": {
"domainStatus.create": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "domainStatus" },
"label": {
"type": "string",
"enum": [
"clientDeleteProhibited",
"clientHold",
"clientRenewProhibited",
"clientTransferProhibited",
"clientUpdateProhibited"
],
"writeOnly": true
},
"reason": { "type": "string", "writeOnly": true },
"due": { "type": "string", "format": "date-time" }
},
"required": ["@type", "label"]
}
}
}
¶
Read schema:¶
{
"$defs": {
"hostStatus.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "hostStatus", "readOnly": true },
"label": {
"type": "string",
"enum": [
"clientDeleteProhibited",
"serverDeleteProhibited",
"clientUpdateProhibited",
"serverUpdateProhibited",
"linked",
"ok",
"pendingCreate",
"pendingDelete",
"pendingTransfer",
"pendingUpdate"
],
"readOnly": true
},
"reason": { "type": "string", "readOnly": true }
},
"required": ["@type", "label"]
}
}
}
¶
Create schema (status values that a client can set):¶
{
"$defs": {
"hostStatus.create": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "hostStatus" },
"label": {
"type": "string",
"enum": ["clientDeleteProhibited", "clientUpdateProhibited"],
"writeOnly": true
},
"reason": { "type": "string", "writeOnly": true }
},
"required": ["@type", "label"]
}
}
}
¶
Read schema:¶
{
"$defs": {
"contactStatus.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "contactStatus", "readOnly": true },
"label": {
"type": "string",
"enum": [
"clientDeleteProhibited",
"serverDeleteProhibited",
"clientTransferProhibited",
"serverTransferProhibited",
"clientUpdateProhibited",
"serverUpdateProhibited",
"linked",
"ok",
"pendingCreate",
"pendingDelete",
"pendingTransfer",
"pendingUpdate"
],
"readOnly": true
},
"reason": { "type": "string", "readOnly": true }
},
"required": ["@type", "label"]
}
}
}
¶
Create schema (status values that a client can set):¶
{
"$defs": {
"contactStatus.create": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "contactStatus" },
"label": {
"type": "string",
"enum": ["clientDeleteProhibited", "clientTransferProhibited", "clientUpdateProhibited"],
"writeOnly": true
},
"reason": { "type": "string", "writeOnly": true }
},
"required": ["@type", "label"]
}
}
}
¶
Read schema:¶
{
"$defs": {
"organisationRoleStatus.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "organisationRoleStatus", "readOnly": true },
"label": {
"type": "string",
"enum": ["clientLinkProhibited", "serverLinkProhibited", "linked", "ok"],
"readOnly": true
},
"reason": { "type": "string", "readOnly": true }
},
"required": ["@type", "label"]
}
}
}
¶
Create schema (status values that a client can set):¶
{
"$defs": {
"organisationRoleStatus.create": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "organisationRoleStatus" },
"label": { "type": "string", "enum": ["clientLinkProhibited"], "writeOnly": true },
"reason": { "type": "string", "writeOnly": true }
},
"required": ["@type", "label"]
}
}
}
¶
The following constraints cannot be expressed in JSON Schema and MUST be enforced by implementations:¶
"hold" and "terminated" labels are server-managed when the organisation has no parent organisation; otherwise they MAY be client-managed, subject to server policy.¶
"status" array MUST contain exactly one of the labels "pendingCreate", "ok", "hold", or "terminated".¶
Read schema:¶
{
"$defs": {
"organisationStatus.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "organisationStatus", "readOnly": true },
"label": {
"type": "string",
"enum": [
"ok",
"hold",
"terminated",
"linked",
"clientLinkProhibited",
"serverLinkProhibited",
"clientUpdateProhibited",
"serverUpdateProhibited",
"clientDeleteProhibited",
"serverDeleteProhibited",
"pendingCreate",
"pendingUpdate",
"pendingDelete"
],
"readOnly": true
},
"reason": { "type": "string", "readOnly": true }
},
"required": ["@type", "label"]
}
}
}
¶
Create schema (status values that a client can set):¶
{
"$defs": {
"organisationStatus.create": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "organisationStatus" },
"label": {
"type": "string",
"enum": [
"hold",
"terminated",
"clientLinkProhibited",
"clientUpdateProhibited",
"clientDeleteProhibited"
],
"writeOnly": true
},
"reason": { "type": "string", "writeOnly": true }
},
"required": ["@type", "label"]
}
}
}
¶
The following constraints cannot be expressed in JSON Schema and MUST be enforced by implementations:¶
"pending" label is server-managed; "suspended" and "deactivated" are server-managed and MAY additionally be client-managed by a client with permission to manage users.¶
Read schema:¶
{
"$defs": {
"userStatus.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "userStatus", "readOnly": true },
"label": {
"type": "string",
"enum": ["active", "pending", "suspended", "deactivated"],
"readOnly": true
},
"reason": { "type": "string", "readOnly": true }
},
"required": ["@type", "label"]
}
}
}
¶
Create schema (status values that a client can set):¶
{
"$defs": {
"userStatus.create": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "userStatus" },
"label": { "type": "string", "enum": ["suspended", "deactivated"], "writeOnly": true },
"reason": { "type": "string", "writeOnly": true }
},
"required": ["@type", "label"]
}
}
}
¶
The following constraints cannot be expressed in JSON Schema and MUST be enforced by implementations:¶
name MUST be a syntactically valid DNS host name in zone file string representation. Both absolute FQDNs (with trailing dot) and relative host names are allowed, as well as the @ symbol representing the domain name itself.¶
type MUST be a valid string representation of a DNS resource record type as defined in [RFC1035]. Values MUST be converted to lowercase. Allowed values MAY be further constrained by server policy.¶
ns, a, and aaaa. With DNSSEC Extension [RFC5910], ds and dnskey MUST additionally be supported.¶
class, if present, MUST be chosen from Section 3.2.4 (CLASS values) of [RFC1035]. A client SHOULD omit this element; the server MUST assume IN as the default.¶
rdata MUST match the expected structure for the given record type (see RDATA structures below).¶
RDATA structures required in the EPP Compatibility Profile:¶
nsdname¶
address¶
address¶
keyTag, algorithm, digestType, digest¶
flags, protocol, algorithm, publicKey¶
All rdata property names MUST be written in camelCase and all values MUST use the string data type.¶
Read schema:¶
{
"$defs": {
"dnsRecord.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "dnsRecord", "readOnly": true },
"name": { "type": "string" },
"class": { "type": "string" },
"type": { "type": "string" },
"rdata": { "type": "object", "unevaluatedProperties": true }
},
"required": ["@type", "name", "type", "rdata"]
}
}
}
¶
Create schema:¶
{
"$defs": {
"dnsRecord.create": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "dnsRecord" },
"name": { "type": "string" },
"class": { "type": "string" },
"type": { "type": "string" },
"rdata": { "type": "object", "unevaluatedProperties": true }
},
"required": ["@type", "name", "type", "rdata"]
}
}
}
¶
The DNS Operational Controls Object contains operational control parameters that a client MAY use to influence server-side DNS behaviour for a set of DNS records. A server MAY ignore these values, e.g. for policy reasons. This structure is aligned with [I-D.simmen-rpp-dns-data].¶
Read schema:¶
{
"$defs": {
"dnsControls.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "dnsControls", "readOnly": true },
"ttl": {
"type": "object",
"additionalProperties": { "type": "integer", "minimum": 1 },
"propertyNames": { "pattern": "^[a-z][a-z0-9-]*$" }
},
"maxSigLifetime": {
"type": "object",
"additionalProperties": { "type": "integer", "minimum": 1 },
"propertyNames": { "pattern": "^[a-z][a-z0-9-]*$" }
}
},
"required": ["@type"]
}
}
}
¶
Create schema:¶
{
"$defs": {
"dnsControls.create": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "dnsControls" },
"ttl": {
"type": "object",
"additionalProperties": { "type": "integer", "minimum": 1 },
"propertyNames": { "pattern": "^[a-z][a-z0-9-]*$" }
},
"maxSigLifetime": {
"type": "object",
"additionalProperties": { "type": "integer", "minimum": 1 },
"propertyNames": { "pattern": "^[a-z][a-z0-9-]*$" }
}
},
"required": ["@type"]
}
}
}
¶
The DNS Data Object is a container for DNS resource records and associated operational controls for a provisioned object. This structure groups DNS records together with control parameters that influence server-side DNS behaviour. It is aligned with [I-D.simmen-rpp-dns-data].¶
The following constraints cannot be expressed in JSON Schema and MUST be enforced by implementations:¶
ds and dnskey MUST be supported in addition to ns, a, and aaaa. A server MUST support either ds or dnskey or both. If provided with only dnskey, a server MUST calculate the DS record.¶
Read schema:¶
{
"$defs": {
"dnsData.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "dnsData", "readOnly": true },
"records": {
"type": "array",
"items": { "$ref": "#/$defs/dnsRecord.read" }
},
"controls": { "$ref": "#/$defs/dnsControls.read" }
},
"required": ["@type"]
}
}
}
¶
Create schema:¶
{
"$defs": {
"dnsData.create": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "dnsData" },
"records": {
"type": "array",
"items": { "$ref": "#/$defs/dnsRecord.create" }
},
"controls": { "$ref": "#/$defs/dnsControls.create" }
},
"required": ["@type"]
}
}
}
¶
The Disclose Object is used by the disclose data element of the Contact Data Object.¶
Read schema:¶
{
"$defs": {
"disclose.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "disclose", "readOnly": true }
},
"required": ["@type"]
}
}
}
¶
The Contact Data Object uses version 2.0 of JSContact [RFC9982] to represent contact information. The Contact object is defined below according to the RPP JSContact Profile [TODO Add Ref].¶
The following constraints cannot be expressed in JSON Schema and MUST be enforced by implementations:¶
addresses[*].countryCode MUST be a valid two-character ISO 3166-1 [ISO3166-1] alpha-2 code when present.¶
localizations MUST be fully expanded; nested PatchObject-style keys (e.g., "addresses/addr/full") are NOT allowed.¶
phones[*].features is absent, the number MUST be treated as a voice number.¶
{
"$defs": {
"Card": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "Card" },
"version": { "type": "string", "const": "2.0" },
"kind": { "type": "string", "enum": ["individual", "org"] },
"language": { "type": "string" },
"name": {
"type": "object",
"properties": {
"full": { "type": "string" }
}
},
"organizations": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"name": { "type": "string" }
}
}
},
"addresses": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"full": { "type": "string" },
"countryCode": { "type": "string", "pattern": "^[A-Z]{2}$" },
"components": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": { "type": "string", "enum": ["name", "locality", "region", "postcode"] },
"value": { "type": "string" }
},
"required": ["kind", "value"]
}
}
}
}
},
"phones": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"number": { "type": "string" },
"features": {
"type": "object",
"additionalProperties": {
"type": "boolean"
}
}
},
"required": ["number"]
}
},
"emails": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"address": { "type": "string", "format": "email" }
},
"required": ["address"]
}
},
"links": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"uri": { "type": "string", "format": "uri" },
"kind": { "type": "string", "const": "contact" }
},
"required": ["uri"]
}
},
"localizations": { "type": "object" }
},
"required": ["@type", "version"]
}
}
}
¶
The Restore Report Object contains the redemption grace period restore report submitted by the sponsoring client as required by the RGP process ([RFC3915]).¶
The following constraints cannot be expressed in JSON Schema and MUST be enforced by implementations:¶
statements MUST be provided.¶
restoreTime MAY be omitted when the restore report is submitted inline within the restore request in a single-step process.¶
restoreTime MUST be present as defined in [RFC3915].¶
statements MUST be present as defined in [RFC3915].¶
Read schema:¶
{
"$defs": {
"restoreReport.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "restoreReport", "readOnly": true },
"preData": { "type": "string" },
"postData": { "type": "string" },
"deleteTime": { "type": "string", "format": "date-time" },
"restoreTime": { "type": "string", "format": "date-time" },
"restoreReason": { "type": "string" },
"statements": {
"type": "array",
"items": { "type": "string" },
"minItems": 1,
"maxItems": 2
},
"other": { "type": "string" }
},
"required": ["@type", "statements"]
}
}
}
¶
Create schema:¶
{
"$defs": {
"restoreReport.create": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "restoreReport" },
"preData": { "type": "string" },
"postData": { "type": "string" },
"deleteTime": { "type": "string", "format": "date-time" },
"restoreTime": { "type": "string", "format": "date-time" },
"restoreReason": { "type": "string" },
"statements": {
"type": "array",
"items": { "type": "string" },
"minItems": 1,
"maxItems": 2
},
"other": { "type": "string" }
},
"required": ["@type", "statements"]
}
}
}
¶
The following constraints cannot be expressed in JSON Schema and MUST be enforced by implementations:¶
type MUST only use values registered in the IANA "EPP Organization Role Values" registry ([RFC8543]).¶
Read schema:¶
{
"$defs": {
"organisationRole.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "organisationRole", "readOnly": true },
"roleId": { "type": "string" },
"status": {
"type": "array",
"items": { "$ref": "#/$defs/organisationRoleStatus.read" }
}
},
"required": ["@type"]
}
}
}
¶
Create schema:¶
{
"$defs": {
"organisationRole.create": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "organisationRole" },
"roleId": { "type": "string" },
"status": {
"type": "array",
"items": { "$ref": "#/$defs/organisationRoleStatus.create" }
}
},
"required": ["@type"]
}
}
}
¶
The following constraints cannot be expressed in JSON Schema and MUST be enforced by implementations:¶
version MUST use the Semantic Versioning format.¶
url MUST be a valid URL and accessible to the client.¶
Read schema:¶
{
"$defs": {
"extension.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "extension", "readOnly": true },
"name": { "type": "string", "readOnly": true },
"id": { "type": "string", "readOnly": true },
"version": { "type": "string", "readOnly": true },
"url": { "type": "string", "format": "uri", "readOnly": true }
},
"required": ["@type", "name", "id", "version", "url"]
}
}
}
¶
The following constraints cannot be expressed in JSON Schema and MUST be enforced by implementations:¶
version MUST use the Semantic Versioning format.¶
Read schema:¶
{
"$defs": {
"discoveryVersion.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "discoveryVersion", "readOnly": true },
"version": { "type": "string", "readOnly": true },
"baseUrl": { "type": "string", "format": "uri", "readOnly": true }
},
"required": ["@type", "version", "baseUrl"]
}
}
}
¶
Read schema:¶
{
"$defs": {
"discoveryEnvironment.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "discoveryEnvironment", "readOnly": true },
"name": { "type": "string", "readOnly": true },
"status": { "type": "string", "readOnly": true }
},
"required": ["@type", "name", "status"]
}
}
}
¶
The following constraints cannot be expressed in JSON Schema and MUST be enforced by implementations:¶
name MUST be a valid LGR name as listed in the [IDN-Tables] registry.¶
Read schema:¶
{
"$defs": {
"discoveryIdnLgr.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "discoveryIdnLgr", "readOnly": true },
"tld": {
"type": "array",
"items": { "type": "string" },
"minItems": 1,
"readOnly": true
},
"name": { "type": "string", "readOnly": true },
"url": { "type": "string", "format": "uri", "readOnly": true },
"default": { "type": "boolean", "readOnly": true }
},
"required": ["@type", "tld", "name", "url", "default"]
}
}
}
¶
Read schema:¶
{
"$defs": {
"discoveryNotice.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "discoveryNotice", "readOnly": true },
"pubTime": { "type": "string", "format": "date-time", "readOnly": true },
"text": { "type": "string", "readOnly": true }
},
"required": ["@type", "pubTime", "text"]
}
}
}
¶
The Processes Object is a read-only container grouping the currently active Process Objects on the owning resource object, keyed by process type. Each key holds an array of the corresponding Process Object's read representation, per the Aggregation rules.¶
Read schema:¶
{
"$defs": {
"processes.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "processes", "readOnly": true },
"transferProcess": {
"type": "array",
"items": {
"oneOf": [
{ "$ref": "#/$defs/transferProcess.reference" },
{ "$ref": "#/$defs/domainTransferProcess.reference" }
]
},
"readOnly": true
},
"renewProcess": {
"type": "array",
"items": { "$ref": "#/$defs/renewProcess.reference" },
"readOnly": true
},
"restoreProcess": {
"type": "array",
"items": { "$ref": "#/$defs/restoreProcess.reference" },
"readOnly": true
},
"createProcess": {
"type": "array",
"items": {
"oneOf": [
{ "$ref": "#/$defs/createProcess.reference" },
{ "$ref": "#/$defs/domainCreateProcess.reference" }
]
},
"readOnly": true
}
},
"required": ["@type"]
}
}
}
¶
The Availability Objects are the output of the Availability operation. The Base Availability Object is extended by Data Object specific Availability Objects in order to allow independent extensibility.¶
The following constraints cannot be expressed in JSON Schema and MUST be enforced by implementations:¶
reason MUST only be present when available is false.¶
Read schema:¶
{
"$defs": {
"baseAvailability.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "baseAvailability", "readOnly": true },
"available": { "type": "boolean", "readOnly": true },
"reason": { "type": "string", "readOnly": true }
},
"required": ["@type", "available"]
}
}
}
¶
Read schema:¶
{
"$defs": {
"domainNameAvailability.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "domainNameAvailability", "readOnly": true },
"available": { "type": "boolean", "readOnly": true },
"reason": { "type": "string", "readOnly": true }
},
"required": ["@type", "available"]
}
}
}
¶
Read schema:¶
{
"$defs": {
"contactAvailability.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "contactAvailability", "readOnly": true },
"available": { "type": "boolean", "readOnly": true },
"reason": { "type": "string", "readOnly": true }
},
"required": ["@type", "available"]
}
}
}
¶
Read schema:¶
{
"$defs": {
"hostAvailability.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "hostAvailability", "readOnly": true },
"available": { "type": "boolean", "readOnly": true },
"reason": { "type": "string", "readOnly": true }
},
"required": ["@type", "available"]
}
}
}
¶
All message objects are generated by the server and are read-only from the perspective of the receiving client.¶
The Base Message Object is extended by all other message objects defined in this section. The JSON Schema of each message object repeats the data elements it inherits from the Base Message Object as top-level properties. The value of the @type property identifies the concrete message object and enables a client to determine which data elements to expect.¶
The Base Message Object contains the data elements common to all message objects.¶
The following constraints cannot be expressed in JSON Schema and MUST be enforced by implementations:¶
objectType MUST only be used when objectId is present.¶
objectId MUST be a valid unique identifier for the object type specified in objectType or empty when objectType is not present or empty.¶
Read schema:¶
{
"$defs": {
"baseMessage.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "baseMessage", "readOnly": true },
"objectType": { "type": "string", "readOnly": true },
"objectId": { "type": "string", "readOnly": true }
},
"required": ["@type"]
}
}
}
¶
Read schema:¶
{
"$defs": {
"reviewResponseMessage.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "reviewResponseMessage", "readOnly": true },
"objectType": { "type": "string", "readOnly": true },
"objectId": { "type": "string", "readOnly": true },
"approved": { "type": "boolean", "readOnly": true },
"clientTransactionId": { "type": "string", "readOnly": true },
"serverTransactionId": { "type": "string", "readOnly": true },
"completionDate": { "type": "string", "format": "date-time", "readOnly": true },
"message": { "type": "string", "readOnly": true },
"process": {
"oneOf": [
{ "$ref": "#/$defs/transferProcess.read" },
{ "$ref": "#/$defs/domainTransferProcess.read" },
{ "$ref": "#/$defs/restoreProcess.read" },
{ "$ref": "#/$defs/renewProcess.read" },
{ "$ref": "#/$defs/createProcess.read" },
{ "$ref": "#/$defs/domainCreateProcess.read" }
],
"readOnly": true
}
},
"required": ["@type", "approved", "serverTransactionId", "completionDate", "message"]
}
}
}
¶
Read schema:¶
{
"$defs": {
"transferRequestMessage.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "transferRequestMessage", "readOnly": true },
"objectType": { "type": "string", "readOnly": true },
"objectId": { "type": "string", "readOnly": true },
"status": { "type": "string", "enum": ["pending"], "readOnly": true },
"requestDate": { "type": "string", "format": "date-time", "readOnly": true },
"actionDate": { "type": "string", "format": "date-time", "readOnly": true },
"process": {
"oneOf": [
{ "$ref": "#/$defs/transferProcess.read" },
{ "$ref": "#/$defs/domainTransferProcess.read" }
],
"readOnly": true
}
},
"required": ["@type", "status", "requestDate"]
}
}
}
¶
Read schema:¶
{
"$defs": {
"transferOutcomeMessage.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "transferOutcomeMessage", "readOnly": true },
"objectType": { "type": "string", "readOnly": true },
"objectId": { "type": "string", "readOnly": true },
"trStatus": {
"type": "string",
"enum": [
"clientApproved",
"clientCancelled",
"clientRejected",
"serverApproved",
"serverCancelled"
],
"readOnly": true
},
"requestDate": { "type": "string", "format": "date-time", "readOnly": true },
"actionDate": { "type": "string", "format": "date-time", "readOnly": true },
"expiryDate": { "type": "string", "format": "date-time", "readOnly": true },
"process": {
"oneOf": [
{ "$ref": "#/$defs/transferProcess.read" },
{ "$ref": "#/$defs/domainTransferProcess.read" }
],
"readOnly": true
}
},
"required": ["@type", "trStatus", "requestDate", "actionDate"]
}
}
}
¶
Read schema:¶
{
"$defs": {
"expirationDeletionMessage.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "expirationDeletionMessage", "readOnly": true },
"objectType": { "type": "string", "readOnly": true },
"objectId": { "type": "string", "readOnly": true },
"deletionDate": { "type": "string", "format": "date-time", "readOnly": true }
},
"required": ["@type", "deletionDate"]
}
}
}
¶
Read schema:¶
{
"$defs": {
"autoRenewalMessage.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "autoRenewalMessage", "readOnly": true },
"objectType": { "type": "string", "readOnly": true },
"objectId": { "type": "string", "readOnly": true },
"renewalDate": { "type": "string", "format": "date-time", "readOnly": true },
"expiryDate": { "type": "string", "format": "date-time", "readOnly": true }
},
"required": ["@type", "renewalDate", "expiryDate"]
}
}
}
¶
The Service Notice Message Object extends the Base Message Object. It is not linked to a specific object or process, so objectType, objectId and process are normally absent.¶
Read schema:¶
{
"$defs": {
"serviceNoticeMessage.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "serviceNoticeMessage", "readOnly": true },
"objectType": { "type": "string", "readOnly": true },
"objectId": { "type": "string", "readOnly": true },
"message": { "type": "string", "readOnly": true }
},
"required": ["@type", "message"]
}
}
}
¶
The Base Process Object is extended by all Process Objects, which repeat its data elements as top-level properties.¶
The following constraints cannot be expressed in JSON Schema and MUST be enforced by implementations:¶
processId MUST be unique within the scope of the owning resource object.¶
Read schema:¶
{
"$defs": {
"baseProcess.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "baseProcess", "readOnly": true },
"processId": { "type": "string", "readOnly": true }
},
"required": ["@type"]
}
}
}
¶
The Create Process Object is extended by object-specific create processes and is submitted only within the processes data element of the owning resource object's create request.¶
Create request schema (create-only and read-write properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/createProcess.create",
"$defs": {
"createProcess.create": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "createProcess" }
},
"required": ["@type"]
}
}
}
¶
Read response schema (read-only properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/createProcess.read",
"$defs": {
"createProcess.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "createProcess", "readOnly": true },
"processId": { "type": "string", "readOnly": true }
},
"required": ["@type"]
}
}
}
¶
Reference schema (identifier only):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/createProcess.reference",
"$defs": {
"createProcess.reference": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "createProcess" },
"processId": { "type": "string", "readOnly": true }
},
"required": ["@type", "processId"]
}
}
}
¶
Renew request schema (create-only properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/renewProcess.create",
"$defs": {
"renewProcess.create": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "renewProcess" },
"expiryDate": { "type": "string", "format": "date-time", "writeOnly": true },
"renewalPeriod": { "$ref": "#/$defs/period.create", "writeOnly": true }
},
"required": ["@type"]
}
}
}
¶
Renew response schema (read-only properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/renewProcess.read",
"$defs": {
"renewProcess.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "renewProcess", "readOnly": true },
"processId": { "type": "string", "readOnly": true },
"expiryDate": { "type": "string", "format": "date-time", "readOnly": true },
"renewalPeriod": { "$ref": "#/$defs/period.read", "readOnly": true }
},
"required": ["@type"]
}
}
}
¶
Reference schema (identifier only):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/renewProcess.reference",
"$defs": {
"renewProcess.reference": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "renewProcess" },
"processId": { "type": "string", "readOnly": true }
},
"required": ["@type", "processId"]
}
}
}
¶
Create request schema (create-only and read-write properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/transferProcess.create",
"$defs": {
"transferProcess.create": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "transferProcess" },
"transferDir": { "type": "string", "enum": ["pull", "push"], "writeOnly": true },
"gainingClientId": { "$ref": "#/$defs/clientIdentifier", "writeOnly": true }
},
"required": ["@type"],
"allOf": [
{
"if": {
"properties": {
"transferDir": { "const": "push" }
},
"required": ["transferDir"]
},
"then": { "required": ["gainingClientId"] }
},
{
"if": {
"properties": {
"transferDir": { "const": "pull" }
},
"required": ["transferDir"]
},
"then": {
"not": { "required": ["gainingClientId"] }
}
}
]
}
}
}
¶
Read response schema (read-write and read-only properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/transferProcess.read",
"$defs": {
"transferProcess.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "transferProcess", "readOnly": true },
"processId": { "type": "string", "readOnly": true },
"transferDir": { "type": "string", "enum": ["pull", "push"], "readOnly": true },
"gainingClientId": { "$ref": "#/$defs/clientIdentifier", "readOnly": true },
"trStatus": {
"type": "string",
"enum": [
"pending",
"clientApproved",
"clientCancelled",
"clientRejected",
"serverApproved",
"serverCancelled"
],
"readOnly": true
},
"reqClientId": { "$ref": "#/$defs/clientIdentifier", "readOnly": true },
"requestDate": { "type": "string", "format": "date-time", "readOnly": true },
"actClientId": { "$ref": "#/$defs/clientIdentifier", "readOnly": true },
"actionDate": { "type": "string", "format": "date-time", "readOnly": true }
},
"required": ["@type", "trStatus", "reqClientId", "requestDate", "actClientId", "actionDate"],
"allOf": [
{
"if": {
"properties": {
"transferDir": { "const": "push" }
},
"required": ["transferDir"]
},
"then": { "required": ["gainingClientId"] }
},
{
"if": {
"properties": {
"transferDir": { "const": "pull" }
},
"required": ["transferDir"]
},
"then": {
"not": { "required": ["gainingClientId"] }
}
}
]
}
}
}
¶
The Approve operation MUST always have a request body, which may be an empty JSON object. The server can identify the transfer process to be approved based on the request URL and the authenticated client's permissions. There is no Approve request schema defined in this specification.¶
The Approve response schema MUST equal the read response schema.¶
The Cancel operation, which is similar to a delete operation, has no request body, the server can identify the transfer process to be cancelled based on the request URL and the authenticated client's permissions. Because the Cancel operation has no request body, it is not possible to extend the request schema with additional properties.¶
The Cancel response schema MUST equal the read response schema or an empty response.¶
Reject request schema:¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/transferProcess.transferReject",
"$defs": {
"transferProcess.transferReject": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "transferProcess" },
"reason": { "type": "string" }
},
"required": ["@type"]
}
}
}
¶
Reject response schema MUST equal the read response schema.¶
Reference schema (identifier only):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/transferProcess.reference",
"$defs": {
"transferProcess.reference": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "transferProcess" },
"processId": { "type": "string", "readOnly": true }
},
"required": ["@type", "processId"]
}
}
}
¶
The Restore Process Object represents the current state of a restore request for an object that has entered the Redemption Grace Period (RGP). It is returned as a response for all restore operations.¶
The following constraints cannot be expressed in JSON Schema and MUST be enforced by implementations:¶
requestDate MUST NOT be present if no restore request has been submitted yet.¶
reportDate MUST NOT be present if no restore report has been accepted yet.¶
reportDueDate MUST NOT be present when restoreStatus is not "pendingRestore".¶
Create request schema (create-only and read-write properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/restoreProcess.create",
"$defs": {
"restoreProcess.create": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "restoreProcess" },
"restoreReport": { "$ref": "#/$defs/restoreReport.create" }
},
"required": ["@type"]
}
}
}
¶
Read response schema (read-write and read-only properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/restoreProcess.read",
"$defs": {
"restoreProcess.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "restoreProcess", "readOnly": true },
"processId": { "type": "string", "readOnly": true },
"restoreStatus": {
"type": "string",
"enum": ["pendingRestore", "restored", "rgpPendingDelete"],
"readOnly": true
},
"requestDate": { "type": "string", "format": "date-time", "readOnly": true },
"reportDate": { "type": "string", "format": "date-time", "readOnly": true },
"reportDueDate": { "type": "string", "format": "date-time", "readOnly": true },
"restoreReport": { "$ref": "#/$defs/restoreReport.read" }
},
"required": ["@type", "restoreStatus"]
}
}
}
¶
The Update request applies only to servers that support or require submission of a restore report.¶
Update request schema (read-write properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/restoreProcess.update",
"$defs": {
"restoreProcess.update": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "restoreProcess" },
"restoreReport": { "$ref": "#/$defs/restoreReport.create" }
},
"required": ["@type", "restoreReport"]
}
}
}
¶
Reference schema (identifier only):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/restoreProcess.reference",
"$defs": {
"restoreProcess.reference": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "restoreProcess" },
"processId": { "type": "string", "readOnly": true }
},
"required": ["@type", "processId"]
}
}
}
¶
The Domain Name Data Object represents a domain name and its associated provisioning data.¶
The following constraints cannot be expressed in JSON Schema and MUST be enforced by implementations:¶
name MUST be a fully qualified domain name conforming to the syntax described in [RFC1035]. Servers MAY restrict allowable domain names to a specific namespace for which they are authoritative. The implicit trailing dot MUST NOT be included.¶
name MUST use the ASCII Compatible Encoding (ACE) A-label form when the domain name is internationalised, as defined in [RFC5890].¶
uName, when present, MUST be normalised to Unicode Normalization Form C (NFC) as defined in [UNICODE.NFC], and MUST convert to the exact value of name using the procedure described in Section 4.4.¶
lgr, when present, MUST identify a valid Label Generation Ruleset (LGR) registered in the [IDN-Tables] registry, and MUST be present whenever uName is present.¶
The response of the Availability operation is the Domain Name Availability Object, see Section 6.2.15.2.¶
Create request schema (create-only and read-write properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/domainName.create",
"$defs": {
"domainName.create": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "domainName" },
"name": { "type": "string", "format": "hostname", "writeOnly": true },
"uName": { "type": "string", "writeOnly": true },
"lgr": { "type": "string", "writeOnly": true },
"status": {
"type": "array",
"items": { "$ref": "#/$defs/domainStatus.create" }
},
"registrant": { "$ref": "#/$defs/contact.reference" },
"contacts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": { "type": "string" },
"object": { "$ref": "#/$defs/contact.reference" }
},
"required": ["label", "object"]
}
},
"nameservers": {
"type": "array",
"items": { "$ref": "#/$defs/host.reference" }
},
"dns": { "$ref": "#/$defs/dnsData.create" },
"authInfo": { "$ref": "#/$defs/authInfo.create" },
"processes": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "processes" },
"createProcess": {
"type": "array",
"items": { "$ref": "#/$defs/domainCreateProcess.create" }
}
},
"required": ["@type"]
}
},
"required": ["@type", "name"]
}
}
}
¶
The Domain Create Process Object extends the Create Process Object and is submitted only within the processes data element of the Domain Name create request.¶
Create request for Domain Create Process Object schema (create-only and read-write properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/domainCreateProcess.create",
"$defs": {
"domainCreateProcess.create": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "domainCreateProcess" },
"period": { "$ref": "#/$defs/period.create", "writeOnly": true }
},
"required": ["@type"]
}
}
}
¶
Read response for Domain Create Process Object schema (read-write and read-only properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/domainCreateProcess.read",
"$defs": {
"domainCreateProcess.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "domainCreateProcess", "readOnly": true },
"processId": { "type": "string", "readOnly": true },
"period": { "$ref": "#/$defs/period.read", "readOnly": true }
},
"required": ["@type"]
}
}
}
¶
Reference for Domain Create Process Object schema (identifier only):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/domainCreateProcess.reference",
"$defs": {
"domainCreateProcess.reference": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "domainCreateProcess" },
"processId": { "type": "string", "readOnly": true }
},
"required": ["@type", "processId"]
}
}
}
¶
Read response schema (read-write and read-only properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/domainName.read",
"$defs": {
"domainName.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "domainName", "readOnly": true },
"name": { "type": "string", "format": "hostname", "readOnly": true },
"uName": { "type": "string", "readOnly": true },
"lgr": { "type": "string", "readOnly": true },
"provMetadata": { "$ref": "#/$defs/provMetadata.read", "readOnly": true },
"status": {
"type": "array",
"items": { "$ref": "#/$defs/domainStatus.read" },
"minItems": 1
},
"registrant": { "$ref": "#/$defs/contact.reference" },
"contacts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": { "type": "string" },
"object": { "$ref": "#/$defs/contact.reference" }
},
"required": ["label", "object"]
}
},
"nameservers": {
"type": "array",
"items": { "$ref": "#/$defs/host.reference" }
},
"dns": { "$ref": "#/$defs/dnsData.read" },
"subordinateHosts": {
"type": "array",
"items": { "$ref": "#/$defs/host.reference" },
"readOnly": true
},
"expiryDate": { "type": "string", "format": "date-time", "readOnly": true },
"authInfo": { "$ref": "#/$defs/authInfo.read" },
"processes": { "$ref": "#/$defs/processes.read", "readOnly": true }
},
"required": ["@type", "name", "provMetadata", "status"]
}
}
}
¶
Update request schema (read-write properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/domainName.update",
"$defs": {
"domainName.update": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "domainName" },
"status": {
"type": "array",
"items": { "$ref": "#/$defs/domainStatus.create" }
},
"registrant": { "$ref": "#/$defs/contact.reference" },
"contacts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": { "type": "string" },
"object": { "$ref": "#/$defs/contact.reference" }
},
"required": ["label", "object"]
}
},
"nameservers": {
"type": "array",
"items": { "$ref": "#/$defs/host.reference" }
},
"dns": { "$ref": "#/$defs/dnsData.create" },
"authInfo": { "$ref": "#/$defs/authInfo.create" }
},
"required": ["@type"]
}
}
}
¶
Create request for Domain Transfer Process Object schema (create-only and read-write properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/domainTransferProcess.create",
"$defs": {
"domainTransferProcess.create": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "domainTransferProcess" },
"transferDir": { "type": "string", "enum": ["pull", "push"], "writeOnly": true },
"gainingClientId": { "$ref": "#/$defs/clientIdentifier", "writeOnly": true },
"transferPeriod": { "$ref": "#/$defs/period.create", "writeOnly": true }
},
"required": ["@type"],
"allOf": [
{
"if": {
"properties": {
"transferDir": { "const": "push" }
},
"required": ["transferDir"]
},
"then": { "required": ["gainingClientId"] }
},
{
"if": {
"properties": {
"transferDir": { "const": "pull" }
},
"required": ["transferDir"]
},
"then": {
"not": { "required": ["gainingClientId"] }
}
}
]
}
}
}
¶
Read response for Domain Transfer Process Object schema (read-write and read-only properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/domainTransferProcess.read",
"$defs": {
"domainTransferProcess.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "domainTransferProcess", "readOnly": true },
"processId": { "type": "string", "readOnly": true },
"transferDir": { "type": "string", "enum": ["pull", "push"], "readOnly": true },
"gainingClientId": { "$ref": "#/$defs/clientIdentifier", "readOnly": true },
"trStatus": {
"type": "string",
"enum": [
"pending",
"clientApproved",
"clientCancelled",
"clientRejected",
"serverApproved",
"serverCancelled"
],
"readOnly": true
},
"reqClientId": { "$ref": "#/$defs/clientIdentifier", "readOnly": true },
"requestDate": { "type": "string", "format": "date-time", "readOnly": true },
"actClientId": { "$ref": "#/$defs/clientIdentifier", "readOnly": true },
"actionDate": { "type": "string", "format": "date-time", "readOnly": true },
"expiryDate": { "type": "string", "format": "date-time", "readOnly": true },
"transferPeriod": { "$ref": "#/$defs/period.read", "readOnly": true }
},
"required": ["@type", "trStatus", "reqClientId", "requestDate", "actClientId", "actionDate"],
"allOf": [
{
"if": {
"properties": {
"transferDir": { "const": "push" }
},
"required": ["transferDir"]
},
"then": { "required": ["gainingClientId"] }
},
{
"if": {
"properties": {
"transferDir": { "const": "pull" }
},
"required": ["transferDir"]
},
"then": {
"not": { "required": ["gainingClientId"] }
}
}
]
}
}
}
¶
Both Approve and Delete (Cancel) operations have no request body, the server can identify the transfer process to be approved or cancelled based on the request URL and the authenticated client's permissions.¶
Approve and Delete response schemas are the read schema of domainTransferProcess.¶
Reject request Domain Object schema:¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/domainTransferProcess.transferReject",
"$defs": {
"domainTransferProcess.transferReject": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "domainTransferProcess" },
"reason": { "type": "string" }
},
"required": ["@type"]
}
}
}
¶
Reject response schema is the read schema of domainTransferProcess.¶
Reference for Domain Transfer Process Object schema (identifier only):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/domainTransferProcess.reference",
"$defs": {
"domainTransferProcess.reference": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "domainTransferProcess" },
"processId": { "type": "string", "readOnly": true }
},
"required": ["@type", "processId"]
}
}
}
¶
Reference schema (identifier only):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/domainName.reference",
"$defs": {
"domainName.reference": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "domainName" },
"name": { "type": "string", "format": "hostname" }
},
"required": ["@type", "name"]
}
}
}
¶
This document uses version 2.0 of JSContact [RFC9982] for the JSON representation of Contact Data Object contact information. The contact's name, postal address, phone numbers, email addresses, and other contact details are encapsulated in a JSContact Card object embedded in the contactInfo property.¶
Since JSContact is a general-purpose representation of contact data, this document defines a restricted usage profile for use within RPP, see [TODO: ref to RPP JSContact profile here: https://github.com/SIDN/ietf-rpp-jscontact-profile].¶
The following constraints cannot be expressed in JSON Schema and MUST be enforced by implementations:¶
card.name.full MUST be provided in the EPP Compatibility Profile.¶
card.addresses.addr MUST be provided in the EPP Compatibility Profile, containing at least countryCode and a "locality" kind component.¶
card.emails.email.address MUST be provided in the EPP Compatibility Profile.¶
card.addresses[*].countryCode MUST be a valid two-character ISO 3166-1 [ISO3166-1] alpha-2 code when present.¶
The response of the Availability operation is the Contact Availability Object, see Section 6.2.15.3.¶
Create request schema (create-only and read-write properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/contact.create",
"$defs": {
"contact.create": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "contact" },
"id": { "$ref": "#/$defs/identifier", "writeOnly": true },
"status": {
"type": "array",
"items": { "$ref": "#/$defs/contactStatus.create" }
},
"contactInfo": { "$ref": "#/$defs/Card" },
"authInfo": { "$ref": "#/$defs/authInfo.create" },
"disclose": { "$ref": "#/$defs/disclose.read" }
},
"required": ["@type", "id", "contactInfo"]
}
}
}
¶
Read response schema (read-write and read-only properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/contact.read",
"$defs": {
"contact.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "contact", "readOnly": true },
"id": { "$ref": "#/$defs/identifier", "readOnly": true },
"provMetadata": { "$ref": "#/$defs/provMetadata.read", "readOnly": true },
"status": {
"type": "array",
"items": { "$ref": "#/$defs/contactStatus.read" },
"minItems": 1
},
"contactInfo": { "$ref": "#/$defs/Card" },
"authInfo": { "$ref": "#/$defs/authInfo.read" },
"disclose": { "$ref": "#/$defs/disclose.read" },
"processes": { "$ref": "#/$defs/processes.read", "readOnly": true }
},
"required": ["@type", "id", "provMetadata", "status", "contactInfo"]
}
}
}
¶
Update request schema (read-write properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/contact.update",
"$defs": {
"contact.update": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "contact" },
"status": {
"type": "array",
"items": { "$ref": "#/$defs/contactStatus.create" }
},
"contactInfo": { "$ref": "#/$defs/Card" },
"authInfo": { "$ref": "#/$defs/authInfo.create" },
"disclose": { "$ref": "#/$defs/disclose.read" }
},
"required": ["@type", "contactInfo"]
}
}
}
¶
Reference schema (identifier only):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/contact.reference",
"$defs": {
"contact.reference": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "contact" },
"id": { "$ref": "#/$defs/identifier" }
},
"required": ["@type", "id"]
}
}
}
¶
The following constraints cannot be expressed in JSON Schema and MUST be enforced by implementations:¶
hostName MUST be a syntactically valid fully qualified host name.¶
The response of the Availability operation is the Host Availability Object, see Section 6.2.15.4.¶
Create request schema (create-only and read-write properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/host.create",
"$defs": {
"host.create": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "host" },
"hostName": { "type": "string", "format": "hostname" },
"status": {
"type": "array",
"items": { "$ref": "#/$defs/hostStatus.create" }
},
"dns": { "$ref": "#/$defs/dnsData.create" }
},
"required": ["@type", "hostName"]
}
}
}
¶
Read response schema (read-write and read-only properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/host.read",
"$defs": {
"host.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "host", "readOnly": true },
"hostName": { "type": "string", "format": "hostname" },
"provMetadata": { "$ref": "#/$defs/provMetadata.read", "readOnly": true },
"status": {
"type": "array",
"items": { "$ref": "#/$defs/hostStatus.read" },
"minItems": 1
},
"dns": { "$ref": "#/$defs/dnsData.read" },
"processes": { "$ref": "#/$defs/processes.read", "readOnly": true }
},
"required": ["@type", "hostName", "provMetadata", "status"]
}
}
}
¶
Update request schema (read-write properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/host.update",
"$defs": {
"host.update": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "host" },
"hostName": { "type": "string", "format": "hostname" },
"status": {
"type": "array",
"items": { "$ref": "#/$defs/hostStatus.create" }
},
"dns": { "$ref": "#/$defs/dnsData.create" }
},
"required": ["@type", "hostName"]
}
}
}
¶
Reference schema (identifier only):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/host.reference",
"$defs": {
"host.reference": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "host" },
"hostName": { "type": "string", "format": "hostname" }
},
"required": ["@type", "hostName"]
}
}
}
¶
The following constraints cannot be expressed in JSON Schema and MUST be enforced by implementations:¶
id MUST be a server-unique identifier conforming to the Identifier syntax.¶
status MUST always contain at least one value. pendingCreate, ok, hold, and terminated are mutually exclusive. ok MAY only be combined with linked.¶
parent, if present, MUST reference a known Organisation Object. Circular parent references MUST be rejected.¶
contacts keys MUST be contact type values registered in the IANA "EPP Organisation Contact Types" registry ([RFC8543]).¶
Create request schema (create-only and read-write properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/organisation.create",
"$defs": {
"organisation.create": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "organisation" },
"id": { "$ref": "#/$defs/identifier", "writeOnly": true },
"status": {
"type": "array",
"items": { "$ref": "#/$defs/organisationStatus.create" }
},
"roles": {
"type": "object",
"additionalProperties": { "$ref": "#/$defs/organisationRole.create" },
"minProperties": 1
},
"parent": { "$ref": "#/$defs/organisation.reference" },
"contactInfo": { "$ref": "#/$defs/Card" },
"contacts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": { "type": "string" },
"object": { "$ref": "#/$defs/contact.reference" }
},
"required": ["label", "object"]
}
},
"users": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": { "type": "string" },
"object": { "$ref": "#/$defs/user.reference" }
},
"required": ["label", "object"]
}
}
},
"required": ["@type", "id", "roles"]
}
}
}
¶
Read response schema (read-write and read-only properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/organisation.read",
"$defs": {
"organisation.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "organisation", "readOnly": true },
"id": { "$ref": "#/$defs/identifier", "readOnly": true },
"provMetadata": { "$ref": "#/$defs/provMetadata.read", "readOnly": true },
"status": {
"type": "array",
"items": { "$ref": "#/$defs/organisationStatus.read" },
"minItems": 1
},
"roles": {
"type": "object",
"additionalProperties": { "$ref": "#/$defs/organisationRole.read" },
"minProperties": 1
},
"parent": { "$ref": "#/$defs/organisation.reference" },
"contactInfo": { "$ref": "#/$defs/Card" },
"contacts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": { "type": "string" },
"object": { "$ref": "#/$defs/contact.reference" }
},
"required": ["label", "object"]
}
},
"users": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": { "type": "string" },
"object": { "$ref": "#/$defs/user.reference" }
},
"required": ["label", "object"]
}
},
"processes": { "$ref": "#/$defs/processes.read", "readOnly": true }
},
"required": ["@type", "id", "provMetadata", "status", "roles"]
}
}
}
¶
Update request schema (read-write properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/organisation.update",
"$defs": {
"organisation.update": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "organisation" },
"status": {
"type": "array",
"items": { "$ref": "#/$defs/organisationStatus.create" }
},
"roles": {
"type": "object",
"additionalProperties": { "$ref": "#/$defs/organisationRole.create" },
"minProperties": 1
},
"parent": { "$ref": "#/$defs/organisation.reference" },
"contactInfo": { "$ref": "#/$defs/Card" },
"contacts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": { "type": "string" },
"object": { "$ref": "#/$defs/contact.reference" }
},
"required": ["label", "object"]
}
},
"users": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": { "type": "string" },
"object": { "$ref": "#/$defs/user.reference" }
},
"required": ["label", "object"]
}
}
},
"required": ["@type", "roles"]
}
}
}
¶
Reference schema (identifier only):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/organisation.reference",
"$defs": {
"organisation.reference": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "organisation" },
"id": { "$ref": "#/$defs/identifier" }
},
"required": ["@type", "id"]
}
}
}
¶
The following constraints cannot be expressed in JSON Schema and MUST be enforced by implementations:¶
data is polymorphic: it MUST contain an instance of a message object that directly or indirectly extends the Base Message Object. The concrete message object is identified by the @type of the value used for the data property.¶
Create request schema. Only the server is authorised to create Message Data Objects, so the representation also carries the server-managed data elements id, creationDate and status.¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/message.create",
"$defs": {
"message.create": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "message" },
"data": {
"oneOf": [
{ "$ref": "#/$defs/reviewResponseMessage.read" },
{ "$ref": "#/$defs/transferRequestMessage.read" },
{ "$ref": "#/$defs/transferOutcomeMessage.read" },
{ "$ref": "#/$defs/expirationDeletionMessage.read" },
{ "$ref": "#/$defs/autoRenewalMessage.read" },
{ "$ref": "#/$defs/serviceNoticeMessage.read" }
],
"writeOnly": true
}
},
"required": ["@type", "data"]
}
}
}
¶
Read response schema (read-only properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/message.read",
"$defs": {
"message.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "message", "readOnly": true },
"id": { "$ref": "#/$defs/identifier", "readOnly": true },
"creationDate": { "type": "string", "format": "date-time", "readOnly": true },
"status": { "type": "string", "enum": ["queued", "delivered", "removed"], "readOnly": true },
"data": {
"oneOf": [
{ "$ref": "#/$defs/reviewResponseMessage.read" },
{ "$ref": "#/$defs/transferRequestMessage.read" },
{ "$ref": "#/$defs/transferOutcomeMessage.read" },
{ "$ref": "#/$defs/expirationDeletionMessage.read" },
{ "$ref": "#/$defs/autoRenewalMessage.read" },
{ "$ref": "#/$defs/serviceNoticeMessage.read" }
],
"readOnly": true
}
},
"required": ["@type", "id", "creationDate", "status", "data"]
}
}
}
¶
Query response schema (array of message read representations):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/message.query",
"$defs": {
"message.query": {
"type": "array",
"items": { "$ref": "#/$defs/message.read" }
}
}
}
¶
Reference schema (identifier only):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/message.reference",
"$defs": {
"message.reference": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "message" },
"id": { "$ref": "#/$defs/identifier", "readOnly": true }
},
"required": ["@type", "id"]
}
}
}
¶
The User Data Object represents a user linked to an Organisation Object. The lifecycle of a User Object is bound to its owning Organisation Object.¶
The following constraints cannot be expressed in JSON Schema and MUST be enforced by implementations:
- The "status" array MUST contain exactly one of the labels "active", "pending", "suspended", or "deactivated".¶
Create request schema (create-only and read-write properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/user.create",
"$defs": {
"user.create": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "user" },
"id": { "$ref": "#/$defs/identifier", "writeOnly": true },
"details": { "$ref": "#/$defs/Card" },
"description": { "type": "string" },
"status": { "$ref": "#/$defs/userStatus.create" }
},
"required": ["@type", "id", "details"]
}
}
}
¶
Read response schema (read-write and read-only properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/user.read",
"$defs": {
"user.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "user", "readOnly": true },
"id": { "$ref": "#/$defs/identifier", "readOnly": true },
"details": { "$ref": "#/$defs/Card" },
"description": { "type": "string" },
"status": { "$ref": "#/$defs/userStatus.read" },
"organisation": { "$ref": "#/$defs/organisation.reference", "readOnly": true },
"processes": { "$ref": "#/$defs/processes.read", "readOnly": true }
},
"required": ["@type", "id", "details", "status", "organisation"]
}
}
}
¶
Update request schema (read-write properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/user.update",
"$defs": {
"user.update": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "user" },
"details": { "$ref": "#/$defs/Card" },
"description": { "type": "string" },
"status": { "$ref": "#/$defs/userStatus.create" }
},
"required": ["@type", "details"]
}
}
}
¶
Reference schema (identifier only):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/user.reference",
"$defs": {
"user.reference": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "user" },
"id": { "$ref": "#/$defs/identifier" }
},
"required": ["@type", "id"]
}
}
}
¶
The Discovery Data Object describes the capabilities of an RPP server. The server provides a single Discovery Data Object, which has no Unique Identifier. All data elements are read-only, and the only supported operation is Read.¶
The following constraints cannot be expressed in JSON Schema and MUST be enforced by implementations:¶
datetime MUST be expressed in UTC using the Z suffix and MUST NOT use a numeric UTC offset.¶
object value in links MUST be an absolute URL using the HTTPS scheme, and the document MUST be accessible to the client without authentication.¶
label in links MUST be a link relation type registered in the IANA "Link Relation Types" registry.¶
objects MUST be a valid object identifier as defined in the RPP Data Object Registry.¶
Read response schema (read-only properties).¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/discovery.read",
"$defs": {
"discovery.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "discovery", "readOnly": true },
"versions": {
"type": "array",
"items": { "$ref": "#/$defs/discoveryVersion.read" },
"minItems": 1,
"readOnly": true
},
"environment": { "$ref": "#/$defs/discoveryEnvironment.read", "readOnly": true },
"tlds": {
"type": "array",
"items": { "type": "string" },
"minItems": 1,
"readOnly": true
},
"extensions": {
"type": "array",
"items": { "$ref": "#/$defs/extension.read" },
"readOnly": true
},
"profiles": {
"type": "array",
"items": { "type": "string" },
"readOnly": true
},
"objects": {
"type": "array",
"items": { "type": "string" },
"minItems": 1,
"readOnly": true
},
"datetime": { "type": "string", "format": "date-time", "readOnly": true },
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": { "type": "string" },
"object": { "type": "string" }
},
"required": ["label", "object"]
},
"readOnly": true
},
"idnLgr": {
"type": "array",
"items": { "$ref": "#/$defs/discoveryIdnLgr.read" },
"readOnly": true
},
"notices": {
"type": "array",
"items": { "$ref": "#/$defs/discoveryNotice.read" },
"readOnly": true
}
},
"required": ["@type", "versions", "environment", "tlds", "objects", "datetime"]
}
}
}
¶
The Profile Data Object represents a named set of protocol features and versions published by the server. All data elements are read-only, and the only supported operation is Read.¶
The following constraints cannot be expressed in JSON Schema and MUST be enforced by implementations:¶
name of a standard profile MUST use the RPP URN namespace, for example urn:ietf:params:rpp:profile:{profile_name}. The name of a private profile MUST be globally unique, the use of reverse domain name notation is RECOMMENDED.¶
baseProfile MUST NOT itself have a baseProfile, and a profile MUST NOT be its own base profile.¶
defaultProfile set to true.¶
Read response schema (read-only properties):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/profile.read",
"$defs": {
"profile.read": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "profile", "readOnly": true },
"name": { "type": "string", "readOnly": true },
"description": { "type": "string", "readOnly": true },
"version": { "type": "string", "readOnly": true },
"rppVersion": { "type": "string", "readOnly": true },
"objects": {
"type": "array",
"items": { "type": "string" },
"minItems": 1,
"readOnly": true
},
"extensions": {
"type": "array",
"items": { "$ref": "#/$defs/extension.read" },
"readOnly": true
},
"baseProfile": { "$ref": "#/$defs/profile.reference", "readOnly": true },
"defaultProfile": { "type": "boolean", "readOnly": true }
},
"required": [
"@type",
"name",
"description",
"version",
"rppVersion",
"objects",
"defaultProfile"
]
}
}
}
¶
Reference schema (identifier only):¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/profile.reference",
"$defs": {
"profile.reference": {
"type": "object",
"properties": {
"@type": { "type": "string", "const": "profile" },
"name": { "type": "string", "readOnly": true }
},
"required": ["@type", "name"]
}
}
}
¶
Extensions MUST employ an additive schema composition method, allowing new optional or required properties to be added to an existing base object schema. New properties MUST not conflict with existing definitions and MUST NOT redefine existing properties from the base schema.¶
To support multiple extensions, a mechanism for mapping extensions to their respective base objects is defined using the rpp:extends property within the extension schema.¶
Extensions SHOULD be independent of one another, meaning that an extension should not rely on the presence of another extension to function correctly. This ensures modularity and reduces the risk of conflicts between extensions.¶
An extension schema MUST define a unique identifier using a top-level $id to ensure that references to the schema are unambiguous and correctly resolved. For IETF standardised extensions, using a stable and unique URI as the $id is RECOMMENDED.¶
An IANA registry for RPP JSON extensions is requested in this document, standardised JSON extensions SHALL be registered in this registry. Ensuring that each extension has a unique and stable identifier that can be referenced reliably across different implementations. This also promotes the reuse of common extensions and reduces duplication of effort.¶
It is RECOMMENDED to use the prefix "ext." for every extension sub-schema defined, for example #/$defs/ext.domainFoo.¶
TODO what objects are eligible for extensions?¶
Each extension MUST define a mapping to every base object it applies to, this is done by using a special rpp:extends property within the extension schema. For example, this mapping where the base object https://rpp.example/rpp/schema.json#/$defs/domainName.create is extended by the local definition #/$defs/ext.domainFoo:¶
{
"rpp:extends": {
"https://rpp.example/rpp/schema.json#/$defs/domainName.create":
"#/$defs/ext.domainFoo"
}
}
¶
Extensions are additive and independent, the effective schema for a base object MUST account for all applicable extensions to ensure that a validator can determine whether an object fully conforms to the combined set of constraints. When one or more extensions are applied to a base object, the effective schema for that object is obtained by composing the base object's schema with the schemas contributed by each extension using the allOf keyword, the server uses the rpp:extends metadata property to resolve the mapping between the base object and its extensions correctly.¶
The resulting schema is a self-contained schema that includes everything from both the base specification and the extensions, allowing clients to validate objects against a single comprehensive schema.¶
The following is an example of an extension JSON Schema, which adds new properties to both the domain and contact base objects:¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://rpp.example/schemas/extension1.json",
"rpp:extends": {
"https://rpp.example/rpp/schema.json#/$defs/domainName.create":
"#/$defs/ext.domain",
"https://rpp.example/rpp/schema.json#/$defs/contact.create":
"#/$defs/ext.contact"
},
"$defs": {
"ext.domain": {
"type": "object",
"properties": {
"foo": { "type": "string" },
"bar": { "type": "boolean" }
},
"required": ["foo"]
},
"ext.contact": {
"type": "object",
"properties": {
"fooContact": { "type": "string" }
}
}
}
}
¶
The effective schema is a distinct schema resource from the base schema it composes and therefore MUST be assigned its own $id, different from the $id of the base schema and of any other effective schema, to avoid ambiguous or circular references. It is RECOMMENDED to use the prefix "effective." for every effective sub-schema defined, for example #/$defs/effective.domainFoo.¶
Domain Name effective schema, which includes the full schema of the base domain object along with any applicable extensions:¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://rpp.example/rpp/effective/domain.json",
"$ref": "#/$defs/effective.domainName.create",
"$defs": {
"effective.domainName.create": {
"allOf": [
{
"$ref": "https://rpp.example/rpp/schema.json#/$defs/domainName.create"
},
{
"$ref": "#/$defs/ext.domain"
}
]
},
"ext.domain": {
"type": "object",
"properties": {
"foo": {
"type": "string"
}
},
"required": ["foo"]
}
}
}
¶
This section provides examples that follow the JSON representation rules and JSON Schema definitions specified in the previous sections. The examples illustrate typical request and response messages for the RPP Data Objects defined in [I-D.ietf-rpp-data-objects].¶
Example domain availability response for a domain name that can be created:¶
{
"@type": "domainNameAvailability",
"available": true
}
¶
Example domain availability response for a domain name that cannot be created:¶
{
"@type": "domainNameAvailability",
"available": false,
"reason": "In use"
}
¶
Example domain create request:¶
{
"@type": "domainName",
"name": "example.example",
"nameservers": [
{ "@type": "host", "hostName": "ns1.example.example" },
{ "@type": "host", "hostName": "ns2.example.example" }
],
"registrant": { "@type": "contact", "id": "JD-1234" },
"contacts": [
{ "label": "admin", "object": { "@type": "contact", "id": "SH-8013" } },
{ "label": "tech", "object": { "@type": "contact", "id": "SH-8013" } }
],
"authInfo": {
"@type": "authInfo",
"method": "authinfo",
"authdata": "2fooBAR"
},
"processes": {
"@type": "processes",
"createProcess": [
{
"@type": "domainCreateProcess",
"period": {
"@type": "period",
"value": 2,
"unit": "y"
}
}
]
}
}
¶
Example domain create response from a server with RGP support:¶
{
"@type": "domainName",
"name": "example.example",
"provMetadata": {
"@type": "provMetadata",
"repositoryId": "EXAMPLE1-REP",
"spClientId": "ClientX",
"crClientId": "ClientX",
"crDate": "1999-04-03T22:00:00.0Z"
},
"status": [
{ "@type": "domainStatus", "label": "ok" },
{ "@type": "domainStatus", "label": "rgpAddPeriod" }
],
"expiryDate": "2001-04-03T22:00:00.0Z"
}
¶
Example Create Process Object without object-specific create inputs, as returned in a read response:¶
{
"@type": "createProcess",
"processId": "CRT-1002"
}
¶
Example Create Process Object for a two-year domain registration period, as embedded above in processes.createProcess:¶
{
"@type": "domainCreateProcess",
"period": {
"@type": "period",
"value": 2,
"unit": "y"
}
}
¶
Example domain read response:¶
{
"@type": "domainName",
"name": "example.example",
"provMetadata": {
"@type": "provMetadata",
"repositoryId": "EXAMPLE1-REP",
"spClientId": "ClientX",
"crClientId": "ClientY",
"crDate": "1999-04-03T22:00:00.0Z",
"upClientId": "ClientX",
"upDate": "1999-12-03T09:00:00.0Z",
"trDate": "2000-04-08T09:00:00.0Z"
},
"status": [
{ "@type": "domainStatus", "label": "ok" }
],
"registrant": { "@type": "contact", "id": "JD-1234" },
"contacts": [
{ "label": "admin", "object": { "@type": "contact", "id": "SH-8013" } },
{ "label": "tech", "object": { "@type": "contact", "id": "SH-8013" } }
],
"nameservers": [
{
"@type": "host",
"hostName": "ns1.example.example"
},
{
"@type": "host",
"hostName": "ns2.example.example"
}
],
"subordinateHosts": [
{
"@type": "host",
"hostName": "ns1.example.example"
},
{
"@type": "host",
"hostName": "ns2.example.example"
}
],
"expiryDate": "2005-04-03T22:00:00.0Z",
"authInfo": {
"@type": "authInfo",
"method": "authinfo",
"authdata": "2fooBAR"
},
"processes": {
"@type": "processes",
"createProcess": [
{ "@type": "domainCreateProcess", "processId": "CRT-1001" }
]
}
}
¶
Example Read response for an internationalised domain name, showing the ACE name, the corresponding uName, and the lgr identifying the Label Generation Ruleset (LGR) used for validation:¶
{
"@type": "domainName",
"name": "xn--bcher-kva.example",
"uName": "bücher.example",
"lgr": "latn-1.0",
"provMetadata": {
"@type": "provMetadata",
"repositoryId": "BUCHER1-REP",
"spClientId": "ClientX",
"crClientId": "ClientX",
"crDate": "1999-04-03T22:00:00.0Z"
},
"status": [
{ "@type": "domainStatus", "label": "ok" }
]
}
¶
Example domain update request (read-write properties):¶
{
"@type": "domainName",
"registrant": { "@type": "contact", "id": "SH-8013" },
"authInfo": {
"@type": "authInfo",
"method": "authinfo",
"authdata": "2BARfoo"
}
}
¶
Example domain update response:¶
{
"@type": "domainName",
"name": "example.example",
"provMetadata": {
"@type": "provMetadata",
"repositoryId": "EXAMPLE1-REP",
"spClientId": "ClientX",
"crClientId": "ClientY",
"crDate": "1999-04-03T22:00:00.0Z",
"upClientId": "ClientX",
"upDate": "2000-01-15T09:00:00.0Z"
},
"status": [
{ "@type": "domainStatus", "label": "ok" }
],
"registrant": { "@type": "contact", "id": "SH-8013" }
}
¶
The domain delete operation takes the domain name as the resource identifier in the request. No request body is required.¶
Example domain delete response (minimal, server may return full representation):¶
{
"@type": "domainName",
"name": "example.example",
"provMetadata": {
"@type": "provMetadata",
"repositoryId": "EXAMPLE1-REP",
"spClientId": "ClientX"
},
"status": [
{ "@type": "domainStatus", "label": "pendingDelete" }
]
}
¶
The renew operation creates a Renew Process Object. The optional expiryDate in the request is the current expiry date, sent by the client for server-side validation to prevent duplicate renewals. The response returns a Renew Process Object containing the new expiry date.¶
Example domain renew request:¶
{
"@type": "renewProcess",
"expiryDate": "2005-04-03T22:00:00.0Z",
"renewalPeriod": {
"@type": "period",
"value": 5,
"unit": "y"
}
}
¶
Example domain renew response:¶
{
"@type": "renewProcess",
"expiryDate": "2010-04-03T22:00:00.0Z"
}
¶
Authorisation information for the transfer MUST be conveyed using the RPP-Authorization HTTP header (see Authorisation Information in Requests), not in the JSON request body.¶
Example domain transfer request (pull transfer):¶
{
"@type": "domainTransferProcess",
"transferDir": "pull",
"transferPeriod": {
"@type": "period",
"value": 1,
"unit": "y"
}
}
¶
Example domain transfer response (Transfer Process Object):¶
{
"@type": "domainTransferProcess",
"trStatus": "pending",
"transferDir": "pull",
"reqClientId": "ClientX",
"requestDate": "2000-06-08T22:00:00.0Z",
"actClientId": "ClientY",
"actionDate": "2000-06-13T22:00:00.0Z",
"expiryDate": "2002-09-08T22:00:00.0Z"
}
¶
Example domain transfer query response (Transfer Process Object):¶
{
"@type": "domainTransferProcess",
"trStatus": "pending",
"transferDir": "pull",
"reqClientId": "ClientX",
"requestDate": "2000-06-06T22:00:00.0Z",
"actClientId": "ClientY",
"actionDate": "2000-06-11T22:00:00.0Z",
"expiryDate": "2002-09-08T22:00:00.0Z"
}
¶
The Transfer approve operation has a request body with an empty JSON object, the server can identify the transfer process to be approved based on the request URL and the authenticated client's permissions.¶
Example domain transfer approve request with empty JSON object:¶
{
"@type": "domainTransferProcess"
}
¶
The response is the Transfer Process Object, similar to the Create (Transfer Request) and Read (Transfer Query) responses.¶
The Transfer cancel operation has an empty request body, the server can identify the transfer process to be cancelled based on the request URL and the authenticated client's permissions.¶
The response is the Transfer Process Object, similar to the Create (Transfer Request) and Read (Transfer Query) responses.¶
Example domain transfer reject request:¶
{
"@type": "domainTransferProcess",
"reason": "Client rejected the transfer request."
}
¶
The transfer reject response is the Transfer Process Object, similar to the Create (Transfer Request) and Read (Transfer Query) responses.¶
Example domain restore request (without inline report; object transitions to pendingRestore state):¶
{
"@type": "restoreProcess"
}
¶
Example domain restore response (Restore Process Object, server requires a report):¶
{
"@type": "restoreProcess",
"restoreStatus": "pendingRestore",
"requestDate": "2025-01-20T15:30:00.0Z",
"reportDueDate": "2025-01-27T15:30:00.0Z"
}
¶
Example domain restore request with inline restore report (single-step; object restored immediately):¶
{
"@type": "restoreProcess",
"restoreReport": {
"@type": "restoreReport",
"preData": "Domain example.example was registered on 2024-01-15 with registrant JD-1234.",
"postData": "Domain example.example is being restored with the same registration data.",
"deleteTime": "2025-01-10T12:00:00.0Z",
"restoreTime": "2025-01-20T15:30:00.0Z",
"restoreReason": "Domain deleted in error by client operator.",
"statements": [
"The information in this report is true to the best of my knowledge.",
"I have a valid reason for restoring this domain name."
]
}
}
¶
Example domain restore response with inline report (Restore Process Object, immediately restored):¶
{
"@type": "restoreProcess",
"restoreStatus": "restored",
"requestDate": "2025-01-20T15:30:00.0Z",
"reportDate": "2025-01-20T15:30:00.0Z"
}
¶
Example domain restore report request:¶
{
"@type": "restoreProcess",
"restoreReport": {
"@type": "restoreReport",
"preData": "Domain example.example was registered on 2024-01-15 with registrant JD-1234.",
"postData": "Domain example.example is being restored with the same registration data.",
"deleteTime": "2025-01-10T12:00:00.0Z",
"restoreTime": "2025-01-20T15:30:00.0Z",
"restoreReason": "Domain deleted in error by client operator.",
"statements": [
"The information in this report is true to the best of my knowledge.",
"I have a valid reason for restoring this domain name."
]
}
}
¶
Example domain restore report response (Restore Process Object):¶
{
"@type": "restoreProcess",
"restoreStatus": "restored",
"requestDate": "2025-01-20T15:30:00.0Z",
"reportDate": "2025-01-22T09:15:00.0Z"
}
¶
The Read (Restore Query) operation takes no request body (Parameters: None).¶
Example domain restore query response (Restore Process Object, object in pendingRestore state):¶
{
"@type": "restoreProcess",
"restoreStatus": "pendingRestore",
"requestDate": "2025-01-20T15:30:00.0Z",
"reportDueDate": "2025-01-27T15:30:00.0Z"
}
¶
Example domain restore query response (Restore Process Object, object restored):¶
{
"@type": "restoreProcess",
"restoreStatus": "restored",
"requestDate": "2025-01-20T15:30:00.0Z",
"reportDate": "2025-01-22T09:15:00.0Z"
}
¶
Example contact availability response for a contact that cannot be created:¶
{
"@type": "contactAvailability",
"available": false,
"reason": "In use"
}
¶
Example contact create request:¶
{
"@type": "contact",
"id": "JD-1234",
"contactInfo": {
"@type": "Card",
"version": "2.0",
"kind": "individual",
"name": {
"full": "John Doe"
},
"organizations": {
"org": { "name": "Example Inc." }
},
"addresses": {
"addr": {
"components": [
{ "kind": "name", "value": "123 Example Dr., Suite 100" },
{ "kind": "locality", "value": "Dulles" },
{ "kind": "region", "value": "VA" },
{ "kind": "postcode", "value": "20166-6503" }
],
"countryCode": "US"
}
},
"phones": {
"voice": { "number": "tel:+1-703-555-5555" },
"fax": { "features": { "fax": true }, "number": "tel:+1-703-555-5556" }
},
"emails": {
"email": { "address": "jdoe@example.example" }
}
},
"authInfo": {
"@type": "authInfo",
"method": "authinfo",
"authdata": "2fooBAR"
}
}
¶
Example contact create response:¶
{
"@type": "contact",
"id": "JD-1234",
"provMetadata": {
"@type": "provMetadata",
"repositoryId": "JD1234-REP",
"spClientId": "ClientX",
"crClientId": "ClientX",
"crDate": "1999-04-03T22:00:00.0Z"
},
"status": [
{ "@type": "contactStatus", "label": "ok" }
],
"contactInfo": {
"@type": "Card",
"version": "2.0",
"kind": "individual",
"name": {
"full": "John Doe"
},
"organizations": {
"org": { "name": "Example Inc." }
},
"addresses": {
"addr": {
"components": [
{ "kind": "name", "value": "123 Example Dr., Suite 100" },
{ "kind": "locality", "value": "Dulles" },
{ "kind": "region", "value": "VA" },
{ "kind": "postcode", "value": "20166-6503" }
],
"countryCode": "US"
}
},
"phones": {
"voice": { "number": "tel:+1-703-555-5555" },
"fax": { "features": { "fax": true }, "number": "tel:+1-703-555-5556" }
},
"emails": {
"email": { "address": "jdoe@example.example" }
}
}
}
¶
Example contact read response:¶
{
"@type": "contact",
"id": "JD-1234",
"provMetadata": {
"@type": "provMetadata",
"repositoryId": "JD1234-REP",
"spClientId": "ClientX",
"crClientId": "ClientX",
"crDate": "1999-04-03T22:00:00.0Z",
"upClientId": "ClientX",
"upDate": "2000-01-15T09:00:00.0Z"
},
"status": [
{ "@type": "contactStatus", "label": "ok" }
],
"contactInfo": {
"@type": "Card",
"version": "2.0",
"kind": "individual",
"name": {
"full": "John Doe"
},
"organizations": {
"org": { "name": "Example Inc." }
},
"addresses": {
"addr": {
"components": [
{ "kind": "name", "value": "123 Example Dr., Suite 100" },
{ "kind": "locality", "value": "Dulles" },
{ "kind": "region", "value": "VA" },
{ "kind": "postcode", "value": "20166-6503" }
],
"countryCode": "US"
}
},
"phones": {
"voice": { "number": "tel:+1-703-555-5555" }
},
"emails": {
"email": { "address": "jdoe@example.example" }
}
}
}
¶
Example contact update request:¶
{
"@type": "contact",
"contactInfo": {
"@type": "Card",
"version": "2.0",
"addresses": {
"addr": {
"components": [
{ "kind": "name", "value": "456 New Street, Suite 200" },
{ "kind": "locality", "value": "Reston" },
{ "kind": "region", "value": "VA" },
{ "kind": "postcode", "value": "20190" }
],
"countryCode": "US"
}
},
"phones": {
"voice": { "number": "tel:+1-703-555-5556" }
},
"emails": {
"email": { "address": "jdoe-new@example.example" }
}
}
}
¶
Example contact update response:¶
{
"@type": "contact",
"id": "JD-1234",
"provMetadata": {
"@type": "provMetadata",
"repositoryId": "JD1234-REP",
"spClientId": "ClientX",
"crClientId": "ClientX",
"crDate": "1999-04-03T22:00:00.0Z",
"upClientId": "ClientX",
"upDate": "2025-06-01T10:00:00.0Z"
},
"status": [
{ "@type": "contactStatus", "label": "ok" }
],
"contactInfo": {
"@type": "Card",
"version": "2.0",
"kind": "individual",
"name": {
"full": "John Doe"
},
"organizations": {
"org": { "name": "Example Inc." }
},
"addresses": {
"addr": {
"components": [
{ "kind": "name", "value": "456 New Street, Suite 200" },
{ "kind": "locality", "value": "Reston" },
{ "kind": "region", "value": "VA" },
{ "kind": "postcode", "value": "20190" }
],
"countryCode": "US"
}
},
"phones": {
"voice": { "number": "tel:+1-703-555-5556" }
},
"emails": {
"email": { "address": "jdoe-new@example.example" }
}
}
}
¶
The contact delete operation takes the contact identifier as the resource identifier. No request body is required.¶
Authorisation information for the transfer MUST be conveyed using the RPP-Authorization HTTP header (see Authorisation Information in Requests), not in the JSON request body.¶
Example contact transfer request (pull transfer):¶
{
"@type": "transferProcess",
"transferDir": "pull"
}
¶
Example contact transfer response (Transfer Process Object):¶
{
"@type": "transferProcess",
"trStatus": "pending",
"transferDir": "pull",
"reqClientId": "ClientX",
"requestDate": "2000-06-08T22:00:00.0Z",
"actClientId": "ClientY",
"actionDate": "2000-06-13T22:00:00.0Z"
}
¶
Example contact transfer query response (Transfer Process Object):¶
{
"@type": "transferProcess",
"trStatus": "pending",
"transferDir": "pull",
"reqClientId": "ClientX",
"requestDate": "2000-06-06T22:00:00.0Z",
"actClientId": "ClientY",
"actionDate": "2000-06-11T22:00:00.0Z"
}
¶
Transfer cancel and approve responses return the Transfer Process Object. The response structure is the same as the Transfer Query response above. The trStatus value reflects the outcome of the operation (e.g. "clientCancelled", "clientRejected", or "clientApproved").¶
Example contact transfer reject request:¶
{
"@type": "transferProcess",
"reason": "Client rejected the transfer request."
}
¶
The transfer reject response is the Transfer Process Object, similar to the Create (Transfer Request) and Read (Transfer Query) responses.¶
Example host availability response for a host that can be created:¶
{
"@type": "hostAvailability",
"available": true
}
¶
Example host create request:¶
{
"@type": "host",
"hostName": "ns1.example.example",
"dns": {
"@type": "dnsData",
"records": [
{
"@type": "dnsRecord",
"name": "@",
"type": "ns",
"rdata": { "nsdname": "ns1.example.example." }
},
{
"@type": "dnsRecord",
"name": "ns1.example.example.",
"type": "a",
"rdata": { "address": "192.0.2.1" }
},
{
"@type": "dnsRecord",
"name": "ns1.example.example.",
"type": "aaaa",
"rdata": { "address": "2001:db8::1" }
}
],
"controls": {
"@type": "dnsControls",
"ttl": { "a": 3600, "aaaa": 3600 }
}
}
}
¶
Example host create response:¶
{
"@type": "host",
"hostName": "ns1.example.example",
"provMetadata": {
"@type": "provMetadata",
"repositoryId": "NS1-REP",
"spClientId": "ClientX",
"crClientId": "ClientX",
"crDate": "1999-04-03T22:00:00.0Z"
},
"status": [
{ "@type": "hostStatus", "label": "ok" }
],
"dns": {
"@type": "dnsData",
"records": [
{
"@type": "dnsRecord",
"name": "@",
"type": "ns",
"rdata": { "nsdname": "ns1.example.example." }
},
{
"@type": "dnsRecord",
"name": "ns1.example.example.",
"type": "a",
"rdata": { "address": "192.0.2.1" }
},
{
"@type": "dnsRecord",
"name": "ns1.example.example.",
"type": "aaaa",
"rdata": { "address": "2001:db8::1" }
}
],
"controls": {
"@type": "dnsControls",
"ttl": { "a": 3600, "aaaa": 3600 }
}
}
}
¶
Example host read response:¶
{
"@type": "host",
"hostName": "ns1.example.example",
"provMetadata": {
"@type": "provMetadata",
"repositoryId": "NS1-REP",
"spClientId": "ClientX",
"crClientId": "ClientY",
"crDate": "1999-04-03T22:00:00.0Z"
},
"status": [
{ "@type": "hostStatus", "label": "ok" }
],
"dns": {
"@type": "dnsData",
"records": [
{
"@type": "dnsRecord",
"name": "@",
"type": "ns",
"rdata": { "nsdname": "ns1.example.example." }
},
{
"@type": "dnsRecord",
"name": "ns1.example.example.",
"type": "a",
"rdata": { "address": "192.0.2.1" }
}
]
}
}
¶
Example host update request:¶
{
"@type": "host",
"hostName": "ns1.example.example",
"dns": {
"@type": "dnsData",
"records": [
{
"@type": "dnsRecord",
"name": "@",
"type": "ns",
"rdata": { "nsdname": "ns1.example.example." }
},
{
"@type": "dnsRecord",
"name": "ns1.example.example.",
"type": "a",
"rdata": { "address": "198.51.100.1" }
}
]
}
}
¶
The host delete operation takes the host name as the resource identifier. No request body is required. The server SHOULD reject the request if the host object is associated with any domain name objects.¶
Example host restore request (without inline report; object transitions to pendingRestore state):¶
{
"@type": "restoreProcess"
}
¶
Example host restore request response (Restore Process Object, server requires a report):¶
{
"@type": "restoreProcess",
"restoreStatus": "pendingRestore",
"requestDate": "2025-01-20T15:30:00.0Z",
"reportDueDate": "2025-01-27T15:30:00.0Z"
}
¶
Example host restore request with inline restore report (single-step; object restored immediately):¶
{
"@type": "restoreProcess",
"restoreReport": {
"@type": "restoreReport",
"preData": "Host ns1.example.example was registered on 2024-01-15 by ClientX.",
"postData": "Host ns1.example.example is being restored with the same registration data.",
"deleteTime": "2025-01-10T12:00:00.0Z",
"restoreTime": "2025-01-20T15:30:00.0Z",
"restoreReason": "Host deleted in error by client operator.",
"statements": [
"The information in this report is true to the best of my knowledge.",
"I have a valid reason for restoring this host object."
]
}
}
¶
Example host restore response with inline report (Restore Process Object, immediately restored):¶
{
"@type": "restoreProcess",
"restoreStatus": "restored",
"requestDate": "2025-01-20T15:30:00.0Z",
"reportDate": "2025-01-20T15:30:00.0Z"
}
¶
Example host restore report request:¶
{
"@type": "restoreProcess",
"restoreReport": {
"@type": "restoreReport",
"preData": "Host ns1.example.example was registered on 2024-01-15 by ClientX.",
"postData": "Host ns1.example.example is being restored with the same registration data.",
"deleteTime": "2025-01-10T12:00:00.0Z",
"restoreTime": "2025-01-20T15:30:00.0Z",
"restoreReason": "Host deleted in error by client operator.",
"statements": [
"The information in this report is true to the best of my knowledge.",
"I have a valid reason for restoring this host object."
]
}
}
¶
Example host restore report response (Restore Process Object):¶
{
"@type": "restoreProcess",
"restoreStatus": "restored",
"requestDate": "2025-01-20T15:30:00.0Z",
"reportDate": "2025-01-22T09:15:00.0Z"
}
¶
The Read (Restore Query) operation takes no request body (Parameters: None).¶
Example host restore query response (Restore Process Object, object in pendingRestore state):¶
{
"@type": "restoreProcess",
"restoreStatus": "pendingRestore",
"requestDate": "2025-01-20T15:30:00.0Z",
"reportDueDate": "2025-01-27T15:30:00.0Z"
}
¶
Example host restore query response (Restore Process Object, object restored):¶
{
"@type": "restoreProcess",
"restoreStatus": "restored",
"requestDate": "2025-01-20T15:30:00.0Z",
"reportDate": "2025-01-22T09:15:00.0Z"
}
¶
Example organisation create request:¶
{
"@type": "organisation",
"id": "ORG-12345",
"roles": { "registrar":
{
"@type": "organisationRole",
"roleId": "1234"
}
},
"parent": { "@type": "organisation", "id": "ORG-9999" },
"contactInfo": {
"@type": "Card",
"version": "2.0",
"kind": "org",
"name": {
"full": "Example Registrar Inc."
},
"addresses": {
"addr": {
"components": [
{ "kind": "name", "value": "Meander 501" },
{ "kind": "locality", "value": "Arnhem" },
{ "kind": "region", "value": "Gelderland" },
{ "kind": "postcode", "value": "6825MD" }
],
"countryCode": "NL"
}
},
"emails": {
"email": { "address": "registrar@example.example" }
}
},
"contacts": [
{ "label": "admin", "object": { "@type": "contact", "id": "CID-1001" } },
{ "label": "tech", "object": { "@type": "contact", "id": "CID-1002" } }
]
}
¶
Example organisation create response:¶
{
"@type": "organisation",
"id": "ORG-12345",
"provMetadata": {
"@type": "provMetadata",
"repositoryId": "ORG12345-REP",
"spClientId": "ClientX",
"crClientId": "ClientX",
"crDate": "2025-03-15T10:00:00.0Z"
},
"status": [
{ "@type": "organisationStatus", "label": "ok" }
],
"roles": { "registrar":
{
"@type": "organisationRole",
"status": [ { "@type": "organisationRoleStatus", "label": "ok" } ],
"roleId": "1234"
}
},
"parent": { "@type": "organisation", "id": "ORG-9999" },
"contactInfo": {
"@type": "Card",
"version": "2.0",
"kind": "org",
"name": {
"full": "Example Registrar Inc."
},
"addresses": {
"addr": {
"components": [
{ "kind": "name", "value": "Meander 501" },
{ "kind": "locality", "value": "Arnhem" },
{ "kind": "region", "value": "Gelderland" },
{ "kind": "postcode", "value": "6825MD" }
],
"countryCode": "NL"
}
},
"emails": {
"email": { "address": "registrar@example.example" }
}
},
"contacts": [
{ "label": "admin", "object": { "@type": "contact", "id": "CID-1001" } },
{ "label": "tech", "object": { "@type": "contact", "id": "CID-1002" } }
],
"users": [
{ "label": "admin", "object": { "@type": "user", "id": "UID-5001" } }
]
}
¶
Example organisation read response:¶
{
"@type": "organisation",
"id": "ORG-12345",
"provMetadata": {
"@type": "provMetadata",
"repositoryId": "ORG12345-REP",
"spClientId": "ClientX",
"crClientId": "ClientX",
"crDate": "2025-03-15T10:00:00.0Z",
"upClientId": "ClientX",
"upDate": "2025-06-01T08:30:00.0Z"
},
"status": [
{ "@type": "organisationStatus", "label": "linked" }
],
"roles": { "registrar":
{
"@type": "organisationRole",
"status": [ { "@type": "organisationRoleStatus", "label": "ok" } ],
"roleId": "1234"
}
},
"parent": { "@type": "organisation", "id": "ORG-9999" },
"contactInfo": {
"@type": "Card",
"version": "2.0",
"kind": "org",
"name": {
"full": "Example Registrar Inc."
},
"addresses": {
"addr": {
"components": [
{ "kind": "name", "value": "Meander 501" },
{ "kind": "locality", "value": "Arnhem" },
{ "kind": "region", "value": "Gelderland" },
{ "kind": "postcode", "value": "6825MD" }
],
"countryCode": "NL"
}
},
"emails": {
"email": { "address": "registrar@example.example" }
}
},
"contacts": [
{ "label": "admin", "object": { "@type": "contact", "id": "CID-1001" } },
{ "label": "tech", "object": { "@type": "contact", "id": "CID-1002" } }
],
"users": [
{ "label": "admin", "object": { "@type": "user", "id": "UID-5001" } }
]
}
¶
Example organisation update request:¶
{
"@type": "organisation",
"roles": { "registrar":
{
"@type": "organisationRole",
"status": [ { "@type": "organisationRoleStatus", "label": "clientLinkProhibited" } ],
"roleId": "1234"
}
},
"status": [
{ "@type": "organisationStatus", "label": "clientLinkProhibited" }
],
"contacts": [
{ "label": "admin", "object": { "@type": "contact", "id": "CID-2001" } },
{ "label": "tech", "object": { "@type": "contact", "id": "CID-2002" } }
]
}
¶
Example user create request:¶
{
"@type": "user",
"id": "UID-5001",
"details": {
"@type": "Card",
"version": "2.0",
"kind": "individual",
"name": { "full": "John Doe" },
"emails": {
"email": { "address": "john.doe@example.example" }
}
}
}
¶
Example user create response:¶
{
"@type": "user",
"id": "UID-5001",
"details": {
"@type": "Card",
"version": "2.0",
"kind": "individual",
"name": { "full": "John Doe" },
"emails": {
"email": { "address": "john.doe@example.example" }
}
},
"status": { "@type": "userStatus", "label": "pending" },
"organisation": { "@type": "organisation", "id": "ORG-12345" }
}
¶
Example user read response:¶
{
"@type": "user",
"id": "UID-5001",
"details": {
"@type": "Card",
"version": "2.0",
"kind": "individual",
"name": { "full": "John Doe" },
"emails": {
"email": { "address": "john.doe@example.example" }
}
},
"status": { "@type": "userStatus", "label": "active" },
"organisation": { "@type": "organisation", "id": "ORG-12345" }
}
¶
Example user update request (suspend the user):¶
{
"@type": "user",
"status": { "@type": "userStatus", "label": "suspended" },
"details": {
"@type": "Card",
"version": "2.0",
"kind": "individual",
"name": { "full": "John Doe" },
"emails": {
"email": { "address": "john.doe@example.example" }
}
}
}
¶
Example message create request using a Transfer Request Message Object, notifying the recipient organisation that a transfer of the domain name transfer-test.example is pending and requires action:¶
{
"@type": "message",
"data": {
"@type": "transferRequestMessage",
"objectType": "domainName",
"objectId": "transfer-test.example",
"process": {
"@type": "domainTransferProcess",
"processId": "TRF-1001",
"trStatus": "pending",
"transferDir": "pull",
"reqClientId": "ClientX",
"requestDate": "2026-09-17T09:00:00.0Z",
"actClientId": "ClientY",
"actionDate": "2026-09-22T09:00:00.0Z"
},
"status": "pending",
"requestDate": "2026-09-17T09:00:00.0Z",
"actionDate": "2026-09-22T09:00:00.0Z"
}
}
¶
Example message create response:¶
{
"@type": "message",
"id": "MSG-98765",
"creationDate": "2026-09-17T09:00:00.0Z",
"status": "queued",
"data": {
"@type": "transferRequestMessage",
"objectType": "domainName",
"objectId": "transfer-test.example",
"process": {
"@type": "domainTransferProcess",
"processId": "TRF-1001",
"trStatus": "pending",
"transferDir": "pull",
"reqClientId": "ClientX",
"requestDate": "2026-09-17T09:00:00.0Z",
"actClientId": "ClientY",
"actionDate": "2026-09-22T09:00:00.0Z"
},
"status": "pending",
"requestDate": "2026-09-17T09:00:00.0Z",
"actionDate": "2026-09-22T09:00:00.0Z"
}
}
¶
Example message read response:¶
{
"@type": "message",
"id": "MSG-98765",
"creationDate": "2026-09-17T09:00:00.0Z",
"status": "delivered",
"data": {
"@type": "transferRequestMessage",
"objectType": "domainName",
"objectId": "transfer-test.example",
"process": {
"@type": "domainTransferProcess",
"processId": "TRF-1001",
"trStatus": "pending",
"transferDir": "pull",
"reqClientId": "ClientX",
"requestDate": "2026-09-17T09:00:00.0Z",
"actClientId": "ClientY",
"actionDate": "2026-09-22T09:00:00.0Z"
},
"status": "pending",
"requestDate": "2026-09-17T09:00:00.0Z",
"actionDate": "2026-09-22T09:00:00.0Z"
}
}
¶
Example message read response with a Review Response Object:¶
{
"@type": "message",
"id": "MSG-98770",
"creationDate": "2026-09-19T14:30:00.0Z",
"status": "queued",
"data": {
"@type": "reviewResponseMessage",
"objectType": "domainName",
"objectId": "review-test.example",
"approved": true,
"clientTransactionId": "ABC-12345",
"serverTransactionId": "54322-XYZ",
"completionDate": "2026-09-19T14:30:00.0Z",
"message": "The domain name registration was approved."
}
}
¶
Example message read response with a Transfer Outcome Message Object:¶
{
"@type": "message",
"id": "MSG-98771",
"creationDate": "2026-09-22T09:00:00.0Z",
"status": "queued",
"data": {
"@type": "transferOutcomeMessage",
"objectType": "domainName",
"objectId": "transfer-test.example",
"process": {
"@type": "domainTransferProcess",
"processId": "TRF-1001",
"trStatus": "serverApproved",
"transferDir": "pull",
"reqClientId": "ClientX",
"requestDate": "2026-09-17T09:00:00.0Z",
"actClientId": "ClientY",
"actionDate": "2026-09-22T09:00:00.0Z"
},
"trStatus": "serverApproved",
"requestDate": "2026-09-17T09:00:00.0Z",
"actionDate": "2026-09-22T09:00:00.0Z",
"expiryDate": "2028-04-03T22:00:00.0Z"
}
}
¶
Example message read response with an Auto-Renewal Message Object:¶
{
"@type": "message",
"id": "MSG-98772",
"creationDate": "2026-09-23T00:05:00.0Z",
"status": "queued",
"data": {
"@type": "autoRenewalMessage",
"objectType": "domainName",
"objectId": "renewed.example",
"renewalDate": "2026-09-23T00:05:00.0Z",
"expiryDate": "2027-09-23T00:00:00.0Z"
}
}
¶
Example message read response with an Expiration Deletion Message Object:¶
{
"@type": "message",
"id": "MSG-98774",
"creationDate": "2026-09-25T00:05:00.0Z",
"status": "queued",
"data": {
"@type": "expirationDeletionMessage",
"objectType": "domainName",
"objectId": "expired.example",
"deletionDate": "2026-09-25T00:00:00.0Z"
}
}
¶
Example message read response with a Service Notice Message Object, which is not linked to a specific object:¶
{
"@type": "message",
"id": "MSG-98773",
"creationDate": "2026-09-24T08:00:00.0Z",
"status": "queued",
"data": {
"@type": "serviceNoticeMessage",
"message": "The registry terms and conditions have been updated."
}
}
¶
There is no request message for the message query operation.¶
Example message query response, containing a Transfer Request Message Object for the domain transfer-test.example:¶
[{
"@type": "message",
"id": "MSG-98765",
"creationDate": "2026-09-17T09:00:00.0Z",
"status": "queued",
"data": {
"@type": "transferRequestMessage",
"objectType": "domainName",
"objectId": "transfer-test.example",
"process": {
"@type": "domainTransferProcess",
"processId": "TRF-1001",
"trStatus": "pending",
"transferDir": "pull",
"reqClientId": "ClientX",
"requestDate": "2026-09-17T09:00:00.0Z",
"actClientId": "ClientY",
"actionDate": "2026-09-22T09:00:00.0Z"
},
"status": "pending",
"requestDate": "2026-09-17T09:00:00.0Z",
"actionDate": "2026-09-22T09:00:00.0Z"
}
}]
¶
There is no request message for the discovery read operation.¶
Example discovery read response:¶
{
"@type": "discovery",
"versions": [
{
"@type": "discoveryVersion",
"version": "1.0",
"baseUrl": "https://rpp.example/rpp"
}
],
"environment": {
"@type": "discoveryEnvironment",
"name": "rpp.example",
"status": "production"
},
"tlds": ["example"],
"extensions": [
{
"@type": "extension",
"name": "RPP example extension",
"id": "urn:ietf:params:rpp:extension:example-extension",
"version": "1.0",
"url": "https://www.iana.org/assignments/rpp-extensions/rpp-example-extension"
}
],
"profiles": ["urn:ietf:params:rpp:profile:epp-compatibility"],
"objects": ["domainName", "host", "contact"],
"datetime": "2026-05-31T12:30:00Z",
"links": [
{ "label": "privacy-policy", "object": "https://registry.example/privacy" },
{ "label": "terms-of-service", "object": "https://registry.example/terms" }
],
"idnLgr": [
{
"@type": "discoveryIdnLgr",
"tld": ["example"],
"name": "example-latn-1.0",
"url": "https://www.iana.org/domains/idn-tables/tables/example_latn_1.0.txt",
"default": true
}
],
"notices": [
{
"@type": "discoveryNotice",
"pubTime": "2026-06-01T00:00:00Z",
"text": "This server will undergo planned maintenance on the first Monday of each month."
}
]
}
¶
There is no request message for the profile read operation.¶
Example profile read response:¶
{
"@type": "profile",
"name": "urn:ietf:params:rpp:profile:epp-compatibility",
"description": "EPP compatibility profile",
"version": "1.0",
"rppVersion": "1.0",
"objects": ["domainName", "host", "contact"],
"extensions": [
{
"@type": "extension",
"name": "RPP example extension",
"id": "urn:ietf:params:rpp:extension:example-extension",
"version": "1.0",
"url": "https://www.iana.org/assignments/rpp-extensions/rpp-example-extension"
}
],
"defaultProfile": true
}
¶
Example profile read response for a profile that extends a base profile:¶
{
"@type": "profile",
"name": "org.example.rpp.profile.registry-extended",
"description": "Registry specific profile extending the EPP compatibility profile",
"version": "1.0",
"rppVersion": "1.0",
"objects": ["domainName", "host", "contact"],
"baseProfile": {
"@type": "profile",
"name": "urn:ietf:params:rpp:profile:epp-compatibility"
},
"defaultProfile": false
}
¶
The IANA is requested to add the "application/rpp+json" media type to the "Media Types" registry, following the template in [RFC6838]¶
Type name: application
Subtype name: rpp+json
Required parameters: "N/A"
Optional parameters: profile, version
Encoding considerations: "N/A"
Security considerations: This type has all of the security
considerations described in [@!RFC8259] plus the
considerations specified in the Security Considerations
section of this document.
The usage scenarios of the RPP media type do not foresee any
code execution originating from the content of this media type.
Interoperability considerations: "N/A"
Published specification: This document
Applications that use this media type: RPP protocol and extensions
Fragment identifier considerations: "N/A"
Additional information:
Deprecated alias names for this type: "N/A"
Magic number(s): "N/A"
File extension(s): "N/A"
Macintosh file type code(s): "N/A"
Person & email address to contact for further information: Author's email address
Intended usage: COMMON
Restrictions on usage: "N/A"
Author: Document authors
Change controller: Document authors
Provisional registration: No
¶
The IANA is requested to create a new registry for RPP JSON Schema extensions, this registry will be used to register standardised JSON Schema extensions to the JSON representation of RPP JSON objects, as defined in the Section 7 of this document.¶
Name of the registry: RPP JSON Schema Extensions Registry group: RESTful Provisioning Protocol (RPP) Registration procedure: Expert Review¶
Fields to be registered:¶
name: The name of the extension, for example "RPP example JSON extension".¶
id: The unique $id URI of the extension JSON Schema, for example "https://www.iana.org/assignments/rpp-json-extensions/example-extension.json".¶
version: The version of the extension, for example "1.0".¶
RFC: The RFC number for the extension specification, for example "RFC 1234".¶
description: A human-readable description of the extension and its intended use.¶
The "RESTful Provisioning Protocol (RPP)" registry group is defined in [I-D.ietf-rpp-core].¶
TODO there already exists a registry for RPP extensions, defined in the rpp-core document, consider whether this new registry is necessary or if it should be merged with the existing one.¶
Internationalized Domain Names (IDN) are represented using the paired name/uName data elements described in the Domain Name Data Object. The name property, which addresses the resource and is used for object identity, MUST always contain the ACE A-label form; the uName property carries the Unicode U-label form for display and MUST be Unicode Normalization Form C (NFC) as defined in [UNICODE.NFC].¶
Because JSON strings are Unicode character sequences, implementations MUST take the following precautions to avoid producing or misinterpreting uName (and any other Unicode-bearing string value) in a way that breaks common JSON consumers, in particular JavaScript, whose native strings are sequences of UTF-16 code units rather than Unicode code points:¶
String.prototype.length) to validate or enforce length constraints on uName. Domain name label length restrictions are defined in terms of the name (A-label) octet count; scripts using supplementary-plane code points are represented as surrogate pairs in UTF-16, so a code-unit count over-counts the number of Unicode code points.¶
===) to compare uName values for identity purposes, since two strings that differ only in Unicode normalisation form compare unequal even though they represent the same name; name MUST be used instead for identity comparison.¶
name in lowercase. Because ACE (A-label) domain names are case-insensitive per DNS comparison rules but JSON/JavaScript string comparison is case-sensitive, clients performing equality checks on name MUST lowercase both operands first rather than relying on native string equality.¶
If a server accepts a uName value without strictly verifying both that it is already Unicode Normalization Form C (NFC) and that it converts, via the ToASCII procedure of Section 4.2, to the exact supplied name value, an attacker could cause a displayed uName to diverge from the name actually resolved in the DNS. Servers MUST reject any create or update request where uName is not already NFC-normalised or does not convert to the supplied name; servers MUST NOT silently normalise or correct the value on the client's behalf.¶
TODO¶
TODO¶
read/create views for Component Objects. (Issue #102)¶