Network Working Group M. Nottingham
Internet-Draft Cloudflare
Obsoletes: 6838 (if approved) P. Resnick
Intended status: Best Current Practice 6 May 2025
Expires: 7 November 2025
Media Type Specifications and Registration Procedures
draft-ietf-mediaman-6838bis-01
Abstract
This document defines procedures for the specification and
registration of media types for use in HTTP, MIME, and other Internet
protocols.
About This Document
This note is to be removed before publishing as an RFC.
Status information for this document may be found at
https://datatracker.ietf.org/doc/draft-ietf-mediaman-6838bis/.
information can be found at https://datatracker.ietf.org/wg/mediaman/
about/.
Source for this draft and an issue tracker can be found at
https://github.com/ietf-wg-mediaman/6838bis/.
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 https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
This Internet-Draft will expire on 7 November 2025.
Nottingham & Resnick Expires 7 November 2025 [Page 1]
Internet-Draft Media Type Registration May 2025
Copyright Notice
Copyright (c) 2025 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents (https://trustee.ietf.org/
license-info) in effect on the date of publication of this document.
Please review these documents carefully, as they describe your rights
and restrictions with respect to this document. Code Components
extracted from this document must include Revised BSD License text as
described in Section 4.e of the Trust Legal Provisions and are
provided without warranty as described in the Revised BSD License.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1. Historical Note . . . . . . . . . . . . . . . . . . . . . 4
1.2. Conventions Used in This Document . . . . . . . . . . . . 4
2. Media Type Registration Preliminaries . . . . . . . . . . . . 4
3. Registration Trees and Subtype Names . . . . . . . . . . . . 5
3.1. Standards Tree . . . . . . . . . . . . . . . . . . . . . 5
3.2. Community Formats in the Standards Tree . . . . . . . . . 6
3.3. Vendor Tree . . . . . . . . . . . . . . . . . . . . . . . 7
3.4. Personal or Vanity Tree . . . . . . . . . . . . . . . . . 8
3.5. Unregistered x. Tree . . . . . . . . . . . . . . . . . . 8
3.6. Additional Registration Trees . . . . . . . . . . . . . . 8
4. Registration Requirements . . . . . . . . . . . . . . . . . . 9
4.1. Functionality Requirement . . . . . . . . . . . . . . . . 9
4.2. Naming Requirements . . . . . . . . . . . . . . . . . . . 9
4.2.1. Text Media Types . . . . . . . . . . . . . . . . . . 10
4.2.2. Image Media Types . . . . . . . . . . . . . . . . . . 11
4.2.3. Audio Media Types . . . . . . . . . . . . . . . . . . 11
4.2.4. Video Media Types . . . . . . . . . . . . . . . . . . 12
4.2.5. Application Media Types . . . . . . . . . . . . . . . 12
4.2.6. Multipart and Message Media Types . . . . . . . . . . 13
4.2.7. Additional Top-Level Types . . . . . . . . . . . . . 13
4.2.8. Structured Syntax Name Suffixes . . . . . . . . . . . 16
4.2.9. Deprecated Aliases . . . . . . . . . . . . . . . . . 17
4.3. Structured Suffixes . . . . . . . . . . . . . . . . . . . 17
4.3.1. Common Suffix Patterns . . . . . . . . . . . . . . . 17
4.3.2. Fragment Identifiers . . . . . . . . . . . . . . . . 18
4.4. Parameter Requirements . . . . . . . . . . . . . . . . . 18
4.5. Canonicalization and Format Requirements . . . . . . . . 19
4.6. Interchange Recommendations . . . . . . . . . . . . . . . 20
4.7. Security Requirements . . . . . . . . . . . . . . . . . . 20
4.7.1. Structured Suffixes . . . . . . . . . . . . . . . . . 22
4.8. Requirements Specific to XML Media Types . . . . . . . . 23
Nottingham & Resnick Expires 7 November 2025 [Page 2]
Internet-Draft Media Type Registration May 2025
4.9. Encoding Requirements . . . . . . . . . . . . . . . . . . 23
4.10. Usage and Implementation Non-Requirements . . . . . . . . 24
4.11. Publication Requirements . . . . . . . . . . . . . . . . 24
4.12. Fragment Identifier Requirements . . . . . . . . . . . . 25
4.13. Additional Information . . . . . . . . . . . . . . . . . 25
5. Media Type Registration Procedures . . . . . . . . . . . . . 26
5.1. Preliminary Community Review . . . . . . . . . . . . . . 26
5.2. Submit Request to IANA . . . . . . . . . . . . . . . . . 27
5.2.1. Provisional Registrations . . . . . . . . . . . . . . 27
5.3. Review and Approval . . . . . . . . . . . . . . . . . . . 28
5.4. Comments on Media Type Registrations . . . . . . . . . . 28
5.5. Change Procedures . . . . . . . . . . . . . . . . . . . . 28
5.6. Registration Template . . . . . . . . . . . . . . . . . . 29
6. Structured Syntax Suffix Registration Procedures . . . . . . 30
6.1. Change Procedures . . . . . . . . . . . . . . . . . . . . 31
6.2. Structured Syntax Suffix Registration Template . . . . . 31
7. Security Considerations . . . . . . . . . . . . . . . . . . . 32
8. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 33
9. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 34
10. References . . . . . . . . . . . . . . . . . . . . . . . . . 34
10.1. Normative References . . . . . . . . . . . . . . . . . . 34
10.2. Informative References . . . . . . . . . . . . . . . . . 36
Appendix A. Grandfathered Media Types . . . . . . . . . . . . . 37
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 37
1. Introduction
Recent Internet protocols have been carefully designed to be easily
extensible in certain areas. In particular, many protocols,
including but not limited to HTTP [RFC2616] and MIME [RFC2045], are
capable of carrying arbitrary labeled content.
The mechanism used to label such content is a media type, consisting
of a top-level type and a subtype, which is further structured into
trees. Optionally, media types can define companion data, known as
parameters.
A registration process is needed for these labels, so that the set of
such values are defined in a reasonably orderly, well-specified, and
public manner.
This document specifies the criteria for media type registrations and
defines the procedures to be used to register media types (Section 5)
as well as media type structured suffixes (Section 6) in the Internet
Assigned Numbers Authority (IANA) central registry.
The location of the media type registry managed by these procedures
is:
Nottingham & Resnick Expires 7 November 2025 [Page 3]
Internet-Draft Media Type Registration May 2025
http://www.iana.org/assignments/media-types/
1.1. Historical Note
The media type registration process was initially defined for
registering media types for use in the context of the asynchronous
Internet mail environment. In this mail environment, there is a need
to limit the number of possible media types, to increase the
likelihood of interoperability when the capabilities of the remote
mail system are not known. As media types are used in new
environments in which the proliferation of media types is not a
hindrance to interoperability, the original procedure proved
excessively restrictive and had to be generalized. This was
initially done in [RFC2048], but the procedure defined there was
still part of the MIME document set. The media type specification
and registration procedure is now a separate document, to make it
clear that it is independent of MIME.
It may be desirable to restrict the use of media types to specific
environments or to prohibit their use in other environments. This
specification incorporates such restrictions into media type
registrations in a systematic way. See Section 4.10 for additional
discussion.
1.2. 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 [RFC2119] when they
appear in ALL CAPS. They may also appear in lower or mixed case as
plain English words, without any normative meaning.
This specification makes use of the Augmented Backus-Naur Form (ABNF)
[RFC5234] notation, including the core rules defined in Appendix B of
that document.
2. Media Type Registration Preliminaries
Registration of a new media type or types starts with the
construction of a registration proposal. Registration may occur
within several different registration trees that have different
requirements, as discussed below. In general, a new registration
proposal is circulated and reviewed in a fashion appropriate to the
tree involved. The media type is then registered if the proposal is
acceptable. The following sections describe the requirements and
procedures used for each of the different registration trees.
Nottingham & Resnick Expires 7 November 2025 [Page 4]
Internet-Draft Media Type Registration May 2025
3. Registration Trees and Subtype Names
In order to increase the efficiency and flexibility of the
registration process, different structures of subtype names can be
registered to accommodate the different natural requirements for,
e.g., a subtype that will be recommended for wide support and
implementation by the Internet community, or a subtype that is used
to move files associated with proprietary software. The following
subsections define registration "trees" that are distinguished by the
use of faceted names, e.g., subtype names that begin with a "tree."
prefix. Note that some media types defined prior to this document do
not conform to the naming conventions described below. See
Appendix A for a discussion of them.
3.1. Standards Tree
The standards tree is intended for types of general interest to the
Internet community. Registrations in the standards tree MUST be
either:
1. in the case of registrations associated with IETF specifications,
approved directly by the IESG, or
2. registered by a recognized standards-related organization using
the "Specification Required" IANA registration policy [RFC5226]
(which implies Expert Review), or
3. approved by the Designated Expert(s) as identifying a "community
format", as described in Section 3.2.
The first procedure is used for registrations from IETF Consensus
documents, or in rare cases when registering a grandfathered (see
Appendix A) and/or otherwise incomplete registration is in the
interest of the Internet community. The registration proposal MUST
be published as an RFC. When the registration RFC is in the IETF
stream, it must have IETF Consensus, which can be attained with a
status of Standards Track, BCP, Informational, or Experimental.
Registrations published in non-IETF RFC streams are also allowed and
require IESG approval. A registration can be either in a stand-alone
"registration only" RFC or incorporated into a more general
specification of some sort.
Nottingham & Resnick Expires 7 November 2025 [Page 5]
Internet-Draft Media Type Registration May 2025
In the second case, the IESG makes a one-time decision on whether the
registration submitter represents a recognized standards-related
organization; after that, a Media Types Reviewer (Designated Expert
or a group of Designated Experts) performs the Expert Review as
specified in this document. Subsequent submissions from the same
source do not involve the IESG. The format MUST be described by a
formal standards specification produced by the submitting standards-
related organization.
The third case is described in Section 3.2.
Media types in the standards tree MUST NOT have faceted names, unless
they are grandfathered in using the process described in Appendix A.
The "owner" of a media type registered in the standards tree is
assumed to be the standards-related organization itself.
Modification or alteration of the specification uses the same level
of processing (e.g., a registration submitted on Standards Track can
be revised in another Standards Track RFC, but cannot be revised in
an Informational RFC) required for the initial registration.
Standards-tree registrations from recognized standards-related
organizations are submitted directly to the IANA, where they will
undergo Expert Review [RFC5226] prior to approval. In this case, the
Expert Reviewer(s) will, among other things, ensure that the required
specification provides adequate documentation.
3.2. Community Formats in the Standards Tree
Some formats are interoperable (i.e., they are supported by more than
one implementation), but their specifications are not published by a
recognized standards-related organization. To accommodate these
cases, the Designated Expert(s) are empowered to approve
registrations in the standards tree that meet the following criteria:
* There is a well-defined specification for the format
* That specification is not tied to or heavily associated with one
implementation
* The specification is freely available at a stable location
* There are multiple interoperable implementations of the
specification, or they are likely to emerge
* The requested name is appropriate to the use case, and not so
generic that it may be considered 'squatting'
Nottingham & Resnick Expires 7 November 2025 [Page 6]
Internet-Draft Media Type Registration May 2025
* There is no conflict with IETF work or work at other recognised
SDOs (present or future)
* There is evidence of broad adoption
The Designated Expert(s) have discretion in applying these criteria;
in rare cases, they might judge it best to register an entry that
fails one or more.
Note that such registrations still go through preliminary community
review (Section 5.1), and decisions can be appealed (Section 5.3).
3.3. Vendor Tree
The vendor tree is used for media types associated with publicly
available products. "Vendor" and "producer" are construed very
broadly in this context and are considered equivalent. Note that
industry consortia as well as non-commercial entities that do not
qualify as recognized standards-related organizations can quite
appropriately register media types in the vendor tree.
A registration may be placed in the vendor tree by anyone who needs
to interchange files associated with some product or set of products.
However, the registration properly belongs to the vendor or
organization producing the software that employs the type being
registered, and that vendor or organization can at any time elect to
assert ownership of a registration done by a third party in order to
correct or update it. See Section 5.5 for additional information.
When a third party registers a type on behalf of someone else, both
entities SHOULD be noted in the Change Controller field in the
registration. One possible format for this would be "Foo, on behalf
of Bar".
Vendor-tree registrations will be distinguished by the leading facet
"vnd.". That may be followed, at the discretion of the registrant,
by either a media subtype name from a well-known producer (e.g.,
"vnd.mudpie") or by an IANA-approved designation of the producer's
name that is followed by a media type or product designation (e.g.,
vnd.bigcompany.funnypictures).
While public exposure and review of media types to be registered in
the vendor tree are not required, using the media-types@iana.org
mailing list for review is encouraged, to improve the quality of
those specifications. Registrations in the vendor tree may be
submitted directly to the IANA, where they will undergo Expert Review
[RFC5226] prior to approval.
Nottingham & Resnick Expires 7 November 2025 [Page 7]
Internet-Draft Media Type Registration May 2025
3.4. Personal or Vanity Tree
Registrations for media types created experimentally or as part of
products that are not distributed commercially may be registered in
the personal or vanity tree. The registrations are distinguished by
the leading facet "prs.".
The owner of "personal" registrations and associated specifications
is the person or entity making the registration, or one to whom
responsibility has been transferred as described below.
While public exposure and review of media types to be registered in
the personal tree are not required, using the media-types@iana.org
mailing list (see Section 5.1) for review is encouraged, to improve
the quality of those specifications. Registrations in the personal
tree may be submitted directly to the IANA, where they will undergo
Expert Review [RFC5226] prior to approval.
3.5. Unregistered x. Tree
Subtype names with "x." as the first facet may be used for types
intended exclusively for use in private, local environments. Types
in this tree cannot be registered and are intended for use only with
the active agreement of the parties exchanging them.
However, with the simplified registration procedures described above
for vendor and personal trees, it should rarely, if ever, be
necessary to use unregistered types. Therefore, use of types in the
"x." tree is strongly discouraged.
Note that types with names beginning with "x-" are no longer
considered to be members of this tree (see [RFC6648]). Also note
that if a generally useful and widely deployed type incorrectly ends
up with an "x-" name prefix, it MAY be registered using its current
name in an alternative tree by following the procedure defined in
Appendix A.
3.6. Additional Registration Trees
From time to time and as required by the community, new top-level
registration trees may be created by IETF Standards Action. It is
explicitly assumed that these trees may be created for external
registration and management by well-known permanent organizations;
for example, scientific societies may register media types specific
to the sciences they cover. In general, the quality of review of
specifications for one of these additional registration trees is
expected to be equivalent to registrations in the standards tree by a
recognized standards-related organization. When the IETF performs
Nottingham & Resnick Expires 7 November 2025 [Page 8]
Internet-Draft Media Type Registration May 2025
such review, it needs to consider the greater expertise of the
requesting organization with respect to the subject media type.
4. Registration Requirements
Media type registrations are all expected to conform to various
requirements laid out in the following sections. Note that
requirement specifics sometimes vary depending on the registration
tree, again as detailed in the following sections.
4.1. Functionality Requirement
Media types MUST function as actual media formats. Registration of
things that are better thought of as a transfer encoding, as a
charset, or as a collection of separate entities of another type, is
not allowed. For example, although applications exist to decode the
base64 transfer encoding [RFC2045], base64 cannot be registered as a
media type.
This requirement applies regardless of the registration tree
involved.
4.2. Naming Requirements
All registered media types MUST be assigned top-level type and
subtype names. The combination of these names serves to uniquely
identify the media type, and the subtype name facet (or the absence
of one) identifies the registration tree. Both top-level type and
subtype names are case-insensitive.
Type and subtype names MUST conform to the following ABNF:
type-name = restricted-name
subtype-name = restricted-name
restricted-name = restricted-name-first *126restricted-name-chars
restricted-name-first = ALPHA / DIGIT
restricted-name-chars = ALPHA / DIGIT / "!" / "#" /
"$" / "&" / "-" / "^" / "_"
restricted-name-chars =/ "." ; Characters before first dot always
; specify a facet name
restricted-name-chars =/ "+" ; Characters after last plus always
; specify a structured syntax suffix
Nottingham & Resnick Expires 7 November 2025 [Page 9]
Internet-Draft Media Type Registration May 2025
Note that this syntax is somewhat more restrictive than what is
allowed by the ABNF in Section 5.1 of [RFC2045] or Section 4.2 of
[RFC4288]. Also note that while this syntax allows names of up to
127 characters, implementation limits may make such long names
problematic. For this reason, 'type-name' and 'subtype-name' SHOULD
be limited to 64 characters.
Although the name syntax treats "." as equivalent to any other
character, characters before any initial "." always specify the
registration facet. Note that this means that facet-less standards-
tree registrations cannot use periods in the subtype name.
Similarly, the final "+" in a subtype name introduces a structured
syntax specifier suffix. Structured syntax suffix requirements are
specified in Section 4.2.8.
While it is possible for a given media type to be assigned additional
names, the use of different names to identify the same media type is
discouraged.
These requirements apply regardless of the registration tree
involved.
The choice of top-level type MUST take into account the nature of
media type involved. New subtypes of top-level types MUST conform to
the restrictions of the top-level type, if any. The following
sections describe each of the initial set of top-level types and
their associated restrictions. Additionally, various protocols,
including but not limited to HTTP and MIME, MAY impose additional
restrictions on the media types they can transport. (See [RFC2046]
for additional information on the restrictions MIME imposes.)
4.2.1. Text Media Types
The "text" top-level type is intended for sending material that is
principally textual in form.
Many subtypes of text, notably including the subtype "text/plain",
which is a generic subtype for plain text defined in [RFC2046],
define a "charset" parameter. If a "charset" parameter is defined
for a particular subtype of text, it MUST be used to specify a
charset name defined in accordance to the procedures laid out in
[RFC2978].
As specified in [RFC6657], a "charset" parameter SHOULD NOT be
specified when charset information is transported inside the payload
(e.g., as in "text/xml").
Nottingham & Resnick Expires 7 November 2025 [Page 10]
Internet-Draft Media Type Registration May 2025
If a "charset" parameter is specified, it SHOULD be a required
parameter, eliminating the options of specifying a default value. If
there is a strong reason for the parameter to be optional despite
this advice, each subtype MAY specify its own default value, or
alternatively, it MAY specify that there is no default value.
Finally, the "UTF-8" charset [RFC3629] SHOULD be selected as the
default. See [RFC6657] for additional information on the use of
"charset" parameters in conjunction with subtypes of text.
Regardless of what approach is chosen, all new text/* registrations
MUST clearly specify how the charset is determined; relying on the
US-ASCII default defined in Section 4.1.2 of [RFC2046] is no longer
permitted. If explanatory text is needed, this SHOULD be placed in
the additional information section of the registration.
Plain text does not provide for or allow formatting commands, font
attribute specifications, processing instructions, interpretation
directives, or content markup. Plain text is seen simply as a linear
sequence of characters, possibly interrupted by line breaks or page
breaks. Plain text MAY allow the stacking of several characters in
the same position in the text. Plain text in scripts like Arabic and
Hebrew may also include facilities that allow the arbitrary mixing of
text segments with different writing directions.
Beyond plain text, there are many formats for representing what might
be known as "rich text". An interesting characteristic of many such
representations is that they are to some extent readable even without
the software that interprets them. It is useful to distinguish them,
at the highest level, from such unreadable data as images, audio, or
text represented in an unreadable form. In the absence of
appropriate interpretation software, it is reasonable to present
subtypes of "text" to the user, while it is not reasonable to do so
with most non-textual data. Such formatted textual data can be
represented using subtypes of "text".
4.2.2. Image Media Types
A top-level type of "image" indicates that the content specifies one
or more individual images. The subtype names the specific image
format.
4.2.3. Audio Media Types
A top-level type of "audio" indicates that the content contains audio
data. The subtype names the specific audio format.
Nottingham & Resnick Expires 7 November 2025 [Page 11]
Internet-Draft Media Type Registration May 2025
4.2.4. Video Media Types
A top-level type of "video" indicates that the content specifies a
time-varying-picture image, possibly with color and coordinated
sound. The term 'video' is used in its most generic sense, rather
than with reference to any particular technology or format, and is
not meant to preclude subtypes such as animated drawings encoded
compactly.
Note that although in general the mixing of multiple kinds of media
in a single body is discouraged [RFC2046], it is recognized that many
video formats include a representation for synchronized audio and/or
text, and this is explicitly permitted for subtypes of "video".
4.2.5. Application Media Types
The "application" top-level type is to be used for discrete data that
do not fit under any of the other type names, and particularly for
data to be processed by some type of application program. This is
information that must be processed by an application before it is
viewable or usable by a user. Expected uses for the "application"
type name include but are not limited to file transfer, spreadsheets,
presentations, scheduling data, and languages for "active"
(computational) material. (The last, in particular, can pose
security problems that must be understood by implementors. The
"application/postscript" media type registration in [RFC2046]
provides a good example of how to handle these issues.)
For example, a meeting scheduler might define a standard
representation for information about proposed meeting dates. An
intelligent user agent would use this information to conduct a dialog
with the user, and might then send additional material based on that
dialog. More generally, there have been several "active" languages
developed in which programs in a suitably specialized language are
transported to a remote location and automatically run in the
recipient's environment. Such applications may be defined as
subtypes of the "application" top-level type.
The subtype of "application" will often either be the name or include
part of the name of the application for which the data are intended.
This does not mean, however, that any application program name may
simply be used freely as a subtype of "application"; the subtype
needs to be registered.
Nottingham & Resnick Expires 7 November 2025 [Page 12]
Internet-Draft Media Type Registration May 2025
4.2.6. Multipart and Message Media Types
Multipart and message are composite types; that is, they provide a
means of encapsulating zero or more objects, each one a separate
media type.
All subtypes of multipart and message MUST conform to the syntax
rules and other requirements specified in [RFC2046] and amended by
Section 3.5 of [RFC6532].
4.2.7. Additional Top-Level Types
In some cases, a new media type may not "fit" under any currently
defined top-level type names. Such cases are expected to be quite
rare. However, if such a case does arise, a new type name can be
defined to accommodate it. Definition of a new top-level type name
MUST be done via a Standards Track RFC, taking into account the
criteria and guidelines given below; no other mechanism can be used
to define additional type names.
4.2.7.1. Required Criteria
The following is the list of required criteria for the definition of
a new top-level type. Motivations for the requirements are also
included.
* Every new top-level type MUST be defined in a Standards Track RFC
(see Section 4.9 of [RFC8126]). This will make sure there is
sufficient community interest, review, and consensus appropriate
for a new top-level type.
* The IANA Considerations section of an RFC defining a new top-level
type MUST request that IANA add this new top-level type to the
registry of top-level types.
* The criteria for what types do and do not fall under the new top-
level type MUST be defined clearly. Clear criteria are expected
to help expert reviewers to evaluate whether a subtype belongs
below the new type or not, and whether the registration template
for a subtype contains the appropriate information. If the
criteria cannot be defined clearly, this is a strong indication
that whatever is being talked about is not suitable as a top-level
type.
* Any RFC defining a new top-level type MUST clearly document the
security considerations applying to all or a significant subset of
subtypes.
Nottingham & Resnick Expires 7 November 2025 [Page 13]
Internet-Draft Media Type Registration May 2025
* At the minimum, one subtype MUST be described. A top-level type
without any subtype serves no purpose. Please note that the
'example' top-level describes a subtype 'example'.
4.2.7.2. Additional Considerations
* Existing wide use of an unregistered top-level type may be an
indication of a need, and therefore an argument for formally
defining this new top-level type.
* On the other hand, the use of unregistered top-level types is
highly discouraged.
* Use of an IETF Working Group to define a new top-level type is not
needed, but may be advisable in some cases. There are examples of
new top-level type definitions without a Working Group
([RFC2077]), with a short, dedicated WG ([RFC8081]), and with a
Working Group that included other related work
([I-D.ietf-mediaman-haptics]).
* The document defining the new top-level type should include
initial registrations of actual subtypes. The exception may be a
top-level type similar to 'example'. This will help to show the
need for the new top-level type, will allow checking the
appropriateness of the definition of the new top-level type, will
avoid separate work for registering an initial slate of subtypes,
and will provide examples of what is considered a valid subtype
for future subtype registrations.
* The registration and actual use of a certain number of subtypes
under the new top-level type should be expected. The existence of
a single subtype should not be enough; it should be clear that new
similar types may appear in the future. Otherwise, the creation
of a new top-level type is most probably not justified.
* The proposers of the new top-level type and the wider community
should be willing to commit to emitting and consuming the new top-
level type in environments that they control.
* Desirability for common parameters: The fact that a group of
(potential) types have (mostly) common parameters may be an
indication that these belong under a common new top-level type.
* Top-level types can help humans with understanding and debugging.
Therefore, evaluating how a new top-level type helps humans
understand types may be crucial.
Nottingham & Resnick Expires 7 November 2025 [Page 14]
Internet-Draft Media Type Registration May 2025
* Common restrictions may apply to all subtypes of a top-level type.
Examples are the restriction to CRLF line endings for subtypes of
type 'text' (at least in the context of electronic mail), or on
subtypes of type 'multipart'.
* Top-level types are also used frequently in dispatching code. For
example "multipart/*" is frequently handled as multipart/mixed,
without understanding of a specific subtype. The top-level types
'image', 'audio', and 'video' are also often handled generically.
Documents with these top-level types can be passed to applications
handling a wide variety of image, audio, or video formats. HTML
generating applications can select different HTML elements (e.g.
or