<?xml version="1.0" encoding="UTF-8"?>
  <?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
  <!-- generated by https://github.com/cabo/kramdown-rfc2629 version 1.0.36 -->

<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
]>

<?rfc toc="yes"?>
<?rfc sortrefs="yes"?>
<?rfc symrefs="yes"?>

<rfc ipr="trust200902" docName="draft-groves-core-rfc6690up-00" category="std">

  <front>
    <title abbrev="Prefix for CoRE parameter reg">Addition of organisation prefix to RFC6690 IANA CoRE parameters registration</title>

    <author initials="C." surname="Groves" fullname="Christian Groves">
      <organization>Huawei</organization>
      <address>
        <postal>
          <street></street>
          <city></city>
          <code></code>
          <country>Australia</country>
        </postal>
        <email>Christian.Groves@nteczone.com</email>
      </address>
    </author>
    <author initials="W." surname="Yang" fullname="Weiwei Yang">
      <organization>Huawei</organization>
      <address>
        <postal>
          <street></street>
          <city></city>
          <code></code>
          <country>P.R.China</country>
        </postal>
        <email>tommy@huawei.com</email>
      </address>
    </author>

    <date year="2016" month="October" day="17"/>

    <area>art</area>
    <workgroup>CoRE Working Group</workgroup>
    <keyword>Internet-Draft</keyword>

    <abstract>


<t><xref target="RFC6690"/> defines the resource type ‘rt’ and interface description ‘if’ link attributes and defines procedures for registering values. Currently each ‘rt’ and ‘if’ attribute value must be registered with IANA. This specification updates the process to enable organisation prefixes to be registered allowing organisations to manage their own namespace within a certain set of rules.</t>



    </abstract>


  </front>

  <middle>


<section anchor="reqlang" title="Requirements Language">
<t>The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”,   “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “NOT RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in <xref target="RFC2119"/>.</t>

</section>
<section anchor="introduction" title="Introduction">

<t><xref target="RFC6690"/> “Constrained RESTful Environments (CoRE) Link Format” defines the Resource Type ‘rt’ and Interface Description ‘if’ link attributes. In order to co-ordinate the use of these attributes, sections 7.4 and 7.5/<xref target="RFC6690"/> establish IANA registries to register link attribute values for ‘rt’ and ‘if’.</t>

<t>In order to register a new ‘rt’ and ‘if’ link attribute value the <xref target="RFC5226"/> “Specification Required” process is followed for each value. As part of the process a designated expert will examine the specification to enforce a number of requirements including:</t>

<t><list style="symbols">
  <t>Registration values MUST be related to the intended purpose of these attributes as described in Section 3/<xref target="RFC6690"/>.</t>
  <t>Registered values MUST conform to the ABNF reg-rel-type definition of Section 2/<xref target="RFC6690"/>, meaning that the value starts with a lowercase alphabetic character, followed by a sequence of lowercase  alphabetic, numeric, “.”, or “-“ characters, and contains no white space.</t>
  <t>It is recommended that the period “.” character be used for dividing name segments and that the dash “-“ character be used for making a segment more readable.  Example Interface Description values might be “core.batch” and “core.link-batch”.</t>
  <t>URIs are reserved for free use as extension values for these attributes and MUST NOT be registered.</t>
</list></t>

<t>The IANA CoRE resource type and interface description registry can be found at: <eref target="http://www.iana.org/assignments/core-parameters/core-parameters.xhtml">IANA CoRE Registry</eref>.</t>

<t>Given the scope of the Internet of Things (IoT) the potential number of resource types (and to a lesser extent interface types) is potentially quite large. This would lead to a large number of requests for designated expert review. It would also mean additional work for the IANA to process each request.</t>

<t>The current trend for the definition of resource types and interface descriptions is that a few standards organisations have defined a large number of values.</t>

<t>For example the “OIC Resource Type Specification v1.1.0” <xref target="OICResSpec"/> contains 64 resource types.</t>

<t>ETSI oneM2M also defines a large number of resource types. For example is “Home Appliances Information Model and Mapping” <xref target="oneM2MTS0023"/>.</t>

<t>The Open Mobile Alliance (OMA) also make use of resources types.</t>

