RFC 4414

An ENUM Registry Type for the Internet Registry Information Service (IRIS)

πŸ“… published February 2006, from ietf

An ENUM Registry Type for the Internet Registry Information Service (IRIS) πŸŽ€

Okay bestie, this is RFC 4414 πŸ¦‹. It's a Standards Track doc from February 2006, written by A. Newton at VeriSign, Inc. πŸ’… It is a Standards Track spec, which means it's an official Internet protocol thing that the community is meant to actually build on. Nothing in this title block says it obsoletes or updates any other RFC, so no drama there ✨. I'm going to walk you through it in 8 parts, and this is part 1 🌸. More parts are coming, so don't bounce yet 🫢.


Status of This Memo πŸ’œ

Okay so this doc specifies an Internet standards track protocol for the Internet community, and it's literally asking for discussion and suggestions for improvements 🧚. If you want the current standardization state and status of this protocol, you go check the current edition of the "Internet Official Protocol Standards" (STD 1) πŸ“š. Also, distribution of this memo is unlimited, so share away πŸ’–.

Copyright (C) The Internet Society (2006). That's the whole thing, bestie πŸ’….

Abstract πŸ“

So the whole point here is that this document describes an Internet Registry Information Service (IRIS) registry schema for registered ENUM information πŸ”₯. The schema extends the necessary query and result operations of IRIS so it can provide the functional information service needs for the syntaxes and results used by ENUM registries πŸ‘‘. It's giving "one schema to rule them all" energy, honestly ✨.

Table of Contents 🧚

1. Introduction ....................................................3
2. Document Terminology ............................................3
3. Schema Description ..............................................3
   3.1. Query Derivatives ..........................................3
        3.1.1. <findEnumsByE164> Query .............................3
        3.1.2. <findEnumsByContact> Query ..........................4
        3.1.3. <findContacts> Query ................................4
        3.1.4. <findEnumsByHost> Query .............................4
        3.1.5. Contact Search Group ................................5
   3.2. Result Derivatives .........................................5
        3.2.1. Privacy Labels ......................................5
        3.2.2. Contact Group .......................................7
        3.2.3. <enum> Result .......................................8
        3.2.4. <host> Result ......................................12
        3.2.5. <contact> Result ...................................13
        3.2.6. <registrationAuthority> Result .....................15
        3.2.7. <validationEntity> Result ..........................16
        3.2.8. <communicationServiceProvider> Result ..............17
        3.2.9. <validationEvent> Result ...........................18
   3.3. Generic Code Derivatives ..................................19
        3.3.1. <searchTooWide> ....................................19
        3.3.2. <languageNotSupported> .............................19
   3.4. Support for <iris:lookupEntity> ...........................19
4. Formal XML Syntax ..............................................21
5. Blocks Extensible Exchange Protocol (BEEP) Transport
   Compliance .....................................................46
   5.1. Message Pattern ...........................................46
   5.2. Server Authentication .....................................46
6. URI Resolution .................................................46
   6.1. Application Service Label .................................46
7. Internationalization Considerations ............................46
8. IANA Considerations ............................................47
   8.1. XML Namespace URN Registration ............................47
   8.2. S-NAPTR Registration ......................................48
   8.3. BEEP Registration .........................................48
9. Security Considerations ........................................48
10. Normative References ..........................................48
A.  Contributions and Acknowledgements ............................50

1. Introduction ✨

Okay so this doc describes an IRIS registry schema for registries of ENUM data πŸ¦‹. It uses an XML Schema [4] that's derived from, and built on top of, the IRIS [5] schema πŸ’–.

The schema given in this document is specified using Extensible Markup Language (XML) 1.0 as described in XML [1] 🌸, XML Schema notation as described in XML_SD [3] and XML_SS [4] 🧚, and XML Namespaces as described in XML_NS [2] πŸ’….

2. Document Terminology πŸ’œ

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 RFC 2119 [10] πŸŽ€. Yes, those key words are doing real work here, so pay attention to them πŸ‘‘.

This document uses the term "ENUM" as the fully qualified domain name following the conventions of ENUM [17] 🌈.

3. Schema Description πŸ“

IRIS requires the derivation of both query and result elements by a registry schema πŸ”₯. These descriptions follow, bestie πŸ’….

References to XML elements with no namespace qualifier are from the schema defined in Section 4 ✨. References to elements and attributes with the "iris" XML namespace qualifier are from the schema defined in IRIS [5] πŸ¦‹.

The descriptions in this section refer to XML elements and attributes and how they relate to exchanging data in the protocol 🌸. They also contain specifications that fall outside the scope of the formal XML syntax 🧚. So this section uses terms defined by RFC 2119 [10] to describe that outside-the-syntax stuff πŸ’œ. While you read this section, reference Section 4 for the formal XML syntax details you need 🫢.

3.1. Query Derivatives πŸ’–

3.1.1. <findEnumsByE164> Query πŸŽ€

<findEnumsByE164> finds ENUM domains by searching on prefixes of E.164 numbers, and it returns <enum> (Section 3.2.3) results 🌈.

The E.164 prefix is specified using the <e164Prefix> child of <findEnumsByE164> πŸ’…. There's an optional child element, <specificity>, that can narrow the search to ENUM domains associated with E.164 numbers that are either more specific or less specific ✨. If the <specificity> element is present and has the content 'less', then the search is narrowed to E.164 numbers that are less specific (i.e., have fewer digits) πŸ“. If the <specificity> element is present and has the content 'more', then the search is narrowed to E.164 numbers that are more specific (i.e., have more digits) πŸ‘‘.

3.1.2. <findEnumsByContact> Query 🧚

<findEnumsByContact> finds ENUM domains by searching on fields associated with an ENUM domain's contact πŸ¦‹.

The allowable search fields are handled with either the <contactHandle> element or one of the elements in the "contactSearchGroup" (see Section 3.1.5) 🌸. The <contactHandle> element lets you select ENUM domains based on the contact that has the specified contact handle πŸ’–.

The query MAY also be constrained further using the optional <role> element πŸ”₯. The contents of this element signify the role the contact has with the ENUM domain πŸ’….

This query also provides optional <language> elements containing language tags 🌈. Clients MAY use these elements to give a hint about the natural language(s) of the affected element 🫢. Servers MAY use this information in processing the query, such as tailoring normalization routines to aid in more effective searches πŸ’œ.

3.1.3. <findContacts> Query πŸ’œ

<findContacts> searches for contacts given search constraints πŸŽ€.

The allowable search fields are handled by one of the elements in the "contactSearchGroup" (see Section 3.1.5) ✨.

This query also provides optional <language> elements containing language tags πŸ“. Clients MAY use these elements to give a hint about the natural language(s) of the affected element πŸ¦‹. Servers MAY use this information in processing the query, such as tailoring normalization routines to aid in more effective searches 🧚.

3.1.4. <findEnumsByHost> Query 🌸

This query does a simple search for the ENUM domains being hosted by a name server πŸ’…. The search is constrained using either the host name [12], host handle, IPv4 address, or IPv6 address of the name server πŸ‘‘.

3.1.5. Contact Search Group πŸ”₯

Some of the queries above have similar query constraints for searching on contacts, so this section describes those common parameters πŸ’–.

<commonName> lets the query be constrained based on the common name of the contact 🌈. The constraint can either constrain the query by an exact match using the <exactMatch> element, or it can constrain the query by a subset of the common name using the <beginsWith> and <endsWith> elements 🫢.

<organization> lets the query be constrained based on the organization name of the contact πŸŽ€. It has the same semantics as the <commonName> element ✨.

