[要約] RFC 7265は、iCalendarのデータをJSON形式で表現するための仕様です。その目的は、iCalendarデータをより簡潔かつ柔軟に表現し、異なるアプリケーション間でのデータの相互運用性を向上させることです。

Internet Engineering Task Force (IETF)                        P. Kewisch
Request for Comments: 7265                                       Mozilla
Category: Standards Track                                       C. Daboo
ISSN: 2070-1721                                              Apple, Inc.
                                                             M. Douglass
                                                                     RPI
                                                                May 2014
        

jCal: The JSON Format for iCalendar

jCal:iCalendarのJSON形式

Abstract

概要

This specification defines "jCal", a JSON format for iCalendar data. The iCalendar data format is a text format for capturing and exchanging information normally stored within a calendaring and scheduling application, for example, tasks and events. JSON is a lightweight, text-based, language-independent data interchange format commonly used in Internet applications.

この仕様では、iCalendarデータのJSON形式である「jCal」を定義しています。 iCalendarデータ形式は、カレンダーやスケジューリングアプリケーション内に通常保存されている情報(タスクやイベントなど)を取り込んで交換するためのテキスト形式です。 JSONは、インターネットアプリケーションで一般的に使用されている、言語に依存しない軽量のテキストベースのデータ交換フォーマットです。

Status of This Memo

本文書の状態

This is an Internet Standards Track document.

これはInternet Standards Trackドキュメントです。

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 5741.

このドキュメントは、IETF(Internet Engineering Task Force)の製品です。これは、IETFコミュニティのコンセンサスを表しています。公開レビューを受け、インターネットエンジニアリングステアリンググループ(IESG)による公開が承認されました。インターネット標準の詳細については、RFC 5741のセクション2をご覧ください。

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

このドキュメントの現在のステータス、正誤表、およびフィードバックの提供方法に関する情報は、http://www.rfc-editor.org/info/rfc7265で入手できます。

Copyright Notice

著作権表示

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

Copyright(c)2014 IETF Trustおよびドキュメントの作成者として識別された人物。全著作権所有。

This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://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 Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.

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

Table of Contents

目次

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  Conventions Used in This Document . . . . . . . . . . . . . .   4
   3.  Converting from iCalendar to jCal . . . . . . . . . . . . . .   4
     3.1.  Pre-processing  . . . . . . . . . . . . . . . . . . . . .   4
     3.2.  iCalendar Stream and Objects (RFC 5545, Section 3.4)  . .   5
     3.3.  Components (RFC 5545, Section 3.6)  . . . . . . . . . . .   6
     3.4.  Properties (RFC 5545, Sections 3.7 and 3.8) . . . . . . .   6
       3.4.1.  Special Cases for Properties  . . . . . . . . . . . .   8
         3.4.1.1.  GEO Property (RFC 5545, Section 3.8.1.6)  . . . .   8
         3.4.1.2.  REQUEST-STATUS Property (RFC 5545, Section 
                   3.8.8.3)  . . . . . . . . . . . . . . . . . . . .   8
     3.5.  Parameters (RFC 5545, Section 3.2)  . . . . . . . . . . .   9
       3.5.1.  VALUE Parameter . . . . . . . . . . . . . . . . . . .  10
       3.5.2.  Multi-value Parameters  . . . . . . . . . . . . . . .  11
     3.6.  Values (RFC 5545, Section 3.3)  . . . . . . . . . . . . .  11
       3.6.1.  Binary (RFC 5545, Section 3.3.1)  . . . . . . . . . .  12
       3.6.2.  Boolean  (RFC 5545, Section 3.3.2)  . . . . . . . . .  12
       3.6.3.  Calendar User Address (RFC 5545, Section 3.3.3) . . .  12
       3.6.4.  Date (RFC 5545, Section 3.3.4)  . . . . . . . . . . .  12
       3.6.5.  Date-Time (RFC 5545, Section 3.3.5) . . . . . . . . .  13
       3.6.6.  Duration (RFC 5545, Section 3.3.6)  . . . . . . . . .  13
       3.6.7.  Float (RFC 5545, Section 3.3.7) . . . . . . . . . . .  14
       3.6.8.  Integer (RFC 5545, Section 3.3.8) . . . . . . . . . .  14
       3.6.9.  Period of Time (RFC 5545, Section 3.3.9)  . . . . . .  14
       3.6.10. Recurrence Rule (RFC 5545, Section 3.3.10)  . . . . .  15
       3.6.11. Text (RFC 5545, Section 3.3.11) . . . . . . . . . . .  16
       3.6.12. Time (RFC 5545, Section 3.3.12) . . . . . . . . . . .  16
       3.6.13. URI (RFC 5545, Section 3.3.13)  . . . . . . . . . . .  17
       3.6.14. UTC Offset (RFC 5545, Section 3.3.14) . . . . . . . .  17
     3.7.  Extensions  . . . . . . . . . . . . . . . . . . . . . . .  17
   4.  Converting from jCal into iCalendar . . . . . . . . . . . . .  17
   5.  Handling Unrecognized Properties or Parameters  . . . . . . .  18
     5.1.  Converting iCalendar into jCal  . . . . . . . . . . . . .  18
     5.2.  Converting jCal into iCalendar  . . . . . . . . . . . . .  19
     5.3.  Examples  . . . . . . . . . . . . . . . . . . . . . . . .  19
   6.  Security Considerations . . . . . . . . . . . . . . . . . . .  20
   7.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  21
     7.1.  UNKNOWN iCalendar Value Data Type . . . . . . . . . . . .  22
   8.  Acknowledgments . . . . . . . . . . . . . . . . . . . . . . .  23
   9.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  23
     9.1.  Normative References  . . . . . . . . . . . . . . . . . .  23
     9.2.  Informative References  . . . . . . . . . . . . . . . . .  24
        
   Appendix A.  ABNF Schema  . . . . . . . . . . . . . . . . . . . .  25
   Appendix B.  Examples . . . . . . . . . . . . . . . . . . . . . .  27
     B.1.  Example 1 . . . . . . . . . . . . . . . . . . . . . . . .  27
       B.1.1.  iCalendar Data  . . . . . . . . . . . . . . . . . . .  27
       B.1.2.  jCal Data . . . . . . . . . . . . . . . . . . . . . .  27
     B.2.  Example 2 . . . . . . . . . . . . . . . . . . . . . . . .  28
       B.2.1.  iCalendar Data  . . . . . . . . . . . . . . . . . . .  28
       B.2.2.  jCal Data . . . . . . . . . . . . . . . . . . . . . .  29
        
1. Introduction
1. はじめに

The iCalendar data format [RFC5545] is a widely deployed interchange format for calendaring and scheduling data. While many applications and services consume and generate calendar data, iCalendar is a specialized format that requires its own parser/generator. In contrast, JSON-based formats as defined in [RFC7159] are the native format for JavaScript widgets and libraries, and it is appropriate to have a standard form of calendar data that is easier to work with than iCalendar.

iCalendarデータ形式[RFC5545]は、データのカレンダとスケジュールのために広く展開されている交換形式です。多くのアプリケーションとサービスはカレンダーデータを消費および生成しますが、iCalendarは独自のパーサー/ジェネレーターを必要とする特殊な形式です。対照的に、[RFC7159]で定義されているJSONベースの形式は、JavaScriptウィジェットおよびライブラリのネイティブ形式であり、iCalendarよりも扱いやすい標準形式のカレンダーデータを使用するのが適切です。

The purpose of this specification is to define "jCal", a JSON format for iCalendar data. jCal is defined as a straightforward mapping into JSON from iCalendar, so that iCalendar data can be converted to JSON, and then back to iCalendar, without losing any semantic meaning in the data. Anyone creating jCal calendar data according to this specification will know that their data can be converted to a valid iCalendar representation as well.

この仕様の目的は、iCalendarデータのJSON形式である「jCal」を定義することです。 jCalは、iCalendarからJSONへの簡単なマッピングとして定義されているため、データのセマンティックな意味を失うことなく、iCalendarデータをJSONに変換してからiCalendarに戻すことができます。この仕様に従ってjCalカレンダーデータを作成する人なら誰でも、そのデータを有効なiCalendar表現に変換できることも知っています。

The key design considerations are essentially the same as those for [RFC6321], that is:

主要な設計上の考慮事項は、基本的に[RFC6321]のものと同じです。

Round-tripping (converting an iCalendar instance to jCal and back) will give the same semantic result as the starting point. For example, all components, properties, and property parameters are guaranteed to be preserved.

ラウンドトリップ(iCalendarインスタンスをjCalに変換して戻す)では、開始点と同じセマンティックな結果が得られます。たとえば、すべてのコンポーネント、プロパティ、プロパティパラメータは保持されることが保証されています。

Ordering of elements and case of property and parameter names will not necessarily be preserved.

要素の順序、プロパティとパラメータ名の大文字と小文字の区別は必ずしも保持されません。

The iCalendar data semantics are to be preserved, allowing a simple consumer to easily browse the data in jCal. A full understanding of iCalendar is still required in order to modify and/or fully comprehend the calendar data.

iCalendarのデータセマンティクスは保持されるため、単純なコンシューマーがjCalでデータを簡単に参照できます。カレンダーデータを変更または完全に理解するには、iCalendarを完全に理解する必要があります。

Extensions to the underlying iCalendar specification must not lead to requiring an update to jCal.

基礎となるiCalendar仕様の拡張により、jCalの更新が必要になることはありません。

2. Conventions Used in This Document
2. このドキュメントで使用される規則

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119]. The underlying format used for jCal is JSON. Consequently, the terms "object" and "array" as well as the four primitive types (strings, numbers, booleans, and null) are to be interpreted as described in Section 1 of [RFC7159].