<t>The above three organisations also have their own registry and procedures for adding resource types. Trying to keep the IANA registry aligned with the individual organisation registries would also add additional burden.</t>

<t>A significant amount of work could be saved by allowing organisations to register a prefix under which they can administer their own resources negating the need for the IANA and the designated IANA expert to be involved for each resource registration.</t>

<t>This specification updates the <xref target="RFC6690"/> IANA registration procedures to allow the possibility to register a pre-fix.</t>

</section>
<section anchor="organisation-prefix" title="Organisation Prefix">
<t>As indicated by <xref target="RFC6690"/> registered values MUST conform to the ABNF reg-rel-type definition, meaning that the value starts with a lowercase alphabetic character. Therefore an organisation registering a prefix MUST register a lowercase alphabetic sequence of characters. It MUST be followed by a “.”.</t>

<t>For example: “foo.”</t>

<t>This will allocate the namespace “foo.” to the organisation. The organisation will then be responsible for maintaining resources within this name space.</t>

<t>E.g. “foo.sensor”, “foo.actuator” could be allocated without requiring registration with IANA.</t>

</section>
<section anchor="security-considerations" title="Security Considerations">
<t>This specification updates the <xref target="RFC6690"/> IANA Considerations. No additional protocol security impacts to what is already described in <xref target="RFC6690"/> are foreseen.</t>

<t>The use of organisational prefixes introducing the possibility that people request prefixes for an organisation that they do not represent. The IANA considerations in this specification require that the designated expert determine if the person requesting a prefix represents the organisation related to the prefix.</t>

</section>
<section anchor="iana-considerations" title="IANA Considerations">

<section anchor="constrained-restful-environments-core-parameters-registry-update" title="Constrained RESTful Environments (CoRE) Parameters Registry Update">

<t>This specification updates the Constrained RESTful Environments (CoRE) Parameter Registry by allowing the registration of an organisation prefix for Resource Type (rt=) and Interface Description (if=) Link Target Attribute values.</t>