<eMail> constrains the query based on the e-mail address of the contact πŸ¦‹. This can be done with an exact e-mail address using the <exactMatch> element, or with any e-mail address in a domain using the <inDomain> element 🌸. The <inDomain> MUST only contain a valid domain name (i.e., no '@' symbol) πŸ’…, and the matching SHOULD take place only on the domain given (i.e., no partial matches with respect to substrings or parent domains) 🧚. If either the contents of the <inDomain> element or the domain part of the contents of the <exactMatch> element contain a name with non-ASCII characters, they MUST be normalized according to the processes of RFC 3491 [15] πŸ’œ.

The <city>, <region>, and <postalCode> elements restrict the scope of the query based on the city, region, or postal code of the contact, respectively πŸ’–. Each one MUST only contain an <exactMatch> element containing the exact city, region, or postal code (i.e., no substring searches) πŸ”₯.

3.2. Result Derivatives 🌈

(Continued in Part 2 ✨ β€” stay tuned, bestie πŸ«ΆπŸ’…)

3.2.1. Privacy Labels ✨

okay so some of the results in this registry type are, like, values that either can't be shared or need to be marked so clients don't spill them πŸ™ˆ bestie, this is where the privacy labels come in πŸ”’ some results use these element types:

  • "dateTimePrivacyType" - contains the XML Schema [3] data type "dateTime". The contents of this element MUST be specified using the 'Z' indicator for Coordinated Universal Time (UTC). πŸ•°οΈ
  • "stringPrivacyType" - contains the XML Schema [3] data type "string". 🧡
  • "normalizedStringPrivacyType" - contains the XML Schema [3] data type "normalizedString". πŸŽ€
  • "tokenPrivacyType" - contains the XML Schema [3] data type "token". πŸͺ™
  • "enumStatusType" - describes a state for an ENUM domain. This element has the following optional attributes:
    • 'scope' - indicates the scope or origin of the status value.
    • 'disposition' - contains either the value "pending", meaning that initial processing for this status has begun and is not yet complete, or the value "prohibited", meaning this ENUM domain cannot achieve this status according to either the registry or registrar of this ENUM domain.
    • 'actor' - contains either the value "registry", meaning this status value has been associated with this ENUM domain by the registry, or the value "registrar", meaning this status value has been associated with this ENUM domain by the registrar.

This element has the following optional child elements:

  • <appliedDate> - indicates the date and time the status was applied. πŸ“…
  • <description> - provides a textual description of the status. This element has a required 'language' attribute. 🌍
  • <subStatus> - indicates a jurisdictional-dependent reason for this status value. This element has a required 'authority' attribute to indicate the jurisdictional authority associated with this sub-status. πŸ›οΈ
  • "contactTypeType" - contains an optional <description> child elements. Each <description> child element requires a 'language' attribute. πŸ—£οΈ

As specified, they are nillable and therefore may be present with empty content or present with their specified content. The use of these elements is also optional. πŸ’…

If present without content, each of these element types MUST have one or more of the following boolean attributes:

  • 'private' - if true, this specifies that the content is absent because it may never be published. 🀐
  • 'denied' - if true, this specifies that the content is absent because policy does not allow it to be given under the current level of access. 🚫

If present with content, each of these element types MAY have one or more of the following boolean attributes:

  • 'doNotRedistribute' - if true, this specifies that the content is not to be redistributed. 🚧
  • 'specialAccess' - if true, this specifies that the content has been provided due to special access rights. πŸ—οΈ

These boolean attributes SHOULD be used in accordance with the level of access being granted the recipient of the data. For example, marking data as 'private' or 'denied' is to be expected if the user is anonymous or has some other low level of access that does not warrant viewing of that particular data. Likewise, data marked with 'doNotRedistribute' or 'specialAccess' is to be expected if the user is authenticated and has a high level of access. It's all about matching the access level, periodt πŸ’–


3.2.2. Contact Group πŸ“‡

Many of the results share a set of references to contacts regarding an associated role. These are represented by the following elements:

  • <billingContact>
  • <technicalContact>
  • <administrativeContact>
  • <legalContact>
  • <zoneContact>
  • <abuseContact>
  • <securityContact>
  • <otherContact>

Each of these elements contains an entity reference. The referent of each MUST be a <contact> (Section 3.2.5). 🫢


3.2.3. <enum> Result 🌸

Here's an example of an <enum> result, bestie:

  <enum
    authority="3.0.7.1.e164.arpa" registryType="ereg1"
    entityClass="enum-handle" entityName="555-1234.001" >

    <e164Number>+1 703 555 1234</e164Number>

    <nameServer
        iris:referentType="ereg:host"
        authority="3.0.7.1.e164.arpa" registryType="ereg1"
        entityClass="host-handle" entityName="ns1.001" />
    <nameServer
        iris:referentType="ereg:host"
        authority="3.0.7.1.e164.arpa" registryType="ereg1"
        entityClass="host-handle" entityName="ns2.001" />

    <registrant
      iris:referentType="ereg:contact"
      authority="3.0.7.1.e164.arpa" registryType="ereg1"
      entityClass="contact-handle" entityName="beb140">
      <iris:displayName language="en">
        Bill Eckels
      </iris:displayName>
    </registrant>

    <technicalContact
      iris:referentType="ereg:contact"
      authority="3.0.7.1.e164.arpa" registryType="ereg1"
      entityClass="contact-handle" entityName="mak21">
      <iris:displayName language="en">
        Mark Kosters
      </iris:displayName>
    </technicalContact>

    <status>
      <create/>
      <active/>
      <delete
        actor="registrar"
        disposition="prohibited">
        <subStatus
          authority="regr.example">
          AUTO-LOCK
        </subStatus>
      </delete>
      <update
        actor="registrar"
        disposition="prohibited">
        <subStatus
          authority="regr.example">
          AUTO-LOCK
        </subStatus>
      </update>
      <transfer
        actor="registrar"
        disposition="prohibited">
        <subStatus
          authority="registrar.example">
          AUTO-LOCK
        </subStatus>
      </transfer>
      <redemptionPeriod
        actor="registry"
        disposition="pending">
        <subStatus
          authority="policy-body.example">
          STANDARD RGP
        </subStatus>
      </redemptionPeriod>
    </status>

  </enum>

The <enum> result represents an instance of an ENUM domain assignment. The children of the <enum> element are as follows: πŸ¦‹

  • <e164Number> - the E.164 number for this ENUM domain as defined by [13]. It is RECOMMENDED that only space characters be used between the digits of these E.164 numbers, as of the international number format defined in [14]. πŸ“±
  • <enumHandle> - a registry-unique assigned identifier to an ENUM domain. 🏷️
  • <nameServer> - MUST contain an entity reference to a referent of type <host> (Section 3.2.4). πŸ–₯️
  • <registrant> - elements containing an entity reference to the registrant of this ENUM domain. The referent MUST be a <contact> (Section 3.2.5) result. πŸ§‘β€πŸ’»
  • ENUM domain contacts - see Section 3.2.2. πŸ“‡
  • <status> - may contain at least one of the following elements of type 'enumStatusType' (see Section 3.2.1). 🚦
    • <reserved> - this ENUM domain falls outside the normal registration rules and/or processes for registration πŸ”
    • <create> - assigned to a registrant πŸŽ‰
    • <active> - available via DNS (either via delegation or direct publication) βœ…
    • <inactive> - unavailable via DNS 😴
    • <dispute> - registrant assignment is in dispute βš–οΈ
    • <delete> - registrant assignment removed πŸ—‘οΈ
    • <transfer> - change of authority πŸ”
    • <update> - modification of this ENUM domain ✏️
    • <renew> - renewal of ENUM domain registration πŸ”„
    • <addPeriod> - period at the creation or activation of this ENUM domain (see RFC 3915 [18]) ⏳
    • <renewPeriod> - period at the renewal of this ENUM domain (see RFC 3915 [18]) ⏳
    • <autoRenewPeriod> - period at the automatic renewal of this ENUM domain (see RFC 3915 [18]) ⏳
    • <transferPeriod> - period at the transfer of this ENUM domain (see RFC 3915 [18]) ⏳
    • <redemptionPeriod> - period at the redemption of this ENUM domain (see RFC 3915 [18]) ⏳
    • <restore> - change to previous status of this ENUM domain βͺ
    • <other> - a status only defined by its <subStatus> child element 🧩