このドキュメントのキーワード「MUST」、「MUST NOT」、「REQUIRED」、「SHALL」、「SHALL NOT」、「SHOULD」、「SHOULD NOT」、「RECOMMENDED」、「MAY」、および「OPTIONAL」は、 [RFC2119]で説明されているように解釈されます。 jCalに使用される基本的な形式はJSONです。したがって、「オブジェクト」と「配列」、および4つのプリミティブ型(文字列、数値、ブール値、およびnull)は、[RFC7159]のセクション1で説明されているように解釈されます。

Some examples in this document contain "partial" JSON documents used for illustrative purposes. In these examples, three periods "..." are used to indicate a portion of the document that has been removed for compactness.

このドキュメントのいくつかの例には、例示の目的で使用される「部分的な」JSONドキュメントが含まれています。これらの例では、コンパクトにするために削除されたドキュメントの一部を示すために、3つのピリオド「...」が使用されています。

3. Converting from iCalendar to jCal
3. iCalendarからkCalへの変換

This section describes how iCalendar data is converted to jCal using a simple mapping between the iCalendar data model and JSON elements. Aside from the formal description in this section, an informative ABNF is specified in Appendix A.

このセクションでは、iCalendarデータモデルとJSON要素の間の簡単なマッピングを使用して、iCalendarデータをjCalに変換する方法について説明します。このセクションの正式な説明の他に、有益なABNFが付録Aに指定されています。

In [RFC5545], an iCalendar object comprises a set of "components", "properties", "parameters", and "values". The top level of iCalendar data typically contains a stream of iCalendar objects, each of which can be considered a "component". A "component" can contain other "components" or "properties". A "property" has a "value" and a set of zero or more "parameters". Each of these entities have a representation in jCal, defined in the following sections. The representation of an iCalendar object in JSON will be named "jCal object" throughout this document.

[RFC5545]では、iCalendarオブジェクトは、「コンポーネント」、「プロパティ」、「パラメータ」、および「値」のセットで構成されています。 iCalendarデータの最上位には通常、iCalendarオブジェクトのストリームが含まれており、それぞれが「コンポーネント」と見なされます。 「コンポーネント」には、他の「コンポーネント」または「プロパティ」を含めることができます。 「プロパティ」には「値」とゼロ個以上の「パラメータ」のセットがあります。これらの各エンティティには、次のセクションで定義されるjCalでの表現があります。 JSONでのiCalendarオブジェクトの表現は、このドキュメント全体で「jCalオブジェクト」と呼ばれます。

3.1. Pre-processing
3.1. 前処理

iCalendar uses a line-folding mechanism to limit lines of data to a maximum line length (typically 75 octets) to ensure the maximum likelihood of preserving data integrity as it is transported via various means (e.g., email) -- see Section 3.1 of [RFC5545].

iCalendarは、行折りたたみメカニズムを使用してデータの行を最大行長(通常は75オクテット)に制限し、さまざまな手段(電子メールなど)で転送されるときにデータの整合性を維持する可能性を最大にします-[のセクション3.1を参照してくださいRFC5545]。

iCalendar data uses an "escape" character sequence for text values and property parameter values. See Sections 3.1 and 3.3 of [RFC5545] as well as [RFC6868].

iCalendarデータは、テキスト値とプロパティパラメータ値に「エスケープ」文字シーケンスを使用します。 [RFC5545]のセクション3.1と3.3、および[RFC6868]を参照してください。

There is a subtle difference in the number representations between JSON and iCalendar. While in iCalendar, a number may have leading zeros, as well as a leading plus sign; this is not the case in JSON. Numbers should be represented in whatever way needed for the underlying format.

JSONとiCalendarの数値表現には微妙な違いがあります。 iCalendarの場合、数値には先行ゼロと先行プラス記号が含まれる場合があります。これはJSONには当てはまりません。数値は、基になる形式に必要な方法で表す必要があります。

When converting from iCalendar to jCal: First, iCalendar lines MUST be unfolded. Afterwards, any iCalendar escaping MUST be unescaped. Finally, JSON escaping, as described in Section 7 of [RFC7159], MUST be applied. The reverse order applies when converting from jCal to iCalendar, which is further described in Section 4.

iCalendarからjCalに変換する場合:最初に、iCalendarの線を展開する必要があります。その後、エスケープするiCalendarはエスケープ解除する必要があります。最後に、[RFC7159]のセクション7で説明されているように、JSONエスケープを適用する必要があります。セクション4で詳しく説明するjCalからiCalendarへの変換時には、逆の順序が適用されます。

iCalendar uses a base64 encoding for binary data. However, it does not restrict the encoding from being applied to non-binary value types. So, the following rules are applied when processing a property with the "ENCODING" property parameter set to "BASE64":

iCalendarは、バイナリデータにbase64エンコーディングを使用します。ただし、エンコーディングが非バイナリ値タイプに適用されることを制限しません。したがって、「ENCODING」プロパティパラメータを「BASE64」に設定してプロパティを処理する場合、次のルールが適用されます。

o If the property value type is "BINARY", the base64 encoding MUST be preserved.

o プロパティ値のタイプが「BINARY」の場合、base64エンコーディングを保持する必要があります。

o If the value type is not "BINARY", the "ENCODING" property parameter MUST be removed, and the value MUST be base64 decoded.

o 値のタイプが「BINARY」ではない場合、「ENCODING」プロパティパラメータを削除する必要があり、値はbase64でデコードする必要があります。

When base64 encoding is used, it MUST conform to Section 4 of [RFC4648], which is the base64 method used in [RFC5545].

base64エンコードを使用する場合は、[RFC5545]で使用されるbase64メソッドである[RFC4648]のセクション4に準拠する必要があります。

One key difference in the formatting of values used in iCalendar and jCal is that in jCal, the specification uses date/time values aligned with the extended format of [ISO.8601.2004], which is more commonly used in Internet applications that make use of the JSON format. The sections of this document describing the various date and time formats contain more information on the use of the complete representation, reduced accuracy, or truncated representation.

iCalendarとjCalで使用される値のフォーマットの主な違いの1つは、jCalでは、仕様が[ISO.8601.2004]の拡張フォーマットに合わせて日付/時刻値を使用することです。これは、インターネットアプリケーションでより一般的に使用されます。 JSON形式。さまざまな日付と時刻の形式を説明するこのドキュメントのセクションには、完全な表現、精度の低下、または切り捨てられた表現の使用に関する詳細情報が含まれています。

3.2. iCalendar Stream and Objects (RFC 5545, Section 3.4)
3.2. iCalendarストリームとオブジェクト(RFC 5545、セクション3.4)

At the top level of the iCalendar object model is an "iCalendar stream". This stream encompasses multiple "iCalendar objects". As the typical use case is transporting a single iCalendar object, there is no defined equivalent to an "iCalendar stream" in jCal. To transport multiple jCal objects in a stream, a simple JSON array can be used.

iCalendarオブジェクトモデルの最上位は「iCalendarストリーム」です。このストリームには、複数の「iCalendarオブジェクト」が含まれます。典型的なユースケースは単一のiCalendarオブジェクトの転送であるため、jCalには「iCalendarストリーム」に相当するものは定義されていません。ストリームで複数のjCalオブジェクトを転送するには、単純なJSON配列を使用できます。

Example:

例:

   ["vcalendar",
     [ /* Add jCal properties in place of this comment */ ],
     [ /* Add jCal components in place of this comment */ ]
   ]
        
3.3. Components (RFC 5545, Section 3.6)
3.3. コンポーネント(RFC 5545、セクション3.6)

Each iCalendar component, delimited by "BEGIN" and "END", will be converted to a fixed-length array with three fields that have a specific structure:

「BEGIN」と「END」で区切られた各iCalendarコンポーネントは、特定の構造を持つ3つのフィールドを持つ固定長配列に変換されます。

1. A string with the name of the iCalendar component, but in lowercase.

1. iCalendarコンポーネントの名前を含む、小文字の文字列。

2. An array of jCal properties as described in Section 3.4.

2. セクション3.4で説明されているjCalプロパティの配列。

3. An array of jCal components, representing the sub-components of the component in question.

3. 問題のコンポーネントのサブコンポーネントを表すjCalコンポーネントの配列。

This mapping applies to the top level iCalendar objects, as well as individual sub-components in the same way. The iCalendar to jCal component mapping is valid for both current iCalendar components and any new iCalendar components added in the future. Conversion is to be done in the same way.

このマッピングは、トップレベルのiCalendarオブジェクトだけでなく、個々のサブコンポーネントにも同様に適用されます。 iCalendarからjCalコンポーネントへのマッピングは、現在のiCalendarコンポーネントと将来追加される新しいiCalendarコンポーネントの両方に有効です。変換は同じ方法で行われます。

While the grouping of properties and sub-components does not retain the original order specified in the iCalendar data, the semantics of a component are preserved.

プロパティとサブコンポーネントのグループ化は、iCalendarデータで指定された元の順序を保持しませんが、コンポーネントのセマンティクスは保持されます。

Example:

例:

   ["vevent",
     [ /* Add jCal properties in place of this comment */ ],
     [ /* Add jCal components in place of this comment */ ]
   ]
        
3.4. Properties (RFC 5545, Sections 3.7 and 3.8)
3.4. プロパティ(RFC 5545、セクション3.7および3.8)

iCalendar properties, whether they apply to the "VCALENDAR" object or to a component, are handled in a consistent way in the jCal format.

「VCALENDAR」オブジェクトまたはコンポーネントに適用されるかどうかにかかわらず、iCalendarプロパティは、jCal形式で一貫した方法で処理されます。

In jCal, each individual iCalendar property MUST be represented by an array with three fixed elements, followed by one or more additional elements, depending on if the property is a multi-valued property as described in Section 3.1.2 of [RFC5545].

jCalでは、個々のiCalendarプロパティは、[RFC5545]のセクション3.1.2で説明されているように、プロパティが複数値プロパティであるかどうかに応じて、3つの固定要素と1つ以上の追加要素が続く配列で表す必要があります。

The array consists of the following fixed elements:

配列は、次の固定要素で構成されています。

