[要約] RFC 9193は、Sensor Measurement Lists (SenML) でデータ値のコンテンツ形式を示すためのフィールドに関するものです。この文書の目的は、センサーデータや測定値をより効率的に表現し、交換するための標準化された方法を提供することにあります。利用場面としては、IoTデバイス間の通信や、センサーネットワークにおけるデータ収集・分析などが挙げられます。

Internet Engineering Task Force (IETF)                        A. Keränen
Request for Comments: 9193                                      Ericsson
Category: Standards Track                                     C. Bormann
ISSN: 2070-1721                                   Universität Bremen TZI
                                                               June 2022
        

Sensor Measurement Lists (SenML) Fields for Indicating Data Value Content-Format

データ値のコンテンツフォーマットを示すためのセンサー測定リスト(SENML)フィールド

Abstract

概要

The Sensor Measurement Lists (SenML) media types support multiple types of values, from numbers to text strings and arbitrary binary Data Values. In order to facilitate processing of binary Data Values, this document specifies a pair of new SenML fields for indicating the content format of those binary Data Values, i.e., their Internet media type, including parameters as well as any content codings applied.

センサー測定リスト(SENML)メディアタイプは、数字からテキスト文字列、任意のバイナリデータ値まで、複数のタイプの値をサポートしています。バイナリデータ値の処理を容易にするために、このドキュメントは、これらのバイナリデータ値のコンテンツ形式、つまりパラメーターや適用されるコンテンツコーディングを含むインターネットメディアタイプのコンテンツ形式を示すために、新しいSENMLフィールドのペアを指定します。

Status of This Memo

本文書の位置付け

This is an Internet Standards Track document.

これは、インターネット標準トラックドキュメントです。

This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Further information on Internet Standards is available in Section 2 of RFC 7841.

このドキュメントは、インターネットエンジニアリングタスクフォース(IETF)の製品です。IETFコミュニティのコンセンサスを表しています。公開レビューを受けており、インターネットエンジニアリングステアリンググループ(IESG)からの出版が承認されています。インターネット標準の詳細については、RFC 7841のセクション2で入手できます。

Information about the current status of this document, any errata, and how to provide feedback on it may be obtained at https://www.rfc-editor.org/info/rfc9193.

このドキュメントの現在のステータス、任意のERRATA、およびそのフィードバックを提供する方法に関する情報は、https://www.rfc-editor.org/info/rfc9193で取得できます。

Copyright Notice

著作権表示

Copyright (c) 2022 IETF Trust and the persons identified as the document authors. All rights reserved.

著作権(c)2022 IETF Trustおよび文書著者として特定された人。全著作権所有。

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.