As stated in Section 3.2.1, each status value may have flags to indicate the entity responsible for assigning the status (e.g., actor='registrar') and the nature of the status (e.g., disposition="prohibited"). Any one status value MUST NOT imply other status values. For instance, <reserved> is just an indication that the ENUM domain is given special reserved status; the <create disposition="prohibited"/> status value must also be present to indicate that the ENUM domain cannot be registered. πŸ™…β€β™€οΈ

  • <registrationReference> - an element containing an entity reference, the referent of which MUST be an <enum> (Section 3.2.3). The intention of this element is to point to the downstream registration reference. Therefore, if this is a result given back by an ENUM domain registry, it should point to the ENUM domain in the ENUM domain registrar or registrant service. πŸ”—
  • <registry> - contains an entity reference specifying the ENUM domain registry operator for this ENUM domain that MUST be a <registrationAuthority> (Section 3.2.6). 🏒
  • <registrar> - contains an entity reference specifying the ENUM domain registrar operator for this ENUM domain that MUST be a <registrationAuthority> (Section 3.2.6). 🏬
  • <validationEntity> - contains an entity reference specifying the validation entity for this ENUM domain that MUST be a <validationEntity> (Section 3.2.7). πŸ”
  • communication service providers - the following elements contain an entity reference with a relationship to the ENUM domain. The referent of each MUST be a <communicationServiceProvider> (Section 3.2.8). πŸ“‘
    • <lineCSP>
    • <signalCSP>
    • <dataCSP>
    • <voiceCSP>
    • <otherCSP>
  • <validationEvent> -- elements containing an entity reference to validation events related to this ENUM domain. The referent MUST be a <validationEvent> (Section 3.2.9). πŸ“
  • <initialDelegationDateTime> - an element containing the date and time of the initial delegation of this ENUM domain. 🌱
  • <lastRenewalDateTime> - an element containing the date and time of last renewal of this ENUM domain. πŸ”
  • <expirationDateTime> - an element containing the date and time of the expiration of this ENUM domain. βŒ›
  • <lastContactModificationDateTime> - specifies the last time a contact for the ENUM domain was added or removed. πŸ•
  • <lastContactModificationBy> - an element containing an entity reference. The referent MUST be a <contact> (Section 3.2.5) responsible for the last addition or removal of a contact for this ENUM domain. πŸ™‹
  • <lastDelegationModificationDateTime> - an element containing the date and time of the last time one of the nameservers was added or removed for the delegation of this ENUM domain. πŸ•‘
  • <lastDelegationModificationBy> - an element containing an entity reference. The referent MUST be a <contact> (Section 3.2.5) result and be responsible for the last addition or removal of a nameserver for this ENUM domain. πŸ™Œ
  • <lastVerificationDateTime> - an element containing the date and time of the last time the data for this domain was verified by the responsible registration authority. βœ”οΈ
  • <iris:seeAlso> - an element containing an entity reference specifying a referent that is indirectly associated with this domain. πŸ‘€

3.2.4. <host> Result ✨

okay bestie, here's what a <host> result looks like πŸ¦‹

<host
  authority="iana.org" registryType="ereg1"
  entityClass="host-handle" entityName="nsol184" >
  <hostHandle>nsol184</hostHandle>
  <hostName>a.iana-servers.net</hostName>
  <ipV4Address>192.0.2.43</ipV4Address>
  <hostContact
    iris:referentType="ereg:contact"
    authority="iana.org" registryType="ereg1"
    entityClass="contact-handle" entityName="dbarton" />
</host>

the <host> element is basically an instance of a host registration πŸ’… and its kids are giving:

  • <hostHandle> - a registry-unique assigned identifier for the host. πŸŽ€
  • <hostName> - the fully qualified domain name of the host. The contents of this element are a host name and MUST conform to RFC 1123 [19]. no cap, this one is strict πŸ”₯
  • <ipV4Address> - the content of which MUST conform to a valid IP version 4 host address as specified by RFC 791 [8].
  • <ipV6Address> - the content of which MUST conform to a valid IP version 6 host address as specified by RFC 3513 [7].
  • <hostContact> - an element containing an entity reference specifying a contact associated with this host. The referent MUST be <contact> (Section 3.2.5) results. 🫢
  • <createdDateTime> - an element containing the date and time this host was created. 🌸
  • <lastModificationDateTime> - an element containing the date and time this host was last modified. 🌸
  • <lastVerificationDateTime> - an element containing the date and time this data for this host was last verified to be correct by the appropriate registration authority. βœ…
  • <iris:seeAlso> - an element containing an entity reference specifying a referent that is indirectly associated with this host. 🧚

3.2.5. <contact> Result πŸ’–

here's a <contact> result, it's giving full profile energy πŸŽ€

<contact
  authority="example.org" registryType="ereg1"
  entityClass="contact-handle" entityName="example-admin" >
  <contactHandle>example-admin</contactHandle>
  <commonName>Example.Org Manager</commonName>
  <organization>Internet Assigned Numbers Authority</organization>
  <eMail>res-dom@example.org</eMail>
  <postalAddress>
    <address>123 Mocking Bird Lane</address>
    <city>Some City</city>
    <region>CA</region>
    <postalCode>00000</postalCode>
    <country>US</country>
  </postalAddress>
  <phone>+1234567890</phone>
</contact>

the <contact> element represents an instance of a contact registration, and its children are the main character moves:

  • <contactHandle> - a registry-unique assigned identifier for this contact.
  • <commonName> - the name of the contact.
  • <language> - a specification of the language code to use to localize the data in this result. 🌈
  • <type> - contains one of the following child elements: <person>, <organization>, <role>, or <other>. Each of these elements is a "contactTypeType" as defined in Section 3.2.1. πŸ’œ
  • <organization> - an element containing the organization name of the contact.
  • The <legalId> child element contains a jurisdictional identifier of this contact (an example of such an identifier is a national taxation ID or a commercial registry number). 🧾
  • <eMail> - elements containing an e-mail address for this contact. πŸ“§
  • <sip> - elements containing a SIP URI for this contact.
  • <postalAddress> - elements containing children representing a postal address. <postalAddress> has the following children:
    • <address> - an element containing the street address for this contact.
    • <city> - an element containing the city for this contact.
    • <region> - an element containing the national region for this contact.
    • <postalCode> - an element containing the postal code for this contact.
    • <country> - an element containing the country for this contact. This SHOULD be a 2-letter country code compliant with ISO 3166 [11]. 🌍
  • <phone> - elements containing a voice phone number for this contact. If it begins with a '+' (plus) character, it MUST be a number defined by E.164 [13]. The format number defined in E.164 [13] is RECOMMENDED. πŸ“ž
  • <fax> - elements containing a facsimile phone number for this contact. If it begins with a '+' (plus) character, it MUST be a number defined by E.164 [13]. The format number defined in E.164 [13] is RECOMMENDED. πŸ“ 
  • <createdDateTime> - an element containing the date and time this contact was created. 🌸
  • <lastModificationDateTime> - an element containing the date and time this contact was last modified. 🌸
  • <lastVerificationDateTime> - an element containing the date and time this data for this contact was last verified to be correct by the appropriate registration authority. βœ…
  • <translatedContacts> - an element containing an entity reference specifying equivalents of this contact that have been translated into other languages. The referent MUST be <contact> (Section 3.2.5) results. 🌐
  • <iris:seeAlso> - an element containing an entity reference specifying a referent that is indirectly associated with this contact. 🧚