1. The name of the property, as a lowercase string. The iCalendar format specifies that property names are case insensitive and recommends that they be rendered in uppercase. In jCal, they MUST be in lowercase.

1. 小文字の文字列としてのプロパティの名前。 iCalendar形式では、プロパティ名は大文字と小文字を区別しないことを指定し、大文字で表示することをお勧めします。 jCalでは、小文字でなければなりません。

2. An object containing the parameters as described in Section 3.5. If the property has no parameters, an empty object is used to represent that.

2. セクション3.5で説明されているパラメータを含むオブジェクト。プロパティにパラメーターがない場合は、空のオブジェクトを使用してそれを表します。

3. The type identifier string of the value, in lowercase. Due to special casing of certain properties as described in Section 3.4.1, it is important that parsers check both the type identifier and the value data type and do not rely on assumptions based on the property name.

3. 値のタイプIDストリング(小文字)。セクション3.4.1で説明されているように、特定のプロパティの特別な大文字小文字変換のため、パーサーはタイプ識別子と値のデータタイプの両方をチェックし、プロパティ名に基づく仮定に依存しないことが重要です。

The remaining elements of the array are used for one or more values of the property. For single-valued properties, the array has exactly four elements; for multi-valued properties, as described in Section 3.1.2 of [RFC5545], each value is another element, and there can be any number of additional elements.

配列の残りの要素は、プロパティの1つ以上の値に使用されます。単一値プロパティの場合、配列には4つの要素があります。 [RFC5545]のセクション3.1.2で説明されているように、複数の値を持つプロパティの場合、各値は別の要素であり、追加の要素がいくつあってもかまいません。

In the following example, the "categories" property is multi-valued and has two values, while the summary property is single-valued:

次の例では、「categories」プロパティは複数の値を持ち、2つの値を持っていますが、summaryプロパティは単一の値です。

Example:

例:

   ["vevent",
     [
       ["summary", {}, "text", "Meeting with Fred"],
       ["categories", {}, "text", "Meetings", "Work"]
       ...
     ],
     [ /* sub-components */ ]
   ]
        
3.4.1. Special Cases for Properties
3.4.1. プロパティの特別なケース

This section describes some properties that have special handling when converting to jCal.

このセクションでは、jCalに変換するときに特別な処理を行ういくつかのプロパティについて説明します。

3.4.1.1. GEO Property (RFC 5545, Section 3.8.1.6)
3.4.1.1. GEOプロパティ(RFC 5545、セクション3.8.1.6)

In iCalendar, the "GEO" property value is defined as a semicolon-separated list of two "FLOAT" values, the first representing latitude and the second longitude.

iCalendarでは、 "GEO"プロパティ値は、2つの "FLOAT"値のセミコロン区切りのリストとして定義されています。最初の値は緯度と2番目の経度を表します。

In jCal, the value for the "geo" property value is represented as an array of two values. The first value of the property represents the latitude; the second value represents the longitude.

jCalでは、「geo」プロパティ値の値は2つの値の配列として表されます。プロパティの最初の値は緯度を表します。 2番目の値は経度を表します。

When converting from jCal to iCalendar, be careful to use a semicolon as the separator between the two values as required by [RFC5545].

jCalからiCalendarに変換するときは、[RFC5545]で要求されているように、2つの値の間の区切り文字としてセミコロンを使用するように注意してください。

When converting from jCal to iCalendar, the two values MUST be converted using a semicolon as the separator character.

jCalからiCalendarに変換する場合、2つの値はセミコロンを区切り文字として使用して変換する必要があります。

Example

   ["vevent",
     [
       ["geo", {}, "float", [ 37.386013, -122.082932 ] ]
       ...
     ],
     ...
   ]
        
3.4.1.2. REQUEST-STATUS Property (RFC 5545, Section 3.8.8.3)
3.4.1.2. REQUEST-STATUSプロパティ(RFC 5545、セクション3.8.8.3)

In iCalendar, the "REQUEST-STATUS" property value is defined as a semicolon-separated list of two or three "TEXT" values. The first represents a code, the second a description, and the third any additional data.

iCalendarでは、「REQUEST-STATUS」プロパティ値は、2つまたは3つの「TEXT」値のセミコロンで区切られたリストとして定義されます。 1つ目はコード、2つ目は説明、3つ目は追加データを表します。

In jCal, the value for the "request-status" property value is represented as an array with two or three values. The first array element corresponds to the code, the second element corresponds to the description, and the third element corresponds to the additional data. Each value is represented using a string value. If there is no additional data in the iCalendar value, the last element of the array SHOULD NOT be present.

jCalでは、「request-status」プロパティ値の値は、2つまたは3つの値を持つ配列として表されます。最初の配列要素はコードに対応し、2番目の要素は説明に対応し、3番目の要素は追加データに対応します。各値は文字列値を使用して表されます。 iCalendar値に追加のデータがない場合、配列の最後の要素は存在してはなりません(SHOULD NOT)。

When converting from jCal to iCalendar, the two or three values MUST be converted using a semicolon as the separator character.

jCalからiCalendarに変換する場合、2つまたは3つの値は、セミコロンを区切り文字として使用して変換する必要があります。

iCalendar Example:

iCalendarの例:

   BEGIN:VEVENT
   ...
   REQUEST-STATUS:2.0;Success
   REQUEST-STATUS:3.7;Invalid calendar user;ATTENDEE:
    mailto:jsmith@example.com
   ...
   END:VEVENT
        

jCal Example:

jCalの例:

   ["vevent":
     [
       ["request-status", {}, "text", ["2.0", "Success"] ],
       ["request-status", {}, "text",
          [
           "3.7",
           "Invalid calendar user",
           "ATTENDEE:mailto:jsmith@example.org"
          ]
       ],
       ...
     ],
     ...
   ]
        
3.5. Parameters (RFC 5545, Section 3.2)
3.5. パラメータ(RFC 5545、セクション3.2)

Property parameters are represented as a JSON object where each key-value pair represents the iCalendar parameter name and its value. The name of the parameter MUST be in lowercase; the original case of the parameter value MUST be preserved. For example, the "PARTSTAT" property parameter is represented in jCal by the "partstat" key. Any new iCalendar parameters added in the future will be converted in the same way.

プロパティパラメータはJSONオブジェクトとして表され、各キーと値のペアはiCalendarパラメータ名とその値を表します。パラメータの名前は小文字でなければなりません。パラメータ値の元の大文字小文字を維持する必要があります。たとえば、「PARTSTAT」プロパティパラメータは、jCalでは「partstat」キーによって表されます。将来追加される新しいiCalendarパラメータはすべて同じ方法で変換されます。

Example:

例:

   ["vevent":
     [
       ["attendee",
        {
          "partstat": "ACCEPTED",
          "rsvp": "TRUE",
          "role": "REQ-PARTICIPANT"
        },
        "cal-address",
        "mailto:jsmith@example.org"
       ],
       ["summary", {}, "text", "Meeting"],
       ...
     ],
     ...
   ]
        
3.5.1. VALUE Parameter
3.5.1. VALUEパラメータ

iCalendar defines a "VALUE" property parameter (Section 3.2.20 of [RFC5545]). This property parameter MUST NOT be added to the parameters object. Instead, the value type is signaled through the type identifier in the third element of the array describing the property. When converting a property from iCalendar to jCal, the value type is determined as follows:

iCalendarは「VALUE」プロパティパラメータを定義します([RFC5545]のセクション3.2.20)。このプロパティパラメータは、パラメータオブジェクトに追加してはなりません(MUST NOT)。代わりに、値の型は、プロパティを説明する配列の3番目の要素の型識別子を通じて通知されます。プロパティをiCalendarからjCalに変換する場合、値のタイプは次のように決定されます。

1. If the property has a "VALUE" parameter, that parameter's value is used as the value type.

1. プロパティに「VALUE」パラメーターがある場合、そのパラメーターの値が値のタイプとして使用されます。

2. If the property has no "VALUE" parameter but has a default value type, the default value type is used.

2. プロパティに「VALUE」パラメーターがなく、デフォルト値タイプがある場合、デフォルト値タイプが使用されます。

3. If the property has no "VALUE" parameter and has no default value type, "unknown" is used.

3. プロパティに「VALUE」パラメータがなく、デフォルト値タイプがない場合、「不明」が使用されます。

Converting from jCal into iCalendar is done as follows:

jCalからiCalendarへの変換は次のように行われます。

1. If the property's value type is "unknown", no "VALUE" parameter is included.

1. プロパティの値タイプが「不明」の場合、「VALUE」パラメーターは含まれません。

2. If the property's value type is the default type for that property, no "VALUE" parameter is included.

2. プロパティの値タイプがそのプロパティのデフォルトタイプである場合、「VALUE」パラメータは含まれません。

3. Otherwise, a "VALUE" parameter is included, and the value type is used as the parameter value.

3. それ以外の場合は、「VALUE」パラメーターが含まれ、値タイプがパラメーター値として使用されます。

See Section 5 for information on handling unknown value types.

不明な値タイプの処理については、セクション5を参照してください。

3.5.2. Multi-value Parameters
3.5.2. 複数値パラメーター

In [RFC5545], some parameters allow using a COMMA-separated list of values. To ease processing in jCal, the value of such parameters MUST be represented in an array containing the separated values. The array elements MUST be string values. Single-value parameters can be represented using either a single string value or an array with one string element. A jCal parser MUST be able to understand both value data types. Examples of such parameters are the iCalendar "DELEGATED-FROM" and "DELEGATED-TO" parameters; more such parameters may be added in extensions.

[RFC5545]では、一部のパラメーターで、COMMAで区切られた値のリストを使用できます。 jCalでの処理を容易にするために、そのようなパラメーターの値は、分離された値を含む配列で表す必要があります。配列要素は文字列値である必要があります。単一値パラメーターは、単一の文字列値または1つの文字列要素を持つ配列を使用して表すことができます。 jCalパーサーは、両方の値のデータ型を理解できる必要があります。そのようなパラメーターの例は、iCalendarの「DELEGATED-FROM」および「DELEGATED-TO」パラメーターです。このようなパラメータは拡張機能で追加される場合があります。

