[media-types] Preliminary community review request for a potential media type registration: application/tm+json

"Kaebisch, Sebastian" <sebastian.kaebisch@siemens.com> Mon, 28 March 2022 12:14 UTC

Return-Path: <sebastian.kaebisch@siemens.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 D08AC3A14F1 for <media-types@ietfa.amsl.com>; Mon, 28 Mar 2022 05:14:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=siemens.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 HPiXDTIDO_pi for <media-types@ietfa.amsl.com>; Mon, 28 Mar 2022 05:14:46 -0700 (PDT)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-ve1eur02on060c.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe06::60c]) (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 4A13A3A14F2 for <media-types@ietf.org>; Mon, 28 Mar 2022 05:14:45 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GldupbIDXg6Nj1QFcD6gv1GdJ/EWhmBeHlEcA2B1jNSDH2DmeQF3B7BsP6GK1qQtrM05fBX63mQgrtlJhrfXeNl6D0/iLLNOV8drhTccVHQebvSn8OJO00MV49Sfd23wmHd7w9JiTWjtIVJ+JlaX7IRGWBlg4Dc1KnILBjYU4jh8/Nq5nAnOjEixTtHxszKu57IDVtmiek9WVJ3ju2ZyoEiCfCVZGwn6cczE1LbES9Q/8Nv0SdTGpb7jbqG4Y3iixY06d9oCBUiXZgEJ7iCj4U3MqDtR5XJ5wp0L1THRj4p0phRVuenBGjD7/NQLQHcROXe22tO1qP/6TYIVa7P6JA==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=QRbuJE9o42OT9vtqfJtUYJea1jnp7ZLgR/g/nfo7HjE=; b=a6ABj+1ePkmK7mHSgWd8HZyHZ7dmoxBFhqNhZxirgwHLhUGpPslpT8t2RqFTa7ckof/qNM3xLo9ghWdzZlXwMbzdt+ufXoE/elmlN79jvM03ptoYRax3+AfFTtwty4TqZU4NDFVZ6ZnnaU08rCcg25T5OG4PGEz68djFwngFAXHTU4oiClzgvu539EFR5vItGZ9UmjevMWz1oVHBtdEIVSpbpS1aE/QDGjV1O4kHunW6sEmiorzWXAUIFhQucio3obUiwzIlflUlS3n+JRGEM+RYB7TZs2SnR21yusUbGhdWaeP5/lZROkEkxBz0W6UYT2TdBAq8VrBUKPY+iOdvmQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=siemens.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QRbuJE9o42OT9vtqfJtUYJea1jnp7ZLgR/g/nfo7HjE=; b=ZCw2TJOTbdi+CtLdVBZXoElsNynORDV6kiHb6a9OBLSret5B7ZFyTVptzyOOKMM8s9rQxIoX4A8tu2vA+C3ukonsfb3qI3tOE04Pu6QUVnHrwvJhrMXInrTMYqVuLWF9ZfDke8/DBi+WHhe1vAY/sJNAm749erzWsWuIupu5luyIDSja3j9MQ2bZvgGFkMHkhymRLd84E2si6oAQxWVFOCriJIWm5fwAkpeJzHMnMd1Vrl6S0lBpAsIb6t9TKVdxrQdO0POrvm+oBUHtr3NPttHRdazEyPA4cY5uXWQ1B1dQstml2YEHYnU/e+Iybis68Dktco3Ic2Kp6OWlb8V6Qw==
Received: from AM0PR10MB3265.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:18c::20) by AM7PR10MB3144.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:dc::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.16; Mon, 28 Mar 2022 12:14:41 +0000
Received: from AM0PR10MB3265.EURPRD10.PROD.OUTLOOK.COM ([fe80::75a6:9065:916c:5f8d]) by AM0PR10MB3265.EURPRD10.PROD.OUTLOOK.COM ([fe80::75a6:9065:916c:5f8d%6]) with mapi id 15.20.5102.023; Mon, 28 Mar 2022 12:14:41 +0000
From: "Kaebisch, Sebastian" <sebastian.kaebisch@siemens.com>
To: "media-types@ietf.org" <media-types@ietf.org>
Thread-Topic: [media-types] Preliminary community review request for a potential media type registration: application/tm+json
Thread-Index: AQHYP6THqaWbLAmN2Eu/qQC25HCIVw==
Date: Mon, 28 Mar 2022 12:14:41 +0000
Message-ID: <AM0PR10MB32659443083F9959AFCB224A99199@AM0PR10MB3265.EURPRD10.PROD.OUTLOOK.COM>
Accept-Language: de-DE, en-US
Content-Language: de-DE
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_a59b6cd5-d141-4a33-8bf1-0ca04484304f_Enabled=True; MSIP_Label_a59b6cd5-d141-4a33-8bf1-0ca04484304f_SiteId=38ae3bcd-9579-4fd4-adda-b42e1495d55a; MSIP_Label_a59b6cd5-d141-4a33-8bf1-0ca04484304f_SetDate=2022-03-24T17:29:56.6871063Z; MSIP_Label_a59b6cd5-d141-4a33-8bf1-0ca04484304f_ContentBits=0; MSIP_Label_a59b6cd5-d141-4a33-8bf1-0ca04484304f_Method=Standard
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=siemens.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: cb412238-140a-4e88-6256-08da10b48960
x-ms-traffictypediagnostic: AM7PR10MB3144:EE_
x-microsoft-antispam-prvs: <AM7PR10MB3144E76E73E8770BAE370D1C991D9@AM7PR10MB3144.EURPRD10.PROD.OUTLOOK.COM>
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: HTXpDb8Tse1kMmjZDwhW3Qys+1jkZKRHvWmM2zK72b/1BdyQ9fJJ6vCOFdme31vPfPgnwCxAyAqoTroYD3Zcvu3hTLk+seoH/Zfb7pr8he5DeirFdx+3pC6muWvL/mPxdihyvkv3LHkCT6xcD5iFzlSZoJF+i+kDsPRJ/SaMx1Bz0d0EOqJpLev3qWlqyfrWmGHj4QYXX4so67Q1M0jyZ5f2SwWx6LZLiX6Gh1nL/Rm4NVkmMcue2L9NOLwT+K3CfBMtqc8wDYm2x6yx1xa/8wMRck2+PadOQPFA+1w46rps4cbCirNHRH7ArHOUSMnSt92xWNp2BhxLo9nJKsQv+lnySe1w3z+Smok0wq2DTZFQXpGGjiuQBTxj4WLyTonBY2wEtVYlKoY0QTZ2wo5ozdL/pa1HUi6AVHNwP+GNGP4U9IQi7GLEXC9SPyzexnoIgSL2KG88K/ERJb8xaJisCJt8PTW3tlmSiYQc9MctrKGL19SYqp/8W5tDfwfrfIyvEg9FWhabuTfBHJc+y6herJefGeasl+1YG7bbRQdpngFieUSzpUu6slTLkmI94W6T5uc4JbQw4lO7NQOJznn5CUvV0LPbYKbZAGI1AWiGfD8FIDNQljeV/B7I9kiCQNl8hDn2wk5xT5Ypl4JwL3Ppax/3MlsPeiouCFCz+PnA/agFBqqgnVcCaxIDH2TvMtVHyhC0TuafwSa5rmxDSHnOoFDSusc0HJEGngjuSm+svWqT7sUSWnUvBBfS2KHCODgsn5lK34dLcLI7w348u6yLjKvke8TbE4WHpyYq7KFGRQs=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR10MB3265.EURPRD10.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(508600001)(86362001)(66446008)(64756008)(8936002)(966005)(9686003)(2906002)(8676002)(52536014)(122000001)(66476007)(82960400001)(38070700005)(7696005)(55016003)(6506007)(166002)(5660300002)(76116006)(83380400001)(316002)(26005)(186003)(6916009)(66556008)(38100700002)(66946007)(33656002)(91956017)(71200400001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 3edL54T6xIO0DqJPpezLK2bj+VIcPakgOd78M2OxSDQbHk5/ZYVHSEMyCjmZ03cFpp2lsk9Q0a8e2IZvoYvJzJ9qL04ay3FpmBERuWnK+0RuCoDi1NCCpQPWpOi2g2ZKgv6AxAmHcA8IL7/fWArxHq7fDm5xwpeG6AOGVi9VBYZmi83THgMpQOIBjbZr05TnOAtO8+uVehLP+cEGi7lbB7thwKwQEpd/c3wCZOMA5rDKGVAhiwbEjLV+TdT/YD2jaaeE3uImHSu3cUuXkeLx4A3JNHsPN92heLrvTZ6MIrhmG15DNYiu7B8D9jq45epaVvbSGtgqg5yJVfSE27uFfVYYsp3LPuD3ZF1mF1xhJmbD2sLj49dFljFRT+7wFPHItEAuHOaH41HyLdtAcspU9s28MJwISRKDvwv0/zIn3JX/XSWuxL+Q+dScCOD9O25GwaYox2ycEkJ3m4QnQJUergPG2rAp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ZpJwzcxYNW3vc3eExLz690xJRMn5CoKF8EtAQgIwuUGDAgtJkLY8Dlz3hEK5VnKrnVOO6o0LzSi8FU8E9siuA4RhSjuhVOUkKpUsV2U8uSYATx7w3E3WiubFrr5k5Bc4CzD6NnND+SKHvKGO0j29INEEB0FpsdGCrH7pYHQkdDoPZq1RjofPDVVQ55HyRd6mB5hKvwCBoE8pSbu6dWGejeQX8eNmgsPYYrxAQqaj3V
Content-Type: multipart/alternative; boundary="_000_AM0PR10MB32659443083F9959AFCB224A99199AM0PR10MB3265EURP_"
MIME-Version: 1.0
X-OriginatorOrg: siemens.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM0PR10MB3265.EURPRD10.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: cb412238-140a-4e88-6256-08da10b48960
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Mar 2022 12:14:41.0205 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: oXKIpW0hfS8Lsi/yjws2/LiPUU+usaaq9bthLwjeVzQeX70+jAGdP9OSOeHLzidVHg0a0gcHuoe0CSiR3opOV5wKRBgJAtWSshRSdmReknE=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR10MB3144
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/18Vt76FzOXhNxUD3Hax3ssNNNyg>
Subject: [media-types] Preliminary community review request for a potential media type registration: application/tm+json
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: Mon, 28 Mar 2022 12:14:54 -0000

Dear IANA,

the W3C Web of Things WG is preparing the transition to Candidate Recommendation for the WoT Thing Description 1.1 specification: https://w3c.github.io/wot-thing-description

Since the WoT Thing Description 1.0 there is already a registered media type with application/td+json (https://www.iana.org/assignments/media-types/application/td+json).

The new WoT Thing Description 1.1  version will also come with a new concept that is called Thing Model (Section 11) which requires additional media type registration: application/tm+json

It would be great if you can provide a Preliminary Community Review. The registration template is added below.

Many thanks,
Sebastian Kaebisch
(W3C Web of Thing Co-Chair)

------------------

Type name:
application

Subtype name:
tm+json

Required parameters:
None

Optional parameters:
None

Encoding considerations:
See RFC 6839, section 3.1.

Security considerations:
See RFC 8259, section 12.

Since a WoT Thing Model is intended to be a pure data exchange format for Thing metadata, the serialization SHOULD NOT be passed through a code execution mechanism such as JavaScript's eval() function to be parsed. An (invalid) document may contain code that, when executed, could lead to unexpected side effects compromising the security of a system.

WoT Thing Model can be evaluated with a JSON-LD 1.1 processor, which typically follows links to remote contexts (i.e., TD context extensions, see W3C WoT Thing Description 1.1, section 7) automatically, resulting in the transfer of files without the explicit request of the Consumer for each one. If remote contexts are served by third parties, it may allow them to gather usage patterns or similar information leading to privacy concerns. While implementations on resource-constrained devices are expected to perform raw JSON processing (as opposed to JSON-LD processing), implementations in general SHOULD statically cache vetted versions of their supported context extensions and not to follow links to remote contexts. Supported context extensions can be managed through a secure software update mechanism instead.

Context Extensions (see W3C WoT Thing Description 1.1, section 7) that are loaded from the Web over non-secure connections, such as HTTP, run the risk of being altered by an attacker such that they may modify the TD Information Model in a way that could compromise security. For this reason, Consumer again SHOULD vet and cache remote contexts before allowing the system to use it.

Given that JSON-LD processing usually includes the substitution of long IRIs [RFC3987] with short terms, WoT Thing Models may expand considerably when processed using a JSON-LD 1.1 processor and, in the worst case, the resulting data might consume all of the recipient's resources. Consumers SHOULD treat any TD metadata with due skepticism.

Interoperability considerations:
See RFC 8259.
Rules for processing both conforming and non-conforming content are defined in this specification.

Published specification:
https://www.w3.org/TR/wot-thing-description11/

Applications that use this media type:
All participating entities in the W3C Web of Things, that is, Things, Consumers, and Intermediaries as defined in the Web of Things (WoT) Architecture.

Fragment identifier considerations:
See RFC 6839, section 3.1.

Additional information:

Magic number(s):
Not Applicable

File extension(s):
.jsontm, .tm.json, .tm.jsonld

Macintosh file type code(s):
TEXT

Person & email address to contact for further information:
Sebastian Kaebisch (Sebastian.Kaebisch@siemens.com)

Intended usage:
COMMON

Restrictions on usage:
None

Author(s):
The WoT Thing Description 1.1 specification is a product of the Web of Things Working Group.

Change controller:
W3C