<t>Organisation prefixes are registered by using the Specification Required policy (see <xref target="RFC5226"/>, which requires review by a designated expert appointed by the IESG or their delegate.</t>

<t>The designated expert will enforce the following requirements:</t>

<t>o The registered prefix MUST conform to the ABNF reg-rel-type definition of Section 2/<xref target="RFC6690"/>, meaning that the value starts with a lowercase alphabetic character followed by a period “.”.</t>

<t>o The registered prefixes are assigned on a first come first served basis.</t>

<t>o Prefixes must be requested by a representative of the organisation applying for the prefix and must be representative of the organisation. E.g. organisation “foo” trying to register “ietf.” would not be representative.</t>

<t>The specification MUST:</t>

<t><list style="symbols">
  <t>Specify the procedures for registering values within the prefixed namespace. It ideally SHOULD provide a link where current and future registered values may be found.</t>
  <t>Indicate that registered values within the prefixed namespace MUST conform to the ABNF reg-rel-type definition of Section 2/<xref target="RFC6690"/>. This means that the prefix MUST be followed by a sequence of lowercase alphabetic, numeric, “.”, or “-“ characters, and contains no white space. Note: It is not recommended to immediately follow the prefix with an additional period “.”, e.g. “foo..”.</t>
  <t>Use the recommendation that the period “.” character be used for dividing name segments and that the dash “-“ character be used for making a segment more readable.  Example Interface Description values might be “core.batch” and “core.link-batch”.</t>
</list></t>

<t>Registration requests consist of the completed registration template below, with the reference pointing to the required specification.  To allow for the allocation of values prior to publication, the designated expert may approve registration once they are satisfied that a specification will be published.</t>

<t>The registration template for both sub-registries is:</t>

<t>o  Prefix Value:</t>

<t>o  Description:</t>

<t>o  Reference:</t>

<t>o  Notes: [optional]</t>

<t>Registration requests should be sent to the core-parameters@ietf.org mailing list, marked clearly in the subject line (e.g., “NEW RESOURCE TYPE PREFIX - example” to register an “example” relation type or “NEW INTERFACE DESCRIPTION PREFIX - example” to register an “example” Interface Description).</t>

<t>Handling and the decision process is as per section 7.4/<xref target="RFC6690"/>.</t>

</section>
</section>
<section anchor="acknowledgements" title="Acknowledgements">
<t>TBD</t>

</section>


  </middle>

  <back>

    <references title='Normative References'>





<reference  anchor='RFC2119' target='http://www.rfc-editor.org/info/rfc2119'>
<front>
<title>Key words for use in RFCs to Indicate Requirement Levels</title>
<author initials='S.' surname='Bradner' fullname='S. Bradner'><organization /></author>
<date year='1997' month='March' />
<abstract><t>In many standards track documents several words are used to signify the requirements in the specification.  These words are often capitalized. This document defines these words as they should be interpreted in IETF documents.  This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t></abstract>
</front>
<seriesInfo name='BCP' value='14'/>
<seriesInfo name='RFC' value='2119'/>
<seriesInfo name='DOI' value='10.17487/RFC2119'/>
</reference>



<reference  anchor='RFC5226' target='http://www.rfc-editor.org/info/rfc5226'>
<front>
<title>Guidelines for Writing an IANA Considerations Section in RFCs</title>
<author initials='T.' surname='Narten' fullname='T. Narten'><organization /></author>
<author initials='H.' surname='Alvestrand' fullname='H. Alvestrand'><organization /></author>
<date year='2008' month='May' />
<abstract><t>Many protocols make use of identifiers consisting of constants and other well-known values.  Even after a protocol has been defined and deployment has begun, new values may need to be assigned (e.g., for a new option type in DHCP, or a new encryption or authentication transform for IPsec).  To ensure that such quantities have consistent values and interpretations across all implementations, their assignment must be administered by a central authority.  For IETF protocols, that role is provided by the Internet Assigned Numbers Authority (IANA).</t><t>In order for IANA to manage a given namespace prudently, it needs guidelines describing the conditions under which new values can be assigned or when modifications to existing values can be made.  If IANA is expected to play a role in the management of a namespace, IANA must be given clear and concise instructions describing that role.  This document discusses issues that should be considered in formulating a policy for assigning values to a namespace and provides guidelines for authors on the specific text that must be included in documents that place demands on IANA.</t><t>This document obsoletes RFC 2434.  This document specifies an Internet Best  Current Practices for the Internet Community, and requests discussion and  suggestions for improvements.</t></abstract>
</front>
<seriesInfo name='BCP' value='26'/>
<seriesInfo name='RFC' value='5226'/>
<seriesInfo name='DOI' value='10.17487/RFC5226'/>
</reference>



<reference  anchor='RFC6690' target='http://www.rfc-editor.org/info/rfc6690'>
<front>
<title>Constrained RESTful Environments (CoRE) Link Format</title>
<author initials='Z.' surname='Shelby' fullname='Z. Shelby'><organization /></author>
<date year='2012' month='August' />
<abstract><t>This specification defines Web Linking using a link format for use by constrained web servers to describe hosted resources, their attributes, and other relationships between links.  Based on the HTTP Link Header field defined in RFC 5988, the Constrained RESTful Environments (CoRE) Link Format is carried as a payload and is assigned an Internet media type.  &quot;RESTful&quot; refers to the Representational State Transfer (REST) architecture.  A well-known URI is defined as a default entry point for requesting the links hosted by a server.  [STANDARDS-TRACK]</t></abstract>
</front>
<seriesInfo name='RFC' value='6690'/>
<seriesInfo name='DOI' value='10.17487/RFC6690'/>
</reference>




    </references>

    <references title='Informative References'>

<reference anchor="OICResSpec" target="https://openconnectivity.org/resources/specifications/draft-candidate-specifications">
  <front>
    <title>OIC Resource Type Specification v1.1.0</title>
    <author >
      <organization></organization>
    </author>
    <date year="2016"/>
  </front>
</reference>
<reference anchor="oneM2MTS0023" target="http://www.onem2m.org/technical/published-documents">
  <front>
    <title>TS 0023 v2.0.0 Home Appliances Information Model and Mapping</title>
    <author >
      <organization></organization>
    </author>
    <date year="2015"/>
  </front>
</reference>


    </references>



  </back>
</rfc>