3.2.6. <registrationAuthority> Result πŸ‘‘

this one is the registration authority, and it's so iconic πŸ”₯. here's an example:

<registrationAuthority
  authority="iana.org" registryType="ereg1"
  entityClass="registration-authority" entityName="iana" >
  <serviceInstance
    iris:referentType="iris:serviceIdentification"
    authority="iana.org" registryType="ereg1"
    entityClass="iris" entityName="id" />
  <organizationName>
    Internet Assigned Numbers Authority
  </organizationName>
  <registrar />
</registrationAuthority>

the <registrationAuthority> result represents an entity capable of registering domains. ✨

the <serviceInstance> child element of <registrationAuthority> contains an entity reference pointing to the entity "id" in the entity class "iris". 🫧

the <organizationName> child element contains the name of the registration authority. πŸ›οΈ

the <legalId> child element contains an identifier of this registration authority (an example of such an identifier is a national taxation ID or a commercial registry number). 🧾

the registration authority type child elements, <registry>, <registrar>, and <other>, determine the role in which this registration authority plays in the process of registering ENUM domains. the intent here is to explain the various roles a registration authority may have with regards to the authority areas pointed to by the <serviceInstance> element. A client MAY understand the relationship of a registration authority with respect to an ENUM domain by the placement of the reference in the domain (e.g., <registry> or <registrar>). πŸ’…

contacts - see Section 3.2.2.

<iris:seeAlso> - an element containing an entity reference specifying a referent that is indirectly associated with this registration authority. 🧚


3.2.7. <validationEntity> Result πŸ¦‹

now the validation entity, which checks ENUM domains against the E.164 registrations, so it's basically the fact-checker bestie 🧐

<validationEntity
  authority="example.org" registryType="ereg1"
  entityClass="validation-entity" entityName="govt" >
  <serviceInstance
    iris:referentType="iris:serviceIdentification"
    authority="example.org" registryType="ereg1"
    entityClass="iris" entityName="id" />
  <organizationName>
    Some Government Authority
  </organizationName>
  <technicalContact
    iris:referentType="iris:contact"
    authority="example.org" registryType="ereg1"
    entityClass="contact-handle" entityName="1234" />
  <administrativeContact
    iris:referentType="iris:contact"
    authority="example.org" registryType="ereg1"
    entityClass="contact-handle" entityName="abc" />
</validationEntity>

the <validationEntity> result represents an entity responsible for validating ENUM domains against E.164 [13] registrations. πŸ”

the <serviceInstance> child element of <validationEntity> contains an entity reference pointing to the entity "id" in the entity class "iris". 🫧

the <organizationName> child element contains the name of the validation authority. πŸ›οΈ

the <legalId> child element contains an identifier of this validation authority (an example of such an identifier is a national taxation ID or a commercial registry number). 🧾

contacts - see Section 3.2.2.

<iris:seeAlso> - an element containing an entity reference specifying a referent that is indirectly associated with this validation authority. 🧚


3.2.8. <communicationServiceProvider> Result πŸ“±

last one in this batch, and it's the phone company energy πŸ“žβœ¨

<communicationServiceProvider
  authority="bell.example.com" registryType="ereg1"
  entityClass="csp" entityName="bellco" >
  <serviceInstance
    iris:referentType="iris:serviceIdentification"
    authority="bell.example.com" registryType="ereg1"
    entityClass="iris" entityName="id" />
  <organizationName>
    Big Phone Co.
  </organizationName>
  <line />
</communicationServiceProvider>

the <communicationServiceProvider> result represents an entity providing ENUM domain service. πŸ’œ

the <serviceInstance> child element of <communicationServiceProvider> contains an entity reference pointing to the entity "id" in the entity class "iris". 🫧

the <organizationName> child element contains the name of the registration authority. (yes, it says registration authority there, the spec is quirky about it πŸ™ˆ)

the <legalId> child element contains an identifier of this communication service provider (an example of such an identifier is a national taxation ID or a commercial registry number). 🧾

the <cspId> child element contains an identifier unique to this communication service provider and identifies this communication service provider with regard to its operating jurisdiction. 🌍

the child elements, <line>, <signal>, <data>, <voice>, and <other>, detail the capabilities of this communication service provider. The capabilities this communication service provider provides to a specific ENUM domain are a subset of these capabilities and are expressed in the <enum> result using the <lineCSP>, <signalCSP>, <dataCSP>, <voiceCSP>, and <otherCSP> entity references. πŸŽ€

contacts - see Section 3.2.2.

<iris:seeAlso> - an element containing an entity reference specifying a referent that is indirectly associated with this communication service provider. 🧚

3.2.9. <validationEvent> Result

okay bestie, here's a <validationEvent> result example πŸ¦‹

<validationEvent
  authority="example.com" registryType="ereg1"
  entityClass="validation-event" entityName="xyz-0123" >
  <serial>xyz-0123</serial>
  <validationEntity
    iris:referentType="ereg:validationEntity"
    authority="bell.example.com" registryType="ereg1"
    entityClass="iris" entityName="id" />
</validationEvent>

so a <validationEvent> result is basically a record of validation for an ENUM domain πŸ“βœ¨

the <serial> child element holds an identifier that picks out this validation event between a validation entity and a registrar πŸ”’

the <methodId> child element has an identifier describing the method used for validation 🧩

  • <registrar> contains an entity reference for the ENUM domain registrar operator on this validation event. It MUST be a <registrationAuthority> (Section 3.2.6) πŸ‘‘
  • <validationEntity> contains an entity reference for the validation entity on this validation event. It MUST be a <validationEntity> (Section 3.2.7) πŸ’…
  • <executionDateTime> is an element with the date and time this validation event was created πŸ•°οΈ
  • <expirationDateTime> is an element with the date and time this validation event expires πŸ’€
  • <iris:seeAlso> is an element with an entity reference to a referent that's indirectly associated with this validation event 🌸

3.3. Generic Code Derivatives

3.3.1. <searchTooWide>

servers MAY use the <searchTooWide> error code when a query has to be narrowed down so the result set fits the policies of the server operator πŸ™ˆ

3.3.2. <languageNotSupported>

the queries <findEnumsByContact> and <findContacts> support optional language tags, so a client can suggest which languages the server should scope the queries to 🌈

if a client hands the server a language the server doesn't support, the server MAY use this error code to say that one of the languages isn't supported πŸ™…β€β™€οΈ

this element has child elements called <unsupportedLanguage>. Each one names a language the server doesn't support. When a server returns this error, it MUST list the languages from the query that aren't supported πŸ“‹


3.4. Support for <iris:lookupEntity>

these are the entity classes the <lookupEntity> query of IRIS recognizes for this registry πŸ”

  • host-name is the fully qualified domain name of a nameserver. It gives you a <host> (Section 3.2.4) in the response πŸ–₯️
  • host-handle is the registry-unique identifier given to a nameserver. It also gives you a <host> (Section 3.2.4) in the response πŸ–₯️
  • e164 is an E.164 number as specified by [13]. It gives you an <enum> (Section 3.2.3) in the response. Clients SHOULD remove all non-digit characters between the digits of an E.164 number, and servers MUST ignore any non-digit characters between the digits of an E.164 number (e.g., "+1 703 555 1234" is to be interpreted as "+17035551234") πŸ“±
  • enum is the fully qualified name of an ENUM domain. This is a domain name as specified by RFC 3761 [17]. It gives you an <enum> (Section 3.2.3) in the response πŸŽ€
  • enum-handle is the registry-unique identifier given to an ENUM domain. It gives you an <enum> (Section 3.2.3) in the response πŸŽ€
  • contact-handle is the registry-unique identifier given to a contact. It gives you a <contact> (Section 3.2.5) in the response πŸ§‘β€πŸ’Ό
  • ipv4-address is the IPv4 address of a nameserver. It gives you a <host> (Section 3.2.4) in the response 🌐
  • ipv6-address is the IPv6 address of a nameserver. It gives you a <host> (Section 3.2.4) in the response 🌐
  • registration-authority is the name of a registration authority. It gives you a <registrationAuthority> (Section 3.2.6) in the response πŸ‘‘
  • validation-entity is the name of a validation entity. It gives you a <validationEntity> (Section 3.2.7) πŸ’…
  • csp is the identifier of a communication service provider. It gives you a <communicationServiceProvider> (Section 3.2.8) πŸ“‘
  • validation-event is the identifier for a validation event. It gives you a <validationEvent> (Section 3.2.9) πŸ¦‹
  • All names in these entity classes are case insensitive πŸ”€