The iCalendar specification requires encapsulation between DQUOTE characters if a parameter value contains a colon, a semicolon, or a comma. These extra DQUOTE characters do not belong to the actual parameter value, and hence are not included when the parameter is converted to jCal.

iCalendar仕様では、パラメーター値にコロン、セミコロン、またはコンマが含まれている場合、DQUOTE文字間のカプセル化が必要です。これらの追加のDQUOTE文字は実際のパラメーター値に属していないため、パラメーターがjCalに変換されるときに含まれません。

Example 1:

例1:

   ["attendee",
    {
      "delegated-to": ["mailto:jdoe@example.org",
                       "mailto:jqpublic@example.org"]
    },
    "cal-address",
    "mailto:jsmith@example.org"
   ]
        

Example 2:

例2:

   ["attendee",
    {
      "delegated-to": "mailto:jdoe@example.org"
    },
    "cal-address",
    "mailto:jsmith@example.org"
   ]
        
3.6. Values (RFC 5545, Section 3.3)
3.6. 値(RFC 5545、セクション3.3)

The following subsections specify how iCalendar property value data types, which are defined in the subsections of [RFC5545], Section 3.3, are represented in jCal.

次のサブセクションでは、[RFC5545]のサブセクション3.3で定義されているiCalendarプロパティ値のデータ型がjCalでどのように表されるかを指定します。

3.6.1. Binary (RFC 5545, Section 3.3.1)
3.6.1. バイナリ(RFC 5545、セクション3.3.1)

Description: iCalendar "BINARY" property values are represented by a property with the type identifier "binary". The value element is a JSON string, encoded with base64 encoding as specified in Section 4 of [RFC4648].

説明:iCalendar "BINARY"プロパティ値は、タイプ識別子が "binary"のプロパティによって表されます。 value要素はJSON文字列であり、[RFC4648]のセクション4で指定されているbase64エンコーディングでエンコードされています。

Example:

例:

["attach", {}, "binary", "SGVsbG8gV29ybGQh"]

["アタッチ"、{}、 "バイナリ"、 "SGVsbG8gV29ybGQh"]

3.6.2. Boolean (RFC 5545, Section 3.3.2)
3.6.2. ブール(RFC 5545、セクション3.3.2)

Description: iCalendar "BOOLEAN" property values are represented by a property with the type identifier "boolean". The value is a JSON boolean value.

説明:iCalendar "BOOLEAN"プロパティ値は、タイプ識別子が "boolean"のプロパティで表されます。値はJSONブール値です。

Example:

例:

["x-non-smoking", {}, "boolean", true]

["x-non-smoking"、{}、 "boolean"、true]

3.6.3. Calendar User Address (RFC 5545, Section 3.3.3)
3.6.3. カレンダーのユーザーアドレス(RFC 5545、セクション3.3.3)

Description: iCalendar "CAL-ADDRESS" property values are represented by a property with the type identifier "cal-address". The value is a JSON string with the URI as described in [RFC3986].

説明:iCalendar "CAL-ADDRESS"プロパティ値は、タイプ識別子が "cal-address"のプロパティで表されます。 [RFC3986]で説明されているように、値はURIを含むJSON文字列です。

Example:

例:

   ["attendee", {}, "cal-address", "mailto:kewisch@example.com"]
        
3.6.4. Date (RFC 5545, Section 3.3.4)
3.6.4. 日付(RFC 5545、セクション3.3.4)

Description: iCalendar "DATE" property values are represented by a property with the type identifier "date". The value elements are JSON strings with the same date value specified by [RFC5545], but represented using the extended format of the complete representation specified in [ISO.8601.2004], Section 4.1.2.2. Other variations, for example, representation with reduced accuracy, MUST NOT be used.

説明:iCalendar "DATE"プロパティ値は、タイプ識別子が "date"のプロパティで表されます。値要素は、[RFC5545]で指定された同じ日付値を持つJSON文字列ですが、[ISO.8601.2004]、セクション4.1.2.2で指定された完全な表現の拡張形式を使用して表されます。他のバリエーション、たとえば精度が低下した表現は使用してはなりません(MUST NOT)。

ABNF Schema:

ABNFスケジュール:

; year, month, and day rules are ; defined in [ISO.8601.2004], Section 2.2. date = year "-" month "-" day ;YYYY-MM-DD Example:

;年、月、日のルールは; [ISO.8601.2004]、セクション2.2で定義されています。日付=年 "-"月 "-"日; YYYY-MM-DD例:

["dtstart", {}, "date", "2011-05-17"]

["dtstart"、{}、 "日付"、 "2011-05-17"]

3.6.5. Date-Time (RFC 5545, Section 3.3.5)
3.6.5. 日時(RFC 5545、セクション3.3.5)

Description: iCalendar "DATE-TIME" property values are represented by a property with the type identifier "date-time". The value elements are JSON strings with the same date value specified by [RFC5545], but represented using the extended format of the complete representation specified in [ISO.8601.2004], Section 4.3.2. Other variations, for example, representation with reduced accuracy, MUST NOT be used. The same restrictions apply with respect to leap seconds and time zone offsets as specified in [RFC5545], Section 3.3.5.

説明:iCalendar "DATE-TIME"プロパティ値は、タイプ識別子が "date-time"のプロパティで表されます。値要素は、[RFC5545]で指定された同じ日付値を持つJSON文字列ですが、[ISO.8601.2004]、セクション4.3.2で指定された完全な表現の拡張形式を使用して表されます。他のバリエーション、たとえば精度が低下した表現は使用してはなりません(MUST NOT)。 [RFC5545]のセクション3.3.5で指定されているうるう秒とタイムゾーンのオフセットに関しても同じ制限が適用されます。

ABNF Schema:

ABNFスケジュール:

   ; year, month, day, hour, minute, and second rules are
   ; defined in [ISO.8601.2004], Section 2.2.
   ; The zone identifier is described in [ISO.8601.2004], Section 4.3.2.
   date-complete = year "-" month "-" day ;YYYY-MM-DD
   time-complete =  hour ":" minute ":" second [zone] ; HH:MM:SS
   datetime = date-complete "T" time-complete
        

Examples:

例:

   ["dtstart", {}, "date-time", "2012-10-17T12:00:00"],
   ["dtstamp", {}, "date-time", "2012-10-17T12:00:00Z"],
   ["dtend",
    { "tzid": "Europe/Berlin" },
    "date-time",
    "2011-10-17T13:00:00"
   ]
        
3.6.6. Duration (RFC 5545, Section 3.3.6)
3.6.6. 期間(RFC 5545、セクション3.3.6)

Description: iCalendar "DURATION" property values are represented by a property with the type identifier "duration". The value elements are JSON strings with the same duration value specified by [RFC5545].

説明:iCalendar "DURATION"プロパティ値は、タイプ識別子が "duration"のプロパティで表されます。値要素は、[RFC5545]で指定された同じ期間値を持つJSON文字列です。

Example:

例:

["duration", {}, "duration", "P1D"]

["期間"、{}、 "期間"、 "P1D"]

3.6.7. Float (RFC 5545, Section 3.3.7)
3.6.7. フロート(RFC 5545、セクション3.3.7)

Description: iCalendar "FLOAT" property values are represented by a property with the type identifier "float". The value elements are JSON primitive number values.

説明:iCalendar "FLOAT"プロパティ値は、タイプ識別子が "float"のプロパティで表されます。 value要素はJSONプリミティブ番号値です。

Example:

例:

["x-grade", {}, "float", 1.3]

["x-grade"、{}、 "float"、1.3]

3.6.8. Integer (RFC 5545, Section 3.3.8)
3.6.8. 整数(RFC 5545、セクション3.3.8)

Description: vCard "INTEGER" property values are represented by a property with the type identifier "integer". The value elements are JSON primitive number values that MUST resolve to an integer value in the range specified in [RFC5545], Section 3.3.8. Thus, a fractional and/or exponential part are only allowed under limited circumstances.

説明:vCard "INTEGER"プロパティ値は、タイプ識別子が "integer"のプロパティで表されます。値の要素は、[RFC5545]のセクション3.3.8で指定された範囲の整数値に解決する必要があるJSONプリミティブな数値です。したがって、小数部および/または指数部は、限られた状況でのみ許可されます。

Examples:

例:

["percent-complete", {}, "integer", 42]

["パーセント完了"、{}、 "整数"、42]

3.6.9. Period of Time (RFC 5545, Section 3.3.9)
3.6.9. 期間(RFC 5545、セクション3.3.9)

Description: iCalendar "PERIOD" property values are represented by a jCal property with the type identifier "period". The value element is an array of JSON strings, with the first element representing the start of the period and the second element representing the end of the period. As in [RFC5545], the start of the period is always formatted as a date-time value, and the end of the period MUST be either a date-time or duration value. Any date, date-time, or duration values contained in the period value MUST be formatted in accordance to the rules for date, date-time, or duration values specified in this document.

説明:iCalendar "PERIOD"プロパティ値は、タイプ識別子が "period"のjCalプロパティで表されます。 value要素はJSON文字列の配列で、最初の要素は期間の始まりを表し、2番目の要素は期間の終わりを表します。 [RFC5545]のように、期間の開始は常に日時値としてフォーマットされ、期間の終了は日時または期間値のいずれかである必要があります。期間値に含まれる日付、日時、または期間の値は、このドキュメントで指定されている日付、日時、または期間の値の規則に従ってフォーマットする必要があります。

Example:

例:

   ["freebusy",
    { "fbtype": "FREE" },
    "period",
    ["1997-03-08T16:00:00Z", "P1D"]
   ]
        
