Registration Protocols Extensions R. Carney Internet-Draft J. Snitker Intended status: Standards Track GoDaddy Inc. Expires: April 21, 2017 October 18, 2016 Validate Extension for the Extensible Provisioning Protocol (EPP) draft-carney-regext-validate-01 Abstract This document describes an Extensible Provisioning Protocol (EPP) extension mapping for the validation of contact and eligibility data. Status of This Memo 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 http://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 April 21, 2017. Copyright Notice Copyright (c) 2016 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 (http://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 Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License. Carney & Snitker Expires April 21, 2017 [Page 1] Internet-Draft Validate October 2016 Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 1.1. Conventions Used in This Document . . . . . . . . . . . . 2 2. Object Attributes . . . . . . . . . . . . . . . . . . . . . . 3 3. EPP Command Mapping . . . . . . . . . . . . . . . . . . . . . 3 3.1. EPP Query Commands . . . . . . . . . . . . . . . . . . . 3 3.1.1. EPP Command . . . . . . . . . . . . . . . . . 3 3.1.2. EPP Command . . . . . . . . . . . . . . . . . 7 3.1.3. EPP Command . . . . . . . . . . . . . . . . . 7 3.1.4. EPP Command . . . . . . . . . . . . . . . 8 3.2. EPP Query Commands . . . . . . . . . . . . . . . . . . . 8 3.2.1. EPP Command . . . . . . . . . . . . . . . . 8 3.2.2. EPP Command . . . . . . . . . . . . . . . . 8 3.2.3. EPP Command . . . . . . . . . . . . . . . . . 8 3.2.4. EPP Command . . . . . . . . . . . . . . . 8 3.2.5. EPP Command . . . . . . . . . . . . . . . . 8 4. Formal Syntax . . . . . . . . . . . . . . . . . . . . . . . . 8 4.1. Validate Extension Schema . . . . . . . . . . . . . . . . 9 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 11 5.1. XML Namespace . . . . . . . . . . . . . . . . . . . . . . 11 5.2. EPP Extension Registry . . . . . . . . . . . . . . . . . 12 6. Security Considerations . . . . . . . . . . . . . . . . . . . 12 7. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 12 8. Change History . . . . . . . . . . . . . . . . . . . . . . . 12 8.1. Change from 00 to 01 . . . . . . . . . . . . . . . . . . 12 9. Normative References . . . . . . . . . . . . . . . . . . . . 13 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 13 1. Introduction This document describes an extension mapping for version 1.0 of the Extensible Provisioning Protocol (EPP) [RFC5730]. This EPP mapping specifies a flexible schema by which EPP clients and servers can reliably validate contact and eligibility data. With the increased number of restrictions on contacts and required data points (license, ids, etc.) to register a domain name, a way to validate the data points prior to issuing a transform command is becoming more important. 1.1. Conventions Used in This Document 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 [RFC2119]. Carney & Snitker Expires April 21, 2017 [Page 2] Internet-Draft Validate October 2016 XML is case sensitive. Unless stated otherwise, XML specifications and examples provided in this document MUST be interpreted in the character case presented in order to develop a conforming implementation. In examples, "C:" represents lines sent by a protocol client and "S:" represents lines returned by a protocol server. Indentation and white space in examples are provided only to illustrate element relationships and are not a REQUIRED feature of this protocol. 2. Object Attributes This extension adds additional elements to EPP object mappings like the EPP domain name mapping [RFC5733]. Only those new elements are described here. Key Value provides a flexible mechanism to share data between the client and the server. The element defines the data, with two required simple attributes, key and value, and an optional contactType attribute for specificity in the response, more details below. o An example . o An example . 3. EPP Command Mapping A detailed description of the EPP syntax and semantics can be found in [RFC5730]. The command mappings described here are specifically for the Validate Extension 3.1. EPP Query Commands EPP provides four commands to retrieve object information: to determine if an object is known to the server, to retrieve detailed information associated with an object, to discover and retrieve service messages queued by the server, and to retrieve object transfer status information. 3.1.1. EPP Command This extension defines additional elements for the EPP command. The command frame MAY contain an element which MAY contain one child element with the following child element(s): Carney & Snitker Expires April 21, 2017 [Page 3] Internet-Draft Validate October 2016 o one or more element(s) for each contact that is to be validated that contains the contact type of the contact to be validated. The element MUST contain the following child elements: o one element. o zero or more elements. The element MUST contain the following child elements: o one element. o an OPTIONAL element. o an OPTIONAL element. o an OPTIONAL element. o an OPTIONAL element. o an OPTIONAL element. o an OPTIONAL element. The following is an example of the command using the extension. C: C: C: C: C: C: C: C: sh8013 C: C: John Doe C: Example Inc. C: C: 123 Example Dr. C: Suite 100 C: Dulles C: VA C: 20166-6503 C: US C: C: C: +1.7035555555 C: +1.7035555556 C: jdoe@example.com Carney & Snitker Expires April 21, 2017 [Page 4] Internet-Draft Validate October 2016 C: C: 2fooBAR C: C: C: C: C: C: C: C: C: C: C: sh8013 C: C: C: C: C: sh8014 C: C: John Doe C: Example Inc. C: C: 123 Example Dr. C: Suite 100 C: Dulles C: VA C: 20166-6503 C: US C: C: C: +1.7035555555 C: +1.7035555556 C: jdoe@example.com C: C: 2fooBAR C: C: C: C: C: C: C: C: C: C: sh8014 C: C: C: Carney & Snitker Expires April 21, 2017 [Page 5] Internet-Draft Validate October 2016 C: C: ABC-12345 C: C: When the server receives a command that includes the extension elements described above, its response MUST contain an element, which MUST contain a child element. The element MUST contain a element for each element contained in the command. The element MUST contain the following child elements: o one element. o one element. o zero or more elements. Carney & Snitker Expires April 21, 2017 [Page 6] Internet-Draft Validate October 2016 The following is an example of the response using the extension. S: S: S: S: S: Command completed successfully S: S: S: S: S: sh8013 S: 1000 S: S: S: sh8014 S: 2306 S: S: S: S: S: S: S: S: ABC-12345 S: 54321-ZYX S: S: S: 3.1.2. EPP Command This extension does not add any elements to the EPP command or response. 3.1.3. EPP Command This extension does not add any elements to the EPP command or response. Carney & Snitker Expires April 21, 2017 [Page 7] Internet-Draft Validate October 2016 3.1.4. EPP Command This extension does not add any elements to the EPP command or response. 3.2. EPP Query Commands EPP provides five commands to transform objects: to create an instance of an object with a server, to remove an instance of an object from a server, to extend the validity period of an object, to manage changes in client sponsorship of an object, and to change information. 3.2.1. EPP Command This extension does not add any elements to the EPP command or response. 3.2.2. EPP Command This extension does not add any elements to the EPP command or response. 3.2.3. EPP Command This extension does not add any elements to the EPP command or response. 3.2.4. EPP Command This extension does not add any elements to the EPP command or response. 3.2.5. EPP Command This extension does not add any elements to the EPP command or response. 4. Formal Syntax One schema is presented here that is the EPP Validate Extension schema. The formal syntax presented here is a complete schema representation of the object mapping suitable for automated validation of EPP XML instances. The BEGIN and END tags are not part of the schema; they are used to note the beginning and ending of the schema for URI registration purposes. Carney & Snitker Expires April 21, 2017 [Page 8] Internet-Draft Validate October 2016 4.1. Validate Extension Schema BEGIN Extensible Provisioning Protocol v1.0 Validate Object Extension Carney & Snitker Expires April 21, 2017 [Page 9] Internet-Draft Validate October 2016 Carney & Snitker Expires April 21, 2017 [Page 10] Internet-Draft Validate October 2016 END 5. IANA Considerations 5.1. XML Namespace This document uses URNs to describe XML namespaces and XML schemas conforming to a registry mechanism described in [RFC3688]. The following URI assignment is requested of IANA: URI: ietf:params:xml:ns:validate-1.0 Registrant Contact: See the "Author's Address" section of this document. XML: See the "Formal Syntax" section of this document. Carney & Snitker Expires April 21, 2017 [Page 11] Internet-Draft Validate October 2016 5.2. EPP Extension Registry The EPP extension described in this document should be registered by the IANA in the EPP Extension Registry described in [RFC7451]. The details of the registration are as follows: Name of Extension: "Validate Extension for the Extensible Provisioning Protocol (EPP)" Document status: Standards Track Reference: (insert reference to RFC version of this document) Registrant Name and Email Address: IESG, TLDs: Any IPR Disclosure: None Status: Active Notes: None 6. Security Considerations The mapping extensions described in this document do not provide any security services beyond those described by EPP [RFC5730] and protocol layers used by EPP. The security considerations described in these other specifications apply to this specification as well. 7. Acknowledgements The authors wish to thank the following persons for their feedback and suggestions: o Kevin Allendorf of GoDaddy Inc. o Jody Kolker of GoDaddy Inc. o James Gould of Verisign Inc 8. Change History 8.1. Change from 00 to 01 After review and broad feedback, extensive changes have been made transforming the original document from a standalone extension command to an extension using the command and response framework. Carney & Snitker Expires April 21, 2017 [Page 12] Internet-Draft Validate October 2016 9. Normative References [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . [RFC3688] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688, DOI 10.17487/RFC3688, January 2004, . [RFC5730] Hollenbeck, S., "Extensible Provisioning Protocol (EPP)", STD 69, RFC 5730, DOI 10.17487/RFC5730, August 2009, . [RFC5733] Hollenbeck, S., "Extensible Provisioning Protocol (EPP) Contact Mapping", STD 69, RFC 5733, DOI 10.17487/RFC5733, August 2009, . [RFC7451] Hollenbeck, S., "Extension Registry for the Extensible Provisioning Protocol", RFC 7451, DOI 10.17487/RFC7451, February 2015, . Authors' Addresses Roger Carney GoDaddy Inc. 14455 N. Hayden Rd. #219 Scottsdale, AZ 85260 US Email: rcarney@godaddy.com URI: http://www.godaddy.com Joseph Snitker GoDaddy Inc. 14455 N. Hayden Rd. #219 Scottsdale, AZ 85260 US Email: jsnitker@godaddy.com URI: http://www.godaddy.com Carney & Snitker Expires April 21, 2017 [Page 13]