4. Formal XML Syntax ✨

this registry schema is written in the XML Schema notation. The formal syntax here is a complete schema representation, so you can run automated validation on an XML instance when it's combined with the formal schema syntax of IRIS πŸ§ πŸ’–

<?xml version="1.0"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
  xmlns:ereg="urn:ietf:params:xml:ns:ereg1"
  xmlns:iris="urn:ietf:params:xml:ns:iris1"
  targetNamespace="urn:ietf:params:xml:ns:ereg1"
  elementFormDefault="qualified" >

  <import namespace="urn:ietf:params:xml:ns:iris1" />

  <annotation>
    <documentation>
      ENUM registry schema
      derived from IRIS schema
    </documentation>
  </annotation>

  <!-- ========================================= -->
  <!--                                           -->
  <!-- Query Types                               -->
  <!--                                           -->
  <!-- ========================================= -->

  <!--                                           -->
  <!-- Find ENUMs by E.164                       -->
  <!--                                           -->

  <complexType
    name="findEnumsByE164Type">
    <complexContent>
      <extension
        base="iris:queryType">
        <sequence>
          <element
            name="e164Prefix"
            type="token" />
          <element
            name="specificity"
            minOccurs="0" >
            <simpleType>
              <restriction
                base="string">
                <enumeration
                  value="less"/>
                <enumeration
                  value="more"/>
              </restriction>
            </simpleType>
          </element>
        </sequence>
      </extension>
    </complexContent>
  </complexType>

  <element
    name="findEnumsByE164"
    type="ereg:findEnumsByE164Type"
    substitutionGroup="iris:query" />

  <!--                                           -->
  <!-- Find ENUMs By Contact                     -->
  <!--                                           -->

  <complexType
    name="findEnumsByContactType">
    <complexContent>
      <extension
        base="iris:queryType">
        <sequence>
          <choice>
            <group
              ref="ereg:contactSearchGroup" />
            <element
              name="contactHandle"
              type="ereg:exactMatchParameter" />
          </choice>
          <element
            name="role"
            minOccurs="0"
            maxOccurs="1" >
            <simpleType>
              <restriction
                base="string" >
                <enumeration
                  value="registrant" />
                <enumeration
                  value="billingContact" />
                <enumeration
                  value="technicalContact" />
                <enumeration

                  value="administrativeContact" />
                <enumeration
                  value="legalContact" />
                <enumeration
                  value="zoneContact" />
                <enumeration
                  value="abuseContact" />
                <enumeration
                  value="securityContact" />
                <enumeration
                  value="otherContact" />
              </restriction>
            </simpleType>
          </element>
          <element
            name="language"
            type="language"
            minOccurs="0"
            maxOccurs="unbounded"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>

  <element
    name="findEnumsByContact"
    type="ereg:findEnumsByContactType"
    substitutionGroup="iris:query" />

  <!--                                           -->
  <!-- Find Contacts                             -->
  <!--                                           -->

  <complexType
    name="findContactsType">
    <complexContent>
      <extension
        base="iris:queryType">
        <sequence>
          <group
            ref="ereg:contactSearchGroup" />
          <element
            name="language"
            type="language"
            minOccurs="0"
            maxOccurs="unbounded"/>
         </sequence>
      </extension>

    </complexContent>
  </complexType>

  <element
    name="findContacts"
    type="ereg:findContactsType"
    substitutionGroup="iris:query" />

  <!--                                           -->
  <!-- Find ENUMs By Host                        -->
  <!--                                           -->

  <complexType
    name="findEnumsByHostType">
    <complexContent>
      <extension
        base="iris:queryType">
        <sequence>
          <choice>
            <element
              name="hostName"
              type="ereg:exactMatchParameter" />
            <element
              name="hostHandle"
              type="ereg:exactMatchParameter" />
            <element
              name="ipV4Address"
              type="ereg:exactMatchParameter" />
            <element
              name="ipV6Address"
              type="ereg:exactMatchParameter" />
          </choice>
        </sequence>
      </extension>
    </complexContent>
  </complexType>

  <element
    name="findEnumsByHost"
    type="ereg:findEnumsByHostType"
    substitutionGroup="iris:query" />

  <!--                                           -->
  <!-- Contact Search Group                      -->
  <!--                                           -->

  <group
    name="contactSearchGroup">
    <choice>
      <element
        name="commonName"
        type="ereg:exactOrPartialMatchParameter" />
      <element
        name="organization"
        type="ereg:exactOrPartialMatchParameter" />
      <element
        name="eMail"
        type="ereg:domainResourceParameter" />
      <element
        name="sip"
        type="ereg:domainResourceParameter" />
      <element
        name="city"
        type="ereg:exactMatchParameter" />
      <element
        name="region"
        type="ereg:exactMatchParameter" />
      <element
        name="postalCode"
        type="ereg:exactMatchParameter" />
    </choice>
  </group>

  <complexType
    name="exactOrPartialMatchParameter">
    <choice>
      <group
        ref="ereg:partialMatchGroup" />
      <group
        ref="ereg:exactMatchGroup" />
    </choice>
  </complexType>

  <complexType
    name="exactMatchParameter">
    <group
      ref="ereg:exactMatchGroup" />
  </complexType>

  <complexType
    name="partialMatchParameter">
    <sequence>
      <group
        ref="ereg:partialMatchGroup" />
    </sequence>
  </complexType>
  <complexType
    name="domainResourceParameter" >
    <choice>
      <group
        ref="ereg:exactMatchGroup" />
      <element
        name="inDomain"
        type="token" />
    </choice>
  </complexType>