3.6.10. Recurrence Rule (RFC 5545, Section 3.3.10)
3.6.10. 繰り返しルール(RFC 5545、セクション3.3.10)

Description: iCalendar "RECUR" property values are represented by a property with the type identifier "recur". The value elements are objects describing the structured data as specified by [RFC5545]. Each rule part is described by the combination of key and value. The key specifies the name of the rule part and MUST be converted to lowercase. The value of the rule part MUST be mapped by the following rules:

説明:iCalendar "RECUR"プロパティ値は、タイプ識別子が "recur"のプロパティによって表されます。 value要素は、[RFC5545]で指定されている構造化データを記述するオブジェクトです。各ルール部分は、キーと値の組み合わせによって記述されます。キーはルール部分の名前を指定し、小文字に変換する必要があります。ルール部分の値は、次のルールによってマップされる必要があります:

* The value of the "freq" and "wkst" rule parts MUST be a string as specified in [RFC5545], with case preserved.

* "freq"と "wkst"のルール部分の値は、[RFC5545]で指定されている文字列でなければならず、大文字と小文字は区別されます。

* The value of the "until" rule part MUST be a date or date-time value formatted in accordance to the rules for date or date-time specified in this document.

* 「まで」のルール部分の値は、このドキュメントで指定されている日付または日時のルールに従ってフォーマットされた日付または日時の値である必要があります。

* The "count" and "interval" rule parts MUST be specified as a single JSON number value.

* 「カウント」および「間隔」ルール部分は、単一のJSON数値として指定する必要があります。

* The following rule parts can have one or more numeric values: "bysecond", "byminute", "byhour", "bymonthday", "byyearday", "byweekno", "bymonth", and "bysetpos". If a rule part contains multiple values, an array of numbers MUST be used for that rule part. Single-valued rule parts can be represented by either using a single number value, omitting the array completely, or using an array with one number element. A jCal parser MUST be able to understand both data types.

* 次のルール部分には、1つ以上の数値を含めることができます:「bysecond」、「byminute」、「byhour」、「bymonthday」、「byyearday」、「byweekno」、「bymonth」、および「bysetpos」。ルールパーツに複数の値が含まれている場合、そのルールパーツには数値の配列を使用する必要があります。単一値のルールパーツは、単一の数値を使用するか、配列を完全に省略するか、1つの数値要素を持つ配列を使用して表すことができます。 jCalパーサーは、両方のデータ型を理解できる必要があります。

* Similarly, the "byday" rule part can have one or more string values. If it contains multiple values, an array of strings MUST be used. As before, a single-valued rule part can be represented using either a single string value or an array with one string element, both of which a jCal parser MUST be able to understand.

* 同様に、「byday」ルール部分には、1つ以上の文字列値を含めることができます。複数の値が含まれている場合は、文字列の配列を使用する必要があります。以前と同様に、単一値のルール部分は、単一の文字列値または1つの文字列要素を持つ配列のいずれかを使用して表すことができ、どちらもjCalパーサーが理解できなければなりません(MUST)。

Example 1:

例1:

   ["rrule",
    {},
    "recur",
    {
      "freq": "YEARLY",
      "count": 5,
      "byday": [ "-1SU", "2MO" ],
      "bymonth": 10
    }
   ]
   Example 2:
        
   ["rrule",
    {},
    "recur",
    {
      "freq": "MONTHLY",
      "interval": 2,
      "bymonthday": [ 1, 15, -1 ],
      "until": "2013-10-01"
    }
   ]
        
3.6.11. Text (RFC 5545, Section 3.3.11)
3.6.11. テキスト(RFC 5545、セクション3.3.11)

Description: iCalendar "TEXT" property values are represented by a property with the type identifier "text". The value elements are JSON strings.

説明:iCalendar "TEXT"プロパティの値は、タイプ識別子が "text"のプロパティで表されます。 value要素はJSON文字列です。

Example:

例:

["comment", {}, "text", "hello, world"]

["コメント"、{}、 "テキスト"、 "こんにちは、世界"]

3.6.12. Time (RFC 5545, Section 3.3.12)
3.6.12. 時間(RFC 5545、セクション3.3.12)

Description: iCalendar "TIME" property values are represented by a property with the type identifier "time". The value elements are JSON strings with the same time value specified by [RFC5545], but represented using the extended format of the complete representation specified in [ISO.8601.2004], Section 4.2.2.2. Other variations, for example, representation with reduced accuracy, MUST NOT be used. The same restrictions apply with respect to leap seconds, time fractions, and time zone offsets as specified in [RFC5545], Section 3.3.12.

説明:iCalendar "TIME"プロパティ値は、タイプ識別子が "time"のプロパティによって表されます。値要素は、[RFC5545]で指定された同じ時刻値を持つJSON文字列ですが、[ISO.8601.2004]、セクション4.2.2.2で指定された完全な表現の拡張形式を使用して表されます。他のバリエーション、たとえば精度が低下した表現は使用してはなりません(MUST NOT)。 [RFC5545]のセクション3.3.12で指定されているように、うるう秒、時間の割合、タイムゾーンのオフセットに関しても同じ制限が適用されます。

ABNF Schema:

ABNFスケジュール:

   ; hour, minute, and second rules are
   ; defined in [ISO.8601.2004], Section 2.2.
   ; The zone identifier is described in [ISO.8601.2004], Section 4.3.2.
   time-complete =  hour ":" minute ":" second [zone] ; HH:MM:SS
        

Example:

例:

   ["x-time-local", {}, "time", "12:30:00"],
   ["x-time-utc", {}, "time", "12:30:00Z"],
   ["x-time-offset", { "tzid": "Europe/Berlin" }, "time", "12:30:00"]
        
3.6.13. URI (RFC 5545, Section 3.3.13)
3.6.13. うり (RFC 5545、 せcちおん 3。3。13)

Description: iCalendar "URI" property values are represented by a property with the type identifier "uri". The value elements are JSON strings representing the URI.

説明:iCalendar "URI"プロパティの値は、タイプ識別子が "uri"のプロパティで表されます。 value要素は、URIを表すJSON文字列です。

Example:

例:

   ["tzurl", {}, "uri", "http://example.org/tz/Europe-Berlin.ics"]
        
3.6.14. UTC Offset (RFC 5545, Section 3.3.14)
3.6.14. UTCオフセット(RFC 5545、セクション3.3.14)

Description: iCalendar "UTC-OFFSET" property values are represented by a property with the type identifier "utc-offset". The value elements are JSON strings with the same UTC offset value specified by [RFC5545], with the exception that the hour and minute components are separated by a ":" character, for consistency with the [ISO.8601.2004] time zone offset, extended format.

説明:iCalendar "UTC-OFFSET"プロパティ値は、タイプ識別子が "utc-offset"のプロパティで表されます。値要素は、[RFC5545]で指定された同じUTCオフセット値を持つJSON文字列ですが、[ISO.8601.2004]タイムゾーンオフセットとの整合性を保つために、時間と分のコンポーネントは「:」文字で区切られています。フォーマット。

Example:

例:

   ["tzoffsetfrom", {}, "utc-offset", "-05:00"],
   ["tzoffsetto", {}, "utc-offset", "+12:45"]
        
3.7. Extensions
3.7. 拡張

iCalendar extension properties and property parameters (those with an "X-" prefix in their name) are handled in the same way as other properties and property parameters: the property is represented by an array, and the property parameter is represented by an object. The property or parameter name uses the same name as for the iCalendar extension, but in lowercase. For example, the "X-FOO" property in iCalendar turns into the "x-foo" jCal property. See Section 5 for how to deal with default values for unrecognized extension properties or property parameters.

iCalendar拡張プロパティとプロパティパラメータ(名前に "X-"プレフィックスが付いているもの)は、他のプロパティとプロパティパラメータと同じように処理されます。プロパティは配列で表され、プロパティパラメータはオブジェクトで表されます。プロパティまたはパラメーターの名前には、iCalendar拡張機能と同じ名前が使用されますが、小文字です。たとえば、iCalendarの「X-FOO」プロパティは「x-foo」jCalプロパティになります。認識されない拡張プロパティまたはプロパティパラメータのデフォルト値を処理する方法については、セクション5を参照してください。

4. Converting from jCal into iCalendar
4. jCalからiCalendarへの変換

Converting jCal to iCalendar reverses the process described in Section 3. This section describes a few additional requirements for conversion.

jCalをiCalendarに変換すると、セクション3で説明したプロセスが逆になります。このセクションでは、変換に関するいくつかの追加要件について説明します。

When converting component, property, and property parameter names, the names SHOULD be converted to uppercase. Although iCalendar names are case insensitive, common practice is to keep them all uppercase following the actual definitions in [RFC5545].

コンポーネント、プロパティ、プロパティパラメータの名前を変換するときは、名前を大文字に変換する必要があります(SHOULD)。 iCalendarの名前は大文字と小文字を区別しませんが、一般的な慣行は、[RFC5545]の実際の定義に従って、すべて大文字にしておくことです。

During conversion, JSON escaping MUST be unescaped. Afterwards, iCalendar escaping, as defined by [RFC5545] and [RFC6868], MUST be applied. Finally, long lines SHOULD be folded as described in [RFC5545], Section 3.1.

変換中、JSONエスケープはエスケープ解除する必要があります。その後、[RFC5545]および[RFC6868]で定義されているiCalendarエスケープを適用する必要があります。最後に、[RFC5545]のセクション3.1で説明されているように、長い行は折りたたむ必要があります。

Non-binary value types MUST NOT be base64 encoded.

非バイナリ値タイプは、base64でエンコードしてはいけません(MUST NOT)。

When converting to iCalendar, the VALUE parameter MUST be added to properties whose default value type is unknown, but do not have a jCal type identifier "unknown". The VALUE parameter MAY be omitted for properties using the default value type. The VALUE parameter MUST be omitted for properties that have the jCal type identifier "unknown".

