Network Working Group T. Hansen Internet-Draft AT&T Laboratories Obsoletes: 2717,2718 (if approved) T. Hardie Expires: December 31, 2005 Qualcomm, Inc. L. Masinter Adobe Systems June 29, 2005 Guidelines and Registration Procedures for new URI Schemes draft-hansen-2717bis-2718bis-uri-guidelines-05.txt Status of this Memo By submitting this Internet-Draft, each author represents that any applicable patent or other IPR claims of which he or she is aware have been or will be disclosed, and any of which he or she becomes aware will be disclosed, in accordance with Section 6 of BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet- Drafts. 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." The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt. The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html. This Internet-Draft will expire on December 31, 2005. Copyright Notice Copyright (C) The Internet Society (2005). Abstract This document provides guidelines and recommendations for the definition of Uniform Resource Identifier (URI) schemes. It also updates the process and IANA registry for URI schemes. Hansen, et al. Expires December 31, 2005 [Page 1] Internet-Draft New URI Schemes June 2005 Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3 2. Guidelines for Permanent URI scheme definitions . . . . . . . 4 2.1 Demonstratable, new, long-lived utility . . . . . . . . . 4 2.2 Syntactic compatibility . . . . . . . . . . . . . . . . . 4 2.3 Well-Defined . . . . . . . . . . . . . . . . . . . . . . . 5 2.4 Definition of operations . . . . . . . . . . . . . . . . . 5 2.5 Context of use . . . . . . . . . . . . . . . . . . . . . . 6 2.6 Internationalization and character encoding . . . . . . . 6 2.7 Clear security considerations . . . . . . . . . . . . . . 6 2.8 Scheme Name considerations . . . . . . . . . . . . . . . . 7 3. Guidelines for Provisional URI Scheme Registration . . . . . . 7 4. Guidelines for Historical URI Scheme Registration . . . . . . 8 5. URI Scheme Registration Procedure . . . . . . . . . . . . . . 8 5.1 General . . . . . . . . . . . . . . . . . . . . . . . . . 8 5.2 Registration Procedures . . . . . . . . . . . . . . . . . 8 5.3 Change Control . . . . . . . . . . . . . . . . . . . . . . 9 5.4 URI Scheme Registration Template . . . . . . . . . . . . . 10 6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 10 7. Security Considerations . . . . . . . . . . . . . . . . . . . 11 8. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 11 9. References . . . . . . . . . . . . . . . . . . . . . . . . . . 11 9.1 Normative References . . . . . . . . . . . . . . . . . . . 11 9.2 Informative References . . . . . . . . . . . . . . . . . . 12 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . 13 Intellectual Property and Copyright Statements . . . . . . . . 14 Hansen, et al. Expires December 31, 2005 [Page 2] Internet-Draft New URI Schemes June 2005 1. Introduction The Uniform Resource Identifier (URI) protocol element and generic syntax is defined by RFC 3986 [6]. Each URI begins with a scheme name, as defined by Section 3.1 of RFC 3986, that refers to a specification for identifiers within that scheme. The URI syntax provides a federated and extensible naming system, where each scheme's specification may further restrict the syntax and semantics of identifiers using that scheme. This document provides guidelines for the definition of new URI schemes, for consideration by those who are defining, registering, or evaluating those definitions, as well as a process and mechanism for registering URI schemes within the IANA URI scheme registry. This document obsoletes both RFCs 2717 [3] and 2718 [4]. RFCs 2717 and 2718 drew a distinction between 'locators' -- identifiers used for accessing resources available on the Internet, and 'names' -- identifiers used for naming possibly abstract resources, independent of any mechanism for accessing them. The intent was to use the designation "URL" (Uniform Resource Locator) for those identifiers that were locators, and "URN" (Uniform Resource Name) for those identifiers that were names. In practice, the line between 'locator' and 'name' has been difficult to draw: locators can be used as names, and names can be used as locators. As a result, recent documents have used the term "URI" for all resource identifiers, avoiding the term "URL", and reserving the term "URN" explicitly for those URIs using the "urn" scheme name (RFC 2141 [2]). URN "namespaces" (RFC 3406 [10]) are specific to the "urn" scheme and not covered explicitly by this document. RFC 2717 defined a set of registration trees in which URI schemes could be registered, one of which was called the IETF Tree, to be managed by IANA. RFC 2717 proposed that additional registration trees might be approved by the IESG. However, no such registration trees have been approved. This document eliminates RFC 2717's distinction between different 'trees' for URI schemes; instead there is a single namespace for registered values. Within that namespace, there are values that are approved as meeting a set of criteria for URI schemes. Other scheme names may also be registered provisionally, without necessarily meeting those criteria. The intent of the registry is to: o provide a low barrier for provisional registrations of URI scheme names o provide a central point of discovery for established URI scheme names, and easy location of their defining documents; Hansen, et al. Expires December 31, 2005 [Page 3] Internet-Draft New URI Schemes June 2005 o discourage multiple definitions of URI scheme names for different purposes; o help those proposing new URI scheme names to discern established trends and conventions, and avoid names that might be confused with existing ones. Within this document, the key words MUST, MAY, SHOULD, REQUIRED, RECOMMENDED and so forth are used within the general meanings established in RFC 2119 [1], within the context that they are requirements on future registration documents. 2. Guidelines for Permanent URI scheme definitions This section gives considerations for new URI schemes. Meeting these guidelines is REQUIRED for permanent URI scheme registration. Meeting these guidelines are also RECOMMENDED for provisional registration, as described in Section 3. 2.1 Demonstratable, new, long-lived utility Because URI schemes constitute a single, global namespace, the unbounded registration of new schemes is harmful to the Internet community. For this reason, new URI schemes SHOULD have clear utility to the broad Internet community, beyond that available with already registered URI schemes. 2.2 Syntactic compatibility RFC 3986 [6] defines the generic syntax for all URI schemes, along with the syntax of common URI components that are used by many URI schemes to define hierarchical identifiers. All URI scheme specifications MUST define their own syntax such that all strings matching their scheme-specific syntax will also match the grammar described in Section 4.3 of RFC 3986. New URI schemes SHOULD reuse the common URI components of RFC 3986 for the definition of hierarchical naming schemes. However, if there is a strong reason for a URI scheme to not use the hierarchical syntax, then the new scheme definition SHOULD follow the syntax of previously registered schemes. URI schemes that are not intended for use with relative URIs SHOULD avoid use of the forward slash "/" character, which is used for hierarchical delimiters, and the complete path segments "." and ".." (dot-segments). Avoid improper use of "//". The use of double slashes in the first part of a URI is not an artistic indicator that what follows is a Hansen, et al. Expires December 31, 2005 [Page 4] Internet-Draft New URI Schemes June 2005 URI: Double slashes are used ONLY when the syntax of the URI's contains a hierarchical structure as described in RFC 3986. In URIs from such schemes, the use of double slashes indicates that what follows is the top hierarchical element for a naming authority. (See section 3.2 of RFC 3986 for more details.) URI schemes that do not contain a conformant hierarchical structure in their SHOULD NOT use double slashes following the ":" string. New URI schemes SHOULD clearly define the role of RFC 3986 [6] reserved characters in URIs of the scheme being defined. The syntax of the new scheme should be clear about which of the "reserved" set of characters (as defined in RFC 3986) are used as delimiters within the URIs of the new scheme and when those characters must be escaped, vs. when they may be used without escaping. 2.3 Well-Defined While URIs may or may not be useful as locators in practice, a URI scheme definition itself MUST be clear as to how it is expected to function. Schemes that are not intended to be used as locators SHOULD describe how the resource identified can be determined or accessed by software that obtains a URI of that scheme. For schemes that function as locators, it is important that the mechanism of resource location be clearly defined. This might mean different things depending on the nature of the URI scheme. In many cases, new URI schemes are defined as ways to translate between other namespaces or protocols and the general framework of URIs. For example, the "ftp" URI scheme translates into the FTP protocol, while the "mid" URI scheme translates into a Message-ID identifier of an email message. For such schemes, the description of the mapping must be complete, and in sufficient detail so that the mapping in both directions is clear: how to map from a URI into an identifier or set of protocol actions or name in the target namespace, and how legal values in the base namespace, or legal protocol interactions, might be represented in a valid URI. In particular, the mapping should describe the mechanisms for encoding binary or character strings within valid character sequences in a URI. If not all legal values or protocol interactions of the base standard can be represented using the URI scheme, the definition should be clear about which subset are allowed, and why. 2.4 Definition of operations As part of the definition of how a URI identifies a resource, a URI scheme definition SHOULD define the applicable set of operations that Hansen, et al. Expires December 31, 2005 [Page 5] Internet-Draft New URI Schemes June 2005 may be performed on a resource using the URI as its identifier. A model for this is HTTP; an HTTP resource can be operated on by GET, POST, PUT and a number of other operations available through the HTTP protocol. The URI scheme definition should describe all well-defined operations on the URI identifier, and what they are supposed to do. Some URI schemes don't fit into the "information access" paradigm of URIs. For example, "telnet" provides location information for initiating a bi-directional data stream to a remote host; the only operation defined is to initiate the connection. In any case, the operations appropriate for a URI scheme should be documented. NOTE: It is perfectly valid to say that "no operation apart from GET is defined for this URI". It is also valid to say that "there's only one operation defined for this URI, and it's not very GET-like". The important point is that what is defined on this scheme is described. 2.5 Context of use In general, URIs are used within a broad range of protocols and applications. Most commonly, URIs are used as references to resources within directories or hypertext documents, as hyperlinks to other resources. In some cases, a URI scheme is intended for use within a different, specific set of protocols or applications. If so, the scheme defintion SHOULD describe the intended use and include references to documentation that define the applications and/or protocols cited. 2.6 Internationalization and character encoding When describing URI schemes in which (some of) the elements of the URI are actually representations of human-readable text, care should be taken not to introduce unnecessary variety in the ways in which characters are encoded into octets and then into URI characters; see section 2.5 of RFC 3986 for guidelines. There is no separate registry or registration process for Internationalized Resource Identifiers (IRIs) [7]. URI scheme definitions SHOULD be compatible with that specification. If URIs of the scheme contain any text fields, the scheme definition MUST describe the ways in which characters are encoded, and any compatibility issues with IRIs of the scheme. 2.7 Clear security considerations Definitions of URI schemes MUST be accompanied by a clear analysis of the security implications for systems that use the URI scheme; this follows the practice of Security Consideration sections within IANA Hansen, et al. Expires December 31, 2005 [Page 6] Internet-Draft New URI Schemes June 2005 registrations[8]. In particular, section 7 of RFC 3986[6] describes general security considerations for URI schemes. The definition of an individual URI scheme should note which of these apply to the specified scheme. 2.8 Scheme Name considerations Section 3.1 of RFC 3986 defines the syntax of a URI scheme name. New scheme registrations MUST comply. Note that although scheme names are case insensitive, scheme names must be registered using lowercase letters. URI scheme names should be short, but also sufficiently descriptive and distinguished to avoid problems. Avoid trademark names or other symbols that might have problems with the 'ownership' or rights to use the name in Internet protocols. Avoid using names that are either very general purpose or associated in the community with some other application or protocol. Avoid scheme names that are overly general or grandiose in scope (e.g., that allude to their "universal" or "standard" nature when the described namespace is not.) Organizations that desire a private name space for URI scheme names are encouraged to use a prefix based on their domain name, expressed in reverse order. For example, a URI scheme name of com-example-info might be registered by the vendor that owns the example.com domain name. 3. Guidelines for Provisional URI Scheme Registration While the guidelines in Section 2 are REQUIRED for permanent registration, they are RECOMMENDED for provisional registration. For a provisional registration, the following are REQUIRED: o The scheme name meets the syntactic requirements of Section 2.8. o There is not already a entry with the same URI scheme name. (In the unfortunate case that there are multiple, different uses of the same scheme name, the IESG may approve a request to modify an existing entry to note the separate use.) o Contact information identifying the person supplying the registration is included. Previously unregistered URI schemes discovered in use may be registered by third parties on behalf of those who created the URI scheme; in this case, both the registering party and the scheme creator SHOULD be identified. Hansen, et al. Expires December 31, 2005 [Page 7] Internet-Draft New URI Schemes June 2005 o If no permanent, citable specification for the URI scheme definition is included, credible reasons for not providing it should be given. o A valid security considerations section, as required by section 6 of [8]. o If the scheme definition does not meet the guidelines laid out in Section 2, the differences and reasons SHOULD be noted. 4. Guidelines for Historical URI Scheme Registration In some circumstances, it is appropriate to note a URI scheme that was once in use or registered but for whatever reason is no longer in common use or the use is not recommended. In this case, it is possible for an individual to request that the URI scheme be registered (newly, or as an update to an existing registration) as 'historical'. Any scheme that is no longer in common use MAY be designated as historical; the registration should contain some indication to where the scheme was previously defined or documented. 5. URI Scheme Registration Procedure 5.1 General The URI registration process is described in the terminology of [8]. The registration process is an optional mailing list review, followed by "Expert Review". The registration request should note the desired status. The Designated Expert will evaluate the request against the criteria of the requested status. In the case of a permanent registration request, the Designated Expert may: o Accept the URI scheme name for Permanent registration. o Suggest provisional registration instead. o Request IETF review and IESG approval; in the meanwhile, suggest provisional registration. URI scheme definitions contained within other IETF documents (Informational, Experimental or Standards-Track RFCs) must also undergo Expert Review; in the case of Standards-Track documents, permanent registration status approval is required. 5.2 Registration Procedures Someone wishing to register a URI scheme should: 1. Check the IANA URI scheme registry to see whether or not there is already an entry for the desired name. If there is already an entry under the name, choose a different URI scheme name. 2. Prepare a URI scheme registration template, as specified in Section 5.4. The URI scheme registration template may be contained in an Internet Draft (alone, or as part of some other Hansen, et al. Expires December 31, 2005 [Page 8] Internet-Draft New URI Schemes June 2005 protocol specification), but this is not necessary. 3. Send a copy of the template or a pointer to the containing document (with specific reference to the section with the template) to the mailing list uri@w3.org, requesting review. Allow a reasonable time for discussion and comments. Make revisions as appropriate based on review comments. Four weeks is reasonable for a permanent registration requests. Mailing list review is RECOMMENDED prior to registration, but may also be required by the 'Designated Expert' during the 'Expert Review' period. 4. Submit the (possibly updated) registration template (or pointer to document containing it) to IANA at iana@iana.org [13], specifying whether 'permanent' or 'provisional' registration is requested. Upon receipt of a URI scheme registration request, 1. IANA checks the submission for completeness; if sections are missing or citations are not correct, IANA rejects the registration request. 2. IANA checks the current registry for a entry with the same name; if such a registry exists, IANA rejects the registration request. 3. IANA requests Expert Review of the registration request against the corresponding guidelines. 4. If Expert Review recommends registration in either 'permanent' or 'provisional' registration, IANA adds the registration to the appropriate registry. 5. Unless Expert Review has explicitly rejected the registration within two weeks, IANA should automatically add the registration in the 'provisional' registry. Either based on an explicit request or independently initiated, the Designated Expert or IESG may request the upgrade of a 'provisional' registration to a 'permanent' one. In such cases, IANA should remove the corresponding entry from the provisional registry. 5.3 Change Control Registrations may be updated in each registry by the same mechanism as required for an initial registration. In cases where the original definition of the scheme is contained in an IESG-approved document, update of the specification also requires IESG approval. Provisional registrations may be updated by the original registrant or anyone designated by them. In addition, the IESG may reassign responsibility for a provisional registration scheme. The most common case of this will be to enable changes to be made to schemes where the original registrator is out of contact, or Hansen, et al. Expires December 31, 2005 [Page 9] Internet-Draft New URI Schemes June 2005 unwilling or unable to make changes. Transition to 'permanent' status (or from 'permanent' to 'historical' status) requires IESG approval; transition from 'provisional' to 'historical' may be requested by anyone authorized to update the provisional registration. 5.4 URI Scheme Registration Template This template describes the fields that must be supplied in a URI scheme registration request: URI scheme name. See Section 2.8 for guidelines. Status. This reflects the status requested, and should be one of 'permanent', 'provisional' or 'historical'. URI scheme syntax. See Section 2.2 for guidelines. URI scheme semantics. See Section 2.3 and Section 2.4 for guidelines. Encoding considerations. See Section 2.6 for guidelines. Applications/protocols that use this URI scheme name. Applications and/or protocols that use this URI scheme name; see Section 2.5. Interoperability considerations. If you are aware of any details regarding your scheme that might impact interoperability, please identify them here. For example: proprietary or uncommon encoding method; inability to support multibyte character sets; incompatibility with types or versions of any underlying protocol. Security considerations. See Section 2.7 for guidelines. Contact. Person (including contact information) to contact for further information. Author/Change controller. Person (including contact information) authorized to change this, if a provisional registration. References. Include full citations for all referenced documents. Registration templates for provisional registration may be included in an Internet Draft; when the documents expire or are approved for publication as an RFC, the registration will be updated. 6. IANA Considerations This document replaces the current "URL Scheme" registry with a new Hansen, et al. Expires December 31, 2005 [Page 10] Internet-Draft New URI Schemes June 2005 Uniform Resource Identifier scheme registry, establishes a new registration template and a new process for registration. The process is based on [8] "Expert Review" with an initial (optional) mailing list review. The template has an additional field for the status of the URI name scheme, and the procedures for entering new name schemes have been augmented. Section Section 5 establishes the process for new URI scheme registration. To transition to the new registry, all URL name schemes in the existing table should be given 'permanent' status. 7. Security Considerations All registered values are expected to contain accurate security consideration sections; 'permanent' registered scheme names are expected to contain complete definitions. Information concerning possible security vulnerabilities of a protocol may change over time. Consequently, claims as to the security properties of a registered URI scheme may change as well. As new vulnerabilities are discovered, information about such vulnerabilities may need to be attached to existing documentation, so that users are not misled as to the true security properties of a registered URI scheme. 8. Acknowledgements Many thanks to Paul Hoffmann, Ira McDonald, Roy Fielding, Stu Weibel, Tony Hammond, Charles Lindsey, Mark Baker and other members of the uri@w3.org [14] mailing list for their comments on earlier drafts. Parts of this document are based on [3], [4] and [11]. Some of the ideas about use of URIs were taken from the 'Architecture of the World Wide Web' [12]; section 2.4.1 gives some reasons for registering schemes, and also some guidelines for use of URIs. 9. References 9.1 Normative References [1] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997. [2] Moats, R., "URN Syntax", RFC 2141, May 1997. [3] Petke, R. and I. King, "Registration Procedures for URL Scheme Hansen, et al. Expires December 31, 2005 [Page 11] Internet-Draft New URI Schemes June 2005 Names", BCP 35, RFC 2717, November 1999. [4] Masinter, L., Alvestrand, H., Zigmond, D., and R. Petke, "Guidelines for new URL Schemes", RFC 2718, November 1999. [5] Yergeau, F., "UTF-8, a transformation format of ISO 10646", RFC 2279, January 1998. [6] Berners-Lee, T., Fielding, R., and L. Masinter, "Uniform Resource Identifier (URI): Generic Syntax", STD 66, RFC 3986, January 2005. [7] Duerst, M. and M. Suignard, "Internationalized Resource Identifiers (IRIs)", RFC 3987, January 2005. [8] Narten, T. and H. Alvestrand, "Guidelines for Writing an IANA Considerations Section in RFCs", BCP 26, RFC 2434, October 1998. 9.2 Informative References [9] Bradner, S., "The Internet Standards Process -- Revision 3", BCP 9, RFC 2026, October 1996. [10] Daigle, L., van Gulik, D., Iannella, R., and P. Faltstrom, "Uniform Resource Names (URN) Namespace Definition Mechanisms", BCP 66, RFC 3406, October 2002. [11] Klyne, G., Nottingham, M., and J. Mogul, "Registration Procedures for Message Header Fields", BCP 90, RFC 3864, September 2004. [12] W3C Technical Architecture Group, "Architecture of the World Wide Web, Volume One", December 2004, . URIs [13] [14] Hansen, et al. Expires December 31, 2005 [Page 12] Internet-Draft New URI Schemes June 2005 Authors' Addresses Tony Hansen AT&T Laboratories 200 Laurel Ave. Middletown, NJ 07748 USA Email: tony+urireg@maillennium.att.com Ted Hardie Qualcomm, Inc. 675 Campbell Technology Parkway Suite 200 Campbell, CA USA Email: hardie@qualcomm.com Larry Masinter Adobe Systems 345 Park Ave San Jose, CA 95110 US Phone: +1 408 536 3024 Email: LMM@acm.org URI: http://larry.masinter.net Hansen, et al. Expires December 31, 2005 [Page 13] Internet-Draft New URI Schemes June 2005 Intellectual Property Statement The IETF takes no position regarding the validity or scope of any Intellectual Property Rights or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; nor does it represent that it has made any independent effort to identify any such rights. Information on the procedures with respect to rights in RFC documents can be found in BCP 78 and BCP 79. Copies of IPR disclosures made to the IETF Secretariat and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this specification can be obtained from the IETF on-line IPR repository at http://www.ietf.org/ipr. The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights that may cover technology that may be required to implement this standard. Please address the information to the IETF at ietf-ipr@ietf.org. Disclaimer of Validity 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. Copyright Statement Copyright (C) The Internet Society (2005). This document is subject to the rights, licenses and restrictions contained in BCP 78, and except as set forth therein, the authors retain all their rights. Acknowledgment Funding for the RFC Editor function is currently provided by the Internet Society. Hansen, et al. Expires December 31, 2005 [Page 14]