Okay bestie, we're still in the XML zone 🧚 these are the actual schema bits, so I'm keeping every character exact πŸ’…

     <group
       name="partialMatchGroup">
       <choice>
         <sequence>
           <element
             name="beginsWith">
             <simpleType>
               <restriction
                 base="token">
                 <minLength
                   value="1"/>
               </restriction>
             </simpleType>
           </element>
           <element
             minOccurs="0"
             name="endsWith"
             type="ereg:endsWithType" />
         </sequence>
         <element
           name="endsWith"
           type="ereg:endsWithType" />
       </choice>
     </group>

     <simpleType
       name="endsWithType">
       <restriction
         base="token">
         <minLength
           value="1" />
       </restriction>
     </simpleType>

     <group
       name="exactMatchGroup">
       <sequence>

         <element
           name="exactMatch"
           type="normalizedString" />
       </sequence>
     </group>

     <!-- ========================================= -->
     <!--                                           -->
     <!-- Result Types                              -->
     <!--                                           -->
     <!-- ========================================= -->

     <!--                                           -->
     <!-- ENUM                                      -->
     <!--                                           -->

     <complexType
       name="enumType">
       <complexContent>
         <extension
           base="iris:resultType">
           <sequence>
             <element
               name="e164Number"
               type="token" />
             <element
               name="enumHandle"
               type="ereg:normalizedStringPrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="nameServer"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="registrant"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="unbounded" />
             <group ref="ereg:contactGroup" />
             <element
               name="lastContactModificationDateTime"
               type="ereg:dateTimePrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />

             <element
               name="lastContactModificationBy"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="status"
               minOccurs="0"
               maxOccurs="1">
               <complexType>
                 <choice
                   minOccurs="1"
                   maxOccurs="unbounded">
                   <element
                     name="reserved"
                     type="ereg:enumStatusType" />
                   <element
                     name="create"
                     type="ereg:enumStatusType" />
                   <element
                     name="active"
                     type="ereg:enumStatusType" />
                   <element
                     name="inactive"
                     type="ereg:enumStatusType" />
                   <element
                     name="dispute"
                     type="ereg:enumStatusType" />
                   <element
                     name="delete"
                     type="ereg:enumStatusType" />
                   <element
                     name="transfer"
                     type="ereg:enumStatusType" />
                   <element
                     name="renew"
                     type="ereg:enumStatusType" />
                   <element
                     name="update"
                     type="ereg:enumStatusType" />
                   <element
                     name="addPeriod"
                     type="ereg:enumStatusType" />
                   <element
                     name="renewPeriod"
                     type="ereg:enumStatusType" />
                   <element
                     name="autoRenewPeriod"
                     type="ereg:enumStatusType" />
                   <element
                     name="transferPeriod"
                     type="ereg:enumStatusType" />
                   <element
                     name="redemptionPeriod"
                     type="ereg:enumStatusType" />
                   <element
                     name="restore"
                     type="ereg:enumStatusType" />
                   <element
                     name="other"
                     type="ereg:enumStatusType" />
                 </choice>
               </complexType>
             </element>
             <element
               name="registrationReference"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="registry"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="registrar"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="validationEntity"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="signalCSP"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="dataCSP"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="lineCSP"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="unbounded"/>
             <element
               name="voiceCSP"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="otherCSP"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="validationEvent"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="unbounded"/>
             <element
               name="initialDelegationDateTime"
               type="ereg:dateTimePrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="lastRenewalDateTime"
               type="ereg:dateTimePrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="expirationDateTime"
               type="ereg:dateTimePrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="lastDelegationModificationDateTime"
               type="ereg:dateTimePrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="lastDelegationModificationBy"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="1" />
             <element

               name="lastVerificationDateTime"
               type="ereg:dateTimePrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               ref="iris:seeAlso"
               minOccurs="0"
               maxOccurs="unbounded" />
           </sequence>
         </extension>
       </complexContent>
     </complexType>

     <element
       name="enum"
       type="ereg:enumType"
       substitutionGroup="iris:result" />

     <!--                                           -->
     <!-- Host                                      -->
     <!--                                           -->

     <complexType
       name="hostType">
       <complexContent>
         <extension
           base="iris:resultType">
           <sequence>
             <element
               name="hostHandle"
               type="ereg:normalizedStringPrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="hostName"
               type="normalizedString" />
             <element
               name="ipV4Address"
               type="token"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="ipV6Address"
               type="token"
               minOccurs="0"
               maxOccurs="unbounded" />

             <element
               name="hostContact"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="createdDateTime"
               type="ereg:dateTimePrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="lastModificationDateTime"
               type="ereg:dateTimePrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="lastVerificationDateTime"
               type="ereg:dateTimePrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               ref="iris:seeAlso"
               minOccurs="0"
               maxOccurs="unbounded" />
           </sequence>
         </extension>
       </complexContent>
     </complexType>

     <element
       name="host"
       type="ereg:hostType"
       substitutionGroup="iris:result" />

     <!--                                           -->
     <!-- Contact                                   -->
     <!--                                           -->

     <complexType
       name="contactType">
       <complexContent>
         <extension
           base="iris:resultType">
           <sequence>
             <element