iCalendarに変換するとき、VALUEパラメータは、デフォルト値のタイプが不明であるが、jCalタイプ識別子「不明」を持たないプロパティに追加する必要があります。デフォルト値タイプを使用するプロパティの場合、VALUEパラメータは省略できます。 jCalタイプ識別子が「不明」であるプロパティの場合、VALUEパラメータは省略しなければなりません。

5. Handling Unrecognized Properties or Parameters
5. 認識されないプロパティまたはパラメーターの処理

In iCalendar, properties can have one or more value types as specified by their definition, with one of those values being defined as the default. When a property uses its default value type, the "VALUE" property parameter does not need to be specified on the property. For example, the default value type for "DTSTART" is "DATE-TIME", so "VALUE=DATE-TIME" need not be set as a property parameter. However, "DTSTART" also allows a "DATE" value to be specified, and if that is used, "VALUE=DATE" has to be set as a property parameter.

iCalendarでは、プロパティは、その定義で指定された1つ以上の値タイプを持つことができ、それらの値の1つがデフォルトとして定義されています。プロパティがデフォルト値タイプを使用する場合、「VALUE」プロパティパラメータをプロパティで指定する必要はありません。たとえば、「DTSTART」のデフォルト値タイプは「DATE-TIME」であるため、「VALUE = DATE-TIME」をプロパティパラメータとして設定する必要はありません。ただし、「DTSTART」では「DATE」値を指定することもできます。これを使用する場合は、「VALUE = DATE」をプロパティパラメータとして設定する必要があります。

When new properties are defined or "X-" properties used, an iCalendar to jCal converter might not recognize them, and not know what the appropriate default value types are, yet they need to be able to preserve the values. A similar issue arises for unrecognized property parameters.

新しいプロパティが定義されるか、「X-」プロパティが使用されると、iCalendarからjCalへのコンバーターはそれらを認識せず、適切なデフォルト値のタイプが何であるかわからない場合がありますが、値を保持できる必要があります。認識されないプロパティパラメータでも同様の問題が発生します。

In jCal, a new "unknown" property value type is introduced. Its purpose is to allow preserving unknown property values when round-tripping between jCal and iCalendar. To avoid collisions, this specification reserves the UNKNOWN property value type in iCalendar. It MUST NOT be used in any iCalendar as specified by [RFC5545], nor any extensions to it. Thus, the type is registered to the iCalendar Value Data Types registry in Section 7.1.

jCalでは、新しい「不明な」プロパティ値タイプが導入されています。その目的は、jCalとiCalendarの間を往復するときに未知のプロパティ値を保持できるようにすることです。衝突を避けるために、この仕様ではiCalendarのUNKNOWNプロパティ値タイプを予約しています。 [RFC5545]で指定されているiCalendarや、その拡張機能では使用しないでください。したがって、タイプはセクション7.1のiCalendar値データタイプレジストリに登録されます。

5.1. Converting iCalendar into jCal
5.1. iCalendarをjCalに変換する

Any property that does not include a "VALUE" property parameter and whose default value type is not known, MUST be converted to a primitive JSON string. The content of that string is the unprocessed value text. Also, value type MUST be set to "unknown".

「VALUE」プロパティパラメータを含まず、デフォルト値のタイプが不明なプロパティは、プリミティブJSON文字列に変換する必要があります。その文字列の内容は、未処理の値のテキストです。また、値タイプは「不明」に設定する必要があります。

To correctly implement this format, it is critical that the type "unknown" be used if the default type is not known. If this requirement is ignored and, for example, "text" is used, additional escaping may occur, which breaks round-tripping values.

この形式を正しく実装するには、デフォルトのタイプが不明な場合にタイプ「不明」を使用することが重要です。この要件を無視して、たとえば「テキスト」を使用すると、追加のエスケープが発生し、ラウンドトリップ値が壊れる可能性があります。

Any unrecognized property parameter MUST be converted to a string value, with its content set to the property parameter value text, and treated as if it were a "TEXT" value.

認識されないプロパティパラメータは、その内容をプロパティパラメータ値のテキストに設定して文字列値に変換し、「TEXT」値であるかのように処理する必要があります。

5.2. Converting jCal into iCalendar
5.2. jCalをiCalendarに変換する

In jCal, the value type is always explicitly specified. It is converted to iCalendar using the iCalendar VALUE parameter, except in the following two cases:

jCalでは、値のタイプは常に明示的に指定されます。次の2つの場合を除いて、iCalendar VALUEパラメータを使用してiCalendarに変換されます。

o If the value type specified in jCal matches the default value type in iCalendar, the VALUE parameter MAY be omitted.

o jCalで指定された値タイプがiCalendarのデフォルト値タイプと一致する場合、VALUEパラメータは省略される場合があります。

o If the value type specified in jCal is set to "unknown", the VALUE parameter MUST NOT be specified. The value MUST be taken over in iCalendar without processing.

o jCalで指定された値タイプが「不明」に設定されている場合、VALUEパラメータを指定してはなりません(MUST NOT)。値は処理せずにiCalendarで引き継ぐ必要があります。

5.3. Examples
5.3. 例

The following is an example of an unrecognized iCalendar property (that uses a "DATE-TIME" value as its default), and the equivalent jCal representation of that property.

以下は、認識されないiCalendarプロパティ(デフォルトとして「DATE-TIME」値を使用する)の例と、そのプロパティの同等のjCal表現です。

iCalendar:

iCalendar:

X-COMPLAINT-DEADLINE:20110512T120000Z

X-COMPLAINT-DEADLINE:20110512T120000Z

jCal:

jCal:

["x-complaint-deadline", {}, "unknown", "20110512T120000Z"]

["x-complaint-deadline"、{}、 "unknown"、 "20110512T120000Z"]

The following is an example of how to cope with jCal data where the parser was unable to identify the type. Note how the "unknown" value type is not added to the iCalendar data and escaping, aside from standard JSON string escaping, is not processed.

以下は、パーサーがタイプを識別できなかったjCalデータに対処する方法の例です。 「不明な」値タイプがiCalendarデータに追加されず、標準のJSON文字列エスケープを除いて、エスケープが処理されないことに注意してください。

jCal:

jCal:

   ["x-coffee-data", {}, "unknown", "Stenophylla;Guinea\\,Africa"]
        

iCalendar:

iCalendar:

X-COFFEE-DATA:Stenophylla;Guinea\,Africa The following is an example of a jCal property (where the corresponding iCalendar property uses an "INTEGER" value as its default) and the equivalent iCalendar representation of that property.

X-COFFEE-DATA:Stenophylla; Guinea \、Africa以下は、jCalプロパティ(対応するiCalendarプロパティが「INTEGER」値をデフォルトとして使用する)とそのプロパティの同等のiCalendar表現の例です。

jCal:

jCal:

["percent-complete", {}, "integer", 95]

["パーセント完了"、{}、 "整数"、95]

iCalendar:

iCalendar:

PERCENT-COMPLETE:95

PERCENT-COMPLETE:95

The following is an example of an unrecognized iCalendar property parameter (that uses a "FLOAT" value as its default) specified on a recognized iCalendar property and the equivalent jCal representation of that property and property parameter.

以下は、認識されたiCalendarプロパティに指定された(「FLOAT」値をデフォルトとして使用する)認識されないiCalendarプロパティパラメータと、そのプロパティおよびプロパティパラメータの同等のjCal表現の例です。

iCalendar:

iCalendar:

   DTSTART;X-SLACK=30.3;VALUE=DATE:20110512
        

jCal:

jCal:

   ["dtstart", { "x-slack": "30.3" }, "date", "2011-05-12"]
        
6. Security Considerations
6. セキュリティに関する考慮事項

This specification defines how iCalendar data can be "translated" between two different data formats -- the original text format and JSON -- with a one-to-one mapping to ensure all the semantic data in one format (properties, parameters, and values) are preserved in the other. It does not change the semantic meaning of the underlying data itself, or impose or remove any security considerations that apply to the underlying data.

この仕様は、iCalendarデータを2つの異なるデータ形式(元のテキスト形式とJSON)の間で「変換」する方法を定義します。1対1のマッピングで、1つの形式(プロパティ、パラメーター、値)ですべてのセマンティックデータを保証します。 )は他に保存されます。基になるデータ自体の意味の意味を変更したり、基になるデータに適用されるセキュリティ上の考慮事項を課したり削除したりすることはありません。

The use of JSON as a format does have its own inherent security risks as discussed in Section 12 of [RFC7159]. Even though JSON is considered a safe subset of JavaScript, it should be kept in mind that a flaw in the parser processing JSON could still impose a threat, which doesn't arise with conventional iCalendar data.

[RFC7159]のセクション12で説明されているように、形式としてのJSONの使用には、固有のセキュリティリスクがあります。 JSONはJavaScriptの安全なサブセットと見なされていますが、JSONを処理するパーサーの欠陥が依然として脅威をもたらす可能性があることに留意してください。これは、従来のiCalendarデータでは発生しません。

With this in mind, a parser for JSON data should be used for jCal that is aware of the security implications. For example, the use of JavaScript's eval() function is considered an unacceptable security risk, as described in Section 12 of [RFC7159]. A native parser with full awareness of the JSON format should be preferred.

これを念頭に置いて、JSONデータのパーサーは、セキュリティへの影響を認識しているjCalに使用する必要があります。たとえば、[RFC7159]のセクション12で説明されているように、JavaScriptのeval()関数の使用は、許容できないセキュリティリスクと見なされます。 JSON形式を完全に認識するネイティブパーサーをお勧めします。

In addition, it is expected that this new format will result in iCalendar data being more widely disseminated (e.g., with use in web applications rather than just dedicated calendaring applications).

さらに、この新しい形式により、iCalendarデータがより広く普及することが期待されます(たとえば、専用のカレンダーアプリケーションだけでなく、Webアプリケーションで使用する場合)。

In all cases, application developers have to conform to the semantics of the iCalendar data as defined by [RFC5545] and associated extensions, and all of the security considerations described in Section 7 of [RFC5545], or any associated extensions, are applicable.

