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

Ari Keränen <ari.keranen@ericsson.com> Wed, 07 August 2019 19:43 UTC

Return-Path: <ari.keranen@ericsson.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 3DCCD12069D for <media-types@ietfa.amsl.com>; Wed, 7 Aug 2019 12:43:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.634
X-Spam-Level:
X-Spam-Status: No, score=-3.634 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_EXCESS_BASE64=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 jcyDP22IrVnw for <media-types@ietfa.amsl.com>; Wed, 7 Aug 2019 12:43:22 -0700 (PDT)
Received: from pechora8.dc.icann.org (pechora8.icann.org [IPv6:2620:0:2830:201::1:74]) (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 9BA521206A6 for <media-types@ietf.org>; Wed, 7 Aug 2019 12:43:22 -0700 (PDT)
Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10083.outbound.protection.outlook.com [40.107.1.83]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pechora8.dc.icann.org (Postfix) with ESMTPS id BDC16C02B9 for <media-types@iana.org>; Wed, 7 Aug 2019 19:43:20 +0000 (UTC)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jnBje9+CKsL6qNywWbJfttSXTQioTqHbAMQZckZRdDnW5MBTkPRnn04clJR20GXMSLCgp2sIWWD/igOxwJTlvXkzWn0bTCcImQTHkk6Rs6iQAZ/EMda+KnTP6cmz+L6jiHgUIA9NYMbpmvlpif5PHS5xKB1iAmE7+epC+tVn8vAuGlnkDI9M6ODH/HyR094JdFY0ya5W6hM8t4nOUE/UBRnW5slgBlauEvXmPIp+Vk7+QvXOXu6mdhhRELCrWP4bqjdX2vJmwEn55XyY2laHx8RVMTnCCqce/fQTCnY0n0/oZHnoukH6H5ygzeoao9BPGuryY+YOlsTC455r6U6lYg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fG9keMqvlXjOwEff7NxLYZSy87VzMyP2X0o/fiIL8oI=; b=g83X8l9r22I3ftF5rvgGpZD4YC+N6wI4goYttcHOaJ9D56ky/3yXaVe6sq/w8AVgJy8Wz/STueT3SCCjcsuZasRGQT3ZjqHQ8KP8RIM7K52SQ/tmuZilW/liGAU1b6fV52qimLpUOpUQm5GJimFtdx6ms1zxuO9y1Qdf4Ph1b24C2OnsbGb6HHzfR+9X7ZwbtpUdSzFfuPUgYGWZ41rY7dRSD2lJsPDiYySQ5+wxrt/bPLh2p9oI/m09S9MuW8qugNM7EI+LZXmRrCD/oWtkIGXYnVAUMj3loMjSf99QLCuERKh7RYCUqxZd3CVly0AeQpnFEnQOpk8NREqikz6Uvw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fG9keMqvlXjOwEff7NxLYZSy87VzMyP2X0o/fiIL8oI=; b=nHJBOoy12/fHwVplMtef175a0IX7Tg62LN+v8FpShV7tpNqstZTfMNV+OohA+vKbvSwuuEpyI+jEFxnaq5HNH4vyku42TwWO81sCNgmLBw2no2j3v0ZndmA/PrrKUGhDBJR+4QXD2WmejngDQtAoFikrMeevjFLwAUIkum2fuhI=
Received: from HE1PR07MB4236.eurprd07.prod.outlook.com (20.176.166.145) by HE1PR07MB3131.eurprd07.prod.outlook.com (10.170.245.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.8; Wed, 7 Aug 2019 19:42:58 +0000
Received: from HE1PR07MB4236.eurprd07.prod.outlook.com ([fe80::7497:adf9:ce97:699e]) by HE1PR07MB4236.eurprd07.prod.outlook.com ([fe80::7497:adf9:ce97:699e%3]) with mapi id 15.20.2157.015; Wed, 7 Aug 2019 19:42:58 +0000
From: Ari Keränen <ari.keranen@ericsson.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>, Carsten Bormann <cabo@tzi.org>
CC: "draft-ietf-core-senml-etch@ietf.org" <draft-ietf-core-senml-etch@ietf.org>, "media-types@iana.org" <media-types@iana.org>
Thread-Topic: [media-types] Media-type registrations for senml-etch+json and senml-etch+cbor
Thread-Index: AQHVTVaBtlIghiAS3kGHuDLZ59bt7qbwSD2A
Date: Wed, 07 Aug 2019 19:42:58 +0000
Message-ID: <1B0B82FB-AD02-4694-808A-86C980EF9EF4@ericsson.com>
References: <BAC65ED6-6CB3-4DC2-9B9B-F8CCB9D1C910@tzi.org> <6b36aa6f-ddec-7b5e-6760-7a0061ae3c24@isode.com> <46745878-E715-4319-B4E7-110A59FE0091@ericsson.com> <ed2f7894-8fc4-2cab-762d-de0ca52924a2@isode.com>
In-Reply-To: <ed2f7894-8fc4-2cab-762d-de0ca52924a2@isode.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.1b.0.190715
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ari.keranen@ericsson.com;
x-originating-ip: [2001:14bb:150:480b:71b0:1515:75fa:3ffb]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: c16fa857-124e-4570-d7bf-08d71b6f735a
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:HE1PR07MB3131;
x-ms-traffictypediagnostic: HE1PR07MB3131:
x-ms-exchange-purlcount: 5
x-microsoft-antispam-prvs: <HE1PR07MB3131ADD580ABB207FAD5117085D40@HE1PR07MB3131.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:5516;
x-forefront-prvs: 01221E3973
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(396003)(136003)(366004)(39860400002)(346002)(199004)(189003)(51914003)(99286004)(476003)(36756003)(486006)(2906002)(81166006)(6116002)(81156014)(46003)(8936002)(2616005)(8676002)(85182001)(186003)(86362001)(53546011)(446003)(11346002)(76176011)(85202003)(6506007)(102836004)(71200400001)(966005)(58126008)(110136005)(54906003)(229853002)(53936002)(316002)(6246003)(256004)(66946007)(25786009)(91956017)(76116006)(478600001)(33656002)(14454004)(6306002)(6436002)(6486002)(6512007)(7736002)(4326008)(14444005)(5660300002)(66574012)(66476007)(66556008)(66446008)(305945005)(64756008)(71190400001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB3131; H:HE1PR07MB4236.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: S1vZib8gFPGFLDL+RlgpuFoOwHuvuidNFsTLPFHbVC0KA/eS0hEub5qWG/ESLBSFk9i0+9T/1OzYLfX/d8avZgUqsawlBORpG4N5uD0Puyhs6sSCoPpjfOZZdOmggTPL4hlSwspX5nrybP0GjGD/vNIO6jaQkFV3DRN2lIFFx2nILGT8FhHZrkF2ZviDf7m9VV1eBHDWg+JKC2gp0D5+dn8x9YyIL9x9iOXXx9VjLPFptkXCYIMb5qi7JCSgZI5sUDjgHBs4V1GqmbjQzhHZEikRyrq2W9X27CiRE7bEA7Jj3xBHWVgb64kQqEX/phr/Tb5OreBvlKARfBghhohB2wqsvL0CW4SHqPWrMgVNH1PlqRd9+e5OjMspFcoZJWsbhO+l/DtGnGfTdoov3lX1AW5LnU8EXwoNSaE6q+pJu1g=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <FA251944F77F654CB6ED9364A155C267@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: c16fa857-124e-4570-d7bf-08d71b6f735a
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Aug 2019 19:42:58.5658 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: Iot0RcB3ilGVKooev6TPnqGtgMzCR2hgg/nYVy1AbMGRvGd+H3x88URcdNQKSQMti8WfoqEZWIOOfuoDgYeqDUe/wXStvUxZ4Sc/VW752Ws=
X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.2 (pechora8.dc.icann.org [192.0.46.74]); Wed, 07 Aug 2019 19:43:21 +0000 (UTC)
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB3131
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/s7tm9naplxMkUkJS_zOxWcfDe_8>
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 19:43:25 -0000

Thanks for the quick reply Alexey! I fixed this now in the same PR: 
https://github.com/core-wg/senml-etch/pull/7/files

I'll give everyone here a few days to comment and I can submit a new version on Friday if there are no further comments.


Cheers,
Ari

P.S. Apologies for top-posting and not using proper quoting. I have to use a challenged email client at the moment.

On 07/08/2019, 22.30, "Alexey Melnikov" <alexey.melnikov@isode.com> wrote:

    Hi Ari,
    
    On 07/08/2019 20:24, Ari Keränen wrote:
    
    > Thank you Alexey!
    >
    > Regarding encoding, we re-used the text from the SenML RFC (https://tools.ietf.org/html/rfc8428#section-12.3.1).
    I missed it earlier :-)!
    >   But simply changing this to "binary" as in RFC8259 works well for me too. I made a small PR for this:
    > https://github.com/core-wg/senml-etch/pull/7/files
    >
    > Regarding the fragment ID considerations, do you mean we should copy the text for +cbor and +json from here:
    > https://www.iana.org/assignments/media-type-structured-suffix/media-type-structured-suffix.xhtml
    Yes.
    > As in:
    >> The syntax and semantics of fragment identifiers specified for senml-etch+json SHOULD be as specified for "application/json". (At publication of this document, there is no fragment identification syntax defined for "application/json".)
    > and:
    >> The syntax and semantics of fragment identifiers specified for senml-etch+cbor SHOULD be as specified for "application/cbor". (At publication of this document, there is no fragment identification syntax defined for "application/cbor".)
    
    Yes, something like that.
    
    Best Regards,
    
    Alexey
    
    >
    > Cheers,
    > Ari
    >
    > On 07/08/2019, 21.52, "Alexey Melnikov" <alexey.melnikov@isode.com> wrote:
    >
    >      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
    >      
    >