okay so this chunk is where the contact record gets all its juicy fields πŸŽ€ every single one is optional, which is very on-brand for a privacy-first schema 🧚

               name="contactHandle"
               type="ereg:normalizedStringPrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="commonName"
               type="ereg:normalizedStringPrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1"/>
             <element
               name="language"
               type="language"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="type"
               minOccurs="0"
               maxOccurs="1">
               <complexType>
                 <choice>
                   <element
                     name="person"
                     type="ereg:contactTypeType" />
                   <element
                     name="organization"
                     type="ereg:contactTypeType" />
                   <element
                     name="role"
                     type="ereg:contactTypeType" />
                   <element
                     name="other"
                     type="ereg:contactTypeType" />
                 </choice>
               </complexType>
             </element>
             <element
               name="organization"
               type="ereg:normalizedStringPrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="legalId"
               type="ereg:tokenPrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="eMail"
               type="ereg:stringPrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="sip"
               type="ereg:stringPrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="postalAddress"
               minOccurs="0"
               maxOccurs="unbounded" >
               <complexType>
                 <sequence>
                   <element
                     name="address"
                     type="ereg:stringPrivacyType"
                     nillable="true"
                     minOccurs="0"
                     maxOccurs="1" />
                   <element
                     name="city"
                     type="ereg:stringPrivacyType"
                     nillable="true"
                     minOccurs="0"
                     maxOccurs="1" />
                   <element
                     name="region"
                     type="ereg:stringPrivacyType"
                     nillable="true"
                     minOccurs="0"
                     maxOccurs="1" />
                   <element
                     name="postalCode"
                     type="ereg:normalizedStringPrivacyType"
                     nillable="true"
                     minOccurs="0"
                     maxOccurs="1" />
                   <element
                     name="country"
                     type="ereg:tokenPrivacyType"
                     nillable="true"
                     minOccurs="0"
                     maxOccurs="1" />
                 </sequence>
               </complexType>
             </element>
             <element
               name="phone"
               type="ereg:normalizedStringPrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="fax"
               type="ereg:normalizedStringPrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="createdDateTime"
               type="ereg:dateTimePrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="lastModificationDateTime"
               type="ereg:dateTimePrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="lastVerificationDateTime"
               type="ereg:dateTimePrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="translatedContact"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               ref="iris:seeAlso"
               minOccurs="0"
               maxOccurs="unbounded" />
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     <element
       name="contact"
       type="ereg:contactType"
       substitutionGroup="iris:result" />

     <!--                                           -->
     <!-- Registration Authority                    -->
     <!--                                           -->

     <complexType
       name="registrationAuthorityType">
       <complexContent>
         <extension
           base="iris:resultType">
           <sequence>
             <element
               name="serviceInstance"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="organizationName"
               type="string"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="legalId"
               type="token"
               minOccurs="0"
               maxOccurs="1"/>
             <choice
               minOccurs="0"
               maxOccurs="3">
               <element
                 name="registry">
                 <complexType/>
               </element>
               <element
                 name="registrar">
                 <complexType/>
               </element>
               <element
                 name="other">
                 <complexType/>
               </element>
             </choice>
             <group ref="ereg:contactGroup" />
             <element

               ref="iris:seeAlso"
               minOccurs="0"
               maxOccurs="unbounded" />
           </sequence>
         </extension>
       </complexContent>
     </complexType>

     <element
       name="registrationAuthority"
       type="ereg:registrationAuthorityType"
       substitutionGroup="iris:result" />

     <!--                                           -->
     <!-- Validation Entity                         -->
     <!--                                           -->

     <complexType
       name="validationEntityType">
       <complexContent>
         <extension
           base="iris:resultType">
           <sequence>
             <element
               name="serviceInstance"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="organizationName"
               type="string"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="legalId"
               type="token"
               minOccurs="0"
               maxOccurs="1"/>
             <group ref="ereg:contactGroup" />
             <element
               ref="iris:seeAlso"
               minOccurs="0"
               maxOccurs="unbounded" />
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     <element
       name="validationEntity"
       type="ereg:validationEntityType"
       substitutionGroup="iris:result" />

     <!--                                           -->
     <!-- Communication Service Provider            -->
     <!--                                           -->

     <complexType
       name="communicationServiceProviderType">
       <complexContent>
         <extension
           base="iris:resultType">
           <sequence>
             <element
               name="serviceInstance"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="organizationName"
               type="string"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="legalId"
               type="token"
               minOccurs="0"
               maxOccurs="1"/>
             <element
               name="cspId"
               type="token"
               minOccurs="0"
               maxOccurs="1"/>
             <choice
               minOccurs="0"
               maxOccurs="5">
               <element
                 minOccurs="0"
                 maxOccurs="1"
                 name="line">
                 <complexType/>
               </element>
               <element
                 minOccurs="0"
                 maxOccurs="1"
                 name="data">
                 <complexType/>
               </element>
               <element
                 minOccurs="0"
                 maxOccurs="1"
                 name="voice">
                 <complexType/>
               </element>
               <element
                 minOccurs="0"
                 maxOccurs="1"
                 name="signal">
                 <complexType/>
               </element>
               <element
                 minOccurs="0"
                 maxOccurs="1"
                 name="other">
                 <complexType/>
               </element>
             </choice>
             <group ref="ereg:contactGroup" />
             <element
               ref="iris:seeAlso"
               minOccurs="0"
               maxOccurs="unbounded" />
           </sequence>
         </extension>
       </complexContent>
     </complexType>

     <element
       name="communicationServiceProvider"
       type="ereg:communicationServiceProviderType"
       substitutionGroup="iris:result" />

     <!--                                           -->
     <!-- Validation Event                          -->
     <!--                                           -->

     <complexType
       name="validationEventType">
       <complexContent>
         <extension
           base="iris:resultType">
           <sequence>
             <element
               name="serial"
               type="token"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="methodId"
               type="token"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="validationEntity"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="registrar"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="executionDateTime"
               type="ereg:dateTimePrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="expirationDateTime"
               type="ereg:dateTimePrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               ref="iris:seeAlso"
               minOccurs="0"
               maxOccurs="unbounded" />
           </sequence>
         </extension>
       </complexContent>
     </complexType>

     <element
       name="validationEvent"
       type="ereg:validationEventType"
       substitutionGroup="iris:result" />
     <!--                                           -->
     <!-- Contact Group                             -->
     <!--                                           -->
     <group name="contactGroup">
       <sequence>
         <element
           name="billingContact"
           type="iris:entityType"
           minOccurs="0"
           maxOccurs="unbounded" />
         <element
           name="technicalContact"
           type="iris:entityType"
           minOccurs="0"
           maxOccurs="unbounded" />
         <element
           name="administrativeContact"
           type="iris:entityType"
           minOccurs="0"
           maxOccurs="unbounded" />
         <element
           name="legalContact"
           type="iris:entityType"
           minOccurs="0"
           maxOccurs="unbounded" />
         <element
           name="zoneContact"
           type="iris:entityType"
           minOccurs="0"
           maxOccurs="unbounded" />
         <element
           name="abuseContact"
           type="iris:entityType"
           minOccurs="0"
           maxOccurs="unbounded" />
         <element
           name="securityContact"
           type="iris:entityType"
           minOccurs="0"
           maxOccurs="unbounded" />
         <element
           name="otherContact"
           type="iris:entityType"
           minOccurs="0"
           maxOccurs="unbounded" />
       </sequence>
     </group>

     <!--                                           -->
     <!-- Privacy Label Types                       -->
     <!--                                           -->
     <attributeGroup
       name="privacyLabelAttributeGroup">
       <attribute
         name="private"
         type="boolean" />
       <attribute
         name="denied"
         type="boolean" />
       <attribute
         name="doNotRedistribute"
         type="boolean" />
       <attribute
         name="specialAccess"
         type="boolean" />
     </attributeGroup>

     <complexType
       name="dateTimePrivacyType">
       <simpleContent>
         <extension
           base="dateTime">
           <attributeGroup
             ref="ereg:privacyLabelAttributeGroup" />
         </extension>
       </simpleContent>
     </complexType>

     <complexType
       name="stringPrivacyType">
       <simpleContent>
         <extension
           base="string">
           <attributeGroup
             ref="ereg:privacyLabelAttributeGroup" />
         </extension>
       </simpleContent>
     </complexType>

     <complexType
       name="normalizedStringPrivacyType">
       <simpleContent>
         <extension
           base="normalizedString">
           <attributeGroup
             ref="ereg:privacyLabelAttributeGroup" />
         </extension>
       </simpleContent>
     </complexType>
     <complexType
       name="tokenPrivacyType">
       <simpleContent>
         <extension
           base="token">
           <attributeGroup
             ref="ereg:privacyLabelAttributeGroup" />
         </extension>
       </simpleContent>
     </complexType>

     <complexType
       name="enumStatusType">
       <sequence>
         <element
           name="appliedDate"
           type="dateTime"
           minOccurs="0"
           maxOccurs="1" />
         <element
           name="description"
           minOccurs="0"
           maxOccurs="unbounded">
           <complexType>
             <simpleContent>
               <extension
                 base="string">
                 <attribute
                   name="language"
                   type="language"
                   use="required" />
               </extension>
             </simpleContent>
           </complexType>
         </element>
         <element
           name="subStatus"
           minOccurs="0"
           maxOccurs="1">
           <complexType>
             <simpleContent>
               <extension
                 base="token">
                 <attribute
                   type="token"
                   use="required"
                   name="authority"/>
               </extension>

             </simpleContent>
           </complexType>
         </element>
       </sequence>
       <attributeGroup
         ref="ereg:privacyLabelAttributeGroup" />
       <attribute
         name="actor">
         <simpleType>
           <restriction
             base="string">
             <enumeration
               value="registry"/>
             <enumeration
               value="registrar"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute
         name="disposition">
         <simpleType>
           <restriction
             base="string">
             <enumeration
               value="prohibited"/>
             <enumeration
               value="pending"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute
         name="scope"
         type="token" />
     </complexType>

     <complexType
       name="contactTypeType">
       <sequence>
         <element
           name="description"
           minOccurs="0"
           maxOccurs="unbounded">
           <complexType>
             <simpleContent>
               <extension
                 base="string">
                 <attribute
                   name="language"
                   type="language"
                   use="required" />
               </extension>
             </simpleContent>
           </complexType>
         </element>
       </sequence>
       <attributeGroup
         ref="ereg:privacyLabelAttributeGroup" />
     </complexType>

     <!-- ========================================= -->
     <!--                                           -->
     <!-- Error Codes                               -->
     <!--                                           -->
     <!-- ========================================= -->

     <!--                                           -->
     <!-- Search Too Wide                           -->
     <!--                                           -->

     <element
       name="searchTooWide"
       type="iris:codeType"
       substitutionGroup="iris:genericCode" />

     <!--                                           -->
     <!-- Language Not Supported                    -->
     <!--                                           -->

     <complexType
       name="languageNotSupportedType">
       <complexContent>
         <extension
           base="iris:codeType">
           <sequence>
             <element
               name="unsupportedLanguage"
               type="language"
               minOccurs="1"
               maxOccurs="unbounded" />
           </sequence>
         </extension>
       </complexContent>
     </complexType>

     <element
       name="languageNotSupported"
       type="ereg:languageNotSupportedType"
       substitutionGroup="iris:genericCode" />

   </schema>

Figure 1: ereg.xsd

5. Blocks Extensible Exchange Protocol (BEEP) Transport Compliance ✨

okay so IRIS has a bunch of extra bits you can bolt on to its core stuff πŸ’– this section spells out which extensions are allowed when you're using IRIS-BEEP [6] πŸ¦‹

5.1. Message Pattern

this registry type uses the default message pattern described in IRIS-BEEP [6] πŸ’…