すべての場合において、アプリケーション開発者は、[RFC5545]および関連する拡張機能で定義されているiCalendarデータのセマンティクスに準拠する必要があり、[RFC5545]のセクション7で説明されているすべてのセキュリティの考慮事項、または関連する拡張機能が適用されます。

7. IANA Considerations
7. IANAに関する考慮事項

This document defines a MIME media type for use with iCalendar in JSON data. This media type SHOULD be used for the transfer of calendaring data in JSON.

このドキュメントでは、JSONデータのiCalendarで使用するMIMEメディアタイプを定義します。このメディアタイプは、JSONでのカレンダーデータの転送に使用する必要があります(SHOULD)。

Type name: application

タイプ名:アプリケーション

Subtype name: calendar+json

サブタイプ名:calendar + json

Required parameters: none

必須パラメーター:なし

Optional parameters: "method", "component", and "optinfo" as defined for the text/calendar media type in [RFC5545], Section 8.1.

オプションパラメータ:[メソッド]、[コンポーネント]、[optinfo]。[RFC5545]のセクション8.1のテキスト/カレンダーメディアタイプに定義されています。

Encoding considerations: Same as encoding considerations of application/json as specified in [RFC7159], Section 11.

エンコーディングに関する考慮事項:[RFC7159]、セクション11で指定されているapplication / jsonのエンコーディングに関する考慮事項と同じです。

Security considerations: See Section 6.

セキュリティに関する考慮事項:セクション6を参照してください。

Interoperability considerations: This media type provides an alternative format for iCalendar data based on JSON.

相互運用性に関する考慮事項:このメディアタイプは、JSONに基づくiCalendarデータの代替形式を提供します。

Published specification: This specification.

公開された仕様:この仕様。

Applications that use this media type: Applications that currently make use of the text/calendar media type can use this as an alternative. Similarly, applications that use the application/ json media type to transfer calendaring data can use this to further specify the content.

このメディアタイプを使用するアプリケーション:現在text / calendarメディアタイプを使用しているアプリケーションは、これを代替として使用できます。同様に、application / jsonメディアタイプを使用してカレンダーデータを転送するアプリケーションは、これを使用してコンテンツをさらに指定できます。

Fragment identifier considerations: N/A

フラグメント識別子の考慮事項:なし

Additional information:

追加情報:

Deprecated alias names for this type: N/A

このタイプの非推奨のエイリアス名:N / A

      Magic number(s):  N/A
      File extension(s):  N/A
        
      Macintosh file type code(s):  N/A
        

Person & email address to contact for further information: calsify@ietf.org

詳細について連絡する人とメールアドレス:calsify@ietf.org

Intended usage: COMMON

使用目的:COMMON

Restrictions on usage: There are no restrictions on where this media type can be used.

使用制限:このメディアタイプを使用できる場所に制限はありません。

Author: See the "Authors' Addresses" section of this document.

作成者:このドキュメントの「作成者のアドレス」セクションを参照してください。

Change controller: IETF

コントローラの変更:IETF

7.1. UNKNOWN iCalendar Value Data Type
7.1. UNKNOWN iCalendar値のデータ型

IANA has added the following entry to the iCalendar Data Types registry:

IANAは、iCalendarデータ型レジストリに次のエントリを追加しました。

Value name: UNKNOWN

値の名前:UNKNOWN

Purpose: To allow preserving property values whose default value type is not known during round-tripping between jCal and iCalendar.

目的:jCalとiCalendar間の往復中にデフォルト値タイプが不明なプロパティ値を保持できるようにします。

Format definition: N/A

フォーマット定義:なし

Description: The UNKNOWN value data type is reserved for the exclusive use of the jCal format. Its use is described in Section 5 of this document.

説明:UNKNOWN値のデータ型は、jCal形式の排他的使用のために予約されています。その使用法は、このドキュメントのセクション5で説明されています。

Example: As this registration serves as a reservation of the UNKNOWN type so that it is not used in iCalendar, there is no applicable iCalendar example. Examples of its usage in jCal can be found in this document.

例:この登録はUNKNOWNタイプの予約として機能するため、iCalendarでは使用されないため、該当するiCalendarの例はありません。 jCalでの使用例はこのドキュメントにあります。

IANA has made the "Status" column for this entry in the registry say, "Reserved - Do not use" and has made the "Reference" column refer to Section 5 of this document.

IANAは、レジストリのこのエントリの「ステータス」列に「予約済み-使用しない」と表示し、「参照」列にこのドキュメントのセクション5を参照させるようにしています。

8. Acknowledgments
8. 謝辞

The authors would like to thank the following for their valuable contributions: William Gill, Erwin Rehme, Dave Thewlis, Simon Perreault, Michael Angstadt, Peter Saint-Andre, Bert Greevenbosch, and Javier Godoy. This specification originated from the work of the XML-JSON technical committee of the Calendaring and Scheduling Consortium.

著者は、貴重な貢献をしてくれたウィリアム・ギル、アーウィン・レーメ、デイブ・シューリス、サイモン・ペロー、マイケル・アンシュタット、ピーター・サンタンドレ、バート・グリーベンボッシュ、ハビエル・ゴドイに感謝したいと思います。この仕様は、Calendaring and Scheduling ConsortiumのXML-JSON技術委員会の作業に基づいています。

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

[ISO.8601.2004] International Organization for Standardization, "Data elements and interchange formats -- Information interchange -- Representation of dates and times", ISO 8601, December 2004, <http://www.iso.org/iso/catalogue_detail?csnumber=40874>.

[ISO.8601.2004]国際標準化機構、「データ要素と交換フォーマット-情報交換-日付と時刻の表現」、ISO 8601、2004年12月、<http://www.iso.org/iso/catalogue_detail? csnumber = 40874>。