このドキュメントは、BCP 78およびIETFドキュメント(https://trustee.ietf.org/license-info)に関連するIETF Trustの法的規定の対象となります。この文書に関するあなたの権利と制限を説明するので、これらの文書を注意深く確認してください。このドキュメントから抽出されたコードコンポーネントには、セクション4.Eで説明されている法的規定のセクション4.Eで説明されており、修正されたBSDライセンスで説明されているように保証なしで提供される修正されたBSDライセンステキストを含める必要があります。

Table of Contents

目次

   1.  Introduction
     1.1.  Evolution
   2.  Terminology
   3.  SenML Content-Format ("ct") Field
   4.  SenML Base Content-Format ("bct") Field
   5.  Examples
   6.  ABNF
   7.  Security Considerations
   8.  IANA Considerations
   9.  References
     9.1.  Normative References
     9.2.  Informative References
   Acknowledgments
   Authors' Addresses
        
1. Introduction
1. はじめに

The Sensor Measurement Lists (SenML) media types [RFC8428] can be used to send various kinds of data. In the example given in Figure 1, a temperature value, an indication whether a lock is open, and a Data Value (with SenML field "vd") read from a Near Field Communication (NFC) reader is sent in a single SenML Pack. The example is given in SenML JSON representation, so the "vd" (Data Value) field is encoded as a base64url string (without padding), as per Section 5 of [RFC8428].

センサー測定リスト(SENML)メディアタイプ[RFC8428]を使用して、さまざまな種類のデータを送信できます。図1に示す例では、温度値、ロックが開いているかどうかを示すもの、および近距離通信(NFC)リーダーから読み取られたデータ値(SENMLフィールド「VD」)が単一のSENMLパックで送信されます。この例はSenml JSON表現に示されているため、[VD](データ値)フィールドは、[RFC8428]のセクション5に従って、base64url文字列(パディングなし)としてエンコードされます。

   [
     {"bn":"urn:dev:ow:10e2073a01080063:","n":"temp","u":"Cel","v":7.1},
     {"n":"open","vb":false},
     {"n":"nfc-reader","vd":"aGkgCg"}
   ]
        

Figure 1: SenML Pack with Unidentified Binary Data

図1:正体不明のバイナリデータを備えたSENMLパック

The receiver is expected to know how to interpret the data in the "vd" field based on the context, e.g., the name of the data source and out-of-band knowledge of the application. However, this context may not always be easily available to entities processing the SenML Pack, especially if the Pack is propagated over time and via multiple entities. To facilitate automatic interpretation, it is useful to be able to indicate an Internet media type and, optionally, content codings right in the SenML Record.

受信者は、コンテキストに基づいて「VD」フィールドのデータを解釈する方法を知っていることが期待されています。たとえば、データソースの名前とアプリケーションの帯域外の知識。ただし、特にパックが時間と複数のエンティティを介して伝播されている場合、このコンテキストがSENMLパックを処理するエンティティが常に簡単に利用できるとは限りません。自動解釈を容易にするために、インターネットメディアタイプ、およびオプションではSENMLレコードでコンテンツコーディングを示すことができると便利です。

The Constrained Application Protocol (CoAP) Content-Format (Section 12.3 of [RFC7252]) provides this information in the form of a single unsigned integer. For instance, [RFC8949] defines the Content-Format number 60 for Content-Type application/cbor. Enclosing this Content-Format number in the Record is illustrated in Figure 2. All registered CoAP Content-Format numbers are listed in the "CoAP Content-Formats" registry [IANA.core-parameters], as specified by Section 12.3 of [RFC7252]. Note that, at the time of writing, the structure of this registry only provides for zero or one content coding; nothing in the present document needs to change if the registry is extended to allow sequences of content codings.

制約付きアプリケーションプロトコル(COAP)コンテンツフォーマット([RFC7252]のセクション12.3)は、この情報を単一の署名のない整数の形式で提供します。たとえば、[RFC8949]は、コンテンツタイプのアプリケーション/CBORのコンテンツフォーマット番号60を定義します。レコードのこのコンテンツフォーマット番号を囲むことを図2に示します。すべての登録されたCOAPコンテンツフォーマット番号は、[RFC7252]のセクション12.3で指定されている「COAPコンテンツフォーマット」レジストリ[IANA.Core-Parameters]にリストされています。。執筆時点では、このレジストリの構造はゼロまたは1つのコンテンツコーディングのみを提供することに注意してください。コンテンツコーディングのシーケンスを許可するためにレジストリが拡張された場合、現在のドキュメントの何も変更する必要はありません。

   {"n":"nfc-reader", "vd":"gmNmb28YKg", "ct":"60"}
        

Figure 2: SenML Record with Binary Data Identified as CBOR

図2:CBORとして識別されたバイナリデータを含むSENMLレコード

In this example SenML Record, the Data Value contains a string "foo" and a number 42 encoded in a Concise Binary Object Representation (CBOR) [RFC8949] array. Since the example above uses the JSON format of SenML, the Data Value containing the binary CBOR value is base64 encoded (Section 5 of [RFC4648]). The Data Value after base64 decoding is shown with CBOR diagnostic notation in Figure 3.

この例SENMLレコードでは、データ値には文字列「FOO」と、簡潔なバイナリオブジェクト表現(CBOR)[RFC8949]アレイでエンコードされた数字42が含まれています。上記の例ではSenMLのJSON形式を使用するため、バイナリCBOR値を含むデータ値はbase64エンコードされています([RFC4648]のセクション5)。Base64デコード後のデータ値は、図3にCBOR診断表記で示されています。

   82           # array(2)
      63        # text(3)
         666F6F # "foo"
      18 2A     # unsigned(42)
        

Figure 3: Example Data Value in CBOR Diagnostic Notation

図3:CBOR診断表記のデータ値の例

1.1. Evolution
1.1. 進化

As with SenML in general, there is no expectation that the creator of a SenML Pack knows (or has negotiated with) each consumer of that Pack, which may be very remote in space and particularly in time. This means that the SenML creator in general has no way to know whether the consumer knows:

一般的にSENMLと同様に、SenMLパックの作成者がそのパックの各消費者を知っている(または交渉した)という期待はありません。これは、一般的に上院議員が消費者が知っているかどうかを知る方法がないことを意味します。

* each specific Media-Type-Name used,

* 使用されている特定のメディアタイプのそれぞれ、

* each parameter and each parameter value used,

* 各パラメーターと使用される各パラメーター値、

* each content coding in use, and

* 使用中の各コンテンツコーディング、および

* each Content-Format number in use for a combination of these.

* これらの組み合わせに使用されている各コンテンツフォーマット番号。

What SenML, as well as the new fields defined here, guarantees is that a recipient implementation _knows_ when it needs to be updated to understand these field values and the values controlled by them; registries are used to evolve these name spaces in a controlled way. SenML Packs can be processed by a consumer while not understanding all the information in them, and information can generally be preserved in this processing such that it is useful for further consumers.

ここで定義されている新しいフィールドと同様に、Senmlは、これらのフィールド値とそれらによって制御された値を理解するために更新する必要がある場合、受信者の実装_knows_を保証するものです。レジストリは、制御された方法でこれらの名前スペースを進化させるために使用されます。SENMLパックは、消費者のすべての情報を理解していない間、消費者が処理できます。また、この処理では、さらなる消費者に役立つように情報を一般に保存できます。

2. Terminology
2. 用語

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 BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.

この文書のキーワード "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", および "OPTIONAL" はBCP 14 [RFC2119] [RFC8174]で説明されているように、すべて大文字の場合にのみ解釈されます。

Media type: A registered label for representations (byte strings) prepared for interchange [RFC1590] [RFC6838], identified by a Media-Type-Name.

メディアタイプ:メディアタイプの名前で識別されるインターチェンジ[RFC1590] [RFC6838]のために準備された表現(バイト文字列)の登録ラベル。

Media-Type-Name: A combination of a type-name and a subtype-name registered in [IANA.media-types], as per [RFC6838], conventionally identified by the two names separated by a slash.

Media-Type-Name:[RFC6838]に従って、[RFC6838]に従って、[iana.media-types]に登録されているタイプ名とサブタイプ名の組み合わせ。

Content-Type: A Media-Type-Name, optionally associated with parameters (Section 5 of [RFC2045], separated from the Media-Type-Name and from each other by a semicolon). In HTTP and many other protocols, it is used in a Content-Type header field.

コンテンツタイプ:オプションでパラメーターに関連付けられているメディアタイプの名前([RFC2045]のセクション5、メディアタイプの名前から分離され、セミコロンによって互いに分離されています)。HTTPおよび他の多くのプロトコルでは、コンテンツタイプのヘッダーフィールドで使用されています。

Content coding: A name registered in the "HTTP Content Coding Registry" [IANA.http-parameters], as specified by Sections 16.6.1 and 18.6 of [RFC9110], indicating an encoding transformation with semantics further specified in Section 8.4.1 of [RFC9110]. Confusingly, in HTTP, content coding values are found in a header field called "Content-Encoding"; however, "content coding" is the correct term for the process and the registered values.

コンテンツコーディング:[RFC9110]のセクション16.6.1および18.6で指定されている「HTTPコンテンツコーディングレジストリ」[IANA.HTTP-PARAMETERS]に登録されている名前。[RFC9110]。紛らわしいことに、HTTPでは、コンテンツコーディング値は「コンテンツエンコード」と呼ばれるヘッダーフィールドにあります。ただし、「コンテンツコーディング」は、プロセスと登録値の正しい用語です。

Content format: The combination of a Content-Type and zero or more content codings, identified by (1) a numeric identifier defined in the "CoAP Content-Formats" registry [IANA.core-parameters], as per Section 12.3 of [RFC7252] (referred to as Content-Format number), or (2) a Content-Format-String.

コンテンツ形式:[RFC72522.3のセクション12.3に従って、(1)「COAPコンテンツフォーマット」レジストリ[IANA.CORE-PARAMETERS]で定義された数値識別子によって識別されるコンテンツタイプとゼロ以上のコンテンツコーディングの組み合わせ。](コンテンツフォーマット番号と呼ばれる)、または(2)コンテンツフォーマットストリング。

Content-Format-String: The string representation of the combination of a Content-Type and zero or more content codings.

コンテンツフォーマットストリング:コンテンツタイプとゼロ以上のコンテンツコーディングの組み合わせの文字列表現。

Content-Format-Spec: The string representation of a content format; either a Content-Format-String or the (decimal) string representation of a Content-Format number.

Content-Format-Spec:コンテンツ形式の文字列表現。コンテンツフォーマットストリングまたはコンテンツフォーマット番号の(小数)文字列表現のいずれか。

Readers should also be familiar with the terms and concepts discussed in [RFC8428].

読者は、[RFC8428]で説明されている用語と概念にも精通している必要があります。

3. SenML Content-Format ("ct") Field
3. Senmlコンテンツフォーマット( "CT")フィールド

When a SenML Record contains a Data Value field ("vd"), the Record MAY also include a Content-Format indication field, using label "ct". The value of this field is a Content-Format-Spec, i.e., one of the following:

SENMLレコードにデータ値フィールド(「VD」)が含まれている場合、レコードには、ラベル「CT」を使用してコンテンツ形式の表示フィールドが含まれる場合があります。このフィールドの値は、コンテンツフォーマットスペック、つまり次のいずれかです。

* a CoAP Content-Format number in decimal form with no leading zeros (except for the value "0" itself). This value represents an unsigned integer in the range of 0-65535, similar to the "ct" attribute defined in Section 7.2.1 of [RFC7252] for CoRE Link Format [RFC6690].

* 主要なゼロのない小数点以下のコップコンテンツフォーマット番号(値「0」自体を除く)。この値は、コアリンク形式[RFC6690]の[RFC7252]のセクション7.2.1で定義されている「CT」属性と同様の0〜65535の範囲の署名のない整数を表します。

* a Content-Format-String containing a Content-Type and zero or more content codings (see below).

* コンテンツタイプとゼロ以上のコンテンツコーディングを含むコンテンツフォーマットストリング(以下を参照)。

The syntax of this field is formally defined in Section 6.

このフィールドの構文は、セクション6で正式に定義されています。

The CoAP Content-Format number provides a simple and efficient way to indicate the type of the data. Since some Internet media types and their content coding and parameter alternatives do not have assigned CoAP Content-Format numbers, using Content-Type and zero or more content codings is also allowed. Both methods use a string value in the "ct" field to keep its data type consistent across uses. When the "ct" field contains only digits, it is interpreted as a CoAP Content-Format number.

COAPコンテンツフォーマット番号は、データのタイプを示すシンプルで効率的な方法を提供します。一部のインターネットメディアタイプとそのコンテンツコーディングとパラメーターの代替品にはCoapコンテンツフォーマット番号が割り当てられていないため、コンテンツタイプとゼロ以上のコンテンツコーディングを使用することも許可されています。どちらの方法でも、「CT」フィールドの文字列値を使用して、データ型を使用して一貫性を保ちます。「CT」フィールドに数字のみが含まれている場合、COAPコンテンツフォーマット番号として解釈されます。

To indicate that one or more content codings are used with a Content-Type, each of the content coding values is appended to the Content-Type value (media type and parameters, if any), separated by an "@" sign, in the order of when the content codings were applied (the same order as in Section 8.4 of [RFC9110]). For example (using a content coding value of "deflate", as defined in Section 8.4.1.2 of [RFC9110]):

1つ以上のコンテンツコーディングがコンテンツタイプで使用されることを示すために、各コンテンツコーディング値はコンテンツタイプの値(メディアタイプとパラメーター(ある場合は、存在する場合)に追加され、「@」サインで区切られ、コンテンツコードが適用されたときの順序([RFC9110]のセクション8.4と同じ順序)。たとえば([RFC9110]のセクション8.4.1.2で定義されている「DEFLATE」のコンテンツコーディング値を使用):

   text/plain; charset=utf-8@deflate
        

If no "@" sign is present after the media type and parameters, then no content coding has been specified, and the "identity" content coding is used -- no encoding transformation is employed.

メディアタイプとパラメーターの後に「@」サインが存在しない場合、コンテンツコーディングは指定されておらず、「ID」コンテンツコーディングが使用されます。エンコード変換は採用されていません。

4. SenML Base Content-Format ("bct") Field
4. Senml Base Content-Format( "BCT")フィールド

The Base Content-Format field, label "bct", provides a default value for the Content-Format field (label "ct") within its range. The range of the base field includes the Record containing it, up to (but not including) the next Record containing a "bct" field, if any, or up to the end of the Pack otherwise. The process of resolving (Section 4.6 of [RFC8428]) this base field is performed by adding its value with the label "ct" to all Records in this range that carry a "vd" field but do not already contain a Content-Format ("ct") field.

ベースコンテンツフォーマットフィールド「ラベル「BCT」」は、コンテンツフォーマットフィールド(ラベル「CT」)のデフォルト値をその範囲内に提供します。ベースフィールドの範囲には、それを含むレコードを含むレコードが含まれています(ただし、bct」フィールドを含む次のレコード(もしあれば、またはパックの最後まで」。解決のプロセス([RFC8428]のセクション4.6)このベースフィールドは、「VD」フィールドを運ぶがコンテンツフォーマットを含むこの範囲のすべてのレコードに「CT」というラベル「CT」に値を追加することにより実行されます(まだコンテンツフォーマットが含まれていません(「CT」)フィールド。

Figure 4 shows a variation of Figure 2 with multiple records, with the "nfc-reader" records resolving to the base field value "60" and the "iris-photo" record overriding this with the "image/png" media type (actual data left out for brevity).

図4は、複数のレコードを備えた図2のバリエーションを示しています。「NFC-Reader」レコードがベースフィールド値「60」に解決し、「Image/PNG」メディアタイプでこれを上書きする「Iris-Photo」レコードを示しています。簡潔にしたデータ)。

   [
     {"n":"nfc-reader", "vd":"gmNmb28YKg",
      "bct":"60", "bt":1627430700},
     {"n":"nfc-reader", "vd":"gmNiYXIYKw", "t":10},
     {"n":"iris-photo", "vd":".....", "ct":"image/png", "t":10},
     {"n":"nfc-reader", "vd":"gmNiYXoYLA", "t":20}
   ]
        

Figure 4: SenML Pack with the bct Field

図4:BCTフィールドを備えたSENMLパック

5. Examples
5. 例

The following examples are valid values for the "ct" and "bct" fields (explanation/comments in parentheses):

次の例は、「CT」および「BCT」フィールドの有効な値です(括弧内の説明/コメント):

* "60" (CoAP Content-Format number for "application/cbor")

* 「60」(「アプリケーション/CBOR」のコンテンツフォーマット番号)

* "0" (CoAP Content-Format number for "text/plain" with parameter "charset=utf-8")

* "0"(パラメーター「charset = utf-8」を使用した「テキスト/プレーン」のコンテンツ形式番号

* "application/json" (JSON Content-Type -- equivalent to "50" CoAP Content-Format number)

* 「Application/JSON」(JSONコンテンツタイプ - 「50」のCOAPコンテンツフォーマット番号に相当)

* "application/json@deflate" (JSON Content-Type with "deflate" as content coding -- equivalent to "11050" CoAP Content-Format number)

* 「Application/JSON@DEFLATE」(コンテンツコーディングとして「DEFLATE」を備えたJSONコンテンツタイプ - 「11050」COAPコンテンツフォーマット番号に相当)

   *  "application/json@deflate@aes128gcm" (JSON Content-Type with
      "deflate" followed by "aes128gcm" as content codings)
        

* "text/csv" (Comma-Separated Values (CSV) [RFC4180] Content-Type)

* 「Text/CSV」(CommaSeparated値(CSV)[RFC4180] Content-Type)

   *  "text/csv;header=present@gzip" (CSV with header row, using "gzip"
      as content coding)
        
6. ABNF
6. abnf

This specification provides a formal definition of the syntax of Content-Format-Spec strings using ABNF notation [RFC5234], which contains three new rules and a number of rules collected and adapted from various RFCs [RFC9110] [RFC6838] [RFC5234] [RFC8866].

この仕様は、ABNF表記[RFC5234]を使用したコンテンツフォーマットスペック文字列の構文の正式な定義を提供します。これには、3つの新しいルールとさまざまなRFC [RFC9110] [RFC6838] [RFC5234] [RFC8666]から収集および適応された多数のルールが含まれています。]。

; New in this document

;このドキュメントの新機能

Content-Format-Spec = Content-Format-Number / Content-Format-String

content-format-spec = content-format-number / content-format-string

   Content-Format-Number = "0" / (POS-DIGIT *DIGIT)
   Content-Format-String   = Content-Type *("@" Content-Coding)
        
   ; Cleaned up from RFC 9110,
   ; leaving only SP as blank space,
   ; removing legacy 8-bit characters, and
   ; leaving the parameter as mandatory with each semicolon:
        
   Content-Type   = Media-Type-Name *( *SP ";" *SP parameter )
   parameter      = token "=" ( token / quoted-string )
        
   token          = 1*tchar
   tchar          = "!" / "#" / "$" / "%" / "&" / "'" / "*"
                  / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~"
                  / DIGIT / ALPHA
   quoted-string  = %x22 *( qdtext / quoted-pair ) %x22
   qdtext         = SP / %x21 / %x23-5B / %x5D-7E
   quoted-pair    = "\" ( SP / VCHAR )
        

; Adapted from Section 8.4.1 of RFC 9110

;RFC 9110のセクション8.4.1から採用

   Content-Coding   = token
        

; Adapted from various specs

;さまざまな仕様から採用されています

Media-Type-Name = type-name "/" subtype-name

Media-type-name = type-name "/" subtype-name

; From RFC 6838

;RFC 6838から

type-name = restricted-name subtype-name = restricted-name

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
        

; Boilerplate from RFC 5234 and RFC 8866

;RFC 5234およびRFC 8866のボイラープレート

   DIGIT     =  %x30-39           ; 0 - 9
   POS-DIGIT =  %x31-39           ; 1 - 9
   ALPHA     =  %x41-5A / %x61-7A ; A - Z / a - z
   SP        =  %x20
   VCHAR     =  %x21-7E           ; printable ASCII (no SP)
        

Figure 5: ABNF Syntax of Content-Format-Spec

図5:Content-Format-SpecのABNF構文

7. Security Considerations
7. セキュリティ上の考慮事項

The indication of a media type in the data does not exempt a consuming application from properly checking its inputs. Also, the ability for an attacker to supply crafted SenML data that specifies media types chosen by the attacker may expose vulnerabilities of handlers for these media types to the attacker. This includes "decompression bombs", compressed data that is crafted to decompress to extremely large data items.

データ内のメディアタイプの表示は、消費アプリケーションが入力を適切にチェックすることを免除しません。また、攻撃者が攻撃者が選択したメディアタイプを指定する作成されたSENMLデータを提供する能力は、これらのメディアタイプのハンドラーの脆弱性を攻撃者にさらしている場合があります。これには、「減圧爆弾」、非常に大きなデータ項目に減圧するように作成された圧縮データが含まれます。

8. IANA Considerations
8. IANAの考慮事項

IANA has assigned the following new labels in the "SenML Labels" subregistry of the "Sensor Measurement Lists (SenML)" registry [IANA.senml] (as defined in Section 12.2 of [RFC8428]) for the Content-Format indication, as per Table 1:

IANAは、「センサー測定リスト(SENML)」レジストリ[IANA.SENML]([RFC8428]のセクション12.2で定義されている)の「センサー測定リスト(SENML)」レジストリ[IANA.SENML]の「SENMLラベル」サブレジストリに次の新しいラベルを割り当てました。表1:

    +=====================+=======+===========+==========+===========+
    |                Name | Label | JSON Type | XML Type | Reference |
    +=====================+=======+===========+==========+===========+
    | Base Content-Format | bct   | String    | string   | RFC 9193  |
    +---------------------+-------+-----------+----------+-----------+
    |      Content-Format | ct    | String    | string   | RFC 9193  |
    +---------------------+-------+-----------+----------+-----------+
        

Table 1: IANA Registration for New SenML Labels

表1:新しいSenMLラベルのIANA登録

Note that, per Section 12.2 of [RFC8428], no CBOR labels nor Efficient XML Interchange (EXI) schemaId values (EXI ID column) are supplied.

[RFC8428]のセクション12.2に従って、CBORラベルも効率的なXMLインターチェンジ(EXI)スキーマイド値(EXI ID列)が提供されないことに注意してください。

9. References
9. 参考文献
9.1. Normative References
9.1. 引用文献

[IANA.core-parameters] IANA, "Constrained RESTful Environments (CoRE) Parameters", <https://www.iana.org/assignments/core-parameters>.

[iana.core-parameters] iana、「制約付きの安らかな環境(コア)パラメーター」、<https://www.iana.org/assignments/core-parameters>。

[IANA.http-parameters] IANA, "Hypertext Transfer Protocol (HTTP) Parameters", <https://www.iana.org/assignments/http-parameters>.

[iana.http-parameters] iana、 "HyperText Transfer Protocol(http)パラメーター"、<https://www.iana.org/assignments/http-parameters>。

[IANA.media-types] IANA, "Media Types", <https://www.iana.org/assignments/media-types>.

[iana.media-types] iana、 "Media Types"、<https://www.iana.org/assignments/media-types>。

[IANA.senml] IANA, "Sensor Measurement Lists (SenML)", <https://www.iana.org/assignments/senml>.

[iana.senml] iana、「センサー測定リスト(senml)」、<https://www.iana.org/assignments/senml>。

[RFC2045] Freed, N. and N. Borenstein, "Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies", RFC 2045, DOI 10.17487/RFC2045, November 1996, <https://www.rfc-editor.org/info/rfc2045>.

[RFC2045] Freed、N。およびN. Borenstein、「多目的インターネットメール拡張機能(MIME)パート1:インターネットメッセージボディの形式」、RFC 2045、DOI 10.17487/RFC2045、1996年11月、<https://www.rfc-editor.org/info/rfc2045>。

[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, <https://www.rfc-editor.org/info/rfc2119>.

[RFC2119] Bradner、S。、「要件レベルを示すためにRFCで使用するためのキーワード」、BCP 14、RFC 2119、DOI 10.17487/RFC2119、1997年3月、<https://www.rfc-editor.org/info/RFC2119>。

[RFC5234] Crocker, D., Ed. and P. Overell, "Augmented BNF for Syntax Specifications: ABNF", STD 68, RFC 5234, DOI 10.17487/RFC5234, January 2008, <https://www.rfc-editor.org/info/rfc5234>.

[RFC5234] Crocker、D.、ed。P. Overell、「構文仕様のためのBNFの増強:ABNF:STD 68、RFC 5234、DOI 10.17487/RFC5234、2008年1月、<https://www.rfc-editor.org/info/rfc5234>。

[RFC7252] Shelby, Z., Hartke, K., and C. Bormann, "The Constrained Application Protocol (CoAP)", RFC 7252, DOI 10.17487/RFC7252, June 2014, <https://www.rfc-editor.org/info/rfc7252>.

[RFC7252] Shelby、Z.、Hartke、K。、およびC. Bormann、「制約付きアプリケーションプロトコル(COAP)」、RFC 7252、DOI 10.17487/RFC7252、2014年6月、<https://www.rfc-editor。org/info/rfc7252>。

[RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, <https://www.rfc-editor.org/info/rfc8174>.

[RFC8174] Leiba、B。、「RFC 2119キーワードの大文字と小文字のあいまいさ」、BCP 14、RFC 8174、DOI 10.17487/RFC8174、2017年5月、<https://www.rfc-editor.org/info/RFC8174>。

[RFC8428] Jennings, C., Shelby, Z., Arkko, J., Keranen, A., and C. Bormann, "Sensor Measurement Lists (SenML)", RFC 8428, DOI 10.17487/RFC8428, August 2018, <https://www.rfc-editor.org/info/rfc8428>.

[RFC8428] Jennings、C.、Shelby、Z.、Arkko、J.、Keranen、A。、およびC. Bormann、「センサー測定リスト(SENML)」、RFC 8428、DOI 10.17487/RFC8428、2018年8月、<httpsps://www.rfc-editor.org/info/rfc8428>。

[RFC9110] Fielding, R., Nottingham, M., and J. Reschke, "HTTP Semantics", STD 97, RFC 9110, DOI 10.17487/RFC9110, February 2022, <https://www.rfc-editor.org/rfc/rfc9110>.

[RFC9110] Fielding、R.、Nottingham、M.、およびJ. Reschke、「HTTP Semantics」、Std 97、RFC 9110、DOI 10.17487/RFC9110、2022年2月、<https://www.rfc-editor.org/RFC/RFC9110>。

9.2. Informative References
9.2. 参考引用

[RFC1590] Postel, J., "Media Type Registration Procedure", RFC 1590, DOI 10.17487/RFC1590, March 1994, <https://www.rfc-editor.org/info/rfc1590>.

[RFC1590] Postel、J。、「メディアタイプ登録手順」、RFC 1590、DOI 10.17487/RFC1590、1994年3月、<https://www.rfc-editor.org/info/rfc1590>

[RFC4180] Shafranovich, Y., "Common Format and MIME Type for Comma-Separated Values (CSV) Files", RFC 4180, DOI 10.17487/RFC4180, October 2005, <https://www.rfc-editor.org/info/rfc4180>.

[RFC4180] Shafranovich、Y。、「Comma分離値(CSV)ファイルの共通形式とMIMEタイプ」、RFC 4180、DOI 10.17487/RFC4180、2005年10月、<https://www.rfc-editor.org/info/rfc4180>。

[RFC4648] Josefsson, S., "The Base16, Base32, and Base64 Data Encodings", RFC 4648, DOI 10.17487/RFC4648, October 2006, <https://www.rfc-editor.org/info/rfc4648>.

[RFC4648] Josefsson、S。、「Base16、Base32、およびBase64 Data Encodings」、RFC 4648、DOI 10.17487/RFC4648、2006年10月、<https://www.rfc-editor.org/info/rfc4648>

[RFC6690] Shelby, Z., "Constrained RESTful Environments (CoRE) Link Format", RFC 6690, DOI 10.17487/RFC6690, August 2012, <https://www.rfc-editor.org/info/rfc6690>.

[RFC6690]シェルビー、Z。、「制約付き安静環境(コア)リンク形式」、RFC 6690、DOI 10.17487/RFC6690、2012年8月、<https://www.rfc-editor.org/info/rfc690>

[RFC6838] Freed, N., Klensin, J., and T. Hansen, "Media Type Specifications and Registration Procedures", BCP 13, RFC 6838, DOI 10.17487/RFC6838, January 2013, <https://www.rfc-editor.org/info/rfc6838>.

[RFC6838] Freed、N.、Klensin、J。、およびT. Hansen、「メディアタイプの仕様と登録手順」、BCP 13、RFC 6838、DOI 10.17487/RFC6838、2013年1月、<https://www.rfc-editor.org/info/rfc6838>。

[RFC8866] Begen, A., Kyzivat, P., Perkins, C., and M. Handley, "SDP: Session Description Protocol", RFC 8866, DOI 10.17487/RFC8866, January 2021, <https://www.rfc-editor.org/info/rfc8866>.

[RFC8866] Begen、A.、Kyzivat、P.、Perkins、C.、およびM. Handley、「SDP:SESSION説明プロトコル」、RFC 8866、DOI 10.17487/RFC866、2021年1月、<https://www.rfc8866-editor.org/info/rfc8866>。

[RFC8949] Bormann, C. and P. Hoffman, "Concise Binary Object Representation (CBOR)", STD 94, RFC 8949, DOI 10.17487/RFC8949, December 2020, <https://www.rfc-editor.org/info/rfc8949>.

[RFC8949] Bormann、C。and P. Hoffman、「Concise binary Object Lepressation(CBOR)」、STD 94、RFC 8949、DOI 10.17487/RFC8949、2020年12月、<https://www.rfc-editor.org/info/RFC8949>。

Acknowledgments

謝辞

The authors would like to thank Sérgio Abreu for the discussions leading to the design of this extension and Isaac Rivera for reviews and feedback. Klaus Hartke suggested not burdening this document with a separate mandatory-to-implement version of the fields. Alexey Melnikov, Jim Schaad, and Thomas Fossati provided helpful comments at Working Group Last Call. Marco Tiloca asked for clarifying and using the term Content-Format-Spec.

著者は、この拡張機能の設計につながる議論と、レビューとフィードバックについてIsaac RiveraにつながっているSergio Abreuに感謝したいと思います。Klaus Hartkeは、この文書に、フィールドの別の必須バージョンに負担をかけないことを提案しました。Alexey Melnikov、Jim Schaad、およびThomas Fossatiは、ワーキンググループの最後のコールで有益なコメントを提供しました。Marco Tilocaは、Content-Format-Specという用語を明確にして使用するように求めました。

Authors' Addresses

著者のアドレス

Ari Keränen Ericsson FI-02420 Jorvas Finland Email: ari.keranen@ericsson.com

AriKeränenEricssonFI-02420 Jorvas Finland Email:ari.keranen@ericsson.com

Carsten Bormann Universität Bremen TZI Postfach 330440 D-28359 Bremen Germany Phone: +49-421-218-63921 Email: cabo@tzi.org

Carsten BormannUniversitätBremenTziPostfach 330440 D-28359 Bremen Germany電話:49-421-218-63921メール:cabo@tzi.org