5.2. Server Authentication

this registry type only uses the basic Transport Layer Security (TLS) server authentication method from IRIS-BEEP [6] πŸ” that's it, that's the tea 🫢

6. URI Resolution 🌸

6.1. Application Service Label

the application service label for this registry type MUST be "EREG1" πŸŽ€ it's the short form of the URN for this registry type, urn:ietf:params:xml:ns:ereg1 ✨

7. Internationalization Considerations 🌍

implementers should be aware of the internationalization stuff in IRIS [5] πŸ‘€ it's giving "read the other doc first" energy πŸ’œ

the social data attached to contacts can be non-ASCII and could hold basically any Unicode character 🀯 that's why the <language> element exists for queries that might run into that kind of data 🌈 clients should use those elements to tell the server which target languages they want, and servers should use them to do better normalization and search (see <http://www.unicode.org/reports/tr15/>) πŸ’…

clients who need to localize the data tags in this protocol should know that only the names of XML elements and attributes need localizing 🌷 the one exception is elements holding date and time info πŸ•°οΈ the schema was built so clients don't need to dig into the content of elements or attributes for localization, except for those date and time elements πŸ’–

clients should also use the <language> elements that show up in lots of the results 🫢 when results contain data that might be Unicode, those elements come along to help present the data nicely to the user ✨

the content of the dateTimePrivacyType element conforms to the XML Schema [3] data type dateTime πŸ¦‹ the content of this element MUST be specified using the 'Z' indicator for Coordinated Universal Time (UTC) ⏰ no wiggle room, bestie 😭

8. IANA Considerations πŸ“‹

8.1. XML Namespace URN Registration

this document uses a proposed XML namespace and schema registry specified in XML_URN [16] 🧚 so here's the registration info for IANA:

  • URN/URI:
    • urn:ietf:params:xml:schema:ereg1
  • Contact:
    • Andrew Newton <andy@hxr.us>
  • XML:
    • The XML Schema specified in Section 4
  • URN/URI:
    • urn:ietf:params:xml:ns:ereg1
  • Contact:
    • Andrew Newton <andy@hxr.us>
  • XML:
    • None.

8.2. S-NAPTR Registration

the following S-NAPTR application service tag [20] got registered with IANA under the IANA considerations in IRIS [5] πŸŽ‰ the tag is EREG1 πŸ’œ

8.3. BEEP Registration

the following BEEP Profile URI got registered with IANA at http://www.iana.org/assignments/beep-parameters, on top of the registration already in IRIS-BEEP [6] 🌈 the URI is:

http://iana.org/beep/iris1/ereg1

9. Security Considerations πŸ”’

this document doesn't lay out any new security considerations beyond what's already specified in IRIS [5] πŸ’€ so go check that one for the full security picture πŸ™ˆ no new drama here, periodt ✨

10. Normative References ✨

okay bestie, this is the reading list πŸ“šπŸ§š these are the docs the spec leans on, and you need every single one to make sense of it. Here they are, in the original order:

[1] World Wide Web Consortium, "Extensible Markup Language (XML) 1.0", W3C XML, February 1998, <http://www.w3.org/TR/1998/REC-xml-19980210>.

[2] World Wide Web Consortium, "Namespaces in XML", W3C XML Namespaces, January 1999, <http://www.w3.org/TR/1999/REC-xml-names-19990114>.

[3] World Wide Web Consortium, "XML Schema Part 2: Datatypes", W3C XML Schema, October 2004, <http://www.w3.org/TR/xmlschema-2/>.

[4] World Wide Web Consortium, "XML Schema Part 1: Structures", W3C XML Schema, October 2004, <http://www.w3.org/TR/xmlschema-1/>.

[5] Newton, A. and M. Sanz, "IRIS: The Internet Registry Information Service (IRIS) Core Protocol", RFC 3981, January 2005.

[6] Newton, A. and M. Sanz, "Using the Internet Registry Information Service (IRIS) over the Blocks Extensible Exchange Protocol (BEEP)", RFC 3983, January 2005.

[7] Hinden, R. and S. Deering, "Internet Protocol Version 6 (IPv6) Addressing Architecture", RFC 3513, April 2003.

[8] Postel, J., "Internet Protocol", STD 5, RFC 791, September 1981.

[9] Mockapetris, P., "Domain names - implementation and specification", STD 13, RFC 1035, November 1987.

[10] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", RFC 2119, BCP 14, March 1997.

[11] International Organization for Standardization, "Codes for the representation of names of countries, 3rd edition", ISO Standard 3166, August 1988.

[12] Braden, R., "Requirements for Internet Hosts - Application and Support", STD 3, RFC 1123, October 1989.

[13] International Telecommunications Union, "The International Public Telecommunication Numbering Plan", ITU-T Recommendation E.164, February 2005.

[14] International Telecommunications Union, "Notation for national and international telephone numbers, e-mail addresses and Web addresses", ITU-T Recommendation E.123, February 2001.

[15] Hoffman, P. and M. Blanchet, "Nameprep: A Stringprep Profile for Internationalized Domain Names (IDN)", RFC 3491, March 2003.

[16] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688, January 2004.

[17] Faltstrom, P. and M. Mealling, "The E.164 to Uniform Resource Identifiers (URI) Dynamic Delegation Discovery System (DDDS) Application (ENUM)", RFC 3761, April 2004.

[18] Hollenbeck, S., "Domain Registry Grace Period Mapping for the Extensible Provisioning Protocol (EPP)", RFC 3915, September 2004.

[19] Braden, R., "Requirements for Internet Hosts - Application and Support", STD 3, RFC 1123, October 1989.

[20] Daigle, L. and A. Newton, "Domain-Based Application Service Location Using SRV RRs and the Dynamic Delegation Discovery Service (DDDS)", RFC 3958, January 2005.


Appendix A. Contributions and Acknowledgements 🫢

this doc is a derivative of the spec used to define forward domain registries for IRIS 🌈 Marcos Sanz was a major contributor to that spec, and a lot of his words and ideas made it into this one, so he deserves all the flowers πŸ’ other contributors include Alexander Mayrhofer, Bernie Hoeneisen, Otmar Lendl, and Scott Hollenbeck πŸ’œ

Author's Address πŸ’Œ

Andrew L. Newton
VeriSign, Inc.
21345 Ridgetop Circle
Sterling, VA  20166
USA

Phone: +1.7039483382
EMail: andy@hxr.us
URI:   http://www.verisignlabs.com/

the Internet Society owns the copyright here, and it's from 2006 πŸ’… this doc is subject to the rights, licenses and restrictions in BCP 78, and except as set out there, the authors keep all their rights πŸ”₯

the legal disclaimer is serious business, so here it is word for word:

This document and the information contained herein are provided on an
"AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
basically this is provided as-is with no warranties, so go in with your eyes open πŸ‘€

Intellectual Property πŸ¦‹

the IETF doesn't take a side on whether any IPR claims on this tech are valid or how far they reach, and it also doesn't say it went hunting for any of them πŸ™ˆ it also doesn't promise any license would be available. If you want the rules on rights in RFC docs, check BCP 78 and BCP 79 πŸ’–

IPR disclosures sent to the IETF Secretariat, any assurances of licenses, and the results of attempts to get a general license or permission for implementers or users can be found in the IETF online IPR repository at http://www.ietf.org/ipr πŸ“‚

the IETF also invites anyone to flag any copyrights, patents, patent applications, or other proprietary rights that might cover tech needed to implement this standard. Send that info to the IETF at ietf-ipr@ietf.org πŸ“¬βœ¨


Acknowledgement 🌸

the RFC Editor function is funded by the IETF Administrative Support Activity (IASA) πŸŽ€ thank you IASA, you keep the lights on for all of us 🧚

πŸ“¦ where this page comes from