Re: [media-types] Media-type registrations for senml-etch+json and senml-etch+cbor

Alexey Melnikov <alexey.melnikov@isode.com> Wed, 07 August 2019 18:52 UTC

Return-Path: <alexey.melnikov@isode.com>
X-Original-To: media-types@ietfa.amsl.com
Delivered-To: media-types@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1E4C2120697 for <media-types@ietfa.amsl.com>; Wed, 7 Aug 2019 11:52:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.334
X-Spam-Level:
X-Spam-Status: No, score=-1.334 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=isode.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2w520Cekfdgi for <media-types@ietfa.amsl.com>; Wed, 7 Aug 2019 11:52:37 -0700 (PDT)
Received: from pechora1.lax.icann.org (pechora1.icann.org [192.0.33.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C0BD9120666 for <media-types@ietf.org>; Wed, 7 Aug 2019 11:52:37 -0700 (PDT)
Received: from waldorf.isode.com (waldorf.isode.com [62.232.206.188]) by pechora1.lax.icann.org (Postfix) with ESMTP id 88D3C1E0531 for <media-types@iana.org>; Wed, 7 Aug 2019 18:52:37 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1565203936; d=isode.com; s=june2016; i=@isode.com; bh=4S7azZUW2QRlMbuXitjFe0UME0kjF0wb2FIGQmBfhvE=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=bHyEsSy/A6oemAK+qtftFGNNiszpbpVexk83TR/FDWPvpkgTBGsmoe5FkbFQEcVIaKuqxV 4ORJNTtuJC02OZhH+xxuQjSUKlorkf7eJWZkE2EzN8uVlk0dR5DMObe+almCLXmHlBiMYY wmhvOG8uokI2jRybsIOmYmFlIfaPkLw=;
Received: from [172.20.1.215] (dhcp-215.isode.net [172.20.1.215]) by waldorf.isode.com (submission channel) via TCP with ESMTPSA id <XUsd4AAImCbf@waldorf.isode.com>; Wed, 7 Aug 2019 19:52:16 +0100
To: Carsten Bormann <cabo@tzi.org>, media-types@iana.org
Cc: draft-ietf-core-senml-etch@ietf.org
References: <BAC65ED6-6CB3-4DC2-9B9B-F8CCB9D1C910@tzi.org>
From: Alexey Melnikov <alexey.melnikov@isode.com>
Message-ID: <6b36aa6f-ddec-7b5e-6760-7a0061ae3c24@isode.com>
Date: Wed, 07 Aug 2019 19:52:02 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0
In-Reply-To: <BAC65ED6-6CB3-4DC2-9B9B-F8CCB9D1C910@tzi.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-GB
Content-transfer-encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/45P3-6ZaIEopl_N5nQyYqFsw6sw>
Subject: Re: [media-types] Media-type registrations for senml-etch+json and senml-etch+cbor
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IANA mailing list for reviewing Media Type \(MIME Type, Content Type\) registration requests." <media-types.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/media-types>, <mailto:media-types-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/media-types/>
List-Post: <mailto:media-types@ietf.org>
List-Help: <mailto:media-types-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/media-types>, <mailto:media-types-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Aug 2019 18:52:39 -0000

Hi Carsten/editors,

I've made a couple of comments on this document verbally, but I never 
put them in email. My comments below:

On 12/07/2019 12:12, Carsten Bormann wrote:

> »The Sensor Measurement Lists (SenML) media type and data model can
> be used to send collections of resources, such as batches of sensor
> data or configuration parameters.  The existing media types
> (defined in RFC 8428) are useful for the traditional operations
> GET, PUT, POST.  The CoAP iPATCH, PATCH, and FETCH methods enable
> accessing and updating parts of a resource or multiple resources
> with one request.  For using these methods to access and operate on
> resources represented with the SenML data model, the present
> document defines variants of the SenML media types, for JSON and
> CBOR representations only.«
>
> Please review the media-type registrations as proposed in
> draft-ietf-core-senml-etch-04, copied below (RFC-AAAA is the
> RFC-to-be from that).
>
> Grüße, Carsten
>
>
>
>
>
> 5.2.  senml-etch+json Media Type
>
>     Type name: application
>
>     Subtype name: senml-etch+json
>
>     Required parameters: none
>
>     Optional parameters: none
>
>     Encoding considerations: Must be encoded as using a subset of the
>     encoding allowed in [RFC8259].  This simplifies implementation of a
>     very simple system and does not impose any significant limitations as
>     all this data is meant for machine to machine communications and is
>     not meant to be human readable.
While this test is useful, it is not what this field is all about. You 
need to pick one of 7bit, 8bit, binary or framed. See 
<https://tools.ietf.org/html/rfc6838#section-4.8>
>
>     Security considerations: See Section 4 of RFC-AAAA.
>
>
>
>
>
> Keranen & Mohajer        Expires January 9, 2020                [Page 6]
> Internet-Draft          FETCH & PATCH with SenML               July 2019
>
>
>     Interoperability considerations: Applications MUST ignore any key
>     value pairs that they do not understand unless the key ends with the
>     '_' character in which case an error MUST be generated.  This allows
>     backwards compatible extensions to this specification.
>
>     Published specification: RFC-AAAA
>
>     Applications that use this media type: Applications that use the
>     SenML media type for resource representation.
>
>     Fragment identifier considerations: N/A
As this registration is using +json suffix, it should use text about 
Fragment identifiers as described in +json suffix registration. (You can 
find it on IANA's website)
>     Additional information:
>
>     Magic number(s): none
>
>     File extension(s): senml-etchj
>
>     Windows Clipboard Name: "SenML FETCH/PATCH format"
>
>     Macintosh file type code(s): none
>
>     Macintosh Universal Type Identifier code: org.ietf.senml-etch-json
>     conforms to public.text
>
>     Person & email address to contact for further information: Ari
>     Keranen ari.keranen@ericsson.com
>
>     Intended usage: COMMON
>
>     Restrictions on usage: None
>
>     Author: Ari Keranen ari.keranen@ericsson.com
>
>     Change controller: IESG
>
> 5.3.  senml-etch+cbor Media Type
>
>     Type name: application
>
>     Subtype name: senml-etch+cbor
>
>     Required parameters: none
>
>     Optional parameters: none
>
>     Encoding considerations: Must be encoded as using [RFC7049].
As above.
>
>
>
>
> Keranen & Mohajer        Expires January 9, 2020                [Page 7]
> Internet-Draft          FETCH & PATCH with SenML               July 2019
>
>
>     Security considerations: See Section 4 of RFC-AAAA.
>
>     Interoperability considerations: Applications MUST ignore any key
>     value pairs that they do not understand unless the key ends with the
>     '_' character in which case an error MUST be generated.  This allows
>     backwards compatible extensions to this specification.
>
>     Published specification: RFC-AAAA
>
>     Applications that use this media type: Applications that use the
>     SenML media type for resource representation.
>
>     Fragment identifier considerations: N/A
As above (Similar for +cbor suffix).
>
>     Additional information:
>
>     Magic number(s): none
>
>     File extension(s): senml-etchc
>
>     Macintosh file type code(s): none
>
>     Macintosh Universal Type Identifier code: org.ietf.senml-etch-cbor
>     conforms to public.data
>
>     Person & email address to contact for further information: Ari
>     Keranen ari.keranen@ericsson.com
>
>     Intended usage: COMMON
>
>     Restrictions on usage: None
>
>     Author: Ari Keranen ari.keranen@ericsson.com
>
>     Change controller: IESG
>
> _______________________________________________
> media-types mailing list
> media-types@ietf.org
> https://www.ietf.org/mailman/listinfo/media-types