[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.

[RFC2119] Bradner、S。、「要件レベルを示すためにRFCで使用するキーワード」、BCP 14、RFC 2119、1997年3月。

[RFC3986] Berners-Lee, T., Fielding, R., and L. Masinter, "Uniform Resource Identifier (URI): Generic Syntax", STD 66, RFC 3986, January 2005.

[RFC3986] Berners-Lee、T.、Fielding、R。、およびL. Masinter、「Uniform Resource Identifier(URI):Generic Syntax」、STD 66、RFC 3986、2005年1月。

[RFC4648] Josefsson, S., "The Base16, Base32, and Base64 Data Encodings", RFC 4648, October 2006.

[RFC4648] Josefsson、S。、「The Base16、Base32、およびBase64データエンコーディング」、RFC 4648、2006年10月。

[RFC5234] Crocker, D. and P. Overell, "Augmented BNF for Syntax Specifications: ABNF", STD 68, RFC 5234, January 2008.

[RFC5234] Crocker、D。およびP. Overell、「構文仕様の拡張BNF:ABNF」、STD 68、RFC 5234、2008年1月。

[RFC5545] Desruisseaux, B., "Internet Calendaring and Scheduling Core Object Specification (iCalendar)", RFC 5545, September 2009.

[RFC5545] Desruisseaux、B。、「Internet Calendaring and Scheduling Core Object Specification(iCalendar)」、RFC 5545、2009年9月。

[RFC6321] Daboo, C., Douglass, M., and S. Lees, "xCal: The XML Format for iCalendar", RFC 6321, August 2011.

[RFC6321] Daboo、C.、Douglass、M。、およびS. Lees、「xCal:The XML Format for iCalendar」、RFC 6321、2011年8月。

[RFC6868] Daboo, C., "Parameter Value Encoding in iCalendar and vCard", RFC 6868, February 2013.

[RFC6868] Daboo、C。、「iCalendarとvCardのパラメータ値エンコーディング」、RFC 6868、2013年2月。

[RFC7159] Bray, T., "The JavaScript Object Notation (JSON) Data Interchange Format", RFC 7159, March 2014.

[RFC7159]ブレイ、T。、「JavaScript Object Notation(JSON)データ交換フォーマット」、RFC 7159、2014年3月。

9.2. Informative References
9.2. 参考引用

[calconnect-artifacts] The Calendaring and Scheduling Consortium, "Code Artifacts and Schemas", <http://www.calconnect.org/artifacts.shtml>.

[calconnect-artifacts] Calendaring and Scheduling Consortium、「Code Artifacts and Schemas」、<http://www.calconnect.org/artifacts.shtml>。

Appendix A. ABNF Schema
付録A. ABNFスキーマ

Below is an ABNF schema as per [RFC5234] for iCalendar in JSON. ABNF symbols not described here are taken from [RFC7159]. The schema is non-normative and given for reference only.

以下は、JSONのiCalendarの[RFC5234]によるABNFスキーマです。ここで説明されていないABNFシンボルは、[RFC7159]から取得されます。スキーマは非規範的であり、参照用にのみ提供されています。

Additional semantic restrictions apply, especially regarding the allowed properties and sub-components per component. Details on these restrictions can be found in this document and [RFC5545].

特に、コンポーネントごとに許可されるプロパティとサブコンポーネントに関して、追加の意味上の制限が適用されます。これらの制限の詳細は、このドキュメントと[RFC5545]にあります。

Additional schemas may be available on the Internet at [calconnect-artifacts].

追加のスキーマは、インターネットの[calconnect-artifacts]で入手できる場合があります。

   ; A jCal object is a component with the component-name "vcalendar".
   ; Restrictions to which properties and sub-components may be
   ; specified are to be taken from [RFC5545].
   jcalobject = component
        

; A jCal component consists of the name string, properties array, and ; component array component = begin-array DQUOTE component-name DQUOTE value-separator properties-array value-separator components-array end-array

; jCalコンポーネントは、名前文字列、プロパティ配列、および;で構成されます。コンポーネント配列component = begin-array DQUOTE component-name DQUOTE value-separator properties-array value-separator components-array end-array

components-array = begin-array [ component *(value-separator component) ] end-array

components-array = begin-array [component *(value-separator component)] end-array

; A jCal property consists of the name string, parameters object, ; type string, and one or more values as specified in this document. property = begin-array DQUOTE property-name DQUOTE value-separator params-object value-separator DQUOTE type-name DQUOTE property-value *(value-separator property-value) end-array properties-array = begin-array [ property *(value-separator property) ] end-array

; jCalプロパティは、名前文字列、パラメータオブジェクト、で構成されます。タイプ文字列、およびこのドキュメントで指定されている1つ以上の値。 property = begin-array DQUOTE property-name DQUOTE value-separator params-object value-separator DQUOTE type-name DQUOTE property-value *(value-separator property-value)end-array properties-array = begin-array [property *( value-separator property)] end-array

   ; Property values depend on the type-name. Aside from the value types
   ; mentioned here, extensions may make use of other JSON value types.
   ; The non-terminal symbol structured-prop-value covers the special
   ; cases for GEO and REQUEST-STATUS.
   property-value = simple-prop-value / structured-prop-value
   simple-prop-value = string / number / true / false
   structured-prop-value =
       begin-array
       [ structured-element *(value-separator structured-element) ]
       end-array
   structured-element = simple-prop-value
        

; The jCal params-object is a JSON object that follows the semantic ; guidelines described in this document. params-object = begin-object [ params-member *(value-separator params-member) ] end-object params-member = DQUOTE param-name DQUOTE name-separator param-value param-value = string / param-multi param-multi = begin-array [ string *(value-separator string) ] end-array

; jCal params-objectは、セマンティックに従うJSONオブジェクトです。このドキュメントで説明されているガイドライン。 params-object = begin-object [params-member *(value-separator params-member)] end-object params-member = DQUOTE param-name DQUOTE name-separator param-value param-value = string / param-multi param- multi = begin-array [string *(value-separator string)] end-array

   ; The type MUST be a valid type as described by this document. New
   ; value types can be added by extensions.
   type-name = "binary" / "boolean" / "cal-address" / "date" /
               "date-time" / "duration" / "float" / "integer" /
               "period" / "recur" / "text" / "time" / "uri" /
               "utc-offset" / x-type
        
   ; Component, property, parameter, and type names MUST be lowercase.
   ; Additional semantic restrictions apply as described by this
   ; document and [RFC5545].
   component-name = lowercase-name
   property-name = lowercase-name
   param-name = lowercase-name
   x-type = lowercase-name
   lowercase-name = 1*(%x61-7A / DIGIT / "-")
        
   ; The following rules are defined in [RFC7159], as mentioned above:
   ;   begin-array / end-array
   ;   begin-object / end-object
   ;   name-separator / value-separator
   ;   string / number / true / false
        
Appendix B. Examples
付録B.例

This section contains two examples of iCalendar objects with their jCal representation.

このセクションには、jCal表現を含むiCalendarオブジェクトの2つの例が含まれています。

B.1. Example 1
B.1. 例1
B.1.1. iCalendar Data
B.1.1. iCalendarデータ
   BEGIN:VCALENDAR
   CALSCALE:GREGORIAN
   PRODID:-//Example Inc.//Example Calendar//EN
   VERSION:2.0
   BEGIN:VEVENT
   DTSTAMP:20080205T191224Z
   DTSTART:20081006
   SUMMARY:Planning meeting
   UID:4088E990AD89CB3DBB484909
   END:VEVENT
   END:VCALENDAR
        
B.1.2. jCal Data
B.1.2. jCalデータ
   ["vcalendar",
     [
       ["calscale", {}, "text", "GREGORIAN"],
       ["prodid", {}, "text", "-//Example Inc.//Example Calendar//EN"],
       ["version", {}, "text", "2.0"]
     ],
     [
       ["vevent",
         [
           ["dtstamp", {}, "date-time", "2008-02-05T19:12:24Z"],
           ["dtstart", {}, "date", "2008-10-06"],
           ["summary", {}, "text", "Planning meeting"],
           ["uid", {}, "text", "4088E990AD89CB3DBB484909"]
         ],
         []
       ]
     ]
   ]
        
B.2. Example 2
B.2. 例2
B.2.1. iCalendar Data
B.2.1. iCalendarデータ
   BEGIN:VCALENDAR
   VERSION:2.0
   PRODID:-//Example Corp.//Example Client//EN
   BEGIN:VTIMEZONE
   LAST-MODIFIED:20040110T032845Z
   TZID:US/Eastern
   BEGIN:DAYLIGHT
   DTSTART:20000404T020000
   RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
   TZNAME:EDT
   TZOFFSETFROM:-0500
   TZOFFSETTO:-0400
   END:DAYLIGHT
   BEGIN:STANDARD
   DTSTART:20001026T020000
   RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
   TZNAME:EST
   TZOFFSETFROM:-0400
   TZOFFSETTO:-0500
   END:STANDARD
   END:VTIMEZONE
   BEGIN:VEVENT
   DTSTAMP:20060206T001121Z
   DTSTART;TZID=US/Eastern:20060102T120000
   DURATION:PT1H
   RRULE:FREQ=DAILY;COUNT=5
   RDATE;TZID=US/Eastern;VALUE=PERIOD:20060102T150000/PT2H
   SUMMARY:Event #2
   DESCRIPTION:We are having a meeting all this week at 12 pm fo
    r one hour\, with an additional meeting on the first day 2 h
    ours long.\nPlease bring your own lunch for the 12 pm meetin
    gs.
   UID:00959BC664CA650E933C892C@example.com
   END:VEVENT
   BEGIN:VEVENT
   DTSTAMP:20060206T001121Z
   DTSTART;TZID=US/Eastern:20060104T140000
   DURATION:PT1H
   RECURRENCE-ID;TZID=US/Eastern:20060104T120000
   SUMMARY:Event #2 bis
   UID:00959BC664CA650E933C892C@example.com
   END:VEVENT
   END:VCALENDAR
        
B.2.2. jCal Data
B.2.2. jCalデータ
   ["vcalendar",
     [
       ["prodid", {}, "text", "-//Example Corp.//Example Client//EN"],
       ["version", {}, "text", "2.0"]
     ],
     [
       ["vtimezone",
         [
           ["last-modified", {}, "date-time", "2004-01-10T03:28:45Z"],
           ["tzid", {}, "text", "US/Eastern"]
         ],
         [
           ["daylight",
             [
               ["dtstart", {}, "date-time", "2000-04-04T02:00:00"],
               ["rrule",
                 {},
                 "recur",
                 {
                   "freq": "YEARLY",
                   "byday": "1SU",
                   "bymonth": 4
                 }
               ],
               ["tzname", {}, "text", "EDT"],
               ["tzoffsetfrom", {}, "utc-offset", "-05:00"],
               ["tzoffsetto", {}, "utc-offset", "-04:00"]
             ],
             []
           ],
           ["standard",
             [
               ["dtstart", {}, "date-time", "2000-10-26T02:00:00"],
               ["rrule",
                 {},
                 "recur",
                 {
                   "freq": "YEARLY",
                   "byday": "1SU",
                   "bymonth": 10
                 }
               ],
               ["tzname", {}, "text", "EST"],
               ["tzoffsetfrom", {}, "utc-offset", "-04:00"],
               ["tzoffsetto", {}, "utc-offset", "-05:00"]
             ],
        
             []
           ]
         ]
       ],
       ["vevent",
         [
           ["dtstamp", {}, "date-time", "2006-02-06T00:11:21Z"],
           ["dtstart",
             { "tzid": "US/Eastern" },
             "date-time",
             "2006-01-02T12:00:00"
           ],
           ["duration", {}, "duration", "PT1H"],
           ["rrule", {}, "recur", { "freq": "DAILY", "count": 5 } ],
           ["rdate",
             { "tzid": "US/Eastern" },
             "period",
             "2006-01-02T15:00:00/PT2H"
           ],
           ["summary", {}, "text", "Event #2"],
           ["description",
            {},
            "text",
            // Note that comments and string concatenation are not
            // allowed per the JSON specification and is used here only
            // to avoid long lines.
            "We are having a meeting all this week at 12 pm for one " +
            "hour, with an additional meeting on the first day 2 " +
            "hours long.\nPlease bring your own lunch for the 12 pm " +
            "meetings."
           ],
           ["uid", {}, "text", "00959BC664CA650E933C892C@example.com"]
         ],
         []
       ],
       ["vevent",
         [
           ["dtstamp", {}, "date-time", "2006-02-06T00:11:21Z"],
           ["dtstart",
             { "tzid": "US/Eastern" },
             "date-time",
             "2006-01-02T14:00:00"
           ],
           ["duration", {}, "duration", "PT1H"],
           ["recurrence-id",
             { "tzid": "US/Eastern" },
             "date-time",
             "2006-01-04T12:00:00"
        
           ],
           ["summary", {}, "text", "Event #2"],
           ["uid", {}, "text", "00959BC664CA650E933C892C@example.com"]
         ],
         []
       ]
     ]
   ]
        

Authors' Addresses

著者のアドレス

Philipp Kewisch Mozilla Corporation 650 Castro Street, Suite 300 Mountain View, CA 94041 USA

Philipp Kewisch Mozilla Corporation 650 Castro Street、Suite 300 Mountain View、CA 94041 USA

   EMail: mozilla@kewis.ch
   URI:   http://www.mozilla.org/
        

Cyrus Daboo Apple Inc. 1 Infinite Loop Cupertino, CA 95014 USA

Cyrus Daboo Apple Inc.1 Infinite Loop Cupertino、CA 95014 USA

   EMail: cyrus@daboo.name
   URI:   http://www.apple.com/
        

Mike Douglass Rensselaer Polytechnic Institute 110 8th Street Troy, NY 12180 USA

Mike Douglass Rensselaer Polytechnic Institute 110 8th Street Troy、NY 12180 USA

   EMail: douglm@rpi.edu
   URI:   http://www.rpi.edu/