[要約] RFC 4791は、WebDAVの拡張であるCalDAVに関する規格です。CalDAVは、カレンダー情報の共有や同期を可能にするために設計されています。このRFCの目的は、CalDAVプロトコルの仕様を提供し、カレンダーサーバーとクライアントアプリケーションの間での効果的なカレンダーの管理を実現することです。

Network Working Group                                           C. Daboo
Request for Comments: 4791                                         Apple
Category: Standards Track                                B. Desruisseaux
                                                                  Oracle
                                                            L. Dusseault
                                                             CommerceNet
                                                              March 2007
        

Calendaring Extensions to WebDAV (CalDAV)

webdav(caldav)へのカレンダー拡張機能

Status of This Memo

本文書の位置付け

This document specifies an Internet standards track protocol for the Internet community, and requests discussion and suggestions for improvements. Please refer to the current edition of the "Internet Official Protocol Standards" (STD 1) for the standardization state and status of this protocol. Distribution of this memo is unlimited.

このドキュメントは、インターネットコミュニティのインターネット標準トラックプロトコルを指定し、改善のための議論と提案を要求します。このプロトコルの標準化状態とステータスについては、「インターネット公式プロトコル標準」(STD 1)の現在のエディションを参照してください。このメモの配布は無制限です。

Copyright Notice

著作権表示

Copyright (C) The IETF Trust (2007).

著作権(c)The IETF Trust(2007)。

Abstract

概要

This document defines extensions to the Web Distributed Authoring and Versioning (WebDAV) protocol to specify a standard way of accessing, managing, and sharing calendaring and scheduling information based on the iCalendar format. This document defines the "calendar-access" feature of CalDAV.

このドキュメントでは、拡張機能をWeb分散オーサリングおよびバージョン(WebDAV)プロトコルに定義して、ICALENDAR形式に基づいてカレンダーのアクセス、管理、およびスケジューリング情報にアクセス、管理、および共有する標準的な方法を指定します。このドキュメントでは、CalDAVの「カレンダーアクセス」機能を定義しています。

Table of Contents

目次

   1.  Introduction . . . . . . . . . . . . . . . . . . . . . . . . .  5
     1.1.  Notational Conventions . . . . . . . . . . . . . . . . . .  5
     1.2.  XML Namespaces and Processing  . . . . . . . . . . . . . .  5
     1.3.  Method Preconditions and Postconditions  . . . . . . . . .  6
   2.  Requirements Overview  . . . . . . . . . . . . . . . . . . . .  6
   3.  Calendaring Data Model . . . . . . . . . . . . . . . . . . . .  7
     3.1.  Calendar Server  . . . . . . . . . . . . . . . . . . . . .  7
     3.2.  Recurrence and the Data Model  . . . . . . . . . . . . . .  8
   4.  Calendar Resources . . . . . . . . . . . . . . . . . . . . . .  9
     4.1.  Calendar Object Resources  . . . . . . . . . . . . . . . .  9
     4.2.  Calendar Collection  . . . . . . . . . . . . . . . . . . . 10
   5.  Calendar Access Feature  . . . . . . . . . . . . . . . . . . . 11
     5.1.  Calendar Access Support  . . . . . . . . . . . . . . . . . 11
       5.1.1.  Example: Using OPTIONS for the Discovery of
               Calendar Access Support  . . . . . . . . . . . . . . . 12
     5.2.  Calendar Collection Properties . . . . . . . . . . . . . . 12
       5.2.1.  CALDAV:calendar-description Property . . . . . . . . . 12
       5.2.2.  CALDAV:calendar-timezone Property  . . . . . . . . . . 13
       5.2.3.  CALDAV:supported-calendar-component-set Property . . . 14
       5.2.4.  CALDAV:supported-calendar-data Property  . . . . . . . 15
       5.2.5.  CALDAV:max-resource-size Property  . . . . . . . . . . 16
       5.2.6.  CALDAV:min-date-time Property  . . . . . . . . . . . . 17
       5.2.7.  CALDAV:max-date-time Property  . . . . . . . . . . . . 18
       5.2.8.  CALDAV:max-instances Property  . . . . . . . . . . . . 19
       5.2.9.  CALDAV:max-attendees-per-instance Property . . . . . . 19
       5.2.10. Additional Precondition for PROPPATCH  . . . . . . . . 20
     5.3.  Creating Resources . . . . . . . . . . . . . . . . . . . . 20
       5.3.1.  MKCALENDAR Method  . . . . . . . . . . . . . . . . . . 20
         5.3.1.1.  Status Codes . . . . . . . . . . . . . . . . . . . 22
         5.3.1.2.  Example: Successful MKCALENDAR Request . . . . . . 23
       5.3.2.  Creating Calendar Object Resources . . . . . . . . . . 25
         5.3.2.1.  Additional Preconditions for PUT, COPY, and
                   MOVE . . . . . . . . . . . . . . . . . . . . . . . 26
       5.3.3.  Non-Standard Components, Properties, and Parameters  . 28
       5.3.4.  Calendar Object Resource Entity Tag  . . . . . . . . . 28
   6.  Calendaring Access Control . . . . . . . . . . . . . . . . . . 29
     6.1.  Calendaring Privilege  . . . . . . . . . . . . . . . . . . 29
       6.1.1.  CALDAV:read-free-busy Privilege  . . . . . . . . . . . 29
     6.2.  Additional Principal Property  . . . . . . . . . . . . . . 30
       6.2.1.  CALDAV:calendar-home-set Property  . . . . . . . . . . 30
   7.  Calendaring Reports  . . . . . . . . . . . . . . . . . . . . . 31
     7.1.  REPORT Method  . . . . . . . . . . . . . . . . . . . . . . 31
     7.2.  Ordinary Collections . . . . . . . . . . . . . . . . . . . 31
     7.3.  Date and Floating Time . . . . . . . . . . . . . . . . . . 32
     7.4.  Time Range Filtering . . . . . . . . . . . . . . . . . . . 32
     7.5.  Searching Text: Collations . . . . . . . . . . . . . . . . 33
        
       7.5.1.  CALDAV:supported-collation-set Property  . . . . . . . 34
     7.6.  Partial Retrieval  . . . . . . . . . . . . . . . . . . . . 34
     7.7.  Non-Standard Components, Properties, and Parameters  . . . 35
     7.8.  CALDAV:calendar-query REPORT . . . . . . . . . . . . . . . 36
       7.8.1.  Example: Partial Retrieval of Events by Time Range . . 38
       7.8.2.  Example: Partial Retrieval of Recurring Events . . . . 42
       7.8.3.  Example: Expanded Retrieval of Recurring Events  . . . 45
       7.8.4.  Example: Partial Retrieval of Stored Free Busy
               Components . . . . . . . . . . . . . . . . . . . . . . 48
       7.8.5.  Example: Retrieval of To-Dos by Alarm Time Range . . . 50
       7.8.6.  Example: Retrieval of Event by UID . . . . . . . . . . 51
       7.8.7.  Example: Retrieval of Events by PARTSTAT . . . . . . . 53
       7.8.8.  Example: Retrieval of Events Only  . . . . . . . . . . 55
       7.8.9.  Example: Retrieval of All Pending To-Dos . . . . . . . 59
       7.8.10. Example: Attempt to Query Unsupported Property . . . . 62
     7.9.  CALDAV:calendar-multiget REPORT  . . . . . . . . . . . . . 63
       7.9.1.  Example: Successful CALDAV:calendar-multiget REPORT  . 64
     7.10. CALDAV:free-busy-query REPORT  . . . . . . . . . . . . . . 66
       7.10.1. Example: Successful CALDAV:free-busy-query REPORT  . . 68
   8.  Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . 69
     8.1.  Client-to-Client Interoperability  . . . . . . . . . . . . 69
     8.2.  Synchronization Operations . . . . . . . . . . . . . . . . 69
       8.2.1.  Use of Reports . . . . . . . . . . . . . . . . . . . . 69
         8.2.1.1.  Restrict the Time Range  . . . . . . . . . . . . . 69
         8.2.1.2.  Synchronize by Time Range  . . . . . . . . . . . . 70
         8.2.1.3.  Synchronization Process  . . . . . . . . . . . . . 70
       8.2.2.  Restrict the Properties Returned . . . . . . . . . . . 72
     8.3.  Use of Locking . . . . . . . . . . . . . . . . . . . . . . 72
     8.4.  Finding Calendars  . . . . . . . . . . . . . . . . . . . . 72
     8.5.  Storing and Using Attachments  . . . . . . . . . . . . . . 74
       8.5.1.  Inline Attachments . . . . . . . . . . . . . . . . . . 74
       8.5.2.  External Attachments . . . . . . . . . . . . . . . . . 75
     8.6.  Storing and Using Alarms . . . . . . . . . . . . . . . . . 76
   9.  XML Element Definitions  . . . . . . . . . . . . . . . . . . . 77
     9.1.  CALDAV:calendar XML Element  . . . . . . . . . . . . . . . 77
     9.2.  CALDAV:mkcalendar XML Element  . . . . . . . . . . . . . . 77
     9.3.  CALDAV:mkcalendar-response XML Element . . . . . . . . . . 78
     9.4.  CALDAV:supported-collation XML Element . . . . . . . . . . 78
     9.5.  CALDAV:calendar-query XML Element  . . . . . . . . . . . . 78
     9.6.  CALDAV:calendar-data XML Element . . . . . . . . . . . . . 79
       9.6.1.  CALDAV:comp XML Element  . . . . . . . . . . . . . . . 80
       9.6.2.  CALDAV:allcomp XML Element . . . . . . . . . . . . . . 81
       9.6.3.  CALDAV:allprop XML Element . . . . . . . . . . . . . . 81
       9.6.4.  CALDAV:prop XML Element  . . . . . . . . . . . . . . . 82
       9.6.5.  CALDAV:expand XML Element  . . . . . . . . . . . . . . 82
       9.6.6.  CALDAV:limit-recurrence-set XML Element  . . . . . . . 83
       9.6.7.  CALDAV:limit-freebusy-set XML Element  . . . . . . . . 84
     9.7.  CALDAV:filter XML Element  . . . . . . . . . . . . . . . . 85
        
       9.7.1.  CALDAV:comp-filter XML Element . . . . . . . . . . . . 85
       9.7.2.  CALDAV:prop-filter XML Element . . . . . . . . . . . . 86
       9.7.3.  CALDAV:param-filter XML Element  . . . . . . . . . . . 87
       9.7.4.  CALDAV:is-not-defined XML Element  . . . . . . . . . . 88
       9.7.5.  CALDAV:text-match XML Element  . . . . . . . . . . . . 88
     9.8.  CALDAV:timezone XML Element  . . . . . . . . . . . . . . . 89
     9.9.  CALDAV:time-range XML Element  . . . . . . . . . . . . . . 90
     9.10. CALDAV:calendar-multiget XML Element . . . . . . . . . . . 94
     9.11. CALDAV:free-busy-query XML Element . . . . . . . . . . . . 95
   10. Internationalization Considerations  . . . . . . . . . . . . . 95
   11. Security Considerations  . . . . . . . . . . . . . . . . . . . 95
   12. IANA Considerations  . . . . . . . . . . . . . . . . . . . . . 96
     12.1. Namespace Registration . . . . . . . . . . . . . . . . . . 96
   13. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 96
   14. References . . . . . . . . . . . . . . . . . . . . . . . . . . 97
     14.1. Normative References . . . . . . . . . . . . . . . . . . . 97
     14.2. Informative References . . . . . . . . . . . . . . . . . . 98
   Appendix A.  CalDAV Method Privilege Table (Normative) . . . . . . 99
   Appendix B.  Calendar Collections Used in the Examples . . . . . . 99
        
1. Introduction
1. はじめに

The concept of using HTTP [RFC2616] and WebDAV [RFC2518] as a basis for a calendar access protocol is by no means a new concept: it was discussed in the IETF CALSCH working group as early as 1997 or 1998. Several companies have implemented calendar access protocols using HTTP to upload and download iCalendar [RFC2445] objects, and using WebDAV to get listings of resources. However, those implementations do not interoperate because there are many small and big decisions to be made in how to model calendaring data as WebDAV resources, as well as how to implement required features that aren't already part of WebDAV. This document proposes a way to model calendar data in WebDAV, with additional features to make an interoperable calendar access protocol.

カレンダーアクセスプロトコルの基礎としてHTTP [RFC2616]およびWebDav [RFC2518]を使用するという概念は、1997年または1998年にはIETF Calschワーキンググループで議論されました。HTTPを使用してプロトコルにアクセスして、ICALENDAR [RFC2445]オブジェクトをアップロードおよびダウンロードし、WebDAVを使用してリソースのリストを取得します。ただし、これらの実装は、カレンダーのデータをWebDavリソースとしてモデル化する方法と、まだWebDavの一部ではない必要な機能を実装する方法に多くの小規模および大きな決定が行われるため、相互運用しません。このドキュメントでは、WebDAVのカレンダーデータをモデル化する方法を提案し、相互運用可能なカレンダーアクセスプロトコルを作成する追加機能を備えています。

1.1. Notational Conventions
1.1. 表記規則

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

「必須」、「そうしない」、「必須」、「shall」、「shall "、" ingle "、" should "、" not "、" becommended "、" bay "、および「optional」は、[RFC2119]に記載されているように解釈される。

The term "protected" is used in the Conformance field of property definitions as defined in Section 1.4.2 of [RFC3253].

「保護された」という用語は、[RFC3253]のセクション1.4.2で定義されているように、プロパティ定義の適合フィールドで使用されます。

When XML element types in the namespaces "DAV:" and "urn:ietf:params:xml:ns:caldav" are referenced in this document outside of the context of an XML fragment, the string "DAV:" and "CALDAV:" will be prefixed to the element type names, respectively.

XML要素が名前空間「DAV:」と「urn:ietf:params:xml:ns:caldav」がXMLフラグメントのコンテキストの外でこのドキュメントで参照されている場合、文字列「dav:」と「caldav:」それぞれ要素タイプ名が付けられます。

1.2. XML Namespaces and Processing
1.2. XMLネームスペースと処理

Definitions of XML elements in this document use XML element type declarations (as found in XML Document Type Declarations), described in Section 3.2 of [W3C.REC-xml-20060816].

このドキュメントのXML要素の定義は、XML要素型宣言(XMLドキュメントタイプ宣言に見られるとおり)を使用します。

The namespace "urn:ietf:params:xml:ns:caldav" is reserved for the XML elements defined in this specification, its revisions, and related CalDAV specifications. XML elements defined by individual implementations MUST NOT use the "urn:ietf:params:xml:ns:caldav" namespace, and instead should use a namespace that they control.

名前空間「urn:ietf:params:xml:ns:caldav」は、この仕様、その改訂、および関連するCalDAV仕様で定義されているXML要素のために予約されています。個々の実装で定義されたXML要素は、「urn:ietf:params:xml:ns:caldav」名前空間を使用してはなりません。代わりに、制御する名前空間を使用する必要があります。

The XML declarations used in this document do not include namespace information. Thus, implementers must not use these declarations as the only way to create valid CalDAV properties or to validate CalDAV XML element types. Some of the declarations refer to XML elements defined by WebDAV [RFC2518], which use the "DAV:" namespace. Wherever such XML elements appear, they are explicitly prefixed with "DAV:" to avoid confusion.

このドキュメントで使用されているXML宣言には、名前空間情報は含まれていません。したがって、実装者は、有効なCalDAVプロパティを作成したり、CalDAV XML要素タイプを検証する唯一の方法としてこれらの宣言を使用してはなりません。宣言の一部は、「dav:」名前空間を使用するWebdav [RFC2518]によって定義されたXML要素を指します。このようなXML要素がどこにも表示されている場合は、混乱を避けるために「DAV:」が明示的に前に付けられています。

Also note that some CalDAV XML element names are identical to WebDAV XML element names, though their namespace differs. Care must be taken not to confuse the two sets of names.

また、一部のCalDAV XML要素名はWebDAV XML要素名と同じであることに注意してください。ただし、名前空間は異なります。2つの名前のセットを混同しないように注意する必要があります。

Processing of XML by CalDAV clients and servers MUST follow the rules described in [RFC2518]; in particular, Section 14, and Appendix 3 of that specification.

CalDAVクライアントとサーバーによるXMLの処理は、[RFC2518]で説明されているルールに従う必要があります。特に、その仕様のセクション14、および付録3。

1.3. Method Preconditions and Postconditions
1.3. メソッドの前提条件と事後条件

A "precondition" of a method describes the state of the server that must be true for that method to be performed. A "postcondition" of a method describes the state of the server that must be true after that method has been completed. If a method precondition or postcondition for a request is not satisfied, the response status of the request MUST either be 403 (Forbidden), if the request should not be repeated because it will always fail, or 409 (Conflict), if it is expected that the user might be able to resolve the conflict and resubmit the request.

メソッドの「前提条件」は、そのメソッドを実行するために真でなければならないサーバーの状態を説明します。メソッドの「条件」は、そのメソッドが完了した後に真でなければならないサーバーの状態を説明しています。リクエストのメソッドの前提条件または事後条件が満たされていない場合、リクエストの応答ステータスは403(禁止)でなければなりません。ユーザーが競合を解決し、リクエストを再提出できる可能性があること。

In order to allow better client handling of 403 and 409 responses, a distinct XML element type is associated with each method precondition and postcondition of a request. When a particular precondition is not satisfied or a particular postcondition cannot be achieved, the appropriate XML element MUST be returned as the child of a top-level DAV:error element in the response body, unless otherwise negotiated by the request.

403および409の応答のより良いクライアント処理を可能にするために、個別のXML要素タイプは、各メソッドの前提条件とリクエストの事後条件に関連付けられています。特定の前提条件が満たされていない場合、または特定の事後条件を達成できない場合、リクエストによって特に交渉されない限り、適切なXML要素をトップレベルDAV:応答本体のエラー要素の子として返す必要があります。

2. Requirements Overview
2. 要件の概要

This section lists what functionality is required of a CalDAV server. To advertise support for CalDAV, a server:

このセクションには、CalDAVサーバーに必要な機能がリストされています。サーバーであるCalDavのサポートを宣伝するには:

o MUST support iCalendar [RFC2445] as a media type for the calendar object resource format;

o カレンダーオブジェクトリソース形式のメディアタイプとしてIcalEndar [RFC2445]をサポートする必要があります。

o MUST support WebDAV Class 1 [RFC2518] (note that [rfc2518bis] describes clarifications to [RFC2518] that aid interoperability);

o WebDAVクラス1 [RFC2518]をサポートする必要があります([RFC2518BIS]は、相互運用性を支援する[RFC2518]の説明を説明していることに注意してください)。

o MUST support WebDAV ACL [RFC3744] with the additional privilege defined in Section 6.1 of this document;

o このドキュメントのセクション6.1で定義されている追加の特権を使用して、WebDav ACL [RFC3744]をサポートする必要があります。

o MUST support transport over TLS [RFC2246] as defined in [RFC2818] (note that [RFC2246] has been obsoleted by [RFC4346]);

o [RFC2818]で定義されているように、TLS [RFC2246]を介した輸送をサポートする必要があります([RFC2246]は[RFC4346]によって廃止されていることに注意してください);

o MUST support ETags [RFC2616] with additional requirements specified in Section 5.3.4 of this document;

o このドキュメントのセクション5.3.4で指定された追加要件を使用して、ETAGS [RFC2616]をサポートする必要があります。

o MUST support all calendaring reports defined in Section 7 of this document; and

o このドキュメントのセクション7で定義されているすべてのカレンダーレポートをサポートする必要があります。と

o MUST advertise support on all calendar collections and calendar object resources for the calendaring reports in the DAV:supported-report-set property, as defined in Versioning Extensions to WebDAV [RFC3253].

o WebDav [RFC3253]のバージョン化拡張で定義されているように、DAV:サポートされたレポートセットプロパティのカレンダーレポートのすべてのカレンダーコレクションとカレンダーオブジェクトリソースのサポートを宣伝する必要があります。

In addition, a server:

さらに、サーバー:

o SHOULD support the MKCALENDAR method defined in Section 5.3.1 of this document.

o このドキュメントのセクション5.3.1で定義されているMKCalendarメソッドをサポートする必要があります。

3. Calendaring Data Model
3. カレンダーデータモデル

One of the features that has made WebDAV a successful protocol is its firm data model. This makes it a useful framework for other applications such as calendaring. This specification follows the same pattern by developing all features based on a well-described data model.

WebDAVを成功したプロトコルにした機能の1つは、その企業データモデルです。これにより、カレンダーなどの他のアプリケーションにとって便利なフレームワークになります。この仕様は、よく説明されているデータモデルに基づいてすべての機能を開発することにより、同じパターンに従います。

As a brief overview, a CalDAV calendar is modeled as a WebDAV collection with a defined structure; each calendar collection contains a number of resources representing calendar objects as its direct child resource. Each resource representing a calendar object (event, to-do, journal entry, or other calendar components) is called a "calendar object resource". Each calendar object resource and each calendar collection can be individually locked and have individual WebDAV properties. Requirements derived from this model are provided in Section 4.1 and Section 4.2.

簡単な概要として、CalDAVカレンダーは、定義された構造を持つWebDAVコレクションとしてモデル化されています。各カレンダーコレクションには、直接の子リソースとしてカレンダーオブジェクトを表す多数のリソースが含まれています。カレンダーオブジェクト(イベント、To-Do、ジャーナルエントリ、またはその他のカレンダーコンポーネント)を表す各リソースは、「カレンダーオブジェクトリソース」と呼ばれます。各カレンダーオブジェクトリソースと各カレンダーコレクションは、個別にロックされ、個別のWebDAVプロパティを持つことができます。このモデルから派生した要件は、セクション4.1およびセクション4.2に記載されています。

3.1. Calendar Server
3.1. カレンダーサーバー

A CalDAV server is a calendaring-aware engine combined with a WebDAV repository. A WebDAV repository is a set of WebDAV collections, containing other WebDAV resources, within a unified URL namespace. For example, the repository "http://www.example.com/webdav/" may contain WebDAV collections and resources, all of which have URLs beginning with "http://www.example.com/webdav/". Note that the root URL, "http://www.example.com/", may not itself be a WebDAV repository (for example, if the WebDAV support is implemented through a servlet or other Web server extension).

CalDAVサーバーは、WebDAVリポジトリと組み合わせたカレンダーアウェアエンジンです。WebDAVリポジトリは、統一されたURLネームスペース内に他のWebDAVリソースを含むWebDAVコレクションのセットです。たとえば、リポジトリ「http://www.example.com/webdav/」にはWebdavコレクションとリソースが含まれている場合があります。これらには、「http://www.example.com/webdav/」から始まるURLがあります。ルートURL「http://www.example.com/」は、それ自体がwebdavリポジトリではない場合があることに注意してください(たとえば、サーブレットまたは他のWebサーバー拡張機能を介してWebDAVサポートが実装されている場合)。

A WebDAV repository MAY include calendar data in some parts of its URL namespace, and non-calendaring data in other parts.

WebDAVリポジトリには、URLネームスペースの一部のカレンダーデータ、および他の部分には非カレンダーデータが含まれる場合があります。

A WebDAV repository can advertise itself as a CalDAV server if it supports the functionality defined in this specification at any point within the root of the repository. That might mean that calendaring data is spread throughout the repository and mixed with non-calendar data in nearby collections (e.g., calendar data may be found in /home/lisa/calendars/ as well as in /home/bernard/calendars/, and non-calendar data in /home/lisa/contacts/). Or, it might mean that calendar data can be found only in certain sections of the repository (e.g., /calendar/). Calendaring features are only required in the repository sections that are or contain calendar object resources. Therefore, a repository confining calendar data to the /calendar/ collection would only need to support the CalDAV required features within that collection.

WebDAVリポジトリは、リポジトリのルート内の任意のポイントでこの仕様で定義されている機能をサポートする場合、CalDAVサーバーとして自分自身を宣伝できます。つまり、カレンダーデータはリポジトリ全体に広がり、近くのコレクションの非カレンダーデータと混合されていることを意味する可能性があります(たとえば、カレンダーデータは/home/lisa/calendars/and/home/bernard/calendars/、および/home/lisa/contacts/)の非カレンダーデータ/)。または、カレンダーデータがリポジトリの特定のセクション( /カレンダー /)の特定のセクションでのみ見つけることができることを意味する場合があります。カレンダーの機能は、カレンダーオブジェクトリソースであるか、または含まれるリポジトリセクションでのみ必要です。したがって、カレンダーデータを /カレンダー /コレクションに閉じ込めているリポジトリは、そのコレクション内のCalDAVが必要とする機能をサポートする必要があります。

The CalDAV server or repository is the canonical location for calendar data and state information. Clients may submit requests to change data or download data. Clients may store calendar objects offline and attempt to synchronize at a later time. However, clients MUST be prepared for calendar data on the server to change between the time of last synchronization and when attempting an update, as calendar collections may be shared and accessible via multiple clients. Entity tags and other features make this possible.

CalDAVサーバーまたはリポジトリは、カレンダーデータと状態情報の標準的な場所です。クライアントは、データを変更するためのリクエストを送信したり、データをダウンロードしたりする場合があります。クライアントは、カレンダーオブジェクトをオフラインで保存し、後で同期しようとすることができます。ただし、カレンダーコレクションは複数のクライアントを介して共有およびアクセスできるため、最後の同期の時間と更新を試みるときの間に変更するために、サーバー上のカレンダーデータのためにクライアントを準備する必要があります。エンティティタグやその他の機能がこれを可能にします。

3.2. Recurrence and the Data Model
3.2. 再発とデータモデル

Recurrence is an important part of the data model because it governs how many resources are expected to exist. This specification models a recurring calendar component and its recurrence exceptions as a single resource. In this model, recurrence rules, recurrence dates, exception rules, and exception dates are all part of the data in a single calendar object resource. This model avoids problems of limiting how many recurrence instances to store in the repository, how to keep recurrence instances in sync with the recurring calendar component, and how to link recurrence exceptions with the recurring calendar component. It also results in less data to synchronize between client and server, and makes it easier to make changes to all recurrence instances or to a recurrence rule. It makes it easier to create a recurring calendar component and to delete all recurrence instances.

再発は、存在するリソースの数を管理するため、データモデルの重要な部分です。この仕様は、繰り返しのカレンダーコンポーネントとその再発の例外を単一のリソースとしてモデル化します。このモデルでは、再発ルール、再発日、例外ルール、および例外日はすべて、単一のカレンダーオブジェクトリソースのデータの一部です。このモデルは、リポジトリに保存する再発インスタンスの数、再発カレンダーコンポーネントと同期して再発インスタンスを維持する方法、および再発の例外を再発カレンダーコンポーネントにリンクする方法を制限する問題を回避します。また、クライアントとサーバー間で同期するデータが少なくなり、すべての再発インスタンスまたは再発ルールを簡単に変更できるようになります。繰り返しのカレンダーコンポーネントを作成し、すべての再発インスタンスを削除しやすくなります。

Clients are not forced to retrieve information about all recurrence instances of a recurring component. The CALDAV:calendar-query and CALDAV:calendar-multiget reports defined in this document allow clients to retrieve only recurrence instances that overlap a given time range.

クライアントは、再発コンポーネントのすべての再発インスタンスに関する情報を取得することを余儀なくされていません。CalDav:Calendar-Query and CalDav:このドキュメントで定義されているCalendar-Multigetレポートにより、クライアントは特定の時間範囲に重複する再発インスタンスのみを取得できます。

4. Calendar Resources
4. カレンダーリソース
4.1. Calendar Object Resources
4.1. カレンダーオブジェクトリソース

Calendar object resources contained in calendar collections MUST NOT contain more than one type of calendar component (e.g., VEVENT, VTODO, VJOURNAL, VFREEBUSY, etc.) with the exception of VTIMEZONE components, which MUST be specified for each unique TZID parameter value specified in the iCalendar object. For instance, a calendar object resource can contain one VEVENT component and one VTIMEZONE component, but it cannot contain one VEVENT component and one VTODO component. Instead, the VEVENT and VTODO components would have to be stored in separate calendar object resources in the same collection.

カレンダーコレクションに含まれるカレンダーオブジェクトリソースは、vtimezoneコンポーネントを除き、複数のタイプのカレンダーコンポーネント(vevent、vtodo、vjournal、vfreebusyなど)を含む必要があります。ICALENDARオブジェクト。たとえば、カレンダーオブジェクトリソースには、1つのVeventコンポーネントと1つのvtimezoneコンポーネントを含めることができますが、1つのVeventコンポーネントと1つのVtodoコンポーネントを含めることはできません。代わりに、VeventおよびVtodoコンポーネントは、同じコレクションに個別のカレンダーオブジェクトリソースに保存する必要があります。

Calendar object resources contained in calendar collections MUST NOT specify the iCalendar METHOD property.

カレンダーコレクションに含まれるカレンダーオブジェクトリソースは、IcalEndarメソッドプロパティを指定してはなりません。

The UID property value of the calendar components contained in a calendar object resource MUST be unique in the scope of the calendar collection in which they are stored.

カレンダーオブジェクトリソースに含まれるカレンダーコンポーネントのUIDプロパティ値は、保存されているカレンダーコレクションの範囲で一意でなければなりません。

Calendar components in a calendar collection that have different UID property values MUST be stored in separate calendar object resources.

異なるUIDプロパティ値を持つカレンダーコレクションのカレンダーコンポーネントは、個別のカレンダーオブジェクトリソースに保存する必要があります。

Calendar components with the same UID property value, in a given calendar collection, MUST be contained in the same calendar object resource. This ensures that all components in a recurrence "set" are contained in the same calendar object resource. It is possible for a calendar object resource to just contain components that represent "overridden" instances (ones that modify the behavior of a regular instance, and thus include a RECURRENCE-ID property) without also including the "master" recurring component (the one that defines the recurrence "set" and does not contain any RECURRENCE-ID property).

特定のカレンダーコレクションに、同じUIDプロパティ値を持つカレンダーコンポーネントは、同じカレンダーオブジェクトリソースに含める必要があります。これにより、再発「セット」のすべてのコンポーネントが同じカレンダーオブジェクトリソースに含まれることが保証されます。カレンダーオブジェクトのリソースは、「マスター」の繰り返しコンポーネントを含めることなく、「オーバーライドされた」インスタンス(通常のインスタンスの動作を変更し、再発IDプロパティを含む)を表すコンポーネントのみを含めることができますこれは、「セット」の再発を定義し、再発 - IDプロパティを含むことはありません)。

For example, given the following iCalendar object:

たとえば、次のICALENDARオブジェクトが与えられます。

   BEGIN:VCALENDAR
   PRODID:-//Example Corp.//CalDAV Client//EN
   VERSION:2.0
   BEGIN:VEVENT
   UID:1@example.com
   SUMMARY:One-off Meeting
   DTSTAMP:20041210T183904Z
   DTSTART:20041207T120000Z
   DTEND:20041207T130000Z
   END:VEVENT
   BEGIN:VEVENT
   UID:2@example.com
   SUMMARY:Weekly Meeting
   DTSTAMP:20041210T183838Z
   DTSTART:20041206T120000Z
   DTEND:20041206T130000Z
   RRULE:FREQ=WEEKLY
   END:VEVENT
   BEGIN:VEVENT
   UID:2@example.com
   SUMMARY:Weekly Meeting
   RECURRENCE-ID:20041213T120000Z
   DTSTAMP:20041210T183838Z
   DTSTART:20041213T130000Z
   DTEND:20041213T140000Z
   END:VEVENT
   END:VCALENDAR
        

The VEVENT component with the UID value "1@example.com" would be stored in its own calendar object resource. The two VEVENT components with the UID value "2@example.com", which represent a recurring event where one recurrence instance has been overridden, would be stored in the same calendar object resource.

UID値「1@example.com」を備えたVeventコンポーネントは、独自のカレンダーオブジェクトリソースに保存されます。UID値「2@example.com」を備えた2つのVeventコンポーネントは、1つの再発インスタンスがオーバーライドされた繰り返しイベントを表し、同じカレンダーオブジェクトリソースに保存されます。

4.2. Calendar Collection
4.2. カレンダーコレクション

A calendar collection contains calendar object resources that represent calendar components within a calendar. A calendar collection is manifested to clients as a WebDAV resource collection identified by a URL. A calendar collection MUST report the DAV: collection and CALDAV:calendar XML elements in the value of the DAV: resourcetype property. The element type declaration for CALDAV: calendar is:

カレンダーコレクションには、カレンダー内のカレンダーコンポーネントを表すカレンダーオブジェクトリソースが含まれています。カレンダーコレクションは、URLによって識別されたWebDAVリソースコレクションとしてクライアントに現れます。カレンダーコレクションは、DAV:CalDAV:DAV:ResourceTypeプロパティの値のカレンダーXML要素を報告する必要があります。CalDAVの要素タイプ宣言:カレンダーは次のとおりです。

       <!ELEMENT calendar EMPTY>
        

A calendar collection can be created through provisioning (i.e., automatically created when a user's account is provisioned), or it can be created with the MKCALENDAR method (see Section 5.3.1). This method can be useful for a user to create additional calendars (e.g., soccer schedule) or for users to share a calendar (e.g., team events or conference rooms). However, note that this document doesn't define the purpose of extra calendar collections. Users must rely on non-standard cues to find out what a calendar collection is for, or use the CALDAV:calendar-description property defined in Section 5.2.1 to provide such a cue.

カレンダーコレクションは、プロビジョニングを介して作成できます(つまり、ユーザーのアカウントがプロビジョニングされているときに自動的に作成されます)、またはMKCalendarメソッドで作成できます(セクション5.3.1を参照)。この方法は、ユーザーが追加のカレンダー(サッカースケジュールなど)を作成したり、ユーザーがカレンダー(チームイベントや会議室など)を共有するのに役立ちます。ただし、このドキュメントは追加のカレンダーコレクションの目的を定義していないことに注意してください。ユーザーは、カレンダーコレクションが何であるかを調べるために標準以外のキューに依存するか、CalDAV:Calendar-Descriptionプロパティをセクション5.2.1で定義しているため、そのようなキューを提供する必要があります。

The following restrictions are applied to the resources within a calendar collection:

次の制限は、カレンダーコレクション内のリソースに適用されます。

a. Calendar collections MUST only contain calendar object resources and collections that are not calendar collections, i.e., the only "top-level" non-collection resources allowed in a calendar collection are calendar object resources. This ensures that calendar clients do not have to deal with non-calendar data in a calendar collection, though they do have to distinguish between calendar object resources and collections when using standard WebDAV techniques to examine the contents of a collection.

a. カレンダーコレクションには、カレンダーコレクションではないカレンダーオブジェクトリソースとコレクションのみが含まれている必要があります。つまり、カレンダーコレクションで許可されている唯一の「トップレベルの」非収集リソースは、カレンダーオブジェクトリソースです。これにより、カレンダークライアントは、カレンダーコレクションの非カレンダーデータを処理する必要がなくなりますが、標準のWebDAVテクニックを使用してコレクションの内容を調べる場合、カレンダーオブジェクトリソースとコレクションを区別する必要があります。

b. Collections contained in calendar collections MUST NOT contain calendar collections at any depth, i.e., "nesting" of calendar collections within other calendar collections at any depth is not allowed. This specification does not define how collections contained in a calendar collection are used or how they relate to any calendar object resources contained in the calendar collection.

b. カレンダーコレクションに含まれるコレクションには、任意の深さでカレンダーコレクションが含まれてはなりません。つまり、他のカレンダーコレクション内のカレンダーコレクションの「ネスティング」は、許可されていません。この仕様では、カレンダーコレクションに含まれるコレクションの使用方法や、カレンダーコレクションに含まれるカレンダーオブジェクトリソースにどのように関連するかを定義するものではありません。

Multiple calendar collections MAY be children of the same collection.

複数のカレンダーコレクションは、同じコレクションの子供かもしれません。

5. Calendar Access Feature
5. カレンダーアクセス機能
5.1. Calendar Access Support
5.1. カレンダーアクセスサポート

A server supporting the features described in this document MUST include "calendar-access" as a field in the DAV response header from an OPTIONS request on any resource that supports any calendar properties, reports, method, or privilege. A value of "calendar-access" in the DAV response header MUST indicate that the server supports all MUST level requirements specified in this document.

このドキュメントで説明されている機能をサポートするサーバーには、カレンダープロパティ、レポート、方法、または特権をサポートするリソースのオプションリクエストからDAV応答ヘッダーのフィールドとして「カレンダーアクセス」を含める必要があります。DAV応答ヘッダーの「カレンダーアクセス」の値は、このドキュメントで指定されているすべてのレベル要件をサーバーがサポートすることを示す必要があります。

5.1.1. Example: Using OPTIONS for the Discovery of Calendar Access Support
5.1.1. 例:カレンダーアクセスサポートを発見するためのオプションを使用する
   >> Request <<
        

OPTIONS /home/bernard/calendars/ HTTP/1.1 Host: cal.example.com

オプション/ホーム/バーナード/カレンダー/http/1.1ホスト:cal.example.com

   >> Response <<
        

HTTP/1.1 200 OK Allow: OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, COPY, MOVE Allow: PROPFIND, PROPPATCH, LOCK, UNLOCK, REPORT, ACL DAV: 1, 2, access-control, calendar-access Date: Sat, 11 Nov 2006 09:32:12 GMT Content-Length: 0

http/1.1 200 ok許可:オプション、取得、ヘッド、ポスト、プット、削除、トレース、コピー、移動許可:propfind、proppatch、lock、lock、lock、copy、acl dav:1、2、アクセス制御、カレンダーアクセス日付:土、2006年11月11日09:32:12 GMTコンテンツレングス:0

In this example, the OPTIONS method returns the value "calendar-access" in the DAV response header to indicate that the collection "/home/bernard/calendars/" supports the properties, reports, method, or privilege defined in this specification.

この例では、Optionsメソッドは、DAV応答ヘッダーの値「カレンダーアクセス」を返し、コレクション「/Home/Bernard/Calendars/」がこの仕様で定義されているプロパティ、レポート、方法、または特権をサポートすることを示します。

5.2. Calendar Collection Properties
5.2. カレンダー収集プロパティ

This section defines properties for calendar collections.

このセクションでは、カレンダーコレクションのプロパティを定義します。

5.2.1. CALDAV:calendar-description Property
5.2.1. CalDAV:カレンダーデスプトリストプロパティ

Name: calendar-description

名前:カレンダーデスプトリ

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Provides a human-readable description of the calendar collection.

目的:カレンダーコレクションの人間が読みやすい説明を提供します。

Conformance: This property MAY be defined on any calendar collection. If defined, it MAY be protected and SHOULD NOT be returned by a PROPFIND DAV:allprop request (as defined in Section 12.14.1 of [RFC2518]). An xml:lang attribute indicating the human language of the description SHOULD be set for this property by clients or through server provisioning. Servers MUST return any xml:lang attribute if set for the property.

適合:このプロパティは、任意のカレンダーコレクションで定義できます。定義されている場合、保護されている可能性があり、Propfind DAV:AllPropリクエスト([RFC2518]のセクション12.14.1で定義されている)によって返されるべきではありません。XML:説明の人間言語を示すLang属性は、クライアントまたはサーバーのプロビジョニングを通じてこのプロパティに設定する必要があります。サーバーは、プロパティに設定されている場合はXML:Lang属性を返す必要があります。

Description: If present, the property contains a description of the calendar collection that is suitable for presentation to a user. If not present, the client should assume no description for the calendar collection.

説明:存在する場合、プロパティには、ユーザーへのプレゼンテーションに適したカレンダーコレクションの説明が含まれています。存在しない場合、クライアントはカレンダーコレクションの説明を想定していません。

Definition:

意味:

         <!ELEMENT calendar-description (#PCDATA)>
         PCDATA value: string
        

Example:

例:

         <C:calendar-description xml:lang="fr-CA"
            xmlns:C="urn:ietf:params:xml:ns:caldav"
         >Calendrier de Mathilde Desruisseaux</C:calendar-description>
        
5.2.2. CALDAV:calendar-timezone Property
5.2.2. CalDav:Calendar-TimeZoneプロパティ

Name: calendar-timezone

名前:カレンダータイムゾーン

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Specifies a time zone on a calendar collection.

目的:カレンダーコレクションのタイムゾーンを指定します。

Conformance: This property SHOULD be defined on all calendar collections. If defined, it SHOULD NOT be returned by a PROPFIND DAV:allprop request (as defined in Section 12.14.1 of [RFC2518]).

適合:このプロパティは、すべてのカレンダーコレクションで定義する必要があります。定義されている場合、Propfind DAV:AllProp要求([RFC2518]のセクション12.14.1で定義されている)によって返されるべきではありません。

Description: The CALDAV:calendar-timezone property is used to specify the time zone the server should rely on to resolve "date" values and "date with local time" values (i.e., floating time) to "date with UTC time" values. The server will require this information to determine if a calendar component scheduled with "date" values or "date with local time" values overlaps a CALDAV: time-range specified in a CALDAV:calendar-query REPORT. The server will also require this information to compute the proper FREEBUSY time period as "date with UTC time" in the VFREEBUSY component returned in a response to a CALDAV:free-busy-query REPORT request that takes into account calendar components scheduled with "date" values or "date with local time" values. In the absence of this property, the server MAY rely on the time zone of their choice.

説明:CalDAV:Calendar-TimeZoneプロパティは、サーバーが「日付」値を解決するために頼る必要があるタイムゾーンを指定するために使用されます。サーバーは、「日付」値でスケジュールされたカレンダーコンポーネントまたは「現地時間の日付」値でスケジュールされたカレンダーコンポーネントがCalDAV:CalDAVで指定された時間帯:カレンダークエリレポートで重複するかどうかを判断するためにこの情報を必要とします。また、サーバーは、caldavへの応答で返されたvfreebusyコンポーネントの「UTC時の日付」として「UTC時の日付」として、適切なフリーベーシー期間を計算するためにこの情報を要求します。「値または「現地時間の日付」値。このプロパティがない場合、サーバーは選択したタイムゾーンに依存する場合があります。

Note: The iCalendar data embedded within the CALDAV:calendar-timezone XML element MUST follow the standard XML character data encoding rules, including use of &lt;, &gt;, &amp; etc. entity encoding or the use of a <![CDATA[ ... ]]> construct. In the later case, the iCalendar data cannot contain the character sequence "]]>", which is the end delimiter for the CDATA section.

注:CalDAV内に組み込まれたICALENDARデータ:Calendar-TimeZone XML要素は、&lt;、&gt;、&amp;の使用を含む標準のXML文字データエンコードルールに従う必要があります。など。エンティティエンコードまたはa <![cdata [...]]> constructの使用。後の場合、ICALENDARデータには、CDATAセクションのエンドデリミッターである文字シーケンス「]>」を含めることはできません。

Definition:

意味:

<!ELEMENT calendar-timezone (#PCDATA)> PCDATA value: an iCalendar object with exactly one VTIMEZONE component.

<!要素カレンダータイムゾーン(#PCDATA)> PCDATA値:vtimezoneコンポーネントが正確に1つあるICALENDARオブジェクト。

Example:

例:

   <C:calendar-timezone
       xmlns:C="urn:ietf:params:xml:ns:caldav">BEGIN:VCALENDAR
   PRODID:-//Example Corp.//CalDAV Client//EN
   VERSION:2.0
   BEGIN:VTIMEZONE
   TZID:US-Eastern
   LAST-MODIFIED:19870101T000000Z
   BEGIN:STANDARD
   DTSTART:19671029T020000
   RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
   TZOFFSETFROM:-0400
   TZOFFSETTO:-0500
   TZNAME:Eastern Standard Time (US &amp; Canada)
   END:STANDARD
   BEGIN:DAYLIGHT
   DTSTART:19870405T020000
   RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
   TZOFFSETFROM:-0500
   TZOFFSETTO:-0400
   TZNAME:Eastern Daylight Time (US &amp; Canada)
   END:DAYLIGHT
   END:VTIMEZONE
   END:VCALENDAR
   </C:calendar-timezone>
        
5.2.3. CALDAV:supported-calendar-component-set Property
5.2.3. CalDav:サポートされているCalendar-Component-Setプロパティ

Name: supported-calendar-component-set

名前:サポートされているカレンダー - コンポーネントセット

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Specifies the calendar component types (e.g., VEVENT, VTODO, etc.) that calendar object resources can contain in the calendar collection.

目的:カレンダーオブジェクトリソースがカレンダーコレクションに含めることができるカレンダーコンポーネントタイプ(Vevent、Vtodoなど)を指定します。

Conformance: This property MAY be defined on any calendar collection. If defined, it MUST be protected and SHOULD NOT be returned by a PROPFIND DAV:allprop request (as defined in Section 12.14.1 of [RFC2518]).

適合:このプロパティは、任意のカレンダーコレクションで定義できます。定義されている場合、保護する必要があり、Propfind DAV:AllPropリクエスト([RFC2518]のセクション12.14.1で定義されている)によって返されるべきではありません。

Description: The CALDAV:supported-calendar-component-set property is used to specify restrictions on the calendar component types that calendar object resources may contain in a calendar collection. Any attempt by the client to store calendar object resources with component types not listed in this property, if it exists, MUST result in an error, with the CALDAV:supported-calendar-component precondition (Section 5.3.2.1) being violated. Since this property is protected, it cannot be changed by clients using a PROPPATCH request. However, clients can initialize the value of this property when creating a new calendar collection with MKCALENDAR. The empty-element tag <C:comp name="VTIMEZONE"/> MUST only be specified if support for calendar object resources that only contain VTIMEZONE components is provided or desired. Support for VTIMEZONE components in calendar object resources that contain VEVENT or VTODO components is always assumed. In the absence of this property, the server MUST accept all component types, and the client can assume that all component types are accepted.

説明:CalDAV:サポートされているCalendar-Component-Setプロパティは、カレンダーオブジェクトリソースがカレンダーコレクションに含めることができるカレンダーコンポーネントタイプの制限を指定するために使用されます。クライアントが、このプロパティにリストされていないコンポーネントタイプでカレンダーオブジェクトリソースを存在する場合、カレンダーオブジェクトリソースを存在する場合、カルダブ:サポートされたカレンダーコンポーネントの前提条件(セクション5.3.2.1)が違反している場合、エラーになる必要があります。このプロパティは保護されているため、プロップパッチリクエストを使用してクライアントが変更することはできません。ただし、MKCalendarを使用して新しいカレンダーコレクションを作成するときに、クライアントはこのプロパティの値を初期化できます。空の要素タグ<c:comp name = "vtimezone"/>は、vtimezoneコンポーネントのみを含むカレンダーオブジェクトリソースのサポートが提供または望ましい場合にのみ指定する必要があります。VeventまたはVtodoコンポーネントを含むカレンダーオブジェクトリソースのvtimezoneコンポーネントのサポートが常に想定されています。このプロパティがない場合、サーバーはすべてのコンポーネントタイプを受け入れる必要があり、クライアントはすべてのコンポーネントタイプが受け入れられていると想定できます。

Definition:

意味:

         <!ELEMENT supported-calendar-component-set (comp+)>
        

Example:

例:

         <C:supported-calendar-component-set
             xmlns:C="urn:ietf:params:xml:ns:caldav">
           <C:comp name="VEVENT"/>
           <C:comp name="VTODO"/>
         </C:supported-calendar-component-set>
        
5.2.4. CALDAV:supported-calendar-data Property
5.2.4. Caldav:サポートされているCalendar-Dataプロパティ

Name: supported-calendar-data

名前:サポートされているカレンダーダタ

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Specifies what media types are allowed for calendar object resources in a calendar collection.

目的:カレンダーコレクションのカレンダーオブジェクトリソースに許可されるメディアタイプを指定します。

Conformance: This property MAY be defined on any calendar collection. If defined, it MUST be protected and SHOULD NOT be returned by a PROPFIND DAV:allprop request (as defined in Section 12.14.1 of [RFC2518]).

適合:このプロパティは、任意のカレンダーコレクションで定義できます。定義されている場合、保護する必要があり、Propfind DAV:AllPropリクエスト([RFC2518]のセクション12.14.1で定義されている)によって返されるべきではありません。

Description: The CALDAV:supported-calendar-data property is used to specify the media type supported for the calendar object resources contained in a given calendar collection (e.g., iCalendar version 2.0). Any attempt by the client to store calendar object resources with a media type not listed in this property MUST result in an error, with the CALDAV:supported-calendar-data precondition (Section 5.3.2.1) being violated. In the absence of this property, the server MUST only accept data with the media type "text/calendar" and iCalendar version 2.0, and clients can assume that the server will only accept this data.

説明:CalDAV:サポートされているCalendar-Dataプロパティは、特定のカレンダーコレクションに含まれるカレンダーオブジェクトリソースにサポートされているメディアタイプを指定するために使用されます(例:IcalEndarバージョン2.0)。クライアントがこのプロパティにリストされていないメディアタイプでカレンダーオブジェクトリソースを保存しようとすると、CalDAV:サポートされたカレンダーデータの前提条件(セクション5.3.2.1)が違反されている場合、エラーが発生する必要があります。このプロパティがない場合、サーバーはメディアタイプの「テキスト/カレンダー」とICALENDARバージョン2.0のデータのみを受け入れる必要があり、クライアントはサーバーがこのデータのみを受け入れると想定できます。

Definition:

意味:

         <!ELEMENT supported-calendar-data (calendar-data+)>
        

Example:

例:

         <C:supported-calendar-data
            xmlns:C="urn:ietf:params:xml:ns:caldav">
           <C:calendar-data content-type="text/calendar" version="2.0"/>
         </C:supported-calendar-data>
        
5.2.5. CALDAV:max-resource-size Property
5.2.5. CalDav:最大リソースサイズのプロパティ

Name: max-resource-size

名前:Max-Resource-Size

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Provides a numeric value indicating the maximum size of a resource in octets that the server is willing to accept when a calendar object resource is stored in a calendar collection.

目的:カレンダーオブジェクトリソースがカレンダーコレクションに保存されている場合にサーバーが受け入れる意思があるオクテットのリソースの最大サイズを示す数値を提供します。

Conformance: This property MAY be defined on any calendar collection. If defined, it MUST be protected and SHOULD NOT be returned by a PROPFIND DAV:allprop request (as defined in Section 12.14.1 of [RFC2518]).

適合:このプロパティは、任意のカレンダーコレクションで定義できます。定義されている場合、保護する必要があり、Propfind DAV:AllPropリクエスト([RFC2518]のセクション12.14.1で定義されている)によって返されるべきではありません。

Description: The CALDAV:max-resource-size is used to specify a numeric value that represents the maximum size in octets that the server is willing to accept when a calendar object resource is stored in a calendar collection. Any attempt to store a calendar object resource exceeding this size MUST result in an error, with the CALDAV:max-resource-size precondition (Section 5.3.2.1) being violated. In the absence of this property, the client can assume that the server will allow storing a resource of any reasonable size.

説明:CalDAV:Max-Resource-Sizeは、カレンダーオブジェクトリソースがカレンダーコレクションに保存されているときに、サーバーが受け入れることをいとわないオクテットの最大サイズを表す数値を指定するために使用されます。このサイズを超えるカレンダーオブジェクトリソースを保存しようとすると、CalDAV:Max-Resource-Sizeの前提条件(セクション5.3.2.1)が違反され、エラーが発生する必要があります。このプロパティがない場合、クライアントは、サーバーが妥当なサイズのリソースを保存することを許可すると想定できます。

Definition:

意味:

         <!ELEMENT max-resource-size (#PCDATA)>
         PCDATA value: a numeric value (positive integer)
        

Example:

例:

         <C:max-resource-size xmlns:C="urn:ietf:params:xml:ns:caldav"
         >102400</C:max-resource-size>
        
5.2.6. CALDAV:min-date-time Property
5.2.6. CalDav:最小時間のプロパティ

Name: min-date-time

名前:最小時間

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Provides a DATE-TIME value indicating the earliest date and time (in UTC) that the server is willing to accept for any DATE or DATE-TIME value in a calendar object resource stored in a calendar collection.

目的:カレンダーコレクションに保存されているカレンダーオブジェクトリソースの日付または日付の値をサーバーが受け入れることをいとわないことを示す日付時間(UTC)を示す日付時間を提供します。

Conformance: This property MAY be defined on any calendar collection. If defined, it MUST be protected and SHOULD NOT be returned by a PROPFIND DAV:allprop request (as defined in Section 12.14.1 of [RFC2518]).

適合:このプロパティは、任意のカレンダーコレクションで定義できます。定義されている場合、保護する必要があり、Propfind DAV:AllPropリクエスト([RFC2518]のセクション12.14.1で定義されている)によって返されるべきではありません。

Description: The CALDAV:min-date-time is used to specify an iCalendar DATE-TIME value in UTC that indicates the earliest inclusive date that the server is willing to accept for any explicit DATE or DATE-TIME value in a calendar object resource stored in a calendar collection. Any attempt to store a calendar object resource using a DATE or DATE-TIME value earlier than this value MUST result in an error, with the CALDAV:min-date-time precondition (Section 5.3.2.1) being violated. Note that servers MUST accept recurring components that specify instances beyond this limit, provided none of those instances have been overridden. In that case, the server MAY simply ignore those instances outside of the acceptable range when processing reports on the calendar object resource. In the absence of this property, the client can assume any valid iCalendar date may be used at least up to the CALDAV:max-date-time value, if that is defined.

説明:CalDAV:Min-Date-Timeは、サーバーが保存されているカレンダーオブジェクトリソースの明示的な日付または日付の値を受け入れる意思がある最も早い包括日を示すUTCのICALENDAR日付時間を指定するために使用されます。カレンダーコレクション。この値よりも早い日付または日付の値を使用してカレンダーオブジェクトリソースを保存しようとすると、CalDAV:Min-Date-Time Precondition(セクション5.3.2.1)が違反され、エラーが発生する必要があります。これらのインスタンスがオーバーライドされていない場合、サーバーはこの制限を超えてインスタンスを指定する繰り返しコンポーネントを受け入れる必要があることに注意してください。その場合、サーバーは、カレンダーオブジェクトリソースのレポートを処理する際に、許容範囲外のこれらのインスタンスを単に無視する場合があります。このプロパティがない場合、クライアントは、それが定義されている場合、少なくともcaldav:max-date-time Valueまでに有効なICALENDAR日付を使用できると想定できます。

Definition:

意味:

         <!ELEMENT min-date-time (#PCDATA)>
         PCDATA value: an iCalendar format DATE-TIME value in UTC
        

Example:

例:

         <C:min-date-time xmlns:C="urn:ietf:params:xml:ns:caldav"
         >19000101T000000Z</C:min-date-time>
        
5.2.7. CALDAV:max-date-time Property
5.2.7. CalDav:最大日間のプロパティ

Name: max-date-time

名前:Max-Date-Time

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Provides a DATE-TIME value indicating the latest date and time (in UTC) that the server is willing to accept for any DATE or DATE-TIME value in a calendar object resource stored in a calendar collection.

目的:カレンダーコレクションに保存されているカレンダーオブジェクトリソースの日付または日付の値をサーバーが受け入れることをいとわないことを、最新の日付と時刻(UTC)を示す日付時間の値を提供します。

Conformance: This property MAY be defined on any calendar collection. If defined, it MUST be protected and SHOULD NOT be returned by a PROPFIND DAV:allprop request (as defined in Section 12.14.1 of [RFC2518]).

適合:このプロパティは、任意のカレンダーコレクションで定義できます。定義されている場合、保護する必要があり、Propfind DAV:AllPropリクエスト([RFC2518]のセクション12.14.1で定義されている)によって返されるべきではありません。

Description: The CALDAV:max-date-time is used to specify an iCalendar DATE-TIME value in UTC that indicates the inclusive latest date that the server is willing to accept for any date or time value in a calendar object resource stored in a calendar collection. Any attempt to store a calendar object resource using a DATE or DATE-TIME value later than this value MUST result in an error, with the CALDAV:max-date-time precondition (Section 5.3.2.1) being violated. Note that servers MUST accept recurring components that specify instances beyond this limit, provided none of those instances have been overridden. In that case, the server MAY simply ignore those instances outside of the acceptable range when processing reports on the calendar object resource. In the absence of this property, the client can assume any valid iCalendar date may be used at least down to the CALDAV: min-date-time value, if that is defined.

説明:CalDAV:Max-Date-Timeは、カレンダーに保存されているカレンダーオブジェクトリソースの日付または時刻値をサーバーが受け入れる包括的な最新日付を示すUTCのICALENDAR日付時間を指定するために使用されます。コレクション。この値よりも遅い日付または日付の値を使用してカレンダーオブジェクトリソースを保存しようとすると、CalDAV:Max-Date-Time Precondition(セクション5.3.2.1)が違反され、エラーが発生する必要があります。これらのインスタンスがオーバーライドされていない場合、サーバーはこの制限を超えてインスタンスを指定する繰り返しコンポーネントを受け入れる必要があることに注意してください。その場合、サーバーは、カレンダーオブジェクトリソースのレポートを処理する際に、許容範囲外のこれらのインスタンスを単に無視する場合があります。このプロパティがない場合、クライアントは、それが定義されている場合、有効なICALENDAR日付が少なくともCalDAV:Min-Date-Time値まで使用される可能性があると仮定できます。

Definition:

意味:

         <!ELEMENT max-date-time (#PCDATA)>
         PCDATA value: an iCalendar format DATE-TIME value in UTC
        

Example:

例:

         <C:max-date-time xmlns:C="urn:ietf:params:xml:ns:caldav"
         >20491231T235959Z</C:max-date-time>
        
5.2.8. CALDAV:max-instances Property
5.2.8. CalDav:Max-Instancesプロパティ

Name: max-instances

名前:最大インスタンス

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Provides a numeric value indicating the maximum number of recurrence instances that a calendar object resource stored in a calendar collection can generate.

目的:カレンダーコレクションに保存されているカレンダーオブジェクトリソースが生成できる再発インスタンスの最大数を示す数値を提供します。

Conformance: This property MAY be defined on any calendar collection. If defined, it MUST be protected and SHOULD NOT be returned by a PROPFIND DAV:allprop request (as defined in Section 12.14.1 of [RFC2518]).

適合:このプロパティは、任意のカレンダーコレクションで定義できます。定義されている場合、保護する必要があり、Propfind DAV:AllPropリクエスト([RFC2518]のセクション12.14.1で定義されている)によって返されるべきではありません。

Description: The CALDAV:max-instances is used to specify a numeric value that indicates the maximum number of recurrence instances that a calendar object resource stored in a calendar collection can generate. Any attempt to store a calendar object resource with a recurrence pattern that generates more instances than this value MUST result in an error, with the CALDAV:max-instances precondition (Section 5.3.2.1) being violated. In the absence of this property, the client can assume that the server has no limits on the number of recurrence instances it can handle or expand.

説明:CalDAV:Max-Instancesは、カレンダーコレクションに保存されているカレンダーオブジェクトリソースが生成できる再発インスタンスの最大数を示す数値を指定するために使用されます。この値よりも多くのインスタンスを生成する再発パターンでカレンダーオブジェクトリソースを保存しようとすると、CalDAV:Max-Instances Precondition(セクション5.3.2.1)が違反され、エラーが発生する必要があります。このプロパティがない場合、クライアントは、サーバーが処理または拡張できる再発インスタンスの数に制限がないと想定できます。

Definition:

意味:

         <!ELEMENT max-instances (#PCDATA)>
         PCDATA value: a numeric value (integer greater than zero)
        

Example:

例:

         <C:max-instances xmlns:C="urn:ietf:params:xml:ns:caldav"
         >100</C:max-instances>
        
5.2.9. CALDAV:max-attendees-per-instance Property
5.2.9. CalDav:マックスアテンダー - インスタンスのプロパティ

Name: max-attendees-per-instance

名前:Max-Attendees-Per-Instance

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Provides a numeric value indicating the maximum number of ATTENDEE properties in any instance of a calendar object resource stored in a calendar collection.

目的:カレンダーコレクションに保存されているカレンダーオブジェクトリソースの任意のインスタンスで、参加者プロパティの最大数を示す数値を提供します。

Conformance: This property MAY be defined on any calendar collection. If defined, it MUST be protected and SHOULD NOT be returned by a PROPFIND DAV:allprop request (as defined in Section 12.14.1 of [RFC2518]).

適合:このプロパティは、任意のカレンダーコレクションで定義できます。定義されている場合、保護する必要があり、Propfind DAV:AllPropリクエスト([RFC2518]のセクション12.14.1で定義されている)によって返されるべきではありません。

Description: The CALDAV:max-attendees-per-instance is used to specify a numeric value that indicates the maximum number of iCalendar ATTENDEE properties on any one instance of a calendar object resource stored in a calendar collection. Any attempt to store a calendar object resource with more ATTENDEE properties per instance than this value MUST result in an error, with the CALDAV: max-attendees-per-instance precondition (Section 5.3.2.1) being violated. In the absence of this property, the client can assume that the server can handle any number of ATTENDEE properties in a calendar component.

説明:CalDAV:Max-Attendees-instanceは、カレンダーコレクションに保存されているカレンダーオブジェクトリソースのいずれかのインスタンスでIcalEndar参加者プロパティの最大数を示す数値を指定するために使用されます。この値よりも多くの参加者リソースをインスタンスあたりより多くの参加者リソースを保存しようとすると、CalDAV:Max-Attendee-instance Precondition(セクション5.3.2.1)が違反されている場合、エラーが発生する必要があります。このプロパティがない場合、クライアントは、サーバーがカレンダーコンポーネント内の任意の数の参加者プロパティを処理できると想定できます。

Definition:

意味:

         <!ELEMENT max-attendees-per-instance (#PCDATA)>
         PCDATA value: a numeric value (integer greater than zero)
        

Example:

例:

         <C:max-attendees-per-instance
              xmlns:C="urn:ietf:params:xml:ns:caldav"
         >25</C:max-attendees-per-instance>
        
5.2.10. Additional Precondition for PROPPATCH
5.2.10. プロップパッチの追加の前提条件

This specification requires an additional Precondition for the PROPPATCH method. The precondition is:

この仕様には、プロップパッチメソッドに追加の前提条件が必要です。前提条件は次のとおりです。

(CALDAV:valid-calendar-data): The time zone specified in CALDAV: calendar-timezone property MUST be a valid iCalendar object containing a single valid VTIMEZONE component.

(CalDAV:有効なCalendar-Data):CalDAVで指定されたタイムゾーン:Calendar-TimeZoneプロパティは、単一の有効なvtimezoneコンポーネントを含む有効なIcalEndarオブジェクトでなければなりません。

5.3. Creating Resources
5.3. リソースの作成

Calendar collections and calendar object resources may be created by either a CalDAV client or by the CalDAV server. This specification defines restrictions and a data model that both clients and servers MUST adhere to when manipulating such calendar data.

カレンダーコレクションとカレンダーオブジェクトリソースは、CalDAVクライアントまたはCalDAVサーバーによって作成される場合があります。この仕様は、そのようなカレンダーデータを操作する際にクライアントとサーバーの両方が順守する必要がある制限とデータモデルを定義します。

5.3.1. MKCALENDAR Method
5.3.1. mkcalendarメソッド

An HTTP request using the MKCALENDAR method creates a new calendar collection resource. A server MAY restrict calendar collection creation to particular collections.

MKCALENDARメソッドを使用したHTTP要求は、新しいカレンダーコレクションリソースを作成します。サーバーは、カレンダーコレクションの作成を特定のコレクションに制限する場合があります。

Support for MKCALENDAR on the server is only RECOMMENDED and not REQUIRED because some calendar stores only support one calendar per user (or principal), and those are typically pre-created for each account. However, servers and clients are strongly encouraged to support MKCALENDAR whenever possible to allow users to create multiple calendar collections to help organize their data better.

一部のカレンダーストアはユーザーごと(またはプリンシパル)ごとに1つのカレンダーのみをサポートし、通常は各アカウントに対して事前に作成されるため、サーバー上のMKCALENDARのサポートは推奨され、必須ではありません。ただし、サーバーとクライアントは、可能な限りMKCalendarをサポートして、ユーザーがデータをより良く整理するために複数のカレンダーコレクションを作成できるようにすることを強くお勧めします。

Clients SHOULD use the DAV:displayname property for a human-readable name of the calendar. Clients can either specify the value of the DAV:displayname property in the request body of the MKCALENDAR request, or alternatively issue a PROPPATCH request to change the DAV:displayname property to the appropriate value immediately after issuing the MKCALENDAR request. Clients SHOULD NOT set the DAV: displayname property to be the same as any other calendar collection at the same URI "level". When displaying calendar collections to users, clients SHOULD check the DAV:displayname property and use that value as the name of the calendar. In the event that the DAV: displayname property is empty, the client MAY use the last part of the calendar collection URI as the name; however, that path segment may be "opaque" and not represent any meaningful human-readable text.

クライアントは、カレンダーの人間が読める名前にDAV:DisplayNameプロパティを使用する必要があります。クライアントは、MKCALENDARリクエストのリクエスト本文でDAV:DisplayNameプロパティの値を指定するか、MKCALENDARリクエストを発行した直後にDAV:DisplayNameプロパティを適切な値に変更するプロップパッチ要求を発行できます。クライアントは、DAV:DisplayNameプロパティを同じURI「レベル」の他のカレンダーコレクションと同じに設定してはなりません。カレンダーコレクションをユーザーに表示する場合、クライアントはDAV:DisplayNameプロパティを確認し、その値をカレンダーの名前として使用する必要があります。DAV:DisplayNameプロパティが空である場合、クライアントはカレンダーコレクションURIの最後の部分を名前として使用できます。ただし、そのパスセグメントは「不透明」であり、意味のある人間の読み取り可能なテキストを表すものではありません。

If a MKCALENDAR request fails, the server state preceding the request MUST be restored.

mkcalendar要求が失敗した場合、リクエストの前のサーバー状態を復元する必要があります。

Marshalling: If a request body is included, it MUST be a CALDAV:mkcalendar XML element. Instruction processing MUST occur in the order instructions are received (i.e., from top to bottom). Instructions MUST either all be executed or none executed. Thus, if any error occurs during processing, all executed instructions MUST be undone and a proper error result returned. Instruction processing details can be found in the definition of the DAV:set instruction in Section 12.13.2 of [RFC2518].

マーシャリング:リクエスト本文が含まれている場合、それはcaldav:mkcalendar xml要素でなければなりません。命令処理は、注文命令を受け取る必要があります(つまり、上から下まで)。指示はすべて実行されるか、実行されない必要があります。したがって、処理中にエラーが発生した場合、実行されたすべての命令は元に戻し、適切なエラー結果が返されなければなりません。命令処理の詳細は、[RFC2518]のセクション12.13.2のDAV:設定命令に記載されています。

         <!ELEMENT mkcalendar (DAV:set)>
        

If a response body for a successful request is included, it MUST be a CALDAV:mkcalendar-response XML element.

リクエストを成功させるための応答本体が含まれている場合、それはCalDAV:MKCalendar-Response XML要素でなければなりません。

         <!ELEMENT mkcalendar-response ANY>
        

The response MUST include a Cache-Control:no-cache header.

応答には、キャッシュコントロール:ノーキャッシュヘッダーを含める必要があります。

Preconditions:

前提条件:

(DAV:resource-must-be-null): A resource MUST NOT exist at the Request-URI;

(DAV:リソースマストビーナル):リクエスト-URIにリソースが存在してはなりません。

(CALDAV:calendar-collection-location-ok): The Request-URI MUST identify a location where a calendar collection can be created;

(CalDAV:Calendar-Collection-Location-on):Request-URIは、カレンダーコレクションを作成できる場所を特定する必要があります。

(CALDAV:valid-calendar-data): The time zone specified in the CALDAV:calendar-timezone property MUST be a valid iCalendar object containing a single valid VTIMEZONE component;

(CalDAV:Valid-Calendar-Data):CalDAVで指定されたタイムゾーン:Calendar-TimeZoneプロパティは、単一の有効なvtimezoneコンポーネントを含む有効なIcalEndarオブジェクトでなければなりません。

(DAV:needs-privilege): The DAV:bind privilege MUST be granted to the current user on the parent collection of the Request-URI.

(DAV:Needs-Privilege):DAV:Bind Privilegeは、Request-URIの親コレクションで現在のユーザーに付与する必要があります。

Postconditions:

ポストコンディション:

(CALDAV:initialize-calendar-collection): A new calendar collection exists at the Request-URI. The DAV:resourcetype of the calendar collection MUST contain both DAV:collection and CALDAV:calendar XML elements.

(CalDAV:Initialize-Calendar-Collection):リクエスト-URIに新しいカレンダーコレクションが存在します。DAV:カレンダーコレクションのResourceTypeには、DAV:コレクションとCalDAV:カレンダーXML要素の両方が含まれている必要があります。

5.3.1.1. Status Codes
5.3.1.1. ステータスコード

The following are examples of response codes one would expect to get in a response to a MKCALENDAR request. Note that this list is by no means exhaustive.

以下は、MKCALENDARリクエストへの応答を取得すると予想される応答コードの例です。このリストは決して網羅的ではないことに注意してください。

201 (Created) - The calendar collection resource was created in its entirety;

201(作成) - カレンダーコレクションリソースは完全に作成されました。

207 (Multi-Status) - The calendar collection resource was not created since one or more DAV:set instructions specified in the request body could not be processed successfully. The following are examples of response codes one would expect to be used in a 207 (Multi-Status) response in this situation:

207(Multi -Status) - 1つ以上のDAV:リクエスト本体で指定された設定命令を正常に処理できなかったため、カレンダーコレクションリソースは作成されませんでした。以下は、この状況で207(マルチステータス)応答で使用されると予想される応答コードの例です。

403 (Forbidden) - The client, for reasons the server chooses not to specify, cannot alter one of the properties;

403(FORBIDDEN) - クライアントは、サーバーが指定しないことを選択する理由で、プロパティのいずれかを変更できません。

409 (Conflict) - The client has provided a value whose semantics are not appropriate for the property. This includes trying to set read-only properties;

409(競合) - クライアントは、セマンティクスがプロパティに適していない値を提供しました。これには、読み取り専用プロパティを設定しようとすることが含まれます。

424 (Failed Dependency) - The DAV:set instruction on the specified resource would have succeeded if it were not for the failure of another DAV:set instruction specified in the request body;

424(依存の失敗) - DAV:指定されたリソースの命令を設定すると、別のDAV:リクエスト本体で指定されたセット命令が故障していない場合、成功しました。

423 (Locked) - The specified resource is locked and the client either is not a lock owner or the lock type requires a lock token to be submitted and the client did not submit it; and 507 (Insufficient Storage) - The server did not have sufficient space to record the property;

423(ロック) - 指定されたリソースがロックされており、クライアントはロック所有者ではないか、ロックタイプでロックトークンを提出する必要があり、クライアントはそれを提出しませんでした。507(ストレージが不十分) - サーバーには、プロパティを記録するのに十分なスペースがありませんでした。

403 (Forbidden) - This indicates at least one of two conditions: 1) the server does not allow the creation of calendar collections at the given location in its namespace, or 2) the parent collection of the Request-URI exists but cannot accept members;

403(禁止) - これは、2つの条件の少なくとも1つを示します。1)サーバーは、名前空間の特定の場所でカレンダーコレクションの作成を許可していません。;

409 (Conflict) - A collection cannot be made at the Request-URI until one or more intermediate collections have been created;

409(競合) - 1つ以上の中間コレクションが作成されるまで、リクエスト-URIでコレクションを作成することはできません。

415 (Unsupported Media Type) - The server does not support the request type of the body; and

415(サポートされていないメディアタイプ) - サーバーは、ボディの要求タイプをサポートしていません。と

507 (Insufficient Storage) - The resource does not have sufficient space to record the state of the resource after the execution of this method.

507(ストレージが不十分) - リソースには、この方法の実行後にリソースの状態を記録するのに十分なスペースがありません。

5.3.1.2. Example: Successful MKCALENDAR Request
5.3.1.2. 例:MKCALENDARリクエストの成功

This example creates a calendar collection called /home/lisa/ calendars/events/ on the server cal.example.com with specific values for the properties DAV:displayname, CALDAV:calendar-description, CALDAV:supported-calendar-component-set, and CALDAV:calendar-timezone.

この例では、プロパティの特定の値を備えたサーバーのcal.example.comで/home/home/lisa/calendars/events/eventsというカレンダーコレクションを作成します。およびCalDav:Calendar-TimeZone。

   >> Request <<
        
   MKCALENDAR /home/lisa/calendars/events/ HTTP/1.1
   Host: cal.example.com
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <C:mkcalendar xmlns:D="DAV:"
                 xmlns:C="urn:ietf:params:xml:ns:caldav">
     <D:set>
       <D:prop>
         <D:displayname>Lisa's Events</D:displayname>
         <C:calendar-description xml:lang="en"
   >Calendar restricted to events.</C:calendar-description>
         <C:supported-calendar-component-set>
           <C:comp name="VEVENT"/>
         </C:supported-calendar-component-set>
         <C:calendar-timezone><![CDATA[BEGIN:VCALENDAR
   PRODID:-//Example Corp.//CalDAV Client//EN
   VERSION:2.0
   BEGIN:VTIMEZONE
   TZID:US-Eastern
   LAST-MODIFIED:19870101T000000Z
   BEGIN:STANDARD
   DTSTART:19671029T020000
   RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
   TZOFFSETFROM:-0400
   TZOFFSETTO:-0500
   TZNAME:Eastern Standard Time (US & Canada)
   END:STANDARD
   BEGIN:DAYLIGHT
   DTSTART:19870405T020000
   RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
   TZOFFSETFROM:-0500
   TZOFFSETTO:-0400
   TZNAME:Eastern Daylight Time (US & Canada)
   END:DAYLIGHT
   END:VTIMEZONE
   END:VCALENDAR
   ]]></C:calendar-timezone>
       </D:prop>
     </D:set>
   </C:mkcalendar>
        
   >> Response <<
        

HTTP/1.1 201 Created Cache-Control: no-cache Date: Sat, 11 Nov 2006 09:32:12 GMT Content-Length: 0

http/1.1 201の作成キャッシュ制御:ノーキャッシュ日付:土、2006年11月11日09:32:12 GMTコンテンツレングス:0

5.3.2. Creating Calendar Object Resources
5.3.2. カレンダーオブジェクトリソースの作成

Clients populate calendar collections with calendar object resources. The URL for each calendar object resource is entirely arbitrary and does not need to bear a specific relationship to the calendar object resource's iCalendar properties or other metadata. New calendar object resources MUST be created with a PUT request targeted at an unmapped URI. A PUT request targeted at a mapped URI updates an existing calendar object resource.

クライアントは、カレンダーコレクションにカレンダーオブジェクトリソースを入力します。各カレンダーオブジェクトリソースのURLは完全に任意であり、カレンダーオブジェクトリソースのアイカルエンダルプロパティまたは他のメタデータと特定の関係を持つ必要はありません。新しいカレンダーオブジェクトリソースは、マップされていないURIをターゲットにしたPUTリクエストを使用して作成する必要があります。マッピングされたURIをターゲットにしたプット要求は、既存のカレンダーオブジェクトリソースを更新します。

When servers create new resources, it's not hard for the server to choose an unmapped URI. It's slightly tougher for clients, because a client might not want to examine all resources in the collection and might not want to lock the entire collection to ensure that a new resource isn't created with a name collision. However, there is an HTTP feature to mitigate this. If the client intends to create a new non-collection resource, such as a new VEVENT, the client SHOULD use the HTTP request header "If-None-Match: *" on the PUT request. The Request-URI on the PUT request MUST include the target collection, where the resource is to be created, plus the name of the resource in the last path segment. The "If-None-Match: *" request header ensures that the client will not inadvertently overwrite an existing resource if the last path segment turned out to already be used.

サーバーが新しいリソースを作成するとき、サーバーがマッピングされていないURIを選択するのは難しくありません。クライアントは、クライアントがコレクション内のすべてのリソースを調べたくない場合があり、コレクション全体をロックして、新しいリソースが名前の衝突で作成されないようにするため、クライアントにとってわずかに困難です。ただし、これを軽減するHTTP機能があります。クライアントが新しいVeventなどの新しい非収集リソースを作成しようとする場合、クライアントはPUTリクエストでHTTPリクエストヘッダー「if-none-match: *」を使用する必要があります。PUTリクエストのリクエスト-URIには、リソースを作成するターゲットコレクションと、最後のパスセグメントのリソースの名前を含める必要があります。「if-none-match: *」要求ヘッダーは、最後のパスセグメントが既に使用されていることが判明した場合、クライアントが既存のリソースを誤って上書きしないようにします。

   >> Request <<
        
   PUT /home/lisa/calendars/events/qwue23489.ics HTTP/1.1
   If-None-Match: *
   Host: cal.example.com
   Content-Type: text/calendar
   Content-Length: xxxx
        

BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VEVENT UID:20010712T182145Z-123401@example.com DTSTAMP:20060712T182145Z DTSTART:20060714T170000Z DTEND:20060715T040000Z SUMMARY:Bastille Day Party END:VEVENT END:VCALENDAR

begin:vcalendarバージョン:2.0 prodid: - // corp.//caldav client // en en en beven:vevent uid:20010712t182145z-123401@example.com dtstamp:20060712T182145Z DTSTART:20060714T170000Z DENDING:200600Z DENTEND:200600Z dent dent admerベント終了:vcalendar

   >> Response <<
        

HTTP/1.1 201 Created Content-Length: 0 Date: Sat, 11 Nov 2006 09:32:12 GMT ETag: "123456789-000-111"

HTTP/1.1 201作成コンテンツレングス:0日付:土、2006年11月11日09:32:12 GMT ETAG: "123456789-000-1111"

The request to change an existing event is the same, but with a specific ETag in the "If-Match" header, rather than the "If-None-Match" header.

既存のイベントを変更するというリクエストは同じですが、「if-none-match」ヘッダーではなく、「if-match」ヘッダーに特定のETAGがあります。

As indicated in Section 3.10 of [RFC2445], the URL of calendar object resources containing (an arbitrary set of) calendaring and scheduling information may be suffixed by ".ics", and the URL of calendar object resources containing free or busy time information may be suffixed by ".ifb".

[RFC2445]のセクション3.10に示されているように、カレンダー情報とスケジューリング情報を含む(任意の)カレンダーオブジェクトリソースのURLは「.IC」によって接尾辞が付いている場合があり、無料または忙しい時間情報を含むカレンダーオブジェクトリソースのURL「.ifb」で接尾辞を付けます。

5.3.2.1. Additional Preconditions for PUT, COPY, and MOVE
5.3.2.1. PUT、コピー、および移動のための追加の前提条件

This specification creates additional Preconditions for PUT, COPY, and MOVE methods. These preconditions apply when a PUT operation of a calendar object resource into a calendar collection occurs, or when a COPY or MOVE operation of a calendar object resource into a calendar collection occurs, or when a COPY or MOVE operation occurs on a calendar collection.

この仕様では、メソッド、コピー、および移動の追加の前提条件が作成されます。これらの前提条件は、カレンダーオブジェクトリソースをカレンダーコレクションに入れた操作が発生した場合、またはカレンダーオブジェクトリソースのカレンダーコレクションへのコピーまたは移動操作が発生したとき、またはカレンダーコレクションでコピーまたは移動操作が発生したときに適用されます。

The new preconditions are:

新しい前提条件は次のとおりです。

(CALDAV:supported-calendar-data): The resource submitted in the PUT request, or targeted by a COPY or MOVE request, MUST be a supported media type (i.e., iCalendar) for calendar object resources;

(CalDAV:サポートされているCalendar-Data):Putリクエストで提出されたリソース、またはコピーまたは移動要求によってターゲットを絞ったリソースは、カレンダーオブジェクトリソースのサポートされているメディアタイプ(つまり、ICALENDAR)でなければなりません。

(CALDAV:valid-calendar-data): The resource submitted in the PUT request, or targeted by a COPY or MOVE request, MUST be valid data for the media type being specified (i.e., MUST contain valid iCalendar data);

(CalDAV:valid-calendar-data):PUTリクエストで提出されたリソース、またはコピーまたは移動リクエストによってターゲットを絞ったリソースは、指定されているメディアタイプの有効なデータでなければなりません(つまり、有効なICALENDARデータを含める必要があります)。

(CALDAV:valid-calendar-object-resource): The resource submitted in the PUT request, or targeted by a COPY or MOVE request, MUST obey all restrictions specified in Section 4.1 (e.g., calendar object resources MUST NOT contain more than one type of calendar component, calendar object resources MUST NOT specify the iCalendar METHOD property, etc.);

(CalDAV:valid-calendar-object-resource):PUTリクエストで提出されたリソース、またはコピーまたは移動要求によってターゲットにされたリソースは、セクション4.1で指定されたすべての制限に従う必要があります(たとえば、カレンダーオブジェクトリソースには1つ以上のタイプを含めてはなりませんカレンダーコンポーネントのカレンダーオブジェクトリソースは、IcalEndarメソッドプロパティなどを指定してはなりません。

(CALDAV:supported-calendar-component): The resource submitted in the PUT request, or targeted by a COPY or MOVE request, MUST contain a type of calendar component that is supported in the targeted calendar collection;

(CalDAV:サポートされているCalendar-Component):PUTリクエストで提出されたリソース、またはコピーまたは移動リクエストによってターゲットを絞ったリソースには、ターゲットを絞ったカレンダーコレクションでサポートされているカレンダーコンポーネントの種類を含める必要があります。

(CALDAV:no-uid-conflict): The resource submitted in the PUT request, or targeted by a COPY or MOVE request, MUST NOT specify an iCalendar UID property value already in use in the targeted calendar collection or overwrite an existing calendar object resource with one that has a different UID property value. Servers SHOULD report the URL of the resource that is already making use of the same UID property value in the DAV:href element;

(CalDAV:no-uid-conflict):PUTリクエストで提出されたリソース、またはコピーまたは移動要求によってターゲットを絞ったリソースは、ターゲットを絞ったカレンダーコレクションで既に使用されているICALENENDAR UIDプロパティ値を指定してはなりません。異なるUIDプロパティ値を持つもので。サーバーは、DAV:HREF要素の同じUIDプロパティ値をすでに使用しているリソースのURLを報告する必要があります。

                <!ELEMENT no-uid-conflict (DAV:href)>
        

(CALDAV:calendar-collection-location-ok): In a COPY or MOVE request, when the Request-URI is a calendar collection, the Destination-URI MUST identify a location where a calendar collection can be created;

(CalDAV:Calendar-Collection-Location-OK):コピーまたは移動要求で、リクエスト-URIがカレンダーコレクションである場合、Destination-URIはカレンダーコレクションを作成できる場所を特定する必要があります。

(CALDAV:max-resource-size): The resource submitted in the PUT request, or targeted by a COPY or MOVE request, MUST have an octet size less than or equal to the value of the CALDAV:max-resource-size property value (Section 5.2.5) on the calendar collection where the resource will be stored;

(CalDav:Max-Resource-Size):Putリクエストで提出されたリソース、またはコピーまたは移動リクエストでターゲットにされている場合、CalDAVの値以下のオクテットサイズを持つ必要があります:Max-Resource-Size Property Value(セクション5.2.5)リソースが保存されるカレンダーコレクション。

(CALDAV:min-date-time): The resource submitted in the PUT request, or targeted by a COPY or MOVE request, MUST have all of its iCalendar DATE or DATE-TIME property values (for each recurring instance) greater than or equal to the value of the CALDAV:min-date-time property value (Section 5.2.6) on the calendar collection where the resource will be stored;

(CalDav:Min-Date-Time):PUTリクエストで提出されたリソース、またはコピーまたは移動リクエストでターゲットにされている場合、すべてのICALENDAR日付または日付のプロパティ値(各繰り返しインスタンス)がすべて等しいか等しいものを持っている必要がありますCaldavの価値:リソースが保存されるカレンダーコレクションの最小時間プロパティ値(セクション5.2.6)。

(CALDAV:max-date-time): The resource submitted in the PUT request, or targeted by a COPY or MOVE request, MUST have all of its iCalendar DATE or DATE-TIME property values (for each recurring instance) less than the value of the CALDAV:max-date-time property value (Section 5.2.7) on the calendar collection where the resource will be stored;

(CalDAV:Max-Date-Time):PUTリクエストで提出されたリソース、またはコピーまたは移動リクエストでターゲットにされている場合、そのすべてのICALENDAR日付または日付のプロパティ値(各繰り返しインスタンス)が値よりも少ない必要がありますCalDav:最大日間のプロパティ値(セクション5.2.7)は、リソースが保存されるカレンダーコレクションのものです。

(CALDAV:max-instances): The resource submitted in the PUT request, or targeted by a COPY or MOVE request, MUST generate a number of recurring instances less than or equal to the value of the CALDAV: max-instances property value (Section 5.2.8) on the calendar collection where the resource will be stored;

(CalDAV:Max-Instances):Put Requestで提出されたリソース、またはコピーまたは移動リクエストによって標的にされたリソースは、CalDAVの値よりも等または等しい多くの定期的なインスタンスを生成する必要があります:Max-Instancesプロパティ値(セクション5.2.8)リソースが保存されるカレンダーコレクション。

(CALDAV:max-attendees-per-instance): The resource submitted in the PUT request, or targeted by a COPY or MOVE request, MUST have a number of ATTENDEE properties on any one instance less than or equal to the value of the CALDAV:max-attendees-per-instance property value (Section 5.2.9) on the calendar collection where the resource will be stored;

(CalDav:Max-Attendees-instance):PUTリクエストで提出されたリソース、またはコピーまたは移動リクエストによって標的にされたリソースには、CalDAVの値以下の場合、任意のインスタンスに多くの出席者プロパティが必要です。:リソースが保存されるカレンダーコレクションのマックスアテンダー - インスタンスのプロパティ値(セクション5.2.9)。

5.3.3. Non-Standard Components, Properties, and Parameters
5.3.3. 非標準コンポーネント、プロパティ、およびパラメーター

iCalendar provides a "standard mechanism for doing non-standard things". This extension support allows implementers to make use of non-standard components, properties, and parameters whose names are prefixed with the text "X-".

IcalEndarは、「非標準的なことを行うための標準的なメカニズム」を提供します。この拡張サポートにより、実装者は、名前がテキスト「x-」が付いた非標準コンポーネント、プロパティ、およびパラメーターを使用することができます。

Servers MUST support the use of non-standard components, properties, and parameters in calendar object resources stored via the PUT method.

サーバーは、PUTメソッドを介して保存されているカレンダーオブジェクトリソースで、非標準コンポーネント、プロパティ、およびパラメーターの使用をサポートする必要があります。

Servers may need to enforce rules for their own "private" components, properties, or parameters, so servers MAY reject any attempt by the client to change those or use values for those outside of any restrictions the server may have. Servers SHOULD ensure that any "private" components, properties, or parameters it uses follow the convention of including a vendor id in the "X-" name, as described in Section 4.2 of [RFC2445], e.g., "X-ABC-PRIVATE".

サーバーは、独自の「プライベート」コンポーネント、プロパティ、またはパラメーターのルールを実施する必要がある場合があるため、サーバーは、サーバーが持っている制限以外のものを変更するか、それらを変更しようとするクライアントの試みを拒否する場合があります。サーバーは、[RFC2445]のセクション4.2で説明されているように、「x-abc-private」で説明されているように、「x-」名前に「x-」名にベンダーIDを含めることの慣習に続くように、使用する「プライベート」コンポーネント、プロパティ、またはパラメーターに続くことを確認する必要があります。「。

5.3.4. Calendar Object Resource Entity Tag
5.3.4. カレンダーオブジェクトリソースエンティティタグ

The DAV:getetag property MUST be defined and set to a strong entity tag on all calendar object resources.

DAV:getETAGプロパティを定義し、すべてのカレンダーオブジェクトリソースの強力なエンティティタグに設定する必要があります。

A response to a GET request targeted at a calendar object resource MUST contain an ETag response header field indicating the current value of the strong entity tag of the calendar object resource.

カレンダーオブジェクトリソースをターゲットにしたGETリクエストへの応答には、カレンダーオブジェクトリソースの強力なエンティティタグの現在の値を示すETAG応答ヘッダーフィールドを含める必要があります。

Servers SHOULD return a strong entity tag (ETag header) in a PUT response when the stored calendar object resource is equivalent by octet equality to the calendar object resource submitted in the body of the PUT request. This allows clients to reliably use the returned strong entity tag for data synchronization purposes. For instance, the client can do a PROPFIND request on the stored calendar object resource and have the DAV:getetag property returned, and compare that value with the strong entity tag it received on the PUT response, and know that if they are equal, then the calendar object resource on the server has not been changed.

サーバーは、PUTリクエストの本文で送信されたカレンダーオブジェクトリソースと格納されたカレンダーオブジェクトリソースが同等である場合、PUT応答で強力なエンティティタグ(ETAGヘッダー)をPUT応答に返す必要があります。これにより、クライアントはデータ同期のために返された強力なエンティティタグを確実に使用できます。たとえば、クライアントは、保存されているカレンダーオブジェクトリソースでPropfind Requestを実行し、DAV:GetETAGプロパティを返し、Put Responseで受け取った強力なエンティティタグと比較し、それらが等しい場合は、それが等しい場合、サーバー上のカレンダーオブジェクトリソースは変更されていません。

In the case where the data stored by a server as a result of a PUT request is not equivalent by octet equality to the submitted calendar object resource, the behavior of the ETag response header is not specified here, with the exception that a strong entity tag MUST NOT be returned in the response. As a result, clients may need to retrieve the modified calendar object resource (and ETag) as a basis for further changes, rather than use the calendar object resource it had sent with the PUT request.

PUTリクエストの結果としてサーバーによって保存されたデータが、提出されたカレンダーオブジェクトリソースとのオクテットの平等と同等ではない場合、ETAG応答ヘッダーの動作はここでは指定されていません。応答で返されてはなりません。その結果、クライアントは、PUTリクエストで送信したカレンダーオブジェクトリソースを使用するのではなく、さらなる変更の基礎として修正されたカレンダーオブジェクトリソース(およびETAG)を取得する必要がある場合があります。

6. Calendaring Access Control
6. カレンダーアクセス制御
6.1. Calendaring Privilege
6.1. カレンダー特権

CalDAV servers MUST support and adhere to the requirements of WebDAV ACL [RFC3744]. WebDAV ACL provides a framework for an extensible set of privileges that can be applied to WebDAV collections and ordinary resources. CalDAV servers MUST also support the calendaring privilege defined in this section.

CalDAVサーバーは、WebDAV ACL [RFC3744]の要件をサポートし、遵守する必要があります。WebDav ACLは、WebDAVコレクションと通常のリソースに適用できる拡張可能な特権セットのフレームワークを提供します。CalDAVサーバーは、このセクションで定義されているカレンダー特権もサポートする必要があります。

6.1.1. CALDAV:read-free-busy Privilege
6.1.1. Caldav:読み取りのない忙しい特権

Calendar users often wish to allow other users to see their busy time information, without viewing the other details of the calendar components (e.g., location, summary, attendees). This allows a significant amount of privacy while still allowing other users to schedule meetings at times when the user is likely to be free.

カレンダーユーザーは、カレンダーコンポーネント(場所、概要、参加者など)の他の詳細を表示せずに、他のユーザーが忙しい時間情報を表示できるようにすることを望んでいます。これにより、かなりの量のプライバシーが可能になり、他のユーザーがユーザーが無料になる可能性が高い場合に会議をスケジュールできるようになります。

The CALDAV:read-free-busy privilege controls which calendar collections, regular collections, and calendar object resources are examined when a CALDAV:free-busy-query REPORT request is processed (see Section 7.10). This privilege can be granted on calendar collections, regular collections, or calendar object resources.

CalDav:読み取りフリーにぴったりの特権は、CalDAV:Free-Busy-Curelyレポートリクエストが処理されたときに、どのカレンダーコレクション、通常のコレクション、およびカレンダーオブジェクトリソースが調べられたかを制御します(セクション7.10を参照)。この特権は、カレンダーコレクション、通常のコレクション、またはカレンダーオブジェクトリソースで付与できます。

Servers MUST support this privilege on all calendar collections, regular collections, and calendar object resources.

サーバーは、すべてのカレンダーコレクション、通常のコレクション、カレンダーオブジェクトリソースでこの特権をサポートする必要があります。

           <!ELEMENT read-free-busy EMPTY>
        

The CALDAV:read-free-busy privilege MUST be aggregated in the DAV: read privilege. Servers MUST allow the CALDAV:read-free-busy to be granted without the DAV:read privilege being granted.

CalDav:読み取りのない魅力的な特権は、DAV:Read Privilegeに集約されなければなりません。サーバーは、caldav:read-free-busyをDAV:読み取り特権を許可されていないことを許可する必要があります。

Clients should note that when only the CALDAV:read-free-busy privilege has been granted on a resource, access to GET, HEAD, OPTIONS, and PROPFIND on the resource is not implied (those operations are governed by the DAV:read privilege).

クライアントは、CalDav:読み取りのない魅力的な特権のみがリソースに付与されている場合、リソースへの取得、ヘッド、オプション、および支持へのアクセスが暗示されていないことに注意する必要があります(これらの操作はDAVによって支配されています:Read Privilege)。

6.2. Additional Principal Property
6.2. 追加の主要なプロパティ

This section defines an additional property for WebDAV principal resources, as defined in [RFC3744].

このセクションでは、[RFC3744]で定義されているように、WebDAVプリンシパルリソースの追加プロパティを定義します。

6.2.1. CALDAV:calendar-home-set Property
6.2.1. CalDAV:カレンダーホームセットプロパティ

Name: calendar-home-set

名前:カレンダーホームセット

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Identifies the URL of any WebDAV collections that contain calendar collections owned by the associated principal resource.

目的:関連する主要なリソースが所有するカレンダーコレクションを含むWebDAVコレクションのURLを識別します。

Conformance: This property SHOULD be defined on a principal resource. If defined, it MAY be protected and SHOULD NOT be returned by a PROPFIND DAV:allprop request (as defined in Section 12.14.1 of [RFC2518]).

適合:このプロパティは、主要なリソースで定義する必要があります。定義されている場合、保護されている可能性があり、Propfind DAV:AllPropリクエスト([RFC2518]のセクション12.14.1で定義されている)によって返されるべきではありません。

Description: The CALDAV:calendar-home-set property is meant to allow users to easily find the calendar collections owned by the principal. Typically, users will group all the calendar collections that they own under a common collection. This property specifies the URL of collections that are either calendar collections or ordinary collections that have child or descendant calendar collections owned by the principal.

説明:CalDAV:Calendar-Home-Setプロパティは、ユーザーがプリンシパルが所有するカレンダーコレクションを簡単に見つけることができるようにするためのものです。通常、ユーザーは、共通のコレクションの下で所有するすべてのカレンダーコレクションをグループ化します。このプロパティは、校長が所有する子または子孫のカレンダーコレクションを持つカレンダーコレクションまたは通常のコレクションであるコレクションのURLを指定します。

Definition:

意味:

         <!ELEMENT calendar-home-set (DAV:href*)>
        

Example:

例:

       <C:calendar-home-set xmlns:D="DAV:"
                            xmlns:C="urn:ietf:params:xml:ns:caldav">
         <D:href>http://cal.example.com/home/bernard/calendars/</D:href>
       </C:calendar-home-set>
        
7. Calendaring Reports
7. カレンダーレポート

This section defines the reports that CalDAV servers MUST support on calendar collections and calendar object resources.

このセクションでは、CalDAVサーバーがカレンダーコレクションとカレンダーオブジェクトリソースをサポートする必要があるというレポートを定義します。

CalDAV servers MUST advertise support for these reports on all calendar collections and calendar object resources with the DAV: supported-report-set property, defined in Section 3.1.5 of [RFC3253]. CalDAV servers MAY also advertise support for these reports on ordinary collections.

CalDAVサーバーは、[RFC3253]のセクション3.1.5で定義されているすべてのカレンダーコレクションとカレンダーオブジェクトリソースに関するこれらのレポートとカレンダーオブジェクトリソースのサポートを宣伝する必要があります。CalDAVサーバーは、通常のコレクションに関するこれらのレポートのサポートを宣伝する場合があります。

Some of these reports allow calendar data (from possibly multiple resources) to be returned.

これらのレポートの一部は、カレンダーデータ(おそらく複数のリソースから)を返すことができます。

7.1. REPORT Method
7.1. レポート方法

The REPORT method (defined in Section 3.6 of [RFC3253]) provides an extensible mechanism for obtaining information about one or more resources. Unlike the PROPFIND method, which returns the value of one or more named properties, the REPORT method can involve more complex processing. REPORT is valuable in cases where the server has access to all of the information needed to perform the complex request (such as a query), and where it would require multiple requests for the client to retrieve the information needed to perform the same request.

レポート方法([RFC3253]のセクション3.6で定義)は、1つ以上のリソースに関する情報を取得するための拡張可能なメカニズムを提供します。1つ以上の名前付きプロパティの値を返すPropfindメソッドとは異なり、レポート方法には、より複雑な処理が含まれます。レポートは、サーバーが複雑な要求(クエリなど)を実行するために必要なすべての情報にアクセスできる場合、およびクライアントが同じリクエストを実行するために必要な情報を取得するために複数のリクエストを必要とする場合に役立ちます。

CalDAV servers MUST support the DAV:expand-property REPORT defined in Section 3.8 of [RFC3253].

CalDAVサーバーは、[RFC3253]のセクション3.8で定義されているDAV:拡張プロパティレポートをサポートする必要があります。

7.2. Ordinary Collections
7.2. 通常のコレクション

Servers MAY support the reports defined in this document on ordinary collections (collections that are not calendar collections), in addition to calendar collections or calendar object resources. In computing responses to the reports on ordinary collections, servers MUST only consider calendar object resources contained in calendar collections that are targeted by the REPORT request, based on the value of the Depth request header.

サーバーは、カレンダーコレクションまたはカレンダーオブジェクトリソースに加えて、通常のコレクション(カレンダーコレクションではないコレクション)に関するこのドキュメントで定義されているレポートをサポートできます。通常のコレクションに関するレポートに対するコンピューティングの回答では、サーバーは、深度リクエストヘッダーの値に基づいて、レポートリクエストによってターゲットにされたカレンダーコレクションに含まれるカレンダーオブジェクトリソースのみを考慮する必要があります。

7.3. Date and Floating Time
7.3. 日付と変動時間

iCalendar provides a way to specify DATE and DATE-TIME values that are not bound to any time zone in particular, hereafter called "floating date" and "floating time", respectively. These values are used to represent the same day, hour, minute, and second value, regardless of which time zone is being observed. For instance, the DATE value "20051111", represents November 11, 2005 in no specific time zone, while the DATE-TIME value "20051111T111100" represents November 11, 2005, at 11:11 A.M. in no specific time zone.

ICALENDARは、特にタイムゾーンにバインドされていない日付と日付の値を指定する方法を提供します。以下「フローティング日」と「フローティング時間」と呼ばれます。これらの値は、どのタイムゾーンが観察されているかに関係なく、同じ日、時間、分、2番目の値を表すために使用されます。たとえば、日付値「20051111」は、特定のタイムゾーンなしで2005年11月11日を表しますが、日付時間「20051111T111100」は2005年11月11日午前11時11分を表します。特定のタイムゾーンではありません。

CalDAV servers may need to convert "floating date" and "floating time" values in date with UTC time values in the processing of calendaring REPORT requests.

CalDAVサーバーは、カレンダーレポートリクエストの処理でUTC時間値を使用して、「フローティング日付」と「浮動時間」値を変換する必要がある場合があります。

For the CALDAV:calendar-query REPORT, CalDAV servers MUST rely on the value of the CALDAV:timezone XML element, if specified as part of the request body, to perform the proper conversion of "floating date" and "floating time" values to date with UTC time values. If the CALDAV: timezone XML element is not specified in the request body, CalDAV servers MUST rely on the value of the CALDAV:calendar-timezone property, if defined, or else the CalDAV servers MAY rely on the time zone of their choice.

CalDAV:カレンダークエリレポートの場合、CalDAVサーバーは、CalDAVの値に依存する必要があります。リクエスト本体の一部として指定されている場合、「浮動日」と「浮動時間」値の適切な変換を実行するために、UTC時間値の日付。CalDAV:TimeZone XML要素がリクエスト本体で指定されていない場合、CalDAVサーバーは、定義されている場合、CalDAV:カレンダータイムゾーンプロパティの値に依存する必要があります。

For the CALDAV:free-busy-query REPORT, CalDAV servers MUST rely on the value of the CALDAV:calendar-timezone property, if defined, to compute the proper FREEBUSY time period value as date with UTC time for calendar components scheduled with "floating date" or "floating time". If the CALDAV:calendar-timezone property is not defined, CalDAV servers MAY rely on the time zone of their choice.

Caldav:Free-Busy-Queryレポートの場合、CalDavサーバーは、CalDAVの価値に依存する必要があります:定義されている場合、カレンダータイムプロパティは、「フローティング」でスケジュールされたカレンダーコンポーネントのUTC時間の日付として適切なフリーベーシー期間値を計算する必要があります日付 "または" floating time "。CalDAV:Calendar-TimeZoneプロパティが定義されていない場合、CalDAVサーバーは選択したタイムゾーンに依存する場合があります。

7.4. Time Range Filtering
7.4. 時間範囲フィルタリング

Some of the reports defined in this section can include a time range filter that is used to restrict the set of calendar object resources returned to just those that overlap the specified time range. The time range filter can be applied to a calendar component as a whole, or to specific calendar component properties with DATE or DATE-TIME value types.

このセクションで定義されているレポートの一部には、指定された時間範囲と重複するカレンダーオブジェクトリソースのセットを制限するために使用される時間範囲フィルターを含めることができます。時間範囲フィルターは、全体としてカレンダーコンポーネント、または日付または日付の値タイプの特定のカレンダーコンポーネントプロパティに適用できます。

To determine whether a calendar object resource matches the time range filter element, the start and end times for the targeted component or property are determined and then compared to the requested time range. If there is an overlap with the requested time range, then the calendar object resource matches the filter element. The rules defined in [RFC2445] for determining the actual start and end times of calendar components MUST be used, and these are fully enumerated in Section 9.9 of this document.

カレンダーオブジェクトリソースが時間範囲フィルター要素と一致するかどうかを判断するために、ターゲットコンポーネントまたはプロパティの開始時間と終了時間が決定され、要求された時間範囲と比較されます。要求された時間範囲とオーバーラップがある場合、カレンダーオブジェクトリソースはフィルター要素と一致します。カレンダーコンポーネントの実際の開始時間と終了時間を決定するために[RFC2445]で定義されているルールを使用する必要があり、これらはこのドキュメントのセクション9.9で完全に列挙されています。

When such time range filtering is used, special consideration must be given to recurring calendar components, such as VEVENT and VTODO. The server MUST expand recurring components to determine whether any recurrence instances overlap the specified time range. If one or more recurrence instances overlap the time range, then the calendar object resource matches the filter element.

このような時間範囲のフィルタリングを使用する場合、VeventやVtodoなどの繰り返しのカレンダーコンポーネントに特別な考慮を払う必要があります。サーバーは、再発コンポーネントを拡張して、指定された時間範囲と重複するかどうかを判断する必要があります。1つまたは複数の再発インスタンスが時間範囲と重複する場合、カレンダーオブジェクトリソースはフィルター要素と一致します。

7.5. Searching Text: Collations
7.5. テキストの検索:照合

Some of the reports defined in this section do text matches of character strings provided by the client and are compared to stored calendar data. Since iCalendar data is, by default, encoded in the UTF-8 charset and may include characters outside the US-ASCII charset range in some property and parameter values, there is a need to ensure that text matching follows well-defined rules.

このセクションで定義されているレポートのいくつかは、クライアントが提供する文字文字列のテキストマッチングを行い、保存されたカレンダーデータと比較されます。ICALENDARデータはデフォルトでUTF-8 charsetでエンコードされており、一部のプロパティとパラメーター値にUS-ASCII charSet範囲外の文字が含まれる可能性があるため、テキストマッチングが明確に定義されたルールに従うことを確認する必要があります。

To deal with this, this specification makes use of the IANA Collation Registry defined in [RFC4790] to specify collations that may be used to carry out the text comparison operations with a well-defined rule.

これに対処するために、この仕様では、[RFC4790]で定義されているIANA照合レジストリを使用して、明確に定義されたルールでテキスト比較操作を実行するために使用できる照合を指定します。

The comparisons used in CalDAV are all "substring" matches, as per [RFC4790], Section 4.2. Collations supported by the server MUST support "substring" match operations.

CalDAVで使用される比較は、[RFC4790]、セクション4.2によると、すべて「サブストリング」マッチです。サーバーによってサポートされている照合は、「サブストリング」マッチ操作をサポートする必要があります。

CalDAV servers are REQUIRED to support the "i;ascii-casemap" and "i;octet" collations, as described in [RFC4790], and MAY support other collations.

CalDAVサーバーは、[RFC4790]で説明されているように、「i; ascii-casemap」および「i; octet」照合をサポートする必要があり、他の照合をサポートする場合があります。

Servers MUST advertise the set of collations that they support via the CALDAV:supported-collation-set property defined on any resource that supports reports that use collations.

サーバーは、CalDavを介してサポートする一連の照合を宣伝する必要があります。これは、照合を使用するレポートをサポートするリソースで定義されているサポートされている共有セットプロパティです。

Clients MUST only use collations from the list advertised by the server.

クライアントは、サーバーによって宣伝されているリストからの照合のみを使用する必要があります。

In the absence of a collation explicitly specified by the client, or if the client specifies the "default" collation identifier (as defined in [RFC4790], Section 3.1), the server MUST default to using "i;ascii-casemap" as the collation.

クライアントによって明示的に指定された照合がない場合、またはクライアントが「デフォルト」照合識別子([RFC4790]、セクション3.1で定義)を指定した場合、サーバーはデフォルトで「I; ASCII-CASEMAP」を使用する必要があります。照合。

Wildcards (as defined in [RFC4790], Section 3.2) MUST NOT be used in the collation identifier.

ワイルドカード([RFC4790]、セクション3.2で定義されている)は、照合識別子で使用してはなりません。

If the client chooses a collation not supported by the server, the server MUST respond with a CALDAV:supported-collation precondition error response.

クライアントがサーバーによってサポートされていない照合を選択した場合、サーバーはCalDAV:サポートされた共和の前エラー応答で応答する必要があります。

7.5.1. CALDAV:supported-collation-set Property
7.5.1. Caldav:サポートされたcollation-collation-setプロパティ

Name: supported-collation-set

名前:サポートされているcollation-collation-set

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Identifies the set of collations supported by the server for text matching operations.

目的:テキストマッチング操作のためにサーバーがサポートする一連の照合を識別します。

Conformance: This property MUST be defined on any resource that supports a report that does text matching. If defined, it MUST be protected and SHOULD NOT be returned by a PROPFIND DAV:allprop request (as defined in Section 12.14.1 of [RFC2518]).

適合:このプロパティは、テキストマッチングを行うレポートをサポートするリソースで定義する必要があります。定義されている場合、保護する必要があり、Propfind DAV:AllPropリクエスト([RFC2518]のセクション12.14.1で定義されている)によって返されるべきではありません。

Description: The CALDAV:supported-collation-set property contains zero or more CALDAV:supported-collation elements, which specify the collection identifiers of the collations supported by the server.

説明:CalDAV:サポートされているコレクションセットプロパティには、ゼロ以上のCalDAV:サポートされているコレクション要素が含まれています。

Definition:

意味:

         <!ELEMENT supported-collation-set (supported-collation*)>
        
         <!ELEMENT supported-collation (#PCDATA)>
        

Example:

例:

       <C:supported-collation-set
           xmlns:C="urn:ietf:params:xml:ns:caldav">
         <C:supported-collation>i;ascii-casemap</C:supported-collation>
         <C:supported-collation>i;octet</C:supported-collation>
       </C:supported-collation-set>
        
7.6. Partial Retrieval
7.6. 部分検索

Some calendaring reports defined in this document allow partial retrieval of calendar object resources. A CalDAV client can specify what information to return in the body of a calendaring REPORT request.

このドキュメントで定義されている一部のカレンダーレポートにより、カレンダーオブジェクトリソースの部分的な検索が可能になります。CalDAVクライアントは、カレンダーレポートリクエストの本文で返す情報を指定できます。

A CalDAV client can request particular WebDAV property values, all WebDAV property values, or a list of the names of the resource's WebDAV properties. A CalDAV client can also request calendar data to be returned and specify whether all calendar components and properties should be returned, or only particular ones. See CALDAV: calendar-data in Section 9.6.

CalDAVクライアントは、特定のWebDAVプロパティ値、すべてのWebDAVプロパティ値、またはリソースのWebDAVプロパティの名前のリストを要求できます。CalDAVクライアントは、カレンダーデータを返すように要求し、すべてのカレンダーコンポーネントとプロパティを返す必要があるか、特定のコンポーネントのみを指定することもできます。セクション9.6のCalDAV:カレンダーデータを参照してください。

By default, the returned calendar data will include the component that defines the recurrence set, referred to as the "master component", as well as the components that define exceptions to the recurrence set, referred to as the "overridden components".

デフォルトでは、返されたカレンダーデータには、「マスターコンポーネント」と呼ばれる再発セットを定義するコンポーネントと、「オーバーライドコンポーネント」と呼ばれる再発セットの例外を定義するコンポーネントが含まれます。

A CalDAV client that is only interested in the recurrence instances that overlap a specified time range can request to receive only the "master component", along with the "overridden components" that impact the specified time range, and thus, limit the data returned by the server (see CALDAV:limit-recurrence-set in Section 9.6.6). An overridden component impacts a time range if its current start and end times overlap the time range, or if the original start and end times -- the ones that would have been used if the instance were not overridden -- overlap the time range, or if it affects other instances that overlap the time range.

指定された時間範囲と重複する再発インスタンスにのみ関心のあるCalDAVクライアントは、指定された時間範囲に影響を与える「オーバーライドされたコンポーネント」とともに、「マスターコンポーネント」のみを受信するように要求できます。サーバー(セクション9.6.6のCalDAV:Limit-Recurrence-Setを参照)。オーバーライドされたコンポーネントは、現在の開始時間と終了時間が時間範囲に重複する場合、または元の開始時間(インスタンスがオーバーライドされていない場合に使用されていたもの)の場合、時間範囲のオーバーラップ、または時間範囲、または時間範囲、またはタイム範囲に影響を与えます。時間範囲に重複する他のインスタンスに影響を与える場合。

A CalDAV client with no support for recurrence properties (i.e., EXDATE, EXRULE, RDATE, and RRULE) and possibly VTIMEZONE components, or a client unwilling to perform recurrence expansion because of limited processing capability, can request to receive only the recurrence instances that overlap a specified time range as separate calendar components that each define exactly one recurrence instance (see CALDAV:expand in Section 9.6.5.)

再発特性(つまり、Exdate、Exrule、Rdate、およびRrule)および場合によってはvtimezoneコンポーネントをサポートしていないCalDAVクライアント、または処理能力が限られているため再発拡張を実行したくないクライアントは、重複する再発インスタンスのみを受け取るように要求できます。それぞれが正確に1つの再発インスタンスを定義する個別のカレンダーコンポーネントとして指定された時間範囲(CalDAV:展開9.6.5を参照)

Finally, in the case of VFREEBUSY components, a CalDAV client can request to receive only the FREEBUSY property values that overlap a specified time range (see CALDAV:limit-freebusy-set in Section 9.6.7.)

最後に、VFREEBUSYコンポーネントの場合、CalDAVクライアントは、指定された時間範囲と重複するfreebusyプロパティ値のみを受信するように要求できます(CalDAV:limit-freebusy-set in section 9.6.7を参照してください。)

7.7. Non-Standard Components, Properties, and Parameters
7.7. 非標準コンポーネント、プロパティ、およびパラメーター

Servers MUST support the use of non-standard component, property, or parameter names in the CALDAV:calendar-data XML element in calendaring REPORT requests to allow clients to request that non-standard components, properties, and parameters be returned in the calendar data provided in the response.

サーバーは、CalDAVでの非標準コンポーネント、プロパティ、またはパラメーター名の使用をサポートする必要があります。応答で提供されます。

Servers MAY support the use of non-standard component, property, or parameter names in the CALDAV:comp-filter, CALDAV:prop-filter, and CALDAV:param-filter XML elements specified in the CALDAV:filter XML element of calendaring REPORT requests.

サーバーは、CalDAVでの非標準コンポーネント、プロパティ、またはパラメーター名の使用をサポートできます:COMP-FILTER、CALDAV:PROP-FILTER、およびCALDAV:CalDAVで指定されているPARAM-FILTER XML要素:カレンダーレポートリクエストのフィルターXML要素。

Servers MUST fail with the CALDAV:supported-filter precondition if a calendaring REPORT request uses a CALDAV:comp-filter, CALDAV:prop-filter, or CALDAV:param-filter XML element that makes reference to a non-standard component, property, or parameter name on which the server does not support queries.

サーバーはcalDAVで失敗する必要があります:サポートされているフィルターの前提条件カレンダーレポート要求がCalDAV:comp-filter、caldav:prop-filter、またはcaldav:param-filter xml要素を標準化されていないコンポーネント、プロパティ、または、サーバーがクエリをサポートしていないパラメーター名。

7.8. CALDAV:calendar-query REPORT
7.8. CalDav:カレンダークエリレポート

The CALDAV:calendar-query REPORT performs a search for all calendar object resources that match a specified filter. The response of this report will contain all the WebDAV properties and calendar object resource data specified in the request. In the case of the CALDAV: calendar-data XML element, one can explicitly specify the calendar components and properties that should be returned in the calendar object resource data that matches the filter.

CalDAV:Calendar-Queryレポートは、指定されたフィルターに一致するすべてのカレンダーオブジェクトリソースの検索を実行します。このレポートの応答には、リクエストで指定されたすべてのWebDAVプロパティとカレンダーオブジェクトリソースデータが含まれます。CalDAV:Callearn-Data XML要素の場合、フィルターに一致するカレンダーオブジェクトリソースデータで返されるカレンダーコンポーネントとプロパティを明示的に指定できます。

The format of this report is modeled on the PROPFIND method. The request and response bodies of the CALDAV:calendar-query REPORT use XML elements that are also used by PROPFIND. In particular, the request can include XML elements to request WebDAV properties to be returned. When that occurs, the response should follow the same behavior as PROPFIND with respect to the DAV:multistatus response elements used to return specific property results. For instance, a request to retrieve the value of a property that does not exist is an error and MUST be noted with a response XML element that contains a 404 (Not Found) status value.

このレポートの形式は、Propfindメソッドでモデル化されています。CalDAVのリクエストと対応機関:カレンダークエリレポートは、Propfindでも使用されるXML要素を使用します。特に、リクエストにはXML要素を含めるには、WebDAVプロパティを返すように要求できます。それが発生した場合、応答は、特定のプロパティ結果を返すために使用されるDAV:Multistatus応答要素に関して、Propfindと同じ動作に従う必要があります。たとえば、存在しないプロパティの値を取得するリクエストはエラーであり、404(見つからない)ステータス値を含む応答XML要素で注意する必要があります。

Support for the CALDAV:calendar-query REPORT is REQUIRED.

CalDAVのサポート:カレンダークエリレポートが必要です。

Marshalling:

マーシャリング:

The request body MUST be a CALDAV:calendar-query XML element, as defined in Section 9.5.

リクエスト本体は、セクション9.5で定義されているように、CalDAV:カレンダークエリXML要素でなければなりません。

The request MAY include a Depth header. If no Depth header is included, Depth:0 is assumed.

リクエストには、深度ヘッダーが含まれる場合があります。深さヘッダーが含まれていない場合、深さ:0が想定されます。

The response body for a successful request MUST be a DAV: multistatus XML element (i.e., the response uses the same format as the response for PROPFIND). In the case where there are no response elements, the returned DAV:multistatus XML element is empty.

成功した要求の応答本体は、DAV:MultiStatus XML要素でなければなりません(つまり、応答はPropfindの応答と同じ形式を使用します)。応答要素がない場合、返されたDAV:MultiStatus XML要素は空です。

The response body for a successful CALDAV:calendar-query REPORT request MUST contain a DAV:response element for each iCalendar object that matched the search filter. Calendar data is being returned in the CALDAV:calendar-data XML element inside the DAV: propstat XML element.

成功したCalDAVの応答本体:カレンダークエリレポートリクエストには、検索フィルターに一致する各ICALENDARオブジェクトのDAV:応答要素を含める必要があります。カレンダーデータは、caldav:dav:propstat xml要素内のカレンダーデータxml要素で返されます。

Preconditions:

前提条件:

(CALDAV:supported-calendar-data): The attributes "content-type" and "version" of the CALDAV:calendar-data XML element (see Section 9.6) specify a media type supported by the server for calendar object resources.

(CalDAV:サポートされているCalendar-Data):caldavの属性「コンテンツタイプ」と「バージョン」は、カレンダーダタXML要素(セクション9.6を参照)の属性は、カレンダーオブジェクトリソースのサーバーがサポートするメディアタイプを指定します。

(CALDAV:valid-filter): The CALDAV:filter XML element (see Section 9.7) specified in the REPORT request MUST be valid. For instance, a CALDAV:filter cannot nest a <C:comp name="VEVENT"> element in a <C:comp name="VTODO"> element, and a CALDAV:filter cannot nest a <C:time-range start="..." end="..."> element in a <C:prop name="SUMMARY"> element.

(CalDAV:Valid-Filter):CalDAV:フィルターXML要素(セクション9.7を参照)レポートリクエストで指定されている必要があります。たとえば、calDav:フィルターはa <c:comp c:comp c:c:comp name = "vtodo"> elementの要素をネストできません。= "..." end = "..."> a <c:prop name = "summary">要素の要素。

(CALDAV:supported-filter): The CALDAV:comp-filter (see Section 9.7.1), CALDAV:prop-filter (see Section 9.7.2), and CALDAV:param-filter (see Section 9.7.3) XML elements used in the CALDAV:filter XML element (see Section 9.7) in the REPORT request only make reference to components, properties, and parameters for which queries are supported by the server, i.e., if the CALDAV: filter element attempts to reference an unsupported component, property, or parameter, this precondition is violated. Servers SHOULD report the CALDAV:comp-filter, CALDAV:prop-filter, or CALDAV:param-filter for which it does not provide support.

(CalDav:サポートフィルター):The CalDav:Comp-Filter(セクション9.7.1を参照)、CalDav:Prop-Filter(セクション9.7.2を参照)、CalDav:Param-Filter(セクション9.7.3を参照)XML要素CalDAVで使用:レポートリクエストのフィルターXML要素(セクション9.7を参照)は、サーバーによってクエリがサポートされるコンポーネント、プロパティ、およびパラメーターのみを参照します。、財産、またはパラメーター、この前提条件は違反されています。サーバーは、CalDav:comp-filter、caldav:prop-filter、またはcaldav:サポートを提供しないParam-filterを報告する必要があります。

            <!ELEMENT supported-filter (comp-filter*,
                                        prop-filter*,
                                        param-filter*)>
        

(CALDAV:valid-calendar-data): The time zone specified in the REPORT request MUST be a valid iCalendar object containing a single valid VTIMEZONE component.

(CalDAV:有効なCalendar-Data):レポートリクエストで指定されたタイムゾーンは、単一の有効なvtimezoneコンポーネントを含む有効なicalendarオブジェクトでなければなりません。

(CALDAV:min-date-time): Any XML element specifying a range of time MUST have its start or end DATE or DATE-TIME values greater than or equal to the value of the CALDAV:min-date-time property value (Section 5.2.6) on the calendar collections being targeted by the REPORT request;

(CalDAV:最小時間):時間を指定するXML要素は、CalDAVの値以下の開始または終了日または日付時間の値を持っている必要があります:最小日間プロパティ値(セクション5.2.6)レポートリクエストによってターゲットにされているカレンダーコレクション。

(CALDAV:max-date-time): Any XML element specifying a range of time MUST have its start or end DATE or DATE-TIME values less than or equal to the value of the CALDAV:max-date-time property value (Section 5.2.7) on the calendar collections being targeted by the REPORT request;

(CalDAV:Max-Date-Time):時間を指定するXML要素は、CalDAVの値以下の開始日または終了日または日付時間の値を持つ必要があります:Max-Date-Timeプロパティ値(セクション5.2.7)レポートリクエストの対象となるカレンダーコレクション。

(CALDAV:supported-collation): Any XML attribute specifying a collation MUST specify a collation supported by the server as described in Section 7.5.

(CalDAV:サポートコレクション):照合を指定するXML属性は、セクション7.5で説明されているように、サーバーがサポートする照合を指定する必要があります。

Postconditions:

ポストコンディション:

(DAV:number-of-matches-within-limits): The number of matching calendar object resources must fall within server-specific, predefined limits. For example, this condition might be triggered if a search specification would cause the return of an extremely large number of responses.

(DAV:ライミットのマッチ数):一致するカレンダーオブジェクトリソースの数は、サーバー固有の事前定義された制限内に該当する必要があります。たとえば、検索仕様が非常に多数の応答を返すと、この条件がトリガーされる場合があります。

7.8.1. Example: Partial Retrieval of Events by Time Range
7.8.1. 例:時間範囲によるイベントの部分検索

In this example, the client requests the server to return specific components and properties of the VEVENT components that overlap the time range from January 4, 2006, at 00:00:00 A.M. UTC to January 5, 2006, at 00:00:00 A.M. UTC. In addition, the DAV:getetag property is also requested and returned as part of the response. Note that the first calendar object returned is a recurring event whose first instance lies outside the requested time range, but whose third instance does overlap the time range. Note that due to the CALDAV: calendar-data element restrictions, the DTSTAMP property in VEVENT components has not been returned, and the only property returned in the VCALENDAR object is VERSION.

この例では、クライアントはサーバーに、2006年1月4日から00:00:00に時間範囲に重複するVeventコンポーネントの特定のコンポーネントとプロパティを返すよう要求します。UTCから2006年1月5日、00:00:00UTC。さらに、DAV:GetETAGプロパティも要求され、応答の一部として返されます。返された最初のカレンダーオブジェクトは、最初のインスタンスが要求された時間範囲の外側にあるが、3番目のインスタンスが時間範囲と重複する繰り返しイベントであることに注意してください。CalDAV:Calendar-Data要素の制限により、VeventコンポーネントのDTSTAMPプロパティは返されておらず、VCALENDARオブジェクトで返された唯一のプロパティはバージョンであることに注意してください。

See Appendix B for the calendar data being targeted by this example.

この例でターゲットにされているカレンダーデータについては、付録Bを参照してください。

   >> Request <<
        
   REPORT /bernard/work/ HTTP/1.1
   Host: cal.example.com
   Depth: 1
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <C:calendar-query xmlns:D="DAV:"
                 xmlns:C="urn:ietf:params:xml:ns:caldav">
     <D:prop>
       <D:getetag/>
       <C:calendar-data>
         <C:comp name="VCALENDAR">
           <C:prop name="VERSION"/>
           <C:comp name="VEVENT">
             <C:prop name="SUMMARY"/>
             <C:prop name="UID"/>
             <C:prop name="DTSTART"/>
             <C:prop name="DTEND"/>
             <C:prop name="DURATION"/>
             <C:prop name="RRULE"/>
             <C:prop name="RDATE"/>
             <C:prop name="EXRULE"/>
             <C:prop name="EXDATE"/>
             <C:prop name="RECURRENCE-ID"/>
           </C:comp>
           <C:comp name="VTIMEZONE"/>
         </C:comp>
       </C:calendar-data>
     </D:prop>
     <C:filter>
       <C:comp-filter name="VCALENDAR">
         <C:comp-filter name="VEVENT">
           <C:time-range start="20060104T000000Z"
                         end="20060105T000000Z"/>
         </C:comp-filter>
       </C:comp-filter>
     </C:filter>
   </C:calendar-query>
        
   >> Response <<
        
   HTTP/1.1 207 Multi-Status
   Date: Sat, 11 Nov 2006 09:32:12 GMT
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <D:multistatus xmlns:D="DAV:"
              xmlns:C="urn:ietf:params:xml:ns:caldav">
     <D:response>
       <D:href>http://cal.example.com/bernard/work/abcd2.ics</D:href>
       <D:propstat>
         <D:prop>
           <D:getetag>"fffff-abcd2"</D:getetag>
           <C:calendar-data>BEGIN:VCALENDAR
   VERSION:2.0
   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
   DTSTART;TZID=US/Eastern:20060102T120000
   DURATION:PT1H
   RRULE:FREQ=DAILY;COUNT=5
   SUMMARY:Event #2
   UID:00959BC664CA650E933C892C@example.com
   END:VEVENT
   BEGIN:VEVENT
   DTSTART;TZID=US/Eastern:20060104T140000
   DURATION:PT1H
   RECURRENCE-ID;TZID=US/Eastern:20060104T120000
   SUMMARY:Event #2 bis
   UID:00959BC664CA650E933C892C@example.com
   END:VEVENT
   BEGIN:VEVENT
   DTSTART;TZID=US/Eastern:20060106T140000
   DURATION:PT1H
   RECURRENCE-ID;TZID=US/Eastern:20060106T120000
   SUMMARY:Event #2 bis bis
   UID:00959BC664CA650E933C892C@example.com
      END:VEVENT
   END:VCALENDAR
   </C:calendar-data>
         </D:prop>
         <D:status>HTTP/1.1 200 OK</D:status>
       </D:propstat>
     </D:response>
     <D:response>
       <D:href>http://cal.example.com/bernard/work/abcd3.ics</D:href>
       <D:propstat>
         <D:prop>
           <D:getetag>"fffff-abcd3"</D:getetag>
           <C:calendar-data>BEGIN:VCALENDAR
   VERSION:2.0
   PRODID:-//Example Corp.//CalDAV 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
   DTSTART;TZID=US/Eastern:20060104T100000
   DURATION:PT1H
   SUMMARY:Event #3
   UID:DC6C50A017428C5216A2F1CD@example.com
   END:VEVENT
   END:VCALENDAR
   </C:calendar-data>
         </D:prop>
         <D:status>HTTP/1.1 200 OK</D:status>
       </D:propstat>
     </D:response>
   </D:multistatus>
        
7.8.2. Example: Partial Retrieval of Recurring Events
7.8.2. 例:繰り返しイベントの部分検索

In this example, the client requests the server to return VEVENT components that overlap the time range from January 3, 2006, at 00: 00:00 A.M. UTC to January 5, 2006, at 00:00:00 A.M. UTC. Use of the CALDAV:limit-recurrence-set element causes the server to only return overridden recurrence components that overlap the time range specified in that element or that affect other instances that overlap the time range (e.g., in the case of a THISANDFUTURE behavior). In this example, the first overridden component in the matching resource is returned, but the second one is not.

この例では、クライアントはサーバーに、2006年1月3日から00:00:00の時間範囲に重なるVeventコンポーネントを返すように要求します。UTCから2006年1月5日、00:00:00UTC。CalDAVの使用:リミットリカレンスセット要素により、サーバーは、その要素で指定された時間範囲に重複するオーバーライドされた再発コンポーネントのみを返します。または、時間範囲に重複する他のインスタンスに影響を与えます(たとえば、これは、このような動作の場合)。この例では、一致するリソースの最初のオーバーライドされたコンポーネントが返されますが、2番目のコンポーネントは返されません。

See Appendix B for the calendar data being targeted by this example.

この例でターゲットにされているカレンダーデータについては、付録Bを参照してください。

   >> Request <<
        
   REPORT /bernard/work/ HTTP/1.1
   Host: cal.example.com
   Depth: 1
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <C:calendar-query xmlns:D="DAV:"
                     xmlns:C="urn:ietf:params:xml:ns:caldav">
     <D:prop>
       <C:calendar-data>
         <C:limit-recurrence-set start="20060103T000000Z"
                                 end="20060105T000000Z"/>
       </C:calendar-data>
     </D:prop>
     <C:filter>
       <C:comp-filter name="VCALENDAR">
         <C:comp-filter name="VEVENT">
           <C:time-range start="20060103T000000Z"
                         end="20060105T000000Z"/>
         </C:comp-filter>
       </C:comp-filter>
     </C:filter>
   </C:calendar-query>
        
   >> Response <<
        
   HTTP/1.1 207 Multi-Status
   Date: Sat, 11 Nov 2006 09:32:12 GMT
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <D:multistatus xmlns:D="DAV:"
              xmlns:C="urn:ietf:params:xml:ns:caldav">
     <D:response>
       <D:href>http://cal.example.com/bernard/work/abcd2.ics</D:href>
       <D:propstat>
         <D:prop>
           <D:getetag>"fffff-abcd2"</D:getetag>
           <C:calendar-data>BEGIN:VCALENDAR
   VERSION:2.0
   PRODID:-//Example Corp.//CalDAV 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
   SUMMARY:Event #2
   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
   </C:calendar-data>
         </D:prop>
        
         <D:status>HTTP/1.1 200 OK</D:status>
       </D:propstat>
     </D:response>
     <D:response>
       <D:href>http://cal.example.com/bernard/work/abcd3.ics</D:href>
       <D:propstat>
         <D:prop>
           <D:getetag>"fffff-abcd3"</D:getetag>
           <C:calendar-data>BEGIN:VCALENDAR
   VERSION:2.0
   PRODID:-//Example Corp.//CalDAV 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
   ATTENDEE;PARTSTAT=ACCEPTED;ROLE=CHAIR:mailto:cyrus@example.com
   ATTENDEE;PARTSTAT=NEEDS-ACTION:mailto:lisa@example.com
   DTSTAMP:20060206T001220Z
   DTSTART;TZID=US/Eastern:20060104T100000
   DURATION:PT1H
   LAST-MODIFIED:20060206T001330Z
   ORGANIZER:mailto:cyrus@example.com
   SEQUENCE:1
   STATUS:TENTATIVE
   SUMMARY:Event #3
   UID:DC6C50A017428C5216A2F1CD@example.com
   X-ABC-GUID:E1CX5Dr-0007ym-Hz@example.com
   END:VEVENT
   END:VCALENDAR
   </C:calendar-data>
         </D:prop>
         <D:status>HTTP/1.1 200 OK</D:status>
       </D:propstat>
        
     </D:response>
   </D:multistatus>
        
7.8.3. Example: Expanded Retrieval of Recurring Events
7.8.3. 例:繰り返されるイベントの拡張検索

In this example, the client requests the server to return VEVENT components that overlap the time range from January 2, 2006, at 00: 00:00 A.M. UTC to January 5, 2006, at 00:00:00 A.M. UTC and to return recurring calendar components expanded into individual recurrence instance calendar components. Use of the CALDAV:expand element causes the server to only return overridden recurrence instances that overlap the time range specified in that element.

この例では、クライアントはサーバーに、2006年1月2日から00:00:00の時間範囲に重なるVeventコンポーネントを返すように要求します。UTCから2006年1月5日、00:00:00UTCおよび返品するカレンダーコンポーネントは、個々の再発インスタンスカレンダーコンポーネントに拡張されました。CalDAVの使用:拡張要素により、サーバーはその要素で指定された時間範囲と重複するオーバーライドされた再発インスタンスのみを返します。

See Appendix B for the calendar data being targeted by this example.

この例でターゲットにされているカレンダーデータについては、付録Bを参照してください。

   >> Request <<
        
   REPORT /bernard/work/ HTTP/1.1
   Host: cal.example.com
   Depth: 1
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <C:calendar-query xmlns:D="DAV:"
                     xmlns:C="urn:ietf:params:xml:ns:caldav">
     <D:prop>
       <C:calendar-data>
         <C:expand start="20060103T000000Z"
                   end="20060105T000000Z"/>
       </C:calendar-data>
     </D:prop>
     <C:filter>
       <C:comp-filter name="VCALENDAR">
         <C:comp-filter name="VEVENT">
           <C:time-range start="20060103T000000Z"
                         end="20060105T000000Z"/>
         </C:comp-filter>
       </C:comp-filter>
     </C:filter>
   </C:calendar-query>
        
   >> Response <<
        
   HTTP/1.1 207 Multi-Status
   Date: Sat, 11 Nov 2006 09:32:12 GMT
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <D:multistatus xmlns:D="DAV:"
              xmlns:C="urn:ietf:params:xml:ns:caldav">
     <D:response>
       <D:href>http://cal.example.com/bernard/work/abcd2.ics</D:href>
       <D:propstat>
         <D:prop>
           <D:getetag>"fffff-abcd2"</D:getetag>
           <C:calendar-data>BEGIN:VCALENDAR
   VERSION:2.0
   PRODID:-//Example Corp.//CalDAV Client//EN
   BEGIN:VEVENT
   DTSTAMP:20060206T001121Z
   DTSTART:20060103T170000
   DURATION:PT1H
   RECURRENCE-ID:20060103T170000
   SUMMARY:Event #2
   UID:00959BC664CA650E933C892C@example.com
   END:VEVENT
   BEGIN:VEVENT
   DTSTAMP:20060206T001121Z
   DTSTART:20060104T190000
   DURATION:PT1H
   RECURRENCE-ID:20060104T170000
   SUMMARY:Event #2 bis
   UID:00959BC664CA650E933C892C@example.com
   END:VEVENT
   END:VCALENDAR
   </C:calendar-data>
         </D:prop>
         <D:status>HTTP/1.1 200 OK</D:status>
       </D:propstat>
     </D:response>
     <D:response>
       <D:href>http://cal.example.com/bernard/work/abcd3.ics</D:href>
       <D:propstat>
         <D:prop>
           <D:getetag>"fffff-abcd3"</D:getetag>
           <C:calendar-data>BEGIN:VCALENDAR
   VERSION:2.0
   PRODID:-//Example Corp.//CalDAV Client//EN
   BEGIN:VEVENT
   ATTENDEE;PARTSTAT=ACCEPTED;ROLE=CHAIR:mailto:cyrus@example.com
   ATTENDEE;PARTSTAT=NEEDS-ACTION:mailto:lisa@example.com
   DTSTAMP:20060206T001220Z
   DTSTART:20060104T150000
   DURATION:PT1H
   LAST-MODIFIED:20060206T001330Z
      ORGANIZER:mailto:cyrus@example.com
   SEQUENCE:1
   STATUS:TENTATIVE
   SUMMARY:Event #3
   UID:DC6C50A017428C5216A2F1CD@example.com
   X-ABC-GUID:E1CX5Dr-0007ym-Hz@example.com
   END:VEVENT
   END:VCALENDAR
   </C:calendar-data>
         </D:prop>
         <D:status>HTTP/1.1 200 OK</D:status>
       </D:propstat>
     </D:response>
   </D:multistatus>
        
7.8.4. Example: Partial Retrieval of Stored Free Busy Components
7.8.4. 例:保存された無料のビジーコンポーネントの部分検索

In this example, the client requests the server to return the VFREEBUSY components that have free busy information that overlap the time range from January 2, 2006, at 00:00:00 A.M. UTC (inclusively) to January 3, 2006, at 00:00:00 A.M. UTC (exclusively). Use of the CALDAV:limit-freebusy-set element causes the server to only return the FREEBUSY property values that overlap the time range specified in that element. Note that this is not an example of discovering when the calendar owner is busy.

この例では、クライアントはサーバーに、2006年1月2日から00:00:00に時間範囲に重複する無料の忙しい情報を持つVfreebusyコンポーネントを返すように要求します。UTC(包括的)2006年1月3日まで、00:00:00にUTC(排他的)。CalDAVの使用:Limit-FreeBusy-Set要素により、サーバーはその要素で指定された時間範囲に重複するFreebusyプロパティ値のみを返します。これは、カレンダーの所有者が忙しいときに発見する例ではないことに注意してください。

See Appendix B for the calendar data being targeted by this example.

この例でターゲットにされているカレンダーデータについては、付録Bを参照してください。

   >> Request <<
        
   REPORT /bernard/work/ HTTP/1.1
   Host: cal.example.com
   Depth: 1
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <C:calendar-query xmlns:D="DAV:"
                 xmlns:C="urn:ietf:params:xml:ns:caldav">
     <D:prop>
       <C:calendar-data>
         <C:limit-freebusy-set start="20060102T000000Z"
                                 end="20060103T000000Z"/>
       </C:calendar-data>
     </D:prop>
     <C:filter>
       <C:comp-filter name="VCALENDAR">
         <C:comp-filter name="VFREEBUSY">
           <C:time-range start="20060102T000000Z"
                           end="20060103T000000Z"/>
         </C:comp-filter>
       </C:comp-filter>
     </C:filter>
   </C:calendar-query>
        
   >> Response <<
        
   HTTP/1.1 207 Multi-Status
   Date: Sat, 11 Nov 2006 09:32:12 GMT
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <D:multistatus xmlns:D="DAV:"
                  xmlns:C="urn:ietf:params:xml:ns:caldav">
     <D:response>
       <D:href>http://cal.example.com/bernard/work/abcd8.ics</D:href>
       <D:propstat>
         <D:prop>
           <D:getetag>"fffff-abcd8"</D:getetag>
           <C:calendar-data>BEGIN:VCALENDAR
   VERSION:2.0
   PRODID:-//Example Corp.//CalDAV Client//EN
   BEGIN:VFREEBUSY
   ORGANIZER;CN="Bernard Desruisseaux":mailto:bernard@example.com
   UID:76ef34-54a3d2@example.com
   DTSTAMP:20050530T123421Z
   DTSTART:20060101T100000Z
   DTEND:20060108T100000Z
   FREEBUSY;FBTYPE=BUSY-TENTATIVE:20060102T100000Z/20060102T120000Z
   END:VFREEBUSY
   END:VCALENDAR
   </C:calendar-data>
         </D:prop>
         <D:status>HTTP/1.1 200 OK</D:status>
       </D:propstat>
     </D:response>
   </D:multistatus>
        
7.8.5. Example: Retrieval of To-Dos by Alarm Time Range
7.8.5. 例:アラーム時間範囲によるto-dosの検索

In this example, the client requests the server to return the VTODO components that have an alarm trigger scheduled in the specified time range.

この例では、クライアントは、指定された時間範囲でアラームトリガーがスケジュールされているVTODOコンポーネントを返すようにサーバーに要求します。

See Appendix B for the calendar data being targeted by this example.

この例でターゲットにされているカレンダーデータについては、付録Bを参照してください。

   >> Request <<
        
   REPORT /bernard/work/ HTTP/1.1
   Host: cal.example.com
   Depth: 1
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav">
     <D:prop xmlns:D="DAV:">
       <D:getetag/>
       <C:calendar-data/>
     </D:prop>
     <C:filter>
       <C:comp-filter name="VCALENDAR">
         <C:comp-filter name="VTODO">
           <C:comp-filter name="VALARM">
             <C:time-range start="20060106T100000Z"
                             end="20060107T100000Z"/>
           </C:comp-filter>
         </C:comp-filter>
       </C:comp-filter>
     </C:filter>
   </C:calendar-query>
        
   >> Response <<
        
   HTTP/1.1 207 Multi-Status
   Date: Sat, 11 Nov 2006 09:32:12 GMT
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <D:multistatus xmlns:D="DAV:"
                  xmlns:C="urn:ietf:params:xml:ns:caldav">
     <D:response>
       <D:href>http://cal.example.com/bernard/work/abcd4.ics</D:href>
       <D:propstat>
         <D:prop>
           <D:getetag>"fffff-abcd4"</D:getetag>
           <C:calendar-data>BEGIN:VCALENDAR
   VERSION:2.0
   PRODID:-//Example Corp.//CalDAV Client//EN
   BEGIN:VTODO
   DTSTAMP:20060205T235300Z
   DUE;TZID=US/Eastern:20060106T120000
   LAST-MODIFIED:20060205T235308Z
   SEQUENCE:1
   STATUS:NEEDS-ACTION
   SUMMARY:Task #2
   UID:E10BA47467C5C69BB74E8720@example.com
   BEGIN:VALARM
   ACTION:AUDIO
   TRIGGER;RELATED=START:-PT10M
   END:VALARM
   END:VTODO
   END:VCALENDAR
   </C:calendar-data>
         </D:prop>
         <D:status>HTTP/1.1 200 OK</D:status>
       </D:propstat>
     </D:response>
   </D:multistatus>
        
7.8.6. Example: Retrieval of Event by UID
7.8.6. 例:UIDによるイベントの検索

In this example, the client requests the server to return the VEVENT component that has the UID property set to "DC6C50A017428C5216A2F1CD@example.com".

この例では、クライアントは、UIDプロパティを「DC6C50A017428C5216A2F1CD@EXAMPLE.COM」に設定するVeVentコンポーネントを返すようにサーバーに要求します。

See Appendix B for the calendar data being targeted by this example.

この例でターゲットにされているカレンダーデータについては、付録Bを参照してください。

   >> Request <<
        
   REPORT /bernard/work/ HTTP/1.1
   Host: cal.example.com
   Depth: 1
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav">
     <D:prop xmlns:D="DAV:">
       <D:getetag/>
       <C:calendar-data/>
     </D:prop>
     <C:filter>
       <C:comp-filter name="VCALENDAR">
         <C:comp-filter name="VEVENT">
           <C:prop-filter name="UID">
             <C:text-match collation="i;octet"
             >DC6C50A017428C5216A2F1CD@example.com</C:text-match>
           </C:prop-filter>
         </C:comp-filter>
       </C:comp-filter>
     </C:filter>
   </C:calendar-query>
        
   >> Response <<
        
   HTTP/1.1 207 Multi-Status
   Date: Sat, 11 Nov 2006 09:32:12 GMT
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <D:multistatus xmlns:D="DAV:"
                  xmlns:C="urn:ietf:params:xml:ns:caldav">
     <D:response>
       <D:href>http://cal.example.com/bernard/work/abcd3.ics</D:href>
       <D:propstat>
         <D:prop>
           <D:getetag>"fffff-abcd3"</D:getetag>
           <C:calendar-data>BEGIN:VCALENDAR
   VERSION:2.0
   PRODID:-//Example Corp.//CalDAV 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
   ATTENDEE;PARTSTAT=ACCEPTED;ROLE=CHAIR:mailto:cyrus@example.com
   ATTENDEE;PARTSTAT=NEEDS-ACTION:mailto:lisa@example.com
   DTSTAMP:20060206T001220Z
   DTSTART;TZID=US/Eastern:20060104T100000
   DURATION:PT1H
   LAST-MODIFIED:20060206T001330Z
   ORGANIZER:mailto:cyrus@example.com
   SEQUENCE:1
   STATUS:TENTATIVE
   SUMMARY:Event #3
   UID:DC6C50A017428C5216A2F1CD@example.com
   X-ABC-GUID:E1CX5Dr-0007ym-Hz@example.com
   END:VEVENT
   END:VCALENDAR
   </C:calendar-data>
         </D:prop>
         <D:status>HTTP/1.1 200 OK</D:status>
       </D:propstat>
     </D:response>
   </D:multistatus>
        
7.8.7. Example: Retrieval of Events by PARTSTAT
7.8.7. 例:PartStatによるイベントの取得

In this example, the client requests the server to return the VEVENT components that have the ATTENDEE property with the value "mailto:lisa@example.com" and for which the PARTSTAT parameter is set to NEEDS-ACTION.

この例では、クライアントはサーバーに、「mailto:lisa@example.com」の値で参加者プロパティを持つVeventコンポーネントを返すように要求します。

See Appendix B for the calendar data being targeted by this example.

この例でターゲットにされているカレンダーデータについては、付録Bを参照してください。

   >> Request <<
        
   REPORT /bernard/work/ HTTP/1.1
   Host: cal.example.com
   Depth: 1
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav">
     <D:prop xmlns:D="DAV:">
       <D:getetag/>
       <C:calendar-data/>
     </D:prop>
     <C:filter>
       <C:comp-filter name="VCALENDAR">
         <C:comp-filter name="VEVENT">
           <C:prop-filter name="ATTENDEE">
             <C:text-match collation="i;ascii-casemap"
              >mailto:lisa@example.com</C:text-match>
             <C:param-filter name="PARTSTAT">
               <C:text-match collation="i;ascii-casemap"
                >NEEDS-ACTION</C:text-match>
             </C:param-filter>
           </C:prop-filter>
         </C:comp-filter>
       </C:comp-filter>
     </C:filter>
   </C:calendar-query>
        
   >> Response <<
        
   HTTP/1.1 207 Multi-Status
   Date: Sat, 11 Nov 2006 09:32:12 GMT
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <D:multistatus xmlns:D="DAV:"
                  xmlns:C="urn:ietf:params:xml:ns:caldav">
     <D:response>
       <D:href>http://cal.example.com/bernard/work/abcd3.ics</D:href>
       <D:propstat>
         <D:prop>
           <D:getetag>"fffff-abcd3"</D:getetag>
           <C:calendar-data>BEGIN:VCALENDAR
   VERSION:2.0
   PRODID:-//Example Corp.//CalDAV 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
   ATTENDEE;PARTSTAT=ACCEPTED;ROLE=CHAIR:mailto:cyrus@example.com
   ATTENDEE;PARTSTAT=NEEDS-ACTION:mailto:lisa@example.com
   DTSTAMP:20060206T001220Z
   DTSTART;TZID=US/Eastern:20060104T100000
   DURATION:PT1H
   LAST-MODIFIED:20060206T001330Z
   ORGANIZER:mailto:cyrus@example.com
   SEQUENCE:1
   STATUS:TENTATIVE
   SUMMARY:Event #3
   UID:DC6C50A017428C5216A2F1CD@example.com
   X-ABC-GUID:E1CX5Dr-0007ym-Hz@example.com
   END:VEVENT
   END:VCALENDAR
   </C:calendar-data>
         </D:prop>
         <D:status>HTTP/1.1 200 OK</D:status>
       </D:propstat>
     </D:response>
   </D:multistatus>
        
7.8.8. Example: Retrieval of Events Only
7.8.8. 例:イベントのみの検索

In this example, the client requests the server to return all VEVENT components.

この例では、クライアントはサーバーにすべてのVeventコンポーネントを返すように要求します。

See Appendix B for the calendar data being targeted by this example.

この例でターゲットにされているカレンダーデータについては、付録Bを参照してください。

   >> Request <<
        
   REPORT /bernard/work/ HTTP/1.1
   Host: cal.example.com
   Depth: 1
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav">
     <D:prop xmlns:D="DAV:">
       <D:getetag/>
       <C:calendar-data/>
     </D:prop>
     <C:filter>
       <C:comp-filter name="VCALENDAR">
         <C:comp-filter name="VEVENT"/>
       </C:comp-filter>
     </C:filter>
   </C:calendar-query>
        
   >> Response <<
        
   HTTP/1.1 207 Multi-Status
   Date: Sat, 11 Nov 2006 09:32:12 GMT
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <D:multistatus xmlns:D="DAV:"
                  xmlns:C="urn:ietf:params:xml:ns:caldav">
     <D:response>
       <D:href>http://cal.example.com/bernard/work/abcd1.ics</D:href>
       <D:propstat>
         <D:prop>
           <D:getetag>"fffff-abcd1"</D:getetag>
           <C:calendar-data>BEGIN:VCALENDAR
   VERSION:2.0
   PRODID:-//Example Corp.//CalDAV 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:20060206T001102Z
   DTSTART;TZID=US/Eastern:20060102T100000
   DURATION:PT1H
   SUMMARY:Event #1
   Description:Go Steelers!
   UID:74855313FA803DA593CD579A@example.com
   END:VEVENT
   END:VCALENDAR
   </C:calendar-data>
         </D:prop>
         <D:status>HTTP/1.1 200 OK</D:status>
       </D:propstat>
     </D:response>
     <D:response>
       <D:href>http://cal.example.com/bernard/work/abcd2.ics</D:href>
       <D:propstat>
         <D:prop>
           <D:getetag>"fffff-abcd2"</D:getetag>
           <C:calendar-data>BEGIN:VCALENDAR
   VERSION:2.0
   PRODID:-//Example Corp.//CalDAV 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
   SUMMARY:Event #2
   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
   BEGIN:VEVENT
   DTSTAMP:20060206T001121Z
   DTSTART;TZID=US/Eastern:20060106T140000
   DURATION:PT1H
   RECURRENCE-ID;TZID=US/Eastern:20060106T120000
   SUMMARY:Event #2 bis bis
   UID:00959BC664CA650E933C892C@example.com
   END:VEVENT
   END:VCALENDAR
   </C:calendar-data>
         </D:prop>
         <D:status>HTTP/1.1 200 OK</D:status>
       </D:propstat>
     </D:response>
     <D:response>
       <D:href>http://cal.example.com/bernard/work/abcd3.ics</D:href>
       <D:propstat>
         <D:prop>
           <D:getetag>"fffff-abcd3"</D:getetag>
           <C:calendar-data>BEGIN:VCALENDAR
   VERSION:2.0
   PRODID:-//Example Corp.//CalDAV 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
   ATTENDEE;PARTSTAT=ACCEPTED;ROLE=CHAIR:mailto:cyrus@example.com
   ATTENDEE;PARTSTAT=NEEDS-ACTION:mailto:lisa@example.com
   DTSTAMP:20060206T001220Z
   DTSTART;TZID=US/Eastern:20060104T100000
   DURATION:PT1H
   LAST-MODIFIED:20060206T001330Z
   ORGANIZER:mailto:cyrus@example.com
   SEQUENCE:1
   STATUS:TENTATIVE
   SUMMARY:Event #3
   UID:DC6C50A017428C5216A2F1CD@example.com
   X-ABC-GUID:E1CX5Dr-0007ym-Hz@example.com
   END:VEVENT
   END:VCALENDAR
   </C:calendar-data>
         </D:prop>
         <D:status>HTTP/1.1 200 OK</D:status>
       </D:propstat>
     </D:response>
   </D:multistatus>
        
7.8.9. Example: Retrieval of All Pending To-Dos
7.8.9. 例:保留中のすべてのTO-DOの検索

In this example, the client requests the server to return all VTODO components that do not include a COMPLETED property and do not have a STATUS property value matching CANCELLED, i.e., VTODOs that still need to be worked on.

この例では、クライアントはサーバーに、完成したプロパティが含まれておらず、キャンセルされたステータスプロパティ値を持たないすべてのVTODOコンポーネントを返すように要求します。

See Appendix B for the calendar data being targeted by this example.

   >> Request <<
        
   REPORT /bernard/work/ HTTP/1.1
   Host: cal.example.com
   Depth: 1
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav">
     <D:prop xmlns:D="DAV:">
       <D:getetag/>
       <C:calendar-data/>
     </D:prop>
     <C:filter>
       <C:comp-filter name="VCALENDAR">
         <C:comp-filter name="VTODO">
           <C:prop-filter name="COMPLETED">
             <C:is-not-defined/>
           </C:prop-filter>
           <C:prop-filter name="STATUS">
             <C:text-match
                negate-condition="yes">CANCELLED</C:text-match>
           </C:prop-filter>
         </C:comp-filter>
       </C:comp-filter>
     </C:filter>
   </C:calendar-query>
        
   >> Response <<
        
   HTTP/1.1 207 Multi-Status
   Date: Sat, 11 Nov 2006 09:32:12 GMT
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <D:multistatus xmlns:D="DAV:"
                  xmlns:C="urn:ietf:params:xml:ns:caldav">
     <D:response>
       <D:href>http://cal.example.com/bernard/work/abcd4.ics</D:href>
       <D:propstat>
         <D:prop>
           <D:getetag>"fffff-abcd4"</D:getetag>
           <C:calendar-data>BEGIN:VCALENDAR
   VERSION:2.0
   PRODID:-//Example Corp.//CalDAV Client//EN
   BEGIN:VTODO
      DTSTAMP:20060205T235335Z
   DUE;VALUE=DATE:20060104
   STATUS:NEEDS-ACTION
   SUMMARY:Task #1
   UID:DDDEEB7915FA61233B861457@example.com
   BEGIN:VALARM
   ACTION:AUDIO
   TRIGGER;RELATED=START:-PT10M
   END:VALARM
   END:VTODO
   END:VCALENDAR
   </C:calendar-data>
         </D:prop>
         <D:status>HTTP/1.1 200 OK</D:status>
       </D:propstat>
     </D:response>
        
     <D:response>
       <D:href>http://cal.example.com/bernard/work/abcd5.ics</D:href>
       <D:propstat>
         <D:prop>
           <D:getetag>"fffff-abcd5"</D:getetag>
           <C:calendar-data>BEGIN:VCALENDAR
   VERSION:2.0
   PRODID:-//Example Corp.//CalDAV Client//EN
   BEGIN:VTODO
   DTSTAMP:20060205T235300Z
   DUE;VALUE=DATE:20060106
   LAST-MODIFIED:20060205T235308Z
   SEQUENCE:1
   STATUS:NEEDS-ACTION
   SUMMARY:Task #2
   UID:E10BA47467C5C69BB74E8720@example.com
   BEGIN:VALARM
   ACTION:AUDIO
   TRIGGER;RELATED=START:-PT10M
   END:VALARM
   END:VTODO
   END:VCALENDAR
   </C:calendar-data>
         </D:prop>
         <D:status>HTTP/1.1 200 OK</D:status>
       </D:propstat>
     </D:response>
   </D:multistatus>
        
7.8.10. Example: Attempt to Query Unsupported Property
7.8.10. 例:サポートされていないプロパティを照会しようとします

In this example, the client requests the server to return all VEVENT components that include an X-ABC-GUID property with a value matching "ABC". However, the server does not support querying that non-standard property, and instead returns an error response.

See Appendix B for the calendar data being targeted by this example.

この例でターゲットにされているカレンダーデータについては、付録Bを参照してください。

   >> Request <<
        
   REPORT /bernard/work/ HTTP/1.1
   Host: cal.example.com
   Depth: 1
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav">
     <D:prop xmlns:D="DAV:">
       <D:getetag/>
       <C:calendar-data/>
     </D:prop>
     <C:filter>
       <C:comp-filter name="VCALENDAR">
         <C:comp-filter name="VEVENT">
           <C:prop-filter name="X-ABC-GUID">
             <C:text-match>ABC</C:text-match>
           </C:prop-filter>
         </C:comp-filter>
       </C:comp-filter>
     </C:filter>
   </C:calendar-query>
        
   >> Response <<
        
   HTTP/1.1 403 Forbidden
   Date: Sat, 11 Nov 2005 09:32:12 GMT
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <D:error>
     <C:supported-filter>
       <C:prop-filter name="X-ABC-GUID"/>
     </C:supported-filter>
   </D:error>
        
7.9. CALDAV:calendar-multiget REPORT
7.9. CalDAV:カレンダーマルチゲットレポート

The CALDAV:calendar-multiget REPORT is used to retrieve specific calendar object resources from within a collection, if the Request-URI is a collection, or to retrieve a specific calendar object resource, if the Request-URI is a calendar object resource. This report is similar to the CALDAV:calendar-query REPORT (see Section 7.8), except that it takes a list of DAV:href elements, instead of a CALDAV:filter element, to determine which calendar object resources to return.

CalDAV:Calendar-Multigetレポートは、リクエスト-URIがコレクションである場合、コレクション内から特定のカレンダーオブジェクトリソースを取得するために使用されます。このレポートは、CalDAV:Calendar-Queryレポート(セクション7.8を参照)に似ています。ただし、CalDAV:フィルター要素の代わりにDAV:HREF要素のリストが採取され、返されるカレンダーオブジェクトリソースを決定します。

Support for the CALDAV:calendar-multiget REPORT is REQUIRED.

CalDAVのサポート:Calendar-Multigetレポートが必要です。

Marshalling:

マーシャリング:

The request body MUST be a CALDAV:calendar-multiget XML element (see Section 9.10). If the Request-URI is a collection resource, then the DAV:href elements MUST refer to calendar object resources within that collection, and they MAY refer to calendar object resources at any depth within the collection. As a result, the "Depth" header MUST be ignored by the server and SHOULD NOT be sent by the client. If the Request-URI refers to a non-collection resource, then there MUST be a single DAV:href element that is equivalent to the Request-URI.

リクエスト本体は、CalDav:Calendar-Multiget XML要素でなければなりません(セクション9.10を参照)。リクエスト-URIがコレクションリソースである場合、DAV:HREF要素は、そのコレクション内のカレンダーオブジェクトリソースを参照する必要があり、コレクション内の任意の深さでカレンダーオブジェクトリソースを参照することができます。その結果、「深度」ヘッダーはサーバーによって無視される必要があり、クライアントが送信しないでください。リクエスト-URIが非収集リソースを指す場合、リクエスト-URIに相当する単一のDAV:HREF要素が必要です。

The response body for a successful request MUST be a DAV: multistatus XML element.

リクエストを成功させるための応答本体は、DAV:MultiStatus XML要素でなければなりません。

The response body for a successful CALDAV:calendar-multiget REPORT request MUST contain a DAV:response element for each calendar object resource referenced by the provided set of DAV:href elements. Calendar data is being returned in the CALDAV:calendar-data element inside the DAV:prop element.

成功したCalDAVの応答本体:Calendar-Multigetレポート要求は、DAV:HREF要素の提供されたセットによって参照される各カレンダーオブジェクトリソースのDAV:応答要素を含める必要があります。カレンダーデータは、caldav:dav:prop要素内のカレンダーデータ要素で返されます。

In the case of an error accessing any of the provided DAV:href resources, the server MUST return the appropriate error status code in the DAV:status element of the corresponding DAV:response element.

提供されたDAV:HREFリソースのいずれかにアクセスするエラーの場合、サーバーはDAV:対応するDAV:応答要素のステータス要素の適切なエラーステータスコードを返す必要があります。

Preconditions:

前提条件:

(CALDAV:supported-calendar-data): The attributes "content-type" and "version" of the CALDAV:calendar-data XML elements (see Section 9.6) specify a media type supported by the server for calendar object resources.

(CALDAV:min-date-time): Any XML element specifying a range of time MUST have its start or end DATE or DATE-TIME values greater than or equal to the value of the CALDAV:min-date-time property value (Section 5.2.6) on the calendar collections being targeted by the REPORT request;

(CalDAV:最小時間):時間を指定するXML要素は、CalDAVの値以下の開始または終了日または日付時間の値を持っている必要があります:最小日間プロパティ値(セクション5.2.6)レポートリクエストによってターゲットにされているカレンダーコレクション。

(CALDAV:max-date-time): Any XML element specifying a range of time MUST have its start or end DATE or DATE-TIME values less than or equal to the value of the CALDAV:max-date-time property value (Section 5.2.7) on the calendar collections being targeted by the REPORT request;

(CalDAV:Max-Date-Time):時間を指定するXML要素は、CalDAVの値以下の開始日または終了日または日付時間の値を持つ必要があります:Max-Date-Timeプロパティ値(セクション5.2.7)レポートリクエストの対象となるカレンダーコレクション。

Postconditions:

ポストコンディション:

None.

なし。

7.9.1. Example: Successful CALDAV:calendar-multiget REPORT
7.9.1. 例:CalDAVの成功:Calendar-Multigetレポート

In this example, the client requests the server to return specific properties of the VEVENT components referenced by specific URIs. In addition, the DAV:getetag property is also requested and returned as part of the response. Note that in this example, the resource at http://cal.example.com/bernard/work/mtg1.ics does not exist, resulting in an error status response.

この例では、クライアントはサーバーに、特定のURIによって参照されるVeventコンポーネントの特定のプロパティを返すように要求します。さらに、DAV:GetETAGプロパティも要求され、応答の一部として返されます。この例では、http://cal.example.com/bernard/work/mtg1.icsのリソースは存在しないため、エラーステータス応答が生じます。

See Appendix B for the calendar data being targeted by this example.

この例でターゲットにされているカレンダーデータについては、付録Bを参照してください。

   >> Request <<
        
   REPORT /bernard/work/ HTTP/1.1
   Host: cal.example.com
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <C:calendar-multiget xmlns:D="DAV:"
                    xmlns:C="urn:ietf:params:xml:ns:caldav">
     <D:prop>
       <D:getetag/>
       <C:calendar-data/>
     </D:prop>
     <D:href>/bernard/work/abcd1.ics</D:href>
     <D:href>/bernard/work/mtg1.ics</D:href>
   </C:calendar-multiget>
        
   >> Response <<
        
   HTTP/1.1 207 Multi-Status
   Date: Sat, 11 Nov 2006 09:32:12 GMT
   Content-Type: application/xml; charset="utf-8"
      Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <D:multistatus xmlns:D="DAV:"
                  xmlns:C="urn:ietf:params:xml:ns:caldav">
     <D:response>
       <D:href>http://cal.example.com/bernard/work/abcd1.ics</D:href>
       <D:propstat>
         <D:prop>
           <D:getetag>"fffff-abcd1"</D:getetag>
           <C:calendar-data>BEGIN:VCALENDAR
   VERSION:2.0
   PRODID:-//Example Corp.//CalDAV 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:20060206T001102Z
   DTSTART;TZID=US/Eastern:20060102T100000
   DURATION:PT1H
   SUMMARY:Event #1
   Description:Go Steelers!
   UID:74855313FA803DA593CD579A@example.com
   END:VEVENT
   END:VCALENDAR
   </C:calendar-data>
         </D:prop>
         <D:status>HTTP/1.1 200 OK</D:status>
       </D:propstat>
     </D:response>
     <D:response>
       <D:href>http://cal.example.com/bernard/work/mtg1.ics</D:href>
       <D:status>HTTP/1.1 404 Not Found</D:status>
        
     </D:response>
   </D:multistatus>
        
7.10. CALDAV:free-busy-query REPORT
7.10. Caldav:フリー忙しいクエリレポート

The CALDAV:free-busy-query REPORT generates a VFREEBUSY component containing free busy information for all the calendar object resources targeted by the request and that have the CALDAV:read-free-busy or DAV:read privilege granted to the current user.

CalDav:Free-Busy-Queryレポートは、リクエストによって標的とされたすべてのカレンダーオブジェクトリソースの無料の忙しい情報を含むVfreebusyコンポーネントを生成します。

Only VEVENT components without a TRANSP property or with the TRANSP property set to OPAQUE, and VFREEBUSY components SHOULD be considered in generating the free busy time information.

TranspプロパティのないVeventコンポーネントまたはTranspプロパティが不透明に設定されており、Vfreebusyコンポーネントは、無料の忙しい時間情報を生成する際に考慮する必要があります。

In the case of VEVENT components, the free or busy time type (FBTYPE) of the FREEBUSY properties in the returned VFREEBUSY component SHOULD be derived from the value of the TRANSP and STATUS properties, as outlined in the table below:

Veventコンポーネントの場合、以下の表に概説されているように、返されたvfreebusyコンポーネントのfreebusyプロパティの自由または忙しい時間型(fbtype)は、トランスペットとステータスプロパティの値から導出する必要があります。

         +---------------------------++------------------+
         |          VEVENT           ||    VFREEBUSY     |
         +-------------+-------------++------------------+
         | TRANSP      | STATUS      || FBTYPE           |
         +=============+=============++==================+
         |             | CONFIRMED   || BUSY             |
         |             | (default)   ||                  |
         | OPAQUE      +-------------++------------------+
         | (default)   | CANCELLED   || FREE             |
         |             +-------------++------------------+
         |             | TENTATIVE   || BUSY-TENTATIVE   |
         |             +-------------++------------------+
         |             | x-name      || BUSY or          |
         |             |             || x-name           |
         +-------------+-------------++------------------+
         |             | CONFIRMED   ||                  |
         | TRANSPARENT | CANCELLED   || FREE             |
         |             | TENTATIVE   ||                  |
         |             | x-name      ||                  |
         +-------------+-------------++------------------+
        

Duplicate busy time periods with the same FBTYPE parameter value SHOULD NOT be specified in the returned VFREEBUSY component. Servers SHOULD coalesce consecutive or overlapping busy time periods of the same type. Busy time periods with different FBTYPE parameter values MAY overlap.

同じFBTYPEパラメーター値を持つ忙しい期間を複製してください。返されたvfreebusyコンポーネントでは指定されてはいけません。サーバーは、同じタイプの忙しい期間の連続または重複する合体する必要があります。異なるFBTYPEパラメーター値を持つ忙しい期間が重複する場合があります。

Support for the CALDAV:free-busy-query REPORT is REQUIRED.

CalDAVのサポート:フリーベーシークエリレポートが必要です。

Marshalling:

マーシャリング:

The request body MUST be a CALDAV:free-busy-query XML element (see Section 9.11), which MUST contain exactly one CALDAV:time-range XML element, as defined in Section 9.9.

リクエスト本体は、CalDAV:Free-Busy-Cuery XML要素(セクション9.11を参照)でなければなりません。これには、セクション9.9で定義されているように、正確に1つのCalDAV:時間範囲XML要素を含む必要があります。

The request MAY include a Depth header. If no Depth header is included, Depth:0 is assumed.

リクエストには、深度ヘッダーが含まれる場合があります。深さヘッダーが含まれていない場合、深さ:0が想定されます。

The response body for a successful request MUST be an iCalendar object that contains exactly one VFREEBUSY component that describes the busy time intervals for the calendar object resources containing VEVENT, or VFREEBUSY components that satisfy the Depth value and for which the current user is at least granted the CALDAV:read-free-busy privilege. If no calendar object resources are found to satisfy these conditions, a VFREEBUSY component with no FREEBUSY property MUST be returned. This report only returns busy time information. Free time information can be inferred from the returned busy time information.

リクエストを成功させるための応答本体は、野菜を含むカレンダーオブジェクトリソースの忙しい時間間隔、または深さ値を満たし、現在のユーザーが少なくとも許可されているvfreebusyコンポーネントの忙しい時間間隔を記述する1つのvfreebusyコンポーネントを含むialendarオブジェクトでなければなりません。Caldav:読み取りのない忙しい特権。カレンダーオブジェクトリソースがこれらの条件を満たすことがわかっていない場合、freebusyプロパティを持たないvfreebusyコンポーネントを返品する必要があります。このレポートは、忙しい時間情報のみを返します。自由時間情報は、返された忙しい時間情報から推測できます。

If the current user is not granted the CALDAV:read-free-busy or DAV:read privileges on the Request-URI, the CALDAV:free-busy-query REPORT request MUST fail and return a 404 (Not Found) status value. This restriction will prevent users from discovering URLs of resources for which they are only granted the CALDAV:read-free-busy privilege.

現在のユーザーがCalDav:読み取りフリービューシーまたはDAVに付与されていない場合、リクエスト-URIで特権を読む、CalDAV:Free-Busy-Queryレポートリクエストは失敗し、404(見つかっていない)ステータス値を返す必要があります。この制限により、ユーザーはCalDavのみが付与されているリソースのURLを発見することができなくなります。

The CALDAV:free-busy-query REPORT request can only be run against a collection (either a regular collection or a calendar collection). An attempt to run the report on a calendar object resource MUST fail and return a 403 (Forbidden) status value.

CalDav:Free-Busy-Ceery Reportリクエストは、コレクション(通常のコレクションまたはカレンダーコレクション)に対してのみ実行できます。カレンダーオブジェクトリソースでレポートを実行する試みは、失敗し、403(禁止)ステータス値を返す必要があります。

Preconditions:

前提条件:

None.

なし。

Postconditions:

ポストコンディション:

(DAV:number-of-matches-within-limits): The number of matching calendar object resources must fall within server-specific, predefined limits. For example, this postcondition might fail if the specified CALDAV:time-range would cause an extremely large number of calendar object resources to be considered in computing the response.

(DAV:ライミットのマッチ数):一致するカレンダーオブジェクトリソースの数は、サーバー固有の事前定義された制限内に該当する必要があります。たとえば、指定されたCalDAV:時間帯が応答の計算において非常に多数のカレンダーオブジェクトリソースが考慮されると、このポストコンディションが失敗する可能性があります。

7.10.1. Example: Successful CALDAV:free-busy-query REPORT
7.10.1. 例:成功したCalDAV:フリー忙しいクエリレポート

In this example, the client requests the server to return free busy information on the calendar collection /bernard/work/, between 9:00 A.M. and 5:00 P.M. EST (2:00 P.M. and 10:00 P.M. UTC) on the January 4, 2006. The server responds, indicating two busy time intervals of one hour, one of which is tentative.

この例では、クライアントはサーバーに、午前9時の間にカレンダーコレクション/バーナード/ワーク/ワークの無料の忙しい情報を返すように要求します。午後5時EST(午後2時と午後10時)2006年1月4日。サーバーは応答し、1時間の2つの忙しい時間間隔を示します。

See Appendix B for the calendar data being targeted by this example.

この例でターゲットにされているカレンダーデータについては、付録Bを参照してください。

   >> Request <<
        
   REPORT /bernard/work/ HTTP/1.1
   Host: cal.example.com
   Depth: 1
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <C:free-busy-query xmlns:C="urn:ietf:params:xml:ns:caldav">
     <C:time-range start="20060104T140000Z"
                     end="20060105T220000Z"/>
   </C:free-busy-query>
        
   >> Response <<
        
   HTTP/1.1 200 OK
   Date: Sat, 11 Nov 2006 09:32:12 GMT
   Content-Type: text/calendar
   Content-Length: xxxx
        
   BEGIN:VCALENDAR
   VERSION:2.0
   PRODID:-//Example Corp.//CalDAV Server//EN
   BEGIN:VFREEBUSY
   DTSTAMP:20050125T090000Z
   DTSTART:20060104T140000Z
   DTEND:20060105T220000Z
   FREEBUSY;FBTYPE=BUSY-TENTATIVE:20060104T150000Z/PT1H
   FREEBUSY:20060104T190000Z/PT1H
   END:VFREEBUSY
   END:VCALENDAR
        
8. Guidelines
8. ガイドライン
8.1. Client-to-Client Interoperability
8.1. クライアントからクライアントへの相互運用性

There are a number of actions clients can take that will be legal (the server will not return errors), but that can degrade interoperability with other client implementations accessing the same data. For example, a recurrence rule could be replaced with a set of recurrence dates, a single recurring event could be replaced with a set of independent resources to represent each recurrence, or the start/end time values can be translated from the original time zone to another time zone. Although this advice amounts to iCalendar interoperability best practices and is not limited only to CalDAV usage, interoperability problems are likely to be more evident in CalDAV use cases.

クライアントが取ることができる多くのアクションがあります(サーバーはエラーを返しません)が、同じデータにアクセスする他のクライアントの実装と相互運用性を低下させる可能性があります。たとえば、再発ルールを再発日のセットに置き換えることができます。単一の再発イベントを、各再発を表すための独立したリソースのセットに置き換えることができます。別のタイムゾーン。このアドバイスは、ICALENDARの相互運用性のベストプラクティスに相当し、CalDAVの使用だけに限定されていませんが、相互運用性の問題はCalDAVのユースケースでより明確になる可能性があります。

8.2. Synchronization Operations
8.2. 同期操作

WebDAV already provides functionality required to synchronize a collection or set of collections, to make changes offline, and provides a simple way to resolve conflicts when reconnected. ETags are the key to making this work, but these are not required of all WebDAV servers. Since offline functionality is more important to calendar applications than to some other WebDAV applications, CalDAV servers MUST support ETags, as specified in Section 5.3.4.

WebDavは、コレクションまたはコレクションのセットを同期し、オフラインで変更を加えるために必要な機能を既に提供し、再接続するときに競合を解決する簡単な方法を提供します。ETAGはこの作業を行うための鍵ですが、これらはすべてのWebDAVサーバーに必要ではありません。オフラインの機能は、他のWebDAVアプリケーションよりもカレンダーアプリケーションにとってより重要であるため、セクション5.3.4で指定されているように、CalDAVサーバーはETAGをサポートする必要があります。

8.2.1. Use of Reports
8.2.1. レポートの使用
8.2.1.1. Restrict the Time Range
8.2.1.1. 時間範囲を制限します

The reports provided in CalDAV can be used by clients to optimize their performance in terms of network bandwidth usage and resource consumption on the local client machine. Both are certainly major considerations for mobile or handheld devices with limited capacity, but they are also relevant to desktop client applications in cases where the calendar collections contain large amounts of data.

CalDAVで提供されるレポートは、クライアントがローカルクライアントマシンでのネットワーク帯域幅の使用とリソース消費の観点からパフォーマンスを最適化するために使用できます。どちらも確かに、容量が限られているモバイルまたはハンドヘルドデバイスの主要な考慮事項ですが、カレンダーコレクションに大量のデータが含まれている場合のデスクトップクライアントアプリケーションにも関連しています。

Typically, clients present calendar data to users in views that span a finite time interval, so whenever possible, clients should only retrieve calendar components from the server using CALDAV:calendar-query REPORT, combined with a CALDAV:time-range element, to limit the set of returned components to just those needed to populate the current view.

通常、クライアントは有限時間間隔にまたがるビューでユーザーにカレンダーデータを提示するため、可能な限り、クライアントはCalDAV:Caldav:CalDAVと組み合わせたカレンダークエリレポートを使用してサーバーからカレンダーコンポーネントのみを取得する必要があります。現在のビューを入力するために必要なコンポーネントに返されたコンポーネントのセット。

8.2.1.2. Synchronize by Time Range
8.2.1.2. 時間範囲で同期します

Typically in a calendar, historical data (events, to-dos, etc. that have completed prior to the current date) do not change, though they may be deleted. As a result, a client can speed up the synchronization process by only considering data for the present time and the future up to a reasonable limit (e.g., one week, one month). If the user then tries to examine a portion of the calendar outside the range that has been synchronized, the client can perform another synchronization operation on the new time interval being examined. This "just-in-time" synchronization can minimize bandwidth for common user interaction behaviors.

通常、カレンダーでは、履歴データ(現在の日付以前に完了したイベント、To-Dosなど)は変更されませんが、削除される場合があります。その結果、クライアントは、現在のデータを合理的な制限まで(たとえば、1週間、1か月など)、現在のデータのみを考慮することで同期プロセスをスピードアップできます。その後、ユーザーが同期した範囲の外側のカレンダーの一部を調べようとすると、クライアントは調査対象の新しい時間間隔で別の同期操作を実行できます。この「ジャストインタイム」同期は、一般的なユーザー相互作用行動の帯域幅を最小限に抑えることができます。

8.2.1.3. Synchronization Process
8.2.1.3. 同期プロセス

If a client wants to support calendar data synchronization, as opposed to downloading calendar data each time it is needed, the client needs to cache the calendar object resource's URI and ETag, along with the actual calendar data. While the URI remains static for the lifetime of the calendar object resource, the ETag will change with each successive change to the calendar object resource. Thus, to synchronize a local data cache with the server, the client can first fetch the URI/ETag pairs for the time interval being considered, and compare those results with the cached data. Any cached component whose ETag differs from that on the server needs to be refreshed.

クライアントがカレンダーデータの同期をサポートしたい場合、必要になるたびにカレンダーデータをダウンロードするのではなく、クライアントはカレンダーオブジェクトリソースのURIとETAGを実際のカレンダーデータとともにキャッシュする必要があります。URIは、カレンダーオブジェクトリソースの寿命の静的なままですが、ETAGは、カレンダーオブジェクトリソースを連続するたびに変更されます。したがって、サーバーとローカルデータキャッシュを同期するために、クライアントは最初に考慮される時間間隔のURI/ETAGペアを取得し、それらの結果をキャッシュされたデータと比較できます。ETAGがサーバー上のそれとは異なるキャッシュされたコンポーネントを更新する必要があります。

In order to properly detect the changes between the server and client data, the client will need to keep a record of which calendar object resources have been created, changed, or deleted since the last synchronization operation so that it can reconcile those changes with the data on the server.

サーバーデータとクライアントデータ間の変更を適切に検出するには、クライアントは、最後の同期操作以降にカレンダーオブジェクトリソースが作成、変更、または削除されているレコードを保持する必要があります。サーバー上。

Here's an example of how to do that:

これがそれを行う方法の例です:

   The client issues a CALDAV:calendar-query REPORT request for a
   specific time range and asks for only the DAV:getetag property to be
   returned:
      REPORT /bernard/work/ HTTP/1.1
   Host: cal.example.com
   Depth: 1
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <C:calendar-query xmlns:D="DAV:"
                     xmlns:C="urn:ietf:params:xml:ns:caldav">
     <D:prop>
       <D:getetag/>
     </D:prop>
     <C:filter>
       <C:comp-filter name="VCALENDAR">
         <C:comp-filter name="VEVENT">
           <C:time-range start="20040902T000000Z"
                           end="20040903T000000Z"/>
         </C:comp-filter>
       </C:comp-filter>
     </C:filter>
   </C:calendar-query>
        

The client then uses the results to determine which calendar object resources have changed, been created, or deleted on the server, and how those relate to locally cached calendar object resources that may have changed, been created, or deleted. If the client determines that there are calendar object resources on the server that need to be fetched, the client issues a CALDAV:calendar-multiget REPORT request to fetch its calendar data:

次に、クライアントは結果を使用して、どのカレンダーオブジェクトリソースが変更されたか、作成された、またはサーバー上で削除されたか、および変更、作成、削除されたローカルにキャッシュされたカレンダーオブジェクトリソースにどのように関連するかを決定します。クライアントがサーバー上にフェッチする必要があるカレンダーオブジェクトリソースがあると判断した場合、クライアントはCalDAVを発行します。

   REPORT /bernard/work/ HTTP/1.1
   Host: cal.example.com
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <C:calendar-multiget xmlns:D="DAV:"
                        xmlns:C="urn:ietf:params:xml:ns:caldav">
     <D:prop>
       <D:getetag/>
       <C:calendar-data/>
     </D:prop>
     <D:href>/bernard/work/abcd1.ics</D:href>
     <D:href>/bernard/work/mtg1.ics</D:href>
   </C:calendar-multiget>
        
8.2.2. Restrict the Properties Returned
8.2.2. 返されたプロパティを制限します

A client may not need all the calendar properties of a calendar object resource when presenting information to the user. Since some calendar property values can be large (e.g., ATTACH or ATTENDEE), a client can choose to restrict the calendar properties to be returned in a calendaring REPORT request to those it knows it will use.

クライアントは、ユーザーに情報を提示するときに、カレンダーオブジェクトリソースのすべてのカレンダープロパティを必要としない場合があります。一部のカレンダープロパティ値は大きくなる可能性があるため(添付者や参加者など)、クライアントは、使用することがわかっているカレンダーレポートリクエストで、カレンダープロパティを制限することを選択できます。

However, if a client needs to make a change to a calendar object resource, it can only change the entire calendar object resource via a PUT request. There is currently no way to incrementally make a change to a set of calendar properties of a calendar object resource. As a result, the client will have to get the entire calendar object resource that is being changed.

ただし、クライアントがカレンダーオブジェクトリソースを変更する必要がある場合、Putリクエストを介してカレンダーオブジェクトリソース全体を変更することのみができます。現在、カレンダーオブジェクトリソースのカレンダープロパティのセットを段階的に変更する方法はありません。その結果、クライアントは変更されているカレンダーオブジェクトリソース全体を取得する必要があります。

8.3. Use of Locking
8.3. ロックの使用

WebDAV locks can be used to prevent two clients that are modifying the same resource from either overwriting each others' changes (though that problem can also be solved by using ETags) or wasting time making changes that will conflict with another set of changes. In a multi-user calendar system, an interactive calendar client could lock an event while the user is editing the event, and unlock the event when the user finishes or cancels. Locks can also be used to prevent changes while data is being reorganized. For example, a calendar client might lock two calendar collections prior to moving a bunch of calendar resources from one to another.

WebDavロックを使用して、同じリソースを変更している2つのクライアントがお互いの変更を上書きすることを防ぐことができます(ただし、その問題はETAGを使用することで解決することもできます)、または別の変更セットと競合する変更を行う時間を無駄にすることができます。マルチユーザーカレンダーシステムでは、インタラクティブなカレンダークライアントがイベントを編集している間にイベントをロックし、ユーザーが終了またはキャンセルしたときにイベントのロックを解除できます。データの再編成中の変更を防ぐためにロックを使用することもできます。たとえば、カレンダークライアントは、多数のカレンダーリソースを別のカレンダーリソースを移動する前に、2つのカレンダーコレクションをロックする場合があります。

Clients are responsible for requesting a lock timeout period that is appropriate to the use case. When the user explicitly decides to reserve a resource and prevent other changes, a long timeout might be appropriate, but in cases where the client automatically decides to lock the resource, the timeout should be short (and the client can always refresh the lock should it need to). A short lock timeout means that if the client is unable to remove the lock, the other calendar users aren't prevented from making changes.

クライアントは、ユースケースに適したロックタイムアウト期間を要求する責任があります。ユーザーがリソースを予約して他の変更を防ぐことを明示的に決定した場合、長いタイムアウトが適切かもしれませんが、クライアントがリソースのロックを自動的に決定する場合、タイムアウトは短くする必要があります(そして、クライアントは常にロックを更新できます。する必要があります)。短いロックタイムアウトとは、クライアントがロックを削除できない場合、他のカレンダーユーザーが変更を行わないことを意味します。

8.4. Finding Calendars
8.4. カレンダーを見つける

Much of the time, a calendar client (or agent) will discover a new calendar's location by being provided directly with the URL. For example, a user will type his or her own calendar location into client configuration information or copy and paste a URL from email into the calendar application. The client need only confirm that the URL points to a resource that is a calendar collection. The client may also be able to browse WebDAV collections to find calendar collections.

多くの場合、カレンダークライアント(またはエージェント)は、URLを直接提供することにより、新しいカレンダーの場所を発見します。たとえば、ユーザーは自分のカレンダーの場所をクライアント構成情報に入力するか、電子メールからカレンダーアプリケーションにURLをコピーして貼り付けます。クライアントは、URLがカレンダーコレクションであるリソースを指していることを確認するだけです。クライアントは、WebDavコレクションを閲覧してカレンダーコレクションを見つけることもできます。

The choice of HTTP URLs means that calendar object resources are backward compatible with existing software, but does have the disadvantage that existing software does not usually know to look at the OPTIONS response to that URL to determine what can be done with it. This is somewhat of a barrier for WebDAV usage as well as with CalDAV usage. This specification does not offer a way through this other than making the information available in the OPTIONS response should this be requested.

HTTP URLの選択は、カレンダーオブジェクトリソースが既存のソフトウェアと下位互換性があることを意味しますが、既存のソフトウェアが通常、そのURLへのオプションの応答を調べて、それを実行できることを決定することを知らないという不利な点があります。これは、CalDAVの使用と同様に、WebDAVの使用法に対する障壁です。この仕様は、これが要求された場合にオプションの応答で情報を利用可能にする以外に、これを通してこれを通過する方法を提供しません。

For calendar sharing and scheduling use cases, one might wish to find the calendar belonging to another user. If the other user has a calendar in the same repository, that calendar can be found by using the principal namespace required by WebDAV ACL support. For other cases, the authors have no universal solution, but implementers can consider whether to use vCard [RFC2426] or LDAP [RFC4511] standards together with calendar attributes [RFC2739].

カレンダーの共有とスケジューリングのユースケースについては、別のユーザーに属するカレンダーを見つけたいと思うかもしれません。他のユーザーが同じリポジトリにカレンダーを持っている場合、そのカレンダーは、WebDAV ACLサポートで必要な主要な名前空間を使用して見つけることができます。他のケースについては、著者は普遍的なソリューションを持っていませんが、実装者は、カレンダー属性[RFC2739]とともにVCARD [RFC2426]またはLDAP [RFC4511]標準を使用するかどうかを検討できます。

Because CalDAV requires servers to support WebDAV ACL [RFC3744], including principal namespaces, and with the addition of the CALDAV: calendar-home-set property, there are a couple options for CalDAV clients to find one's own calendar or another user's calendar.

CalDAVは、主な名前空間を含むWebDAV ACL [RFC3744]をサポートするためにサーバーを必要としているため、CalDAV:Calendar-Home-Setプロパティの追加により、CalDAVクライアントが自分のカレンダーまたは別のユーザーのカレンダーを見つけるためのいくつかのオプションがあります。

In this case, a DAV:principal-match REPORT is used to find a named property (the CALDAV:calendar-home-set) on the Principal-URL of the current user. Using this, a WebDAV client can learn "who am I" and "where are my calendars". The REPORT request body looks like this:

この場合、DAV:プリンシパルマッチレポートを使用して、現在のユーザーのプリンシパルURLに名前付きプロパティ(CalDav:Calendar-Home-Set)を見つけます。これを使用して、WebDavクライアントは「誰が私」と「カレンダーはどこにあるのか」を学ぶことができます。レポートリクエストボディは次のようになります:

   <?xml version="1.0" encoding="utf-8" ?>
   <D:principal-match xmlns:D="DAV:">
     <D:self/>
     <D:prop>
       <C:calendar-home-set
          xmlns:C="urn:ietf:params:xml:ns:caldav"/>
     </D:prop>
   </D:principal-match>
        

To find other users' calendars, the DAV:principal-property-search REPORT can be used to filter on some properties and return others. To search for a calendar owned by a user named "Laurie", the REPORT request body would look like this:

他のユーザーのカレンダーを見つけるために、DAV:Principal-Property-Searchレポートを使用して、一部のプロパティでフィルタリングして他のプロパティを返すことができます。「Laurie」という名前のユーザーが所有するカレンダーを検索するには、レポートリクエストボディが次のようになります。

   <?xml version="1.0" encoding="utf-8" ?>
   <D:principal-property-search xmlns:D="DAV:">
     <D:property-search>
       <D:prop>
         <D:displayname/>
       </D:prop>
       <D:match>Laurie</D:match>
     </D:property-search>
     <D:prop>
       <C:calendar-home-set
          xmlns:C="urn:ietf:params:xml:ns:caldav"/>
       <D:displayname/>
     </D:prop>
   </D:principal-property-search>
        

The server performs a case-sensitive or caseless search for a matching string subset of "Laurie" within the DAV:displayname property. Thus, the server might return "Laurie Dusseault", "Laurier Desruisseaux", or "Wilfrid Laurier" as matching DAV:displayname values, and return the calendars for each of these.

サーバーは、DAV:DisplayNameプロパティ内の「Laurie」の一致する文字列サブセットのケースに敏感またはCaselessの検索を実行します。したがって、サーバーは、「Laurie Dusseault」、「Laurier Desruisseaux」、または「Wilfrid Laurier」をDAV:DisplayName値と一致させ、これらのそれぞれのカレンダーを返すことができます。

8.5. Storing and Using Attachments
8.5. 添付ファイルの保存と使用

CalDAV clients MAY create attachments in calendar components either as inline or external. This section contains some guidelines for creating and managing attachments.

CalDAVクライアントは、インラインまたは外部としてカレンダーコンポーネントに添付ファイルを作成する場合があります。このセクションには、添付ファイルの作成と管理に関するいくつかのガイドラインが含まれています。

8.5.1. Inline Attachments
8.5.1. インラインアタッチメント

CalDAV clients MUST support inline attachments as specified in iCalendar [RFC2445]. CalDAV servers MUST support inline attachments, so clients can rely on being able to create attachments this way. On the other hand, inline attachments have some drawbacks:

CalDAVクライアントは、IcalEndar [RFC2445]で指定されているように、インライン添付ファイルをサポートする必要があります。CalDAVサーバーは、インラインの添付ファイルをサポートする必要があるため、クライアントはこの方法で添付ファイルを作成できることに依存できます。一方、インラインアタッチメントにはいくつかの欠点があります。

o Servers MAY impose limitations on the size of calendar object resources (i.e., refusing PUT requests of very large iCalendar objects). Servers that impose such limitations MUST use the CALDAV:max-resource-size property on a calendar collection to inform the client as to what the limitation is (see Section 5.2.5).

o サーバーは、カレンダーオブジェクトリソースのサイズに制限を課す場合があります(つまり、非常に大きなアイカルエンダルオブジェクトのプットリクエストを拒否します)。このような制限を課すサーバーは、カレンダーコレクションにCalDav:Max-Resource-Sizeプロパティを使用して、制限が何であるかをクライアントに通知する必要があります(セクション5.2.5を参照)。

o Servers MAY impose storage quota limitations on calendar collections (See [RFC4331]).

o サーバーは、カレンダーコレクションにストレージクォータの制限を課す場合があります([RFC4331]を参照)。

o Any change to a calendar object resource containing an inline attachment requires the entire inline attachment to be re-uploaded.

o インラインアタッチメントを含むカレンダーオブジェクトリソースを変更するには、インラインアタッチメント全体を再アップロードする必要があります。

o Clients synchronizing a changed calendar object resource have to download the entire calendar object resource, even if the attachment is unchanged.

o 変更されたカレンダーオブジェクトリソースを同期するクライアントは、添付ファイルが変更されていなくても、カレンダーオブジェクトリソース全体をダウンロードする必要があります。

8.5.2. External Attachments
8.5.2. 外部添付ファイル

CalDAV clients SHOULD support downloading of external attachments referenced by arbitrary URI schemes, by either processing them directly, or by passing the attachment URI to a suitable "helper application" for processing, if such an application exists. CalDAV clients MUST support downloading of external attachments referenced by the "http" or "https" URI schemes. An external attachment could be:

CalDAVクライアントは、任意のURIスキームが参照する外部添付ファイルのダウンロードをサポートする必要があります。そのようなアプリケーションが存在する場合、任意のURIスキームを直接処理するか、処理に適切な「ヘルパーアプリケーション」に添付ファイルを渡すことにより。CalDAVのクライアントは、「HTTP」または「HTTPS」URIスキームによって参照される外部添付ファイルのダウンロードをサポートする必要があります。外部の添付ファイルは次のとおりです。

o In a collection in the calendar collection containing the calendar object resource;

o カレンダーオブジェクトリソースを含むカレンダーコレクションのコレクション。

o Somewhere else in the same repository that hosts the calendar collection; or

o カレンダーコレクションをホストする同じリポジトリ内のどこか。また

o On an HTTP or FTP server elsewhere.

o 他の場所のHTTPまたはFTPサーバーで。

CalDAV servers MAY provide support for child collections in calendar collections. CalDAV servers MAY allow the MKCOL method to create child collections in calendar collections. Child collections of calendar collections MAY contain any type of resource except calendar collections that they MUST NOT contain. Some CalDAV servers won't allow child collections in calendar collections, and it may be possible on such a server to discover other locations where attachments can be stored.

CalDAVサーバーは、カレンダーコレクションの子コレクションをサポートする場合があります。CalDAVサーバーでは、MKCOLメソッドがカレンダーコレクションで子コレクションを作成できる場合があります。カレンダーコレクションの子コレクションには、封じ込めてはならないカレンダーコレクションを除くあらゆるタイプのリソースが含まれる場合があります。一部のCalDAVサーバーは、カレンダーコレクションの子コレクションを許可しないため、そのようなサーバーで添付ファイルを保存できる他の場所を発見することが可能かもしれません。

Clients are entirely responsible for maintaining reference consistency with calendar components that link to external attachments. A client deleting a calendar component with an external attachment might therefore also delete the attachment if that's appropriate; however, appropriateness can be very hard to determine. A new component might easily reference some pre-existing Web resource that is intended to have independent existence from the calendar component (the "attachment" could be a major proposal to be discussed in a meeting, for instance). Best practices will probably emerge and should probably be documented, but for now, clients should be wary of engaging in aggressive "cleanup" of external attachments. A client could involve the user in making decisions about removing unreferenced documents, or a client could be conservative in only deleting attachments it had created.

クライアントは、外部の添付ファイルにリンクするカレンダーコンポーネントとの参照の一貫性を維持する責任が完全に責任を負います。したがって、カレンダーコンポーネントを外部の添付ファイルで削除するクライアントは、それが適切な場合、添付ファイルを削除する場合があります。ただし、適切性を判断するのは非常に難しい場合があります。新しいコンポーネントは、カレンダーコンポーネントから独立した存在を持つことを目的とした既存のWebリソースを簡単に参照する場合があります(「添付ファイル」は、たとえば、会議で議論される主要な提案である可能性があります)。ベストプラクティスはおそらく出現し、おそらく文書化されるべきですが、今のところ、クライアントは外部の添付ファイルの積極的な「クリーンアップ」に従事することに注意する必要があります。クライアントは、ユーザーがリファレンスされていないドキュメントの削除に関する決定を下すことに関与したり、作成した添付ファイルのみを削除するだけでクライアントが保守的である可能性があります。

Also, clients are responsible for consistency of permissions when using external attachments. One reason for servers to support the storage of attachments within child collections of calendar collections is that ACL inheritance might make it easier to grant the same permissions to attachments that are granted on the calendar collection. Otherwise, it can be very difficult to keep permissions synchronized. With attachments stored on separate repositories, it can be impossible to keep permissions consistent -- the two repositories may not support the same permissions or have the same set of principals. Some systems have used tickets or other anonymous access control mechanisms to provide partially satisfactory solutions to these kinds of problems.

また、クライアントは、外部の添付ファイルを使用する場合の権限の一貫性について責任を負います。サーバーがカレンダーコレクションの子コレクション内の添付ファイルの保存をサポートする理由の1つは、ACL継承がカレンダーコレクションに付与された添付ファイルに同じ許可を容易にすることを可能にする可能性があることです。それ以外の場合、アクセス許可を同期させることは非常に困難です。別々のリポジトリに添付ファイルが保存されているため、許可を一貫して保持することは不可能です。2つのリポジトリは、同じアクセス許可をサポートしないか、同じプリンシパルのセットを持っている場合があります。一部のシステムでは、チケットまたはその他の匿名アクセス制御メカニズムを使用して、これらの種類の問題に対して部分的に満足のいくソリューションを提供しています。

8.6. Storing and Using Alarms
8.6. アラームの保存と使用

Note that all CalDAV calendar collections (including those the user might treat as public or group calendars) can contain alarm information on events and to-dos. Users can synchronize a calendar between multiple devices and decide to have alarms execute on a different device than the device that created the alarm. Not all alarm action types are completely interoperable (e.g., those that name a sound file to play).

すべてのCalDAVカレンダーコレクション(ユーザーがパブリックカレンダーまたはグループカレンダーとして扱う可能性のあるものを含む)には、イベントやTo-DOに関するアラーム情報が含まれていることに注意してください。ユーザーは、複数のデバイス間でカレンダーを同期させ、アラームを作成したデバイスとは異なるデバイスでアラームを実行することを決定できます。すべてのアラームアクションタイプが完全に相互運用可能であるわけではありません(たとえば、再生するサウンドファイルに名前を付けるもの)。

When the action is AUDIO and the client is configured to execute the alarm, the client SHOULD play the suggested sound if it's available or play another sound, but SHOULD NOT rewrite the alarm just to replace the suggested sound with a sound that's locally available.

アクションがオーディオであり、クライアントがアラームを実行するように構成されている場合、クライアントは使用可能な場合は提案されたサウンドを再生するか、別のサウンドを再生する必要がありますが、提案されたサウンドをローカルで利用可能なサウンドに置き換えるためだけにアラームを書き直す必要はありません。

When the action is DISPLAY and the client is configured to execute the alarm, the client SHOULD execute a display alarm by displaying according to the suggested description or some reasonable replacement, but SHOULD NOT rewrite the alarm for its own convenience.

アクションが表示され、クライアントがアラームを実行するように構成されている場合、クライアントは、提案された説明または何らかの合理的な交換に従って表示することにより、ディスプレイアラームを実行する必要がありますが、アラームを自己の便利に書き直すべきではありません。

When the action is EMAIL and the client is incapable of sending email, it SHOULD ignore the alarm, but it MUST continue to synchronize the alarm itself.

アクションが電子メールであり、クライアントが電子メールを送信できない場合、アラームは無視する必要がありますが、アラーム自体を同期し続ける必要があります。

This specification makes no recommendations about executing alarms of type PROCEDURE, except to note that clients are advised to take care to avoid creating security holes by executing these.

この仕様は、これらを実行することでセキュリティホールの作成を避けるためにクライアントが注意するように勧められることに注意することを除いて、タイプ手順のアラームの実行に関する推奨事項を作成しません。

Non-interoperable alarm information (e.g., should somebody define a color to be used in a display alarm) should be put in non-standard properties inside the VALARM component in order to keep the basic alarm usable on all devices.

すべてのデバイスで基本的なアラームを使用可能に保つために、挿入不可能なアラーム情報(たとえば、ディスプレイアラームで使用する色を定義する場合は、Valarmコンポーネント内の非標準プロパティに配置する必要があります。

Clients that allow changes to calendar object resources MUST synchronize the alarm data that already exists in the resources.

カレンダーオブジェクトリソースの変更を許可するクライアントは、リソースに既に存在するアラームデータを同期する必要があります。

Clients MAY execute alarms that are downloaded in this fashion, possibly based on user preference. If a client is only doing read operations on a calendar and there is no risk of losing alarm information, then the client MAY discard alarm information.

クライアントは、おそらくユーザーの好みに基づいて、この方法でダウンロードされるアラームを実行できます。クライアントがカレンダーで読み取り操作のみを行っており、アラーム情報を失うリスクがない場合、クライアントはアラーム情報を破棄することができます。

This specification makes no attempt to provide multi-user alarms on group calendars or to find out for whom an alarm is intended. Addressing those issues might require extensions to iCalendar; for example, to store alarms per-user, or to indicate for which user a VALARM was intended. In the meantime, clients might maximize interoperability by generally not uploading alarm information to public, group, or resource calendars.

この仕様は、グループカレンダーにマルチユーザーアラームを提供したり、アラームが意図されているかを調べたりすることを試みません。これらの問題に対処するには、ICALENDARへの拡張が必要になる場合があります。たとえば、ユーザーごとにアラームを保存したり、ユーザーがValarmを意図したかを示すこと。それまでの間、クライアントは、一般にアラーム情報を公開、グループ、またはリソースカレンダーにアップロードしないことにより、相互運用性を最大化する場合があります。

9. XML Element Definitions
9. XML要素定義
9.1. CALDAV:calendar XML Element
9.1. CalDav:カレンダーXML要素

Name: calendar

名前:カレンダー

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Specifies the resource type of a calendar collection.

目的:カレンダーコレクションのリソースタイプを指定します。

Description: See Section 4.2.

説明:セクション4.2を参照してください。

Definition:

意味:

         <!ELEMENT calendar EMPTY>
        
9.2. CALDAV:mkcalendar XML Element
9.2. CalDAV:MKCALENDAR XML要素

Name: mkcalendar

名前:mkcalendar

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Specifies a request that includes the WebDAV property values to be set for a calendar collection resource when it is created.

目的:作成時にカレンダーコレクションリソースに設定されるWebDAVプロパティ値を含むリクエストを指定します。

Description: See Section 5.3.1.

説明:セクション5.3.1を参照してください。

Definition:

意味:

         <!ELEMENT mkcalendar (DAV:set)>
        
9.3. CALDAV:mkcalendar-response XML Element
9.3. CalDAV:mkcalendar-response xml要素

Name: mkcalendar-response

名前:mkcalendar-response

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Specifies a response body for a successful MKCALENDAR request.

目的:MKCALENDARリクエストを成功させるための応答本体を指定します。

Description: See Section 5.3.1.

説明:セクション5.3.1を参照してください。

Definition:

意味:

         <!ELEMENT mkcalendar-response ANY>
        
9.4. CALDAV:supported-collation XML Element
9.4. CalDAV:サポートされているXML要素

Name: supported-collation

名前:サポートされているコローション

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Identifies a single collation via its collation identifier, as defined by [RFC4790].

目的:[RFC4790]で定義されているように、照合識別子を介して単一の照合を識別します。

Description: The CALDAV:supported-collation contains the text of a collation identifier, as described in Section 7.5.1.

説明:CalDAV:サポートされているコレクションには、セクション7.5.1で説明されているように、照合識別子のテキストが含まれています。

Definition:

意味:

         <!ELEMENT supported-collation (#PCDATA)>
         PCDATA value: collation identifier
        
9.5. CALDAV:calendar-query XML Element
9.5. CalDAV:カレンダークエリXML要素

Name: calendar-query

名前:カレンダークエリ

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Defines a report for querying calendar object resources.

目的:カレンダーオブジェクトリソースを照会するためのレポートを定義します。

Description: See Section 7.8.

説明:セクション7.8を参照してください。

Definition:

意味:

         <!ELEMENT calendar-query ((DAV:allprop |
                                    DAV:propname |
                                    DAV:prop)?, filter, timezone?)>
        
9.6. CALDAV:calendar-data XML Element
9.6. CalDAV:カレンダーデータXML要素

Name: calendar-data

名前:カレンダーデータ

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Specified one of the following:

目的:次のいずれかを指定しました。

1. A supported media type for calendar object resources when nested in the CALDAV:supported-calendar-data property;

1. カレンダーオブジェクトリソースのサポートされているメディアタイプCalDAVにネストされている場合:サポートされているカレンダーダタプロパティ。

2. The parts of a calendar object resource should be returned by a calendaring report;

2. カレンダーオブジェクトリソースの部分は、カレンダーレポートによって返される必要があります。

3. The content of a calendar object resource in a response to a calendaring report.

3. カレンダーレポートへの応答におけるカレンダーオブジェクトリソースの内容。

Description: When nested in the CALDAV:supported-calendar-data property, the CALDAV:calendar-data XML element specifies a media type supported by the CalDAV server for calendar object resources.

説明:CalDAV:サポートされているCalendar-Dataプロパティにネストされている場合、CalDAV:Callearn-Data XML要素は、カレンダーオブジェクトリソースのCalDAVサーバーがサポートするメディアタイプを指定します。

When used in a calendaring REPORT request, the CALDAV:calendar-data XML element specifies which parts of calendar object resources need to be returned in the response. If the CALDAV: calendar-data XML element doesn't contain any CALDAV:comp element, calendar object resources will be returned in their entirety.

カレンダーレポートリクエストで使用する場合、CalDAV:カレンダーDATA XML要素は、応答で返されるカレンダーオブジェクトリソースの部分を指定します。CalDAV:Calendar-Data XML要素にCalDAV:comp要素が含まれていない場合、カレンダーオブジェクトリソースが完全に返されます。

Finally, when used in a calendaring REPORT response, the CALDAV: calendar-data XML element specifies the content of a calendar object resource. Given that XML parsers normalize the two-character sequence CRLF (US-ASCII decimal 13 and US-ASCII decimal 10) to a single LF character (US-ASCII decimal 10), the CR character (US-ASCII decimal 13) MAY be omitted in calendar object resources specified in the CALDAV:calendar-data XML element. Furthermore, calendar object resources specified in the CALDAV: calendar-data XML element MAY be invalid per their media type specification if the CALDAV:calendar-data XML element part of the calendaring REPORT request did not specify required properties (e.g., UID, DTSTAMP, etc.), or specified a CALDAV:prop XML element with the "novalue" attribute set to "yes".

最後に、カレンダーレポート応答で使用する場合、CalDAV:Callearn-Data XML要素は、カレンダーオブジェクトリソースのコンテンツを指定します。XMLパーサーは、2文字のシーケンスCRLF(US-ASCII 10進数13およびUS-ASCII 10進10)を単一のLF文字(US-ASCII 10進10)に正規化することを考えると、CR文字(US-ASCII 10進数13)が省略される場合があります。カレンダーオブジェクトでは、CalDAVで指定されているリソース:カレンダーデータXML要素。さらに、CalDAVで指定されたカレンダーオブジェクトリソース:カレンダーデータXML要素は、CalDAV:カレンダーDATA XML要素部分が必要なプロパティを指定しなかった場合、メディアタイプの仕様ごとに無効になる場合があります(例えば、UID、DTSTAMP、など)、または「caldav:prop xml要素を指定します。

Note: The CALDAV:calendar-data XML element is specified in requests and responses inside the DAV:prop XML element as if it were a WebDAV property. However, the CALDAV:calendar-data XML element is not a WebDAV property and, as such, is not returned in PROPFIND responses, nor used in PROPPATCH requests.

注:CalDAV:Calendar-Data XML要素は、DAV:Prop XML要素内のリクエストと応答でWebDavプロパティであるかのように指定されています。ただし、CalDAV:Calendar-Data XML要素はWebDAVプロパティではなく、プロップファインド応答では返されず、プロップパッチリクエストでも使用されません。

Note: The iCalendar data embedded within the CALDAV:calendar-data XML element MUST follow the standard XML character data encoding rules, including use of &lt;, &gt;, &amp; etc. entity encoding or the use of a <![CDATA[ ... ]]> construct. In the later case, the iCalendar data cannot contain the character sequence "]]>", which is the end delimiter for the CDATA section.

注:CalDAV内に組み込まれたICALENDARデータ:カレンダーDATA XML要素は、&lt;、&gt;、&amp;の使用を含む標準のXML文字データエンコードルールに従う必要があります。など。エンティティエンコードまたはa <![cdata [...]]> constructの使用。後の場合、ICALENDARデータには、CDATAセクションのエンドデリミッターである文字シーケンス「]>」を含めることはできません。

Definition:

意味:

         <!ELEMENT calendar-data EMPTY>
        

when nested in the CALDAV:supported-calendar-data property to specify a supported media type for calendar object resources;

CalDavにネストされている場合:サポートされているCalendar-Dataプロパティを使用して、カレンダーオブジェクトリソースのサポートされているメディアタイプを指定します。

<!ELEMENT calendar-data (comp?, (expand | limit-recurrence-set)?, limit-freebusy-set?)>

<!要素カレンダーデータ(comp?、(展開|リミットリカレンスセット)?、lime-freebusy-set?)>

when nested in the DAV:prop XML element in a calendaring REPORT request to specify which parts of calendar object resources should be returned in the response;

DAVにネストされている場合:カレンダーレポートのProp XML要素は、応答でカレンダーオブジェクトリソースのどの部分を返す必要があるかを指定するように要求します。

         <!ELEMENT calendar-data (#PCDATA)>
         PCDATA value: iCalendar object
        

when nested in the DAV:prop XML element in a calendaring REPORT response to specify the content of a returned calendar object resource.

DAVにネストされている場合:返されたカレンダーオブジェクトリソースのコンテンツを指定するカレンダーレポート応答の提案XML要素。

         <!ATTLIST calendar-data content-type CDATA "text/calendar"
                                 version CDATA "2.0">
         content-type value: a MIME media type
         version value: a version string
        

attributes can be used on all three variants of the CALDAV:calendar-data XML element.

属性は、CalDAVの3つのバリエーションすべてで使用できます:Calendar-Data XML要素。

9.6.1. CALDAV:comp XML Element
9.6.1. CalDav:comp xml要素

Name: comp

名前:comp

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Defines which component types to return.

目的:返すコンポーネントタイプを定義します。

Description: The name value is a calendar component name (e.g., VEVENT).

説明:名前の値は、カレンダーコンポーネント名(たとえば、Vevent)です。

Definition:

意味:

         <!ELEMENT comp ((allprop | prop*), (allcomp | comp*))>
        
         <!ATTLIST comp name CDATA #REQUIRED>
         name value: a calendar component name
        

Note: The CALDAV:prop and CALDAV:allprop elements have the same name as the DAV:prop and DAV:allprop elements defined in [RFC2518]. However, the CALDAV:prop and CALDAV:allprop elements are defined in the "urn:ietf:params:xml:ns:caldav" namespace instead of the "DAV:" namespace.

注:CalDav:Prop and CalDav:AllProp要素は、[RFC2518]で定義されているDAV:Prop and Dav:AllProp要素と同じ名前を持っています。ただし、CalDav:Prop and caldav:AllProp要素は、「urn:ietf:params:xml:ns:caldav」という名前で定義されています。

9.6.2. CALDAV:allcomp XML Element
9.6.2. CalDav:AllComp XML要素

Name: allcomp

名前:AllComp

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Specifies that all components shall be returned.

目的:すべてのコンポーネントが返されることを指定します。

Description: The CALDAV:allcomp XML element can be used when the client wants all types of components returned by a calendaring REPORT request.

説明:CalDAV:AllComp XML要素は、カレンダーレポートリクエストによって返されたあらゆる種類のコンポーネントをクライアントが望んでいる場合に使用できます。

Definition:

意味:

         <!ELEMENT allcomp EMPTY>
        
9.6.3. CALDAV:allprop XML Element
9.6.3. CalDAV:AllProp XML要素

Name: allprop

名前:AllProp

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Specifies that all properties shall be returned.

目的:すべてのプロパティが返されることを指定します。

Description: The CALDAV:allprop XML element can be used when the client wants all properties of components returned by a calendaring REPORT request.

説明:CalDAV:Calentering Report Requestによって返されるコンポーネントのすべてのプロパティをクライアントが望んでいる場合、AllProp XML要素を使用できます。

Definition:

意味:

         <!ELEMENT allprop EMPTY>
        

Note: The CALDAV:allprop element has the same name as the DAV: allprop element defined in [RFC2518]. However, the CALDAV:allprop element is defined in the "urn:ietf:params:xml:ns:caldav" namespace instead of the "DAV:" namespace.

注:CalDAV:AllProp要素は、[RFC2518]で定義されているDAV:AllProp要素と同じ名前を持っています。ただし、CalDAV:AllProp要素は、「urn:ietf:params:xml:ns:caldav」名前空間で「dav:」の名前空間で定義されています。

9.6.4. CALDAV:prop XML Element
9.6.4. CalDav:提案XML要素

Name: prop

名前:小道具

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Defines which properties to return in the response.

目的:応答で返すプロパティを定義します。

Description: The "name" attribute specifies the name of the calendar property to return (e.g., ATTENDEE). The "novalue" attribute can be used by clients to request that the actual value of the property not be returned (if the "novalue" attribute is set to "yes"). In that case, the server will return just the iCalendar property name and any iCalendar parameters and a trailing ":" without the subsequent value data.

説明:「名前」属性は、返送するカレンダープロパティの名前を指定します(例:参加者)。「NOVALUE」属性は、クライアントがプロパティの実際の値を返さないように要求するために使用できます(「novalue」属性が「はい」に設定されている場合)。その場合、サーバーは、ICALENDARプロパティ名とICALENDARパラメーターのみを返し、後続の値データなしで ":"

Definition:

意味:

         <!ELEMENT prop EMPTY>
        
         <!ATTLIST prop name CDATA #REQUIRED
                        novalue (yes | no) "no">
         name value: a calendar property name
         novalue value: "yes" or "no"
        

Note: The CALDAV:prop element has the same name as the DAV:prop element defined in [RFC2518]. However, the CALDAV:prop element is defined in the "urn:ietf:params:xml:ns:caldav" namespace instead of the "DAV:" namespace.

注:CalDAV:Prop要素は、[RFC2518]で定義されているDAV:Prop要素と同じ名前を持っています。ただし、CalDav:Prop要素は、「urn:ietf:params:xml:ns:caldav」名前空間で「dav:」の名前空間で定義されています。

9.6.5. CALDAV:expand XML Element
9.6.5. CalDAV:XML要素を展開します

Name: expand

名前:拡張

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Forces the server to expand recurring components into individual recurrence instances.

目的:サーバーは、再発コンポーネントを個々の再発インスタンスに拡張するように強制します。

Description: The CALDAV:expand XML element specifies that for a given calendaring REPORT request, the server MUST expand the recurrence set into calendar components that define exactly one recurrence instance, and MUST return only those whose scheduled time intersect a specified time range.

説明:CalDAV:展開XML要素は、特定のカレンダーレポート要求に対して、サーバーが正確に1つの再発インスタンスを定義するカレンダーコンポーネントに再発セットを展開する必要があり、スケジュールされた時間が指定された時間範囲と交差するもののみを返す必要があることを指定します。

The "start" attribute specifies the inclusive start of the time range, and the "end" attribute specifies the non-inclusive end of the time range. Both attributes are specified as date with UTC time value. The value of the "end" attribute MUST be greater than the value of the "start" attribute.

「start」属性は、時間範囲の包括的開始を指定し、「end」属性は、非包括的な端の範囲を指定します。両方の属性は、UTC時間値の日付として指定されます。「end」属性の値は、「start」属性の値よりも大きくなければなりません。

The server MUST use the same logic as defined for CALDAV:time-range to determine if a recurrence instance intersects the specified time range.

サーバーは、CalDAVの定義と同じロジックを使用する必要があります。時間範囲は、指定された時間範囲と再発インスタンスが交差するかどうかを判断する必要があります。

Recurring components, other than the initial instance, MUST include a RECURRENCE-ID property indicating which instance they refer to.

最初のインスタンス以外の繰り返しコンポーネントには、参照するインスタンスを示す再発とIDのプロパティを含める必要があります。

The returned calendar components MUST NOT use recurrence properties (i.e., EXDATE, EXRULE, RDATE, and RRULE) and MUST NOT have reference to or include VTIMEZONE components. Date and local time with reference to time zone information MUST be converted into date with UTC time.

返されたカレンダーコンポーネントは、再発特性(つまり、Exdate、Exrule、Rdate、およびRrule)を使用してはならず、Vtimezoneコンポーネントを参照または含めることはできません。タイムゾーン情報を参照した日付と現地時間は、UTC時間の日付に変換する必要があります。

Definition:

意味:

         <!ELEMENT expand EMPTY>
        
         <!ATTLIST expand start CDATA #REQUIRED
                          end   CDATA #REQUIRED>
         start value: an iCalendar "date with UTC time"
         end value: an iCalendar "date with UTC time"
        
9.6.6. CALDAV:limit-recurrence-set XML Element
9.6.6. CalDAV:リミットリカレンスセットXML要素

Name: limit-recurrence-set

名前:制限再発セット

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Specifies a time range to limit the set of "overridden components" returned by the server.

目的:サーバーによって返される「オーバーライドされたコンポーネント」のセットを制限する時間範囲を指定します。

Description: The CALDAV:limit-recurrence-set XML element specifies that for a given calendaring REPORT request, the server MUST return, in addition to the "master component", only the "overridden components" that impact a specified time range. An overridden component impacts a time range if its current start and end times overlap the time range, or if the original start and end times -- the ones that would have been used if the instance were not overridden -- overlap the time range.

説明:CalDAV:Limit-Recurrence-Set XML要素は、特定のカレンダーレポート要求に対して、「マスターコンポーネント」に加えて、指定された時間範囲に影響を与える「オーバーライドされたコンポーネント」のみに加えて、サーバーが返さなければならないことを指定します。オーバーライドされたコンポーネントは、現在の開始時間と終了時間が時間範囲と重複する場合、または元の開始時間(インスタンスがオーバーライドされていない場合に使用されていたもの)が時間範囲を重複させた場合、時間範囲に影響を与えます。

The "start" attribute specifies the inclusive start of the time range, and the "end" attribute specifies the non-inclusive end of the time range. Both attributes are specified as date with UTC time value. The value of the "end" attribute MUST be greater than the value of the "start" attribute.

「start」属性は、時間範囲の包括的開始を指定し、「end」属性は、非包括的な端の範囲を指定します。両方の属性は、UTC時間値の日付として指定されます。「end」属性の値は、「start」属性の値よりも大きくなければなりません。

The server MUST use the same logic as defined for CALDAV:time-range to determine if the current or original scheduled time of an "overridden" recurrence instance intersects the specified time range.

サーバーは、CalDAVの定義と同じロジックを使用する必要があります。時間帯は、「オーバーライドされた」再発インスタンスの現在または元のスケジュールされた時間が指定された時間範囲と交差するかどうかを判断する必要があります。

Overridden components that have a RANGE parameter on their RECURRENCE-ID property may specify one or more instances in the recurrence set, and some of those instances may fall within the specified time range or may have originally fallen within the specified time range prior to being overridden. If that is the case, the overridden component MUST be included in the results, as it has a direct impact on the interpretation of instances within the specified time range.

Recurrence-IDプロパティに範囲パラメーターを持つオーバーライドされたコンポーネントは、再発セットの1つ以上のインスタンスを指定する場合があり、それらのインスタンスの一部は指定された時間範囲内に収まるか、オーバーライドされる前に指定された時間範囲内に当たっていた可能性があります。。その場合は、指定された時間範囲内のインスタンスの解釈に直接影響を与えるため、オーバーライドされたコンポーネントを結果に含める必要があります。

Definition:

意味:

         <!ELEMENT limit-recurrence-set EMPTY>
        
         <!ATTLIST limit-recurrence-set start CDATA #REQUIRED
                                        end   CDATA #REQUIRED>
         start value: an iCalendar "date with UTC time"
         end value: an iCalendar "date with UTC time"
        
9.6.7. CALDAV:limit-freebusy-set XML Element
9.6.7. Caldav:Limit-FreeBusy-Set XML要素

Name: limit-freebusy-set

名前:Limit-FreeBusy-Set

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Specifies a time range to limit the set of FREEBUSY values returned by the server.

目的:サーバーによって返されたゆったりとした値のセットを制限する時間範囲を指定します。

Description: The CALDAV:limit-freebusy-set XML element specifies that for a given calendaring REPORT request, the server MUST only return the FREEBUSY property values of a VFREEBUSY component that intersects a specified time range.

説明:CalDAV:Limit-FreeBusy-Set XML要素は、特定のカレンダーレポートリクエストに対して、サーバーは指定された時間範囲と交差するVFREEBUSYコンポーネントのFreeBusyプロパティ値のみを返す必要があることを指定します。

The "start" attribute specifies the inclusive start of the time range, and the "end" attribute specifies the non-inclusive end of the time range. Both attributes are specified as "date with UTC time" value. The value of the "end" attribute MUST be greater than the value of the "start" attribute.

「start」属性は、時間範囲の包括的開始を指定し、「end」属性は、非包括的な端の範囲を指定します。両方の属性は、「UTC時間の日付」値として指定されます。「end」属性の値は、「start」属性の値よりも大きくなければなりません。

The server MUST use the same logic as defined for CALDAV:time-range to determine if a FREEBUSY property value intersects the specified time range.

サーバーは、CalDAVで定義されているのと同じロジックを使用する必要があります。時間範囲は、freebusyプロパティ値が指定された時間範囲と交差するかどうかを判断する必要があります。

Definition:

意味:

         <!ELEMENT limit-freebusy-set EMPTY>
        
         <!ATTLIST limit-freebusy-set start CDATA #REQUIRED
                                      end   CDATA #REQUIRED>
         start value: an iCalendar "date with UTC time"
         end value: an iCalendar "date with UTC time"
        
9.7. CALDAV:filter XML Element
9.7. CalDAV:フィルターXML要素

Name: filter

名前:フィルター

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Specifies a filter to limit the set of calendar components returned by the server.

目的:サーバーによって返されるカレンダーコンポーネントのセットを制限するフィルターを指定します。

Description: The CALDAV:filter XML element specifies the search filter used to limit the calendar components returned by a calendaring REPORT request.

説明:CalDAV:フィルターXML要素は、カレンダーレポートリクエストによって返されるカレンダーコンポーネントを制限するために使用される検索フィルターを指定します。

Definition:

意味:

         <!ELEMENT filter (comp-filter)>
        
9.7.1. CALDAV:comp-filter XML Element
9.7.1. CalDav:COMP-FILTER XML要素

Name: comp-filter

名前:comp-filter

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Specifies search criteria on calendar components.

目的:カレンダーコンポーネントの検索基準を指定します。

Description: The CALDAV:comp-filter XML element specifies a query targeted at the calendar object (i.e., VCALENDAR) or at a specific calendar component type (e.g., VEVENT). The scope of the CALDAV:comp-filter XML element is the calendar object when used as a child of the CALDAV:filter XML element. The scope of the CALDAV:comp-filter XML element is the enclosing calendar component when used as a child of another CALDAV:comp-filter XML element. A CALDAV:comp-filter is said to match if:

説明:CalDAV:COMP-FILTER XML要素は、カレンダーオブジェクト(つまり、VCALENDAR)または特定のカレンダーコンポーネントタイプ(たとえば、Vevent)をターゲットにしたクエリを指定します。CalDAV:COMP-FILTER XML要素の範囲は、CalDAVの子として使用される場合のカレンダーオブジェクトです。フィルターXML要素。CalDAV:COMP-FILTER XML要素の範囲は、別のCalDAV:COMP-FILTER XML要素のチャイルドとして使用する場合のカレンダーコンポーネントです。caldav:comp-filterは次の場合に一致すると言われています。

* The CALDAV:comp-filter XML element is empty and the calendar object or calendar component type specified by the "name" attribute exists in the current scope;

* CalDAV:COMP-FILTER XML要素は空で、「名前」属性によって指定されたカレンダーオブジェクトまたはカレンダーコンポーネントタイプは、現在の範囲に存在します。

or:

または:

* The CALDAV:comp-filter XML element contains a CALDAV:is-not-defined XML element and the calendar object or calendar component type specified by the "name" attribute does not exist in the current scope;

* CalDAV:comp-filter xml要素には、caldav:is-not-not-defined xml要素と、「name」属性によって指定されたカレンダーオブジェクトまたはカレンダーコンポーネントタイプが含まれています。

or:

または:

* The CALDAV:comp-filter XML element contains a CALDAV:time-range XML element and at least one recurrence instance in the targeted calendar component is scheduled to overlap the specified time range, and all specified CALDAV:prop-filter and CALDAV:comp-filter child XML elements also match the targeted calendar component;

* CalDAV:comp-filter XML要素には、CalDAV:時間帯XML要素が含まれており、ターゲットカレンダーコンポーネントの少なくとも1つの再発インスタンスが指定された時間範囲と重複するようにスケジュールされ、すべての指定されたCalDAV:Prop-FilterとCalDAV:Comp- Comp-フィルターチャイルドXML要素は、ターゲットを絞ったカレンダーコンポーネントにも一致します。

or:

または:

* The CALDAV:comp-filter XML element only contains CALDAV:prop-filter and CALDAV:comp-filter child XML elements that all match the targeted calendar component.

* CalDAV:COMP-FILTER XML要素には、CalDAV:Prop-FilterおよびCalDAV:COMP-FILTER CHILD XML要素のみが含まれています。

Definition:

意味:

         <!ELEMENT comp-filter (is-not-defined | (time-range?,
                                prop-filter*, comp-filter*))>
        
         <!ATTLIST comp-filter name CDATA #REQUIRED>
         name value: a calendar object or calendar component
                     type (e.g., VEVENT)
        
9.7.2. CALDAV:prop-filter XML Element
9.7.2. CalDAV:プロップフィルターXML要素

Name: prop-filter

名前:プロップフィルター

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Specifies search criteria on calendar properties.

目的:カレンダープロパティの検索基準を指定します。

Description: The CALDAV:prop-filter XML element specifies a query targeted at a specific calendar property (e.g., CATEGORIES) in the scope of the enclosing calendar component. A calendar property is said to match a CALDAV:prop-filter if:

説明:CalDAV:Prop-Filter XML要素は、囲まれたカレンダーコンポーネントの範囲に特定のカレンダープロパティ(例:カテゴリ)をターゲットにしたクエリを指定します。カレンダープロパティは、caldavと一致すると言われています:プロップフィルターの場合:

* The CALDAV:prop-filter XML element is empty and a property of the type specified by the "name" attribute exists in the enclosing calendar component;

* CalDAV:Prop-Filter XML要素は空で、「名前」属性によって指定されたタイプのプロパティは、カレンダーコンポーネントを囲みます。

or:

または:

* The CALDAV:prop-filter XML element contains a CALDAV:is-not-defined XML element and no property of the type specified by the "name" attribute exists in the enclosing calendar component;

* CalDAV:Prop-filter XML要素には、calDAV:is-not-not-defined XML要素が含まれており、囲まれたカレンダーコンポーネントに「名前」属性によって指定された型のプロパティが含まれていません。

or:

または:

* The CALDAV:prop-filter XML element contains a CALDAV:time-range XML element and the property value overlaps the specified time range, and all specified CALDAV:param-filter child XML elements also match the targeted property;

* CalDAV:Prop-Filter XML要素にはCalDAVが含まれています:時間帯XML要素が含まれ、プロパティ値は指定された時間範囲と重複し、すべての指定されたCalDAV:Param-Filter Child XML要素もターゲットプロパティと一致します。

or:

または:

* The CALDAV:prop-filter XML element contains a CALDAV:text-match XML element and the property value matches it, and all specified CALDAV:param-filter child XML elements also match the targeted property;

* CalDAV:Prop-Filter XML要素にはCalDAVが含まれています:テキストマッチXML要素が含まれ、プロパティ値はそれに一致し、すべての指定されたCalDAV:Param-Filter Child XML要素もターゲットプロパティと一致します。

Definition:

意味:

         <!ELEMENT prop-filter (is-not-defined |
                                ((time-range | text-match)?,
                                 param-filter*))>
        
         <!ATTLIST prop-filter name CDATA #REQUIRED>
         name value: a calendar property name (e.g., ATTENDEE)
        
9.7.3. CALDAV:param-filter XML Element
9.7.3. CalDAV:PARAM-FILTER XML要素

Name: param-filter

名前:Param-Filter

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Limits the search to specific parameter values.

目的:検索を特定のパラメーター値に制限します。

Description: The CALDAV:param-filter XML element specifies a query targeted at a specific calendar property parameter (e.g., PARTSTAT) in the scope of the calendar property on which it is defined. A calendar property parameter is said to match a CALDAV: param-filter if:

説明:CalDAV:PARAM-FILTER XML要素は、定義されているカレンダープロパティの範囲に特定のカレンダープロパティパラメーター(PARTSTATなど)をターゲットにしたクエリを指定します。カレンダープロパティパラメーターは、caldavに一致すると言われています:param-filterの場合:

* The CALDAV:param-filter XML element is empty and a parameter of the type specified by the "name" attribute exists on the calendar property being examined;

* CalDAV:Param-Filter XML要素は空で、「名前」属性によって指定された型のパラメーターが、調べられているカレンダープロパティに存在します。

or:

または:

* The CALDAV:param-filter XML element contains a CALDAV:is-not-defined XML element and no parameter of the type specified by the "name" attribute exists on the calendar property being examined;

* CalDAV:Param-Filter XML要素にはCalDAVが含まれています。

Definition:

意味:

         <!ELEMENT param-filter (is-not-defined | text-match?)>
        
         <!ATTLIST param-filter name CDATA #REQUIRED>
         name value: a property parameter name (e.g., PARTSTAT)
        
9.7.4. CALDAV:is-not-defined XML Element
9.7.4. CalDAV:定義されていないXML要素です

Name: is-not-defined

名前:is-not-defined

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Specifies that a match should occur if the enclosing component, property, or parameter does not exist.

目的:囲まれたコンポーネント、プロパティ、またはパラメーターが存在しない場合、一致が発生することを指定します。

Description: The CALDAV:is-not-defined XML element specifies that a match occurs if the enclosing component, property, or parameter value specified in a calendaring REPORT request does not exist in the calendar data being tested.

説明:CalDAV:is-not-defined XML要素は、カレンダーレポート要求で指定されたコンポーネント、プロパティ、またはパラメーター値がテストされているカレンダーデータに存在しない場合、一致が発生することを指定します。

Definition:

意味:

         <!ELEMENT is-not-defined EMPTY>
        
9.7.5. CALDAV:text-match XML Element
9.7.5. CalDAV:テキストマッチXML要素

Name: text-match

名前:テキストマッチ

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Specifies a substring match on a property or parameter value.

目的:プロパティまたはパラメーター値のサブストリングマッチを指定します。

Description: The CALDAV:text-match XML element specifies text used for a substring match against the property or parameter value specified in a calendaring REPORT request.

説明:CalDAV:Text-Match XML要素は、カレンダーレポートリクエストで指定されたプロパティまたはパラメーター値に対するサブストリングマッチに使用されるテキストを指定します。

The "collation" attribute is used to select the collation that the server MUST use for character string matching. In the absence of this attribute, the server MUST use the "i;ascii-casemap" collation.

「照合」属性は、サーバーが文字文字列のマッチングに使用する必要がある照合を選択するために使用されます。この属性がない場合、サーバーは「i; ascii-casemap」照合を使用する必要があります。

The "negate-condition" attribute is used to indicate that this test returns a match if the text matches when the attribute value is set to "no", or return a match if the text does not match, if the attribute value is set to "yes". For example, this can be used to match components with a STATUS property not set to CANCELLED.

「negate-condition」属性は、属性値が「no」に設定されているときにテキストが一致する場合にこのテストが一致する場合、またはテキストが一致しない場合、属性値がに設定されている場合に一致することを示すために使用されます。"はい"。たとえば、これは、キャンセルされるように設定されていないステータスプロパティとコンポーネントを一致させるために使用できます。

Definition:

意味:

         <!ELEMENT text-match (#PCDATA)>
         PCDATA value: string
        
         <!ATTLIST text-match collation        CDATA "i;ascii-casemap"
                              negate-condition (yes | no) "no">
        
9.8. CALDAV:timezone XML Element
9.8. CalDav:TimeZone XML要素

Name: timezone

名前:TimeZone

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Specifies the time zone component to use when determining the results of a report.

目的:レポートの結果を決定するときに使用するタイムゾーンコンポーネントを指定します。

Description: The CALDAV:timezone XML element specifies that for a given calendaring REPORT request, the server MUST rely on the specified VTIMEZONE component instead of the CALDAV:calendar-timezone property of the calendar collection, in which the calendar object resource is contained to resolve "date" values and "date with local time" values (i.e., floating time) to "date with UTC time" values. The server will require this information to determine if a calendar component scheduled with "date" values or "date with local time" values intersects a CALDAV:time-range specified in a CALDAV:calendar-query REPORT.

説明:CalDAV:TimeZone XML要素は、特定のカレンダーレポートリクエストに対して、サーバーはCalDAVの代わりに指定されたvtimezoneコンポーネントに依存する必要があることを指定します。「日付」の値と「現地時間の日付」値(つまり、変動時間)から「UTC時間の日付」値まで。サーバーは、「日付」値でスケジュールされたカレンダーコンポーネントまたは「現地時間の日付」値でスケジュールされたカレンダーコンポーネントが、CalDAV:CalDAV:Callearn-Queryレポートで指定された時間範囲と交差するかどうかを判断するために必要です。

Note: The iCalendar data embedded within the CALDAV:timezone XML element MUST follow the standard XML character data encoding rules, including use of &lt;, &gt;, &amp; etc. entity encoding or the use of a <![CDATA[ ... ]]> construct. In the later case, the iCalendar data cannot contain the character sequence "]]>", which is the end delimiter for the CDATA section.

注:CalDAV内に埋め込まれたICALENDARデータ:TimeZone XML要素は、&lt;、&gt;、&amp;の使用を含む標準のXML文字データエンコードルールに従う必要があります。など。エンティティエンコードまたはa <![cdata [...]]> constructの使用。後の場合、ICALENDARデータには、CDATAセクションのエンドデリミッターである文字シーケンス「]>」を含めることはできません。

Definition:

意味:

         <!ELEMENT timezone (#PCDATA)>
         PCDATA value: an iCalendar object with exactly one VTIMEZONE
        
9.9. CALDAV:time-range XML Element
9.9. CalDav:時間範囲XML要素

Name: time-range

名前:時間範囲

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: Specifies a time range to limit the set of calendar components returned by the server.

目的:サーバーによって返されるカレンダーコンポーネントのセットを制限する時間範囲を指定します。

Description: The CALDAV:time-range XML element specifies that for a given calendaring REPORT request, the server MUST only return the calendar object resources that, depending on the context, have a component or property whose value intersects a specified time range.

説明:CalDAV:Time-Range XML要素は、特定のカレンダーレポート要求に対して、コンテキストに応じて、値が指定された時間範囲と交差するコンポーネントまたはプロパティを持つカレンダーオブジェクトリソースのみを返す必要があることを指定します。

The "start" attribute specifies the inclusive start of the time range, and the "end" attribute specifies the non-inclusive end of the time range. Both attributes MUST be specified as "date with UTC time" value. Time ranges open at one end can be specified by including only one attribute; however, at least one attribute MUST always be present in the CALDAV:time-range element. If either the "start" or "end" attribute is not specified in the CALDAV:time-range XML element, assume "-infinity" and "+infinity" as their value, respectively. If both "start" and "end" are present, the value of the "end" attribute MUST be greater than the value of the "start" attribute.

「start」属性は、時間範囲の包括的開始を指定し、「end」属性は、非包括的な端の範囲を指定します。どちらの属性も「UTC時間の日付」値として指定する必要があります。一端に開く時間範囲は、1つの属性のみを含めることで指定できます。ただし、少なくとも1つの属性は、CalDAV:時間帯の要素に常に存在する必要があります。「start」または「end」属性のいずれかがCaldav:時間範囲XML要素で指定されていない場合、それぞれ「インフィニティ」と「無限」をその価値として仮定します。「start」と「end」の両方が存在する場合、「end」属性の値は「start」属性の値よりも大きくなければなりません。

Time range tests MUST consider every recurrence instance when testing the time range condition; if any one instance matches, then the test returns true. Testing recurrence instances requires the server to infer an effective value for DTSTART, DTEND, DURATION, and DUE properties for an instance based on the recurrence patterns and any overrides.

時間範囲のテストは、時間範囲の条件をテストする際にすべての再発インスタンスを考慮する必要があります。いずれかのインスタンスが一致する場合、テストはtrueを返します。再発インスタンスのテストでは、再発パターンとオーバーライドに基づいて、DTSTART、DTEND、期間、および適切なプロパティの効果的な値をサーバーに推測する必要があります。

A VEVENT component overlaps a given time range if the condition for the corresponding component state specified in the table below is satisfied. Note that, as specified in [RFC2445], the DTSTART property is REQUIRED in the VEVENT component. The conditions depend on the presence of the DTEND and DURATION properties in the VEVENT component. Furthermore, the value of the DTEND property MUST be later in time than the value of the DTSTART property. The duration of a VEVENT component with no DTEND and DURATION properties is 1 day (+P1D) when the DTSTART is a DATE value, and 0 seconds when the DTSTART is a DATE-TIME value.

Veventコンポーネントは、下の表で指定されている対応するコンポーネント状態の条件が満たされている場合、特定の時間範囲と重複しています。[RFC2445]で指定されているように、VeventコンポーネントではDTSTARTプロパティが必要であることに注意してください。条件は、VeventコンポーネントのDTENDおよび持続時間特性の存在に依存します。さらに、DTENDプロパティの値は、DTSTARTプロパティの値よりも後で時間がある必要があります。DTSTARTがDTSTARTが日付値である場合、DTENDおよび期間プロパティのないVeventコンポーネントの持続時間は1日(P1D)、DTSTARTが日付時間値である場合は0秒です。

      +---------------------------------------------------------------+
      | VEVENT has the DTEND property?                                |
      |   +-----------------------------------------------------------+
      |   | VEVENT has the DURATION property?                         |
      |   |   +-------------------------------------------------------+
      |   |   | DURATION property value is greater than 0 seconds?    |
      |   |   |   +---------------------------------------------------+
      |   |   |   | DTSTART property is a DATE-TIME value?            |
      |   |   |   |   +-----------------------------------------------+
      |   |   |   |   | Condition to evaluate                         |
      +---+---+---+---+-----------------------------------------------+
      | Y | N | N | * | (start <  DTEND AND end > DTSTART)            |
      +---+---+---+---+-----------------------------------------------+
      | N | Y | Y | * | (start <  DTSTART+DURATION AND end > DTSTART) |
      |   |   +---+---+-----------------------------------------------+
      |   |   | N | * | (start <= DTSTART AND end > DTSTART)          |
      +---+---+---+---+-----------------------------------------------+
      | N | N | N | Y | (start <= DTSTART AND end > DTSTART)          |
      +---+---+---+---+-----------------------------------------------+
      | N | N | N | N | (start <  DTSTART+P1D AND end > DTSTART)      |
      +---+---+---+---+-----------------------------------------------+
        

A VTODO component is said to overlap a given time range if the condition for the corresponding component state specified in the table below is satisfied. The conditions depend on the presence of the DTSTART, DURATION, DUE, COMPLETED, and CREATED properties in the VTODO component. Note that, as specified in [RFC2445], the DUE value MUST be a DATE-TIME value equal to or after the DTSTART value if specified.

VTODOコンポーネントは、下の表で指定されている対応するコンポーネント状態の条件が満たされている場合、特定の時間範囲と重複すると言われています。条件は、DTSTARTの存在、期間、期限、完了、およびVTODOコンポーネント内のプロパティの作成に依存します。[rfc2445]で指定されているように、正当な値は、指定されている場合はdtstart値に等しい日付時間でなければならないことに注意してください。

   +-------------------------------------------------------------------+
   | VTODO has the DTSTART property?                                   |
   |   +---------------------------------------------------------------+
   |   |   VTODO has the DURATION property?                            |
   |   |   +-----------------------------------------------------------+
   |   |   | VTODO has the DUE property?                               |
   |   |   |   +-------------------------------------------------------+
   |   |   |   | VTODO has the COMPLETED property?                     |
   |   |   |   |   +---------------------------------------------------+
   |   |   |   |   | VTODO has the CREATED property?                   |
   |   |   |   |   |   +-----------------------------------------------+
   |   |   |   |   |   | Condition to evaluate                         |
   +---+---+---+---+---+-----------------------------------------------+
   | Y | Y | N | * | * | (start  <= DTSTART+DURATION)  AND             |
   |   |   |   |   |   | ((end   >  DTSTART)  OR                       |
   |   |   |   |   |   |  (end   >= DTSTART+DURATION))                 |
   +---+---+---+---+---+-----------------------------------------------+
   | Y | N | Y | * | * | ((start <  DUE)      OR  (start <= DTSTART))  |
   |   |   |   |   |   | AND                                           |
   |   |   |   |   |   | ((end   >  DTSTART)  OR  (end   >= DUE))      |
   +---+---+---+---+---+-----------------------------------------------+
   | Y | N | N | * | * | (start  <= DTSTART)  AND (end >  DTSTART)     |
   +---+---+---+---+---+-----------------------------------------------+
   | N | N | Y | * | * | (start  <  DUE)      AND (end >= DUE)         |
   +---+---+---+---+---+-----------------------------------------------+
   | N | N | N | Y | Y | ((start <= CREATED)  OR  (start <= COMPLETED))|
   |   |   |   |   |   | AND                                           |
   |   |   |   |   |   | ((end   >= CREATED)  OR  (end   >= COMPLETED))|
   +---+---+---+---+---+-----------------------------------------------+
   | N | N | N | Y | N | (start  <= COMPLETED) AND (end  >= COMPLETED) |
   +---+---+---+---+---+-----------------------------------------------+
   | N | N | N | N | Y | (end    >  CREATED)                           |
   +---+---+---+---+---+-----------------------------------------------+
   | N | N | N | N | N | TRUE                                          |
   +---+---+---+---+---+-----------------------------------------------+
        

A VJOURNAL component overlaps a given time range if the condition for the corresponding component state specified in the table below is satisfied. The conditions depend on the presence of the DTSTART property in the VJOURNAL component and on whether the DTSTART is a DATE-TIME or DATE value. The effective "duration" of a VJOURNAL component is 1 day (+P1D) when the DTSTART is a DATE value, and 0 seconds when the DTSTART is a DATE-TIME value.

Vjournalコンポーネントは、以下の表で指定されている対応するコンポーネント状態の条件が満たされている場合、特定の時間範囲と重複しています。条件は、VJournalコンポーネントにDTSTARTプロパティの存在と、DTSTARTが日付時間または日付値であるかどうかに依存します。VJournalコンポーネントの有効な「持続時間」は、DTSTARTが日付値である場合は1日(P1D)、DTSTARTが日付時間値である場合は0秒です。

      +----------------------------------------------------+
      | VJOURNAL has the DTSTART property?                 |
      |   +------------------------------------------------+
      |   | DTSTART property is a DATE-TIME value?         |
      |   |   +--------------------------------------------+
      |   |   | Condition to evaluate                      |
      +---+---+--------------------------------------------+
      | Y | Y | (start <= DTSTART)     AND (end > DTSTART) |
      +---+---+--------------------------------------------+
      | Y | N | (start <  DTSTART+P1D) AND (end > DTSTART) |
      +---+---+--------------------------------------------+
      | N | * | FALSE                                      |
      +---+---+--------------------------------------------+
        

A VFREEBUSY component overlaps a given time range if the condition for the corresponding component state specified in the table below is satisfied. The conditions depend on the presence in the VFREEBUSY component of the DTSTART and DTEND properties, and any FREEBUSY properties in the absence of DTSTART and DTEND. Any DURATION property is ignored, as it has a special meaning when used in a VFREEBUSY component.

vfreebusyコンポーネントは、下の表で指定されている対応するコンポーネント状態の条件が満たされている場合、特定の時間範囲と重複しています。条件は、DTSTARTおよびDTENDプロパティのVFREEBUSYコンポーネントの存在、およびDTSTARTおよびDTENDがない場合のfreebusyプロパティに依存します。vfreebusyコンポーネントで使用される場合に特別な意味があるため、期間プロパティは無視されます。

When only FREEBUSY properties are used, each period in each FREEBUSY property is compared against the time range, irrespective of the type of free busy information (free, busy, busy-tentative, busy-unavailable) represented by the property.

自由な施設のみが使用される場合、各freebusyプロパティの各期間は、プロパティで表される無料の忙しい情報(無料、忙しい、忙しい、忙しい、忙しい)の種類に関係なく、時間範囲と比較されます。

      +------------------------------------------------------+
      | VFREEBUSY has both the DTSTART and DTEND properties? |
      |   +--------------------------------------------------+
      |   | VFREEBUSY has the FREEBUSY property?             |
      |   |   +----------------------------------------------+
      |   |   | Condition to evaluate                        |
      +---+---+----------------------------------------------+
      | Y | * | (start <= DTEND) AND (end > DTSTART)         |
      +---+---+----------------------------------------------+
      | N | Y | (start <  freebusy-period-end) AND           |
      |   |   | (end   >  freebusy-period-start)             |
      +---+---+----------------------------------------------+
      | N | N | FALSE                                        |
      +---+---+----------------------------------------------+
        

A VALARM component is said to overlap a given time range if the following condition holds:

Valarmコンポーネントは、次の条件が保持されている場合、特定の時間範囲と重複すると言われています。

         (start <= trigger-time) AND (end > trigger-time)
        

A VALARM component can be defined such that it triggers repeatedly. Such a VALARM component is said to overlap a given time range if at least one of its triggers overlaps the time range.

Valarmコンポーネントは、繰り返しトリガーするように定義できます。このようなValarmコンポーネントは、そのトリガーの少なくとも1つが時間範囲と重複する場合、特定の時間範囲と重複すると言われています。

The calendar properties COMPLETED, CREATED, DTEND, DTSTAMP, DTSTART, DUE, and LAST-MODIFIED overlap a given time range if the following condition holds:

カレンダープロパティは、完了、作成、dtend、dtstamp、dtstart、Due、およびlastmidifiedの条件が次の場合に与えられた時間範囲と重複しています。

          (start <= date-time) AND (end > date-time)
        

Note that if DTEND is not present in a VEVENT, but DURATION is, then the test should instead operate on the 'effective' DTEND, i.e., DTSTART+DURATION. Similarly, if DUE is not present in a VTODO, but DTSTART and DURATION are, then the test should instead operate on the 'effective' DUE, i.e., DTSTART+DURATION.

dtendが野菜に存在しないが、期間がある場合、テストは代わりに「効果的な」dtend、つまりdtstartの持続時間で動作する必要があることに注意してください。同様に、vtodoに存在しないが、dtstartと期間がある場合、テストは代わりに「有効」期限、つまりdtstart持続時間で動作する必要があります。

The semantic of CALDAV:time-range is not defined for any other calendar components and properties.

Caldav:Time-Rangeのセマンティックは、他のカレンダーコンポーネントやプロパティに対して定義されていません。

Definition:

意味:

         <!ELEMENT time-range EMPTY>
        
         <!ATTLIST time-range start CDATA #IMPLIED
                              end   CDATA #IMPLIED>
         start value: an iCalendar "date with UTC time"
         end value: an iCalendar "date with UTC time"
        
9.10. CALDAV:calendar-multiget XML Element
9.10. CalDav:Calendar-Multiget XML要素

Name: calendar-multiget

名前:Calendar-Multiget

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: CalDAV report used to retrieve specific calendar object resources.

目的:特定のカレンダーオブジェクトリソースを取得するために使用されるCalDAVレポート。

Description: See Section 7.9.

説明:セクション7.9を参照してください。

Definition:

意味:

         <!ELEMENT calendar-multiget ((DAV:allprop |
                                      DAV:propname |
                                      DAV:prop)?, DAV:href+)>
        
9.11. CALDAV:free-busy-query XML Element
9.11. CalDav:忙しいXML要素

Name: free-busy-query

名前:フリー忙しい質問

   Namespace:  urn:ietf:params:xml:ns:caldav
        

Purpose: CalDAV report used to generate a VFREEBUSY to determine busy time over a specific time range.

目的:CalDAVレポートは、特定の時間範囲で忙しい時間を決定するためにvfreebusyを生成するために使用されました。

Description: See Section 7.10.

説明:セクション7.10を参照してください。

Definition:

意味:

         <!ELEMENT free-busy-query (time-range)>
        
10. Internationalization Considerations
10. 国際化の考慮事項

CalDAV allows internationalized strings to be stored and retrieved for the description of calendar collections (see Section 5.2.1).

CalDAVを使用すると、カレンダーコレクションの説明のために、国際化された文字列を保存および取得できます(セクション5.2.1を参照)。

The CALDAV:calendar-query REPORT (Section 7.8) includes a text searching option controlled by the CALDAV:text-match element, and details of character handling are covered in the description of that element (see Section 9.7.5).

CalDAV:カレンダークエリレポート(セクション7.8)には、CalDAVによって制御されるテキスト検索オプションが含まれています。テキストマッチ要素と、文字処理の詳細については、その要素の説明に記載されています(セクション9.7.5を参照)。

11. Security Considerations
11. セキュリティに関する考慮事項

HTTP protocol transactions are sent in the clear over the network unless protection from snooping is negotiated. This can be accomplished by use of TLS, as defined in [RFC2818]. In particular, HTTP Basic authentication MUST NOT be used unless TLS is in effect.

HTTPプロトコルトランザクションは、スヌーピングからの保護が交渉されない限り、ネットワーク上でクリアに送信されます。これは、[RFC2818]で定義されているように、TLSを使用することで実現できます。特に、TLSが有効でない限り、HTTP基本認証は使用しないでください。

Servers MUST take adequate precautions to ensure that malicious clients cannot consume excessive server resources (CPU, memory, disk, etc.) through carefully crafted reports. For example, a client could upload an event with a recurrence rule that specifies a recurring event occurring every second for the next 100 years, which would result in approximately 3 x 10^9 instances! A report that asks for recurrences to be expanded over that range would likely constitute a denial-of-service attack on the server.

サーバーは、慎重に作成されたレポートを通じて、悪意のあるクライアントが過剰なサーバーリソース(CPU、メモリ、ディスクなど)を使用できないようにするために、適切な予防策を講じる必要があります。たとえば、クライアントは、今後100年間に毎秒発生する繰り返しのイベントを指定する再発ルールを使用してイベントをアップロードできます。その範囲で再発を拡張するように要求するレポートは、サーバーに対するサービス拒否攻撃を構成する可能性があります。

When creating new resources (including calendar collections), clients MUST ensure that the resource name (the last path segment of the resource URI) assigned to the new resource does not expose any data from within the iCalendar resource itself or information about the nature of a calendar collection. This is required to ensure that the presence of a specific iCalendar component or nature of components in a collection cannot be inferred based on the name of a resource.

新しいリソース(カレンダーコレクションを含む)を作成するとき、クライアントは、新しいリソースに割り当てられたリソース名(リソースURIの最後のパスセグメント)が、ICALENDARリソース自体からのデータまたはAの性質に関する情報を公開しないことを確認する必要があります。カレンダーコレクション。これは、リソースの名前に基づいて、特定のICALENDARコンポーネントの存在またはコレクション内のコンポーネントの性質を推測できないことを確認するために必要です。

When rolling up free-busy information, more information about a user's events is exposed if busy periods overlap or are adjacent (this tells the client requesting the free-busy information that the calendar owner has at least two events, rather than knowing only that the calendar owner has one or more events during the busy period). Thus, a conservative approach to calendar data privacy would have servers always coalesce such busy periods when they are the same type.

忙しい情報を展開するとき、忙しい期間が重複しているか隣接している場合、ユーザーのイベントに関する詳細情報が公開されます(これにより、カレンダーの所有者が少なくとも2つのイベントを持っていることをクライアントに要求しています。カレンダーの所有者は、忙しい期間中に1つ以上のイベントを持っています)。したがって、カレンダーデータのプライバシーに対する保守的なアプローチでは、サーバーが同じタイプであるときに常にこのような忙しい期間を合体させます。

Procedure alarms are a known security risk for either clients or servers to handle, particularly when the alarm was created by another agent. Clients and servers are not required to execute such procedure alarms.

手順アラームは、特にアラームが別のエージェントによって作成された場合、クライアントまたはサーバーが処理する既知のセキュリティリスクです。クライアントとサーバーは、そのような手順アラームを実行する必要はありません。

Security considerations described in iCalendar [RFC2445] and iTIP [RFC2446] are also applicable to CalDAV.

Ialendar [RFC2445]およびITIP [RFC2446]に記載されているセキュリティ上の考慮事項もCalDAVに適用できます。

Beyond these, CalDAV does not raise any security considerations that are not present in HTTP [RFC2616] and WebDAV [RFC2518], [RFC3253], [RFC3744].

これらを超えて、CalDAVは、HTTP [RFC2616]およびWebDAV [RFC2518]、[RFC3253]、[RFC3744]に存在しないセキュリティ上の考慮事項を提起しません。

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

This document uses one new URN to identify a new XML namespace. The URN conforms to a registry mechanism described in [RFC3688].

このドキュメントでは、1つの新しいURNを使用して、新しいXMLネームスペースを識別します。urnは[RFC3688]に記載されているレジストリメカニズムに準拠しています。

12.1. Namespace Registration
12.1. 名前空間登録

Registration request for the CalDAV namespace:

CalDAV名空間の登録リクエスト:

   URI: urn:ietf:params:xml:ns:caldav
        

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

登録者の連絡先:このドキュメントの「著者のアドレス」セクションを参照してください。

XML: None. Namespace URIs do not represent an XML specification.

XML:なし。名前空間URIはXML仕様を表していません。

13. Acknowledgements
13. 謝辞

The authors would like to thank the following individuals for contributing their ideas and support for writing this specification: Michael Arick, Mario Bonin, Chris Bryant, Scott Carr, Andre Courtemanche, Mike Douglass, Ted Hardie, Marten den Haring, Jeffrey Harris, Sam Hartman, Helge Hess, Jeff McCullough, Alexey Melnikov, Dan Mosedale, Brian Moseley, Francois Perrault, Kervin L. Pierre, Julian F. Reschke, Wilfredo Sanchez Vega, Mike Shaver, Jari Urpalainen, Simon Vaillancourt, and Jim Whitehead.

著者は、マイケル・アリック、マリオ・ボニン、クリス・ブライアント、スコット・カー、アンドレ・コートマンチ、マイク・ダグラス、テッド・ハーディ、マーテン・デン・ヘリング、ジェフリー・ハリス、サム・ハートマンなど、この仕様を書くためのアイデアとサポートに貢献してくれた以下の個人に感謝したいと思います。、ヘルゲ・ヘス、ジェフ・マッカロー、アレクセイ・メルニコフ、ダン・モデール、ブライアン・モーズリー、フランソワ・ペロー、ケルビン・L・ピエール、ジュリアン・F・レシュケ、ウィルフレド・サンチェス・ベガ、マイク・シェーバー、ジャリ・ウルパラーネン、サイモン・ヴァイリンカート、ジム・ホワイトヘッド。

The authors would also like to thank the Calendaring and Scheduling Consortium for advice with this specification, and for organizing interoperability testing events to help refine it.

著者はまた、この仕様に関するアドバイスと、それを改良するための相互運用性テストイベントを整理してくれたカレンダーとスケジューリングコンソーシアムに感謝したいと思います。

14. References
14. 参考文献
14.1. Normative References
14.1. 引用文献

[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月。

[RFC2246] Dierks, T. and C. Allen, "The TLS Protocol Version 1.0", RFC 2246, January 1999.

[RFC2246] Dierks、T。およびC. Allen、「TLSプロトコルバージョン1.0」、RFC 2246、1999年1月。

[RFC2445] Dawson, F. and Stenerson, D., "Internet Calendaring and Scheduling Core Object Specification (iCalendar)", RFC 2445, November 1998.

[RFC2445] Dawson、F。and Stenerson、D。、「インターネットカレンダーとスケジューリングコアオブジェクト仕様(ICALENDAR)」、RFC 2445、1998年11月。

[RFC2446] Silverberg, S., Mansour, S., Dawson, F., and R. Hopson, "iCalendar Transport-Independent Interoperability Protocol (iTIP) Scheduling Events, BusyTime, To-dos and Journal Entries", RFC 2446, November 1998.

[RFC2446] Silverberg、S.、Mansour、S.、Dawson、F。、およびR. Hopson、「Icalendar Transport Indoptent Interoperability Protocol(ITIP)スケジューリングイベント、忙しい時間、To-Dos、Journalエントリ」、RFC 2446、11月1998年。

[RFC2518] Goland, Y., Whitehead, E., Faizi, A., Carter, S., and D. Jensen, "HTTP Extensions for Distributed Authoring -- WEBDAV", RFC 2518, February 1999.

[RFC2518] Goland、Y.、Whitehead、E.、Faizi、A.、Carter、S。、およびD. Jensen、「分散オーサリング用のHTTP拡張 - WebDav」、RFC 2518、1999年2月。

[RFC2616] Fielding, R., Gettys, J., Mogul, J., Frystyk, H., Masinter, L., Leach, P., and T. Berners-Lee, "Hypertext Transfer Protocol -- HTTP/1.1", RFC 2616, June 1999.

[RFC2616] Fielding、R.、Gettys、J.、Mogul、J.、Frystyk、H.、Masinter、L.、Leach、P。、およびT. Berners-Lee、「HyperText Transfer Protocol-HTTP/1.1」、RFC 2616、1999年6月。

[RFC2818] Rescorla, E., "HTTP Over TLS", RFC 2818, May 2000.

[RFC2818] Rescorla、E。、「TLS上のHTTP」、RFC 2818、2000年5月。

[RFC3253] Clemm, G., Amsden, J., Ellison, T., Kaler, C., and J. Whitehead, "Versioning Extensions to WebDAV (Web Distributed Authoring and Versioning)", RFC 3253, March 2002.

[RFC3253] Clemm、G.、Amsden、J.、Ellison、T.、Kaler、C。、およびJ. Whitehead、「WebDavへのバージョン化拡張機能(Web分散オーサリングとバージョン化)」、RFC 3253、2002年3月。

[RFC3688] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688, January 2004.

[RFC3688] Mealling、M。、「IETF XMLレジストリ」、BCP 81、RFC 3688、2004年1月。

[RFC3744] Clemm, G., Reschke, J., Sedlar, E., and J. Whitehead, "Web Distributed Authoring and Versioning (WebDAV) Access Control Protocol", RFC 3744, May 2004.

[RFC3744] Clemm、G.、Reschke、J.、Sedlar、E。、およびJ. Whitehead、「Web分散オーサリングおよびバージョン(WebDAV)アクセス制御プロトコル」、RFC 3744、2004年5月。

[RFC4346] Dierks, T. and E. Rescorla, "The Transport Layer Security (TLS) Protocol Version 1.1", RFC 4346, April 2006.

[RFC4346] Dierks、T。およびE. Rescorla、「The Transport Layer Security(TLS)プロトコルバージョン1.1」、RFC 4346、2006年4月。

[RFC4790] Newman, C., Duerst, M., and A. Gulbrandsen, "Internet Application Protocol Collation Registry", RFC 4790, March 2007.

[RFC4790] Newman、C.、Duerst、M。、およびA. Gulbrandsen、「Internet Application Protocol Collation Registry」、RFC 4790、2007年3月。

[W3C.REC-xml-20060816] Paoli, J., Maler, E., Yergeau, F., Sperberg-McQueen, C., and T. Bray, "Extensible Markup Language (XML) 1.0 (Fourth Edition)", World Wide Web Consortium Recommendation REC-xml-20060816, August 2006, <http://www.w3.org/TR/2006/REC-xml-20060816>.

[W3C.REC-XML-20060816] Paoli、J.、Maler、E.、Yergeau、F.、Sperberg-Mcqueen、C。、およびT. Bray、「拡張可能なマークアップ言語(XML)1.0(第4版)」、World Wide Web Consortiumの推奨REC-XML-20060816、2006年8月、<http://www.w3.org/tr/2006/rec-xml-20060816>。

14.2. Informative References
14.2. 参考引用

[RFC2426] Dawson, F. and T. Howes, "vCard MIME Directory Profile", RFC 2426, September 1998.

[RFC2426] Dawson、F。およびT. Howes、「VCard Mime Dime Directory Profile」、RFC 2426、1998年9月。

[RFC2739] Small, T., Hennessy, D., and F. Dawson, "Calendar Attributes for vCard and LDAP", RFC 2739, January 2000.

[RFC2739] Small、T.、Hennessy、D。、およびF. Dawson、「VCARDおよびLDAPのカレンダー属性」、RFC 2739、2000年1月。

[RFC4331] Korver, B. and L. Dusseault, "Quota and Size Properties for Distributed Authoring and Versioning (DAV) Collections", RFC 4331, February 2006.

[RFC4331] Korver、B。およびL. Dusseault、「分散オーサリングおよびバージョン(DAV)コレクションのクォータとサイズのプロパティ」、RFC 4331、2006年2月。

[RFC4511] Sermersheim, J., "Lightweight Directory Access Protocol (LDAP): The Protocol", RFC 4511, June 2006.

[RFC4511] Sermersheim、J。、「Lightweight Directory Access Protocol(LDAP):The Protocol」、RFC 4511、2006年6月。

[rfc2518bis] Dusseault, L., "HTTP Extensions for Distributed Authoring - WebDAV", Work in Progress, December 2006.

[RFC2518BIS] Dusseault、L。、「分散オーサリングのHTTP拡張 - WebDav」、2006年12月、進行中の作業。

Appendix A. CalDAV Method Privilege Table (Normative)

付録A. CalDAVメソッド特権テーブル(規範)

The following table extends the WebDAV Method Privilege Table specified in Appendix B of [RFC3744].

次の表は、[RFC3744]の付録Bで指定されたWebDAVメソッド特権表を拡張します。

   +------------+------------------------------------------------------+
   | METHOD     | PRIVILEGES                                           |
   +------------+------------------------------------------------------+
   | MKCALENDAR | DAV:bind                                             |
   | REPORT     | DAV:read or CALDAV:read-free-busy (on all referenced |
   |            | resources)                                           |
   +------------+------------------------------------------------------+
        
Appendix B. Calendar Collections Used in the Examples
付録B. 例で使用されているカレンダーコレクション

This appendix shows the calendar object resources contained in the calendar collection queried in the examples throughout this document.

この付録は、このドキュメント全体の例に照会されたカレンダーコレクションに含まれるカレンダーオブジェクトリソースを示しています。

The content of the calendar collection is being shown as if it were returned by a CALDAV:calendar-query REPORT request designed to return all the calendar data in the collection:

カレンダーコレクションのコンテンツは、CalDav:Callad-Queryレポートリクエストによって返されたかのように表示されています。

   >> Request <<
        
   REPORT /bernard/work/ HTTP/1.1
   Host: cal.example.com
   Depth: 1
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <C:calendar-query xmlns:D="DAV:"
                    xmlns:C="urn:ietf:params:xml:ns:caldav">
    <D:prop>
      <D:getetag/>
      <C:calendar-data/>
    </D:prop>
    <C:filter>
      <C:comp-filter name="VCALENDAR"/>
    </C:filter>
   </C:calendar-query>
        
   >> Response <<
        
   HTTP/1.1 207 Multi-Status
   Content-Type: application/xml; charset="utf-8"
   Content-Length: xxxx
        
   <?xml version="1.0" encoding="utf-8" ?>
   <D:multistatus xmlns:D="DAV:"
                 xmlns:C="urn:ietf:params:xml:ns:caldav">
        
     <D:response>
       <D:href>http://cal.example.com/bernard/work/abcd1.ics</D:href>
       <D:propstat>
         <D:prop>
           <D:getetag>"fffff-abcd1"</D:getetag>
           <C:calendar-data>BEGIN:VCALENDAR
   VERSION:2.0
   PRODID:-//Example Corp.//CalDAV 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:20060206T001102Z
   DTSTART;TZID=US/Eastern:20060102T100000
   DURATION:PT1H
   SUMMARY:Event #1
   Description:Go Steelers!
   UID:74855313FA803DA593CD579A@example.com
   END:VEVENT
   END:VCALENDAR
   </C:calendar-data>
         </D:prop>
         <D:status>HTTP/1.1 200 OK</D:status>
       </D:propstat>
     </D:response>
        
     <D:response>
       <D:href>http://cal.example.com/bernard/work/abcd2.ics</D:href>
       <D:propstat>
        
         <D:prop>
           <D:getetag>"fffff-abcd2"</D:getetag>
           <C:calendar-data>BEGIN:VCALENDAR
   VERSION:2.0
   PRODID:-//Example Corp.//CalDAV 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
   SUMMARY:Event #2
   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
   </C:calendar-data>
         </D:prop>
         <D:status>HTTP/1.1 200 OK</D:status>
       </D:propstat>
     </D:response>
        
     <D:response>
       <D:href>http://cal.example.com/bernard/work/abcd3.ics</D:href>
        
       <D:propstat>
         <D:prop>
           <D:getetag>"fffff-abcd3"</D:getetag>
           <C:calendar-data>BEGIN:VCALENDAR
   VERSION:2.0
   PRODID:-//Example Corp.//CalDAV 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
   ATTENDEE;PARTSTAT=ACCEPTED;ROLE=CHAIR:mailto:cyrus@example.com
   ATTENDEE;PARTSTAT=NEEDS-ACTION:mailto:lisa@example.com
   DTSTAMP:20060206T001220Z
   DTSTART;TZID=US/Eastern:20060104T100000
   DURATION:PT1H
   LAST-MODIFIED:20060206T001330Z
   ORGANIZER:mailto:cyrus@example.com
   SEQUENCE:1
   STATUS:TENTATIVE
   SUMMARY:Event #3
   UID:DC6C50A017428C5216A2F1CD@example.com
   END:VEVENT
   END:VCALENDAR
   </C:calendar-data>
         </D:prop>
         <D:status>HTTP/1.1 200 OK</D:status>
       </D:propstat>
     </D:response>
        
     <D:response>
       <D:href>http://cal.example.com/bernard/work/abcd4.ics</D:href>
       <D:propstat>
         <D:prop>
        
           <D:getetag>"fffff-abcd4"</D:getetag>
           <C:calendar-data>BEGIN:VCALENDAR
   VERSION:2.0
   PRODID:-//Example Corp.//CalDAV Client//EN
   BEGIN:VTODO
   DTSTAMP:20060205T235335Z
   DUE;VALUE=DATE:20060104
   STATUS:NEEDS-ACTION
   SUMMARY:Task #1
   UID:DDDEEB7915FA61233B861457@example.com
   BEGIN:VALARM
   ACTION:AUDIO
   TRIGGER;RELATED=START:-PT10M
   END:VALARM
   END:VTODO
   END:VCALENDAR
   </C:calendar-data>
         </D:prop>
         <D:status>HTTP/1.1 200 OK</D:status>
       </D:propstat>
     </D:response>
        
     <D:response>
       <D:href>http://cal.example.com/bernard/work/abcd5.ics</D:href>
       <D:propstat>
         <D:prop>
           <D:getetag>"fffff-abcd5"</D:getetag>
           <C:calendar-data>BEGIN:VCALENDAR
   VERSION:2.0
   PRODID:-//Example Corp.//CalDAV Client//EN
   BEGIN:VTODO
   DTSTAMP:20060205T235300Z
   DUE;VALUE=DATE:20060106
   LAST-MODIFIED:20060205T235308Z
   SEQUENCE:1
   STATUS:NEEDS-ACTION
   SUMMARY:Task #2
   UID:E10BA47467C5C69BB74E8720@example.com
   BEGIN:VALARM
   ACTION:AUDIO
   TRIGGER;RELATED=START:-PT10M
   END:VALARM
   END:VTODO
   END:VCALENDAR
   </C:calendar-data>
         </D:prop>
         <D:status>HTTP/1.1 200 OK</D:status>
       </D:propstat>
        
     </D:response>
        
     <D:response>
       <D:href>http://cal.example.com/bernard/work/abcd6.ics</D:href>
       <D:propstat>
         <D:prop>
           <D:getetag>"fffff-abcd6"</D:getetag>
           <C:calendar-data>BEGIN:VCALENDAR
   VERSION:2.0
   PRODID:-//Example Corp.//CalDAV Client//EN
   BEGIN:VTODO
   COMPLETED:20051223T122322Z
   DTSTAMP:20060205T235400Z
   DUE;VALUE=DATE:20051225
   LAST-MODIFIED:20060205T235308Z
   SEQUENCE:1
   STATUS:COMPLETED
   SUMMARY:Task #3
   UID:E10BA47467C5C69BB74E8722@example.com
   END:VTODO
   END:VCALENDAR
   </C:calendar-data>
         </D:prop>
         <D:status>HTTP/1.1 200 OK</D:status>
       </D:propstat>
     </D:response>
        
     <D:response>
       <D:href>http://cal.example.com/bernard/work/abcd7.ics</D:href>
       <D:propstat>
         <D:prop>
           <D:getetag>"fffff-abcd7"</D:getetag>
           <C:calendar-data>BEGIN:VCALENDAR
   VERSION:2.0
   PRODID:-//Example Corp.//CalDAV Client//EN
   BEGIN:VTODO
   DTSTAMP:20060205T235600Z
   DUE;VALUE=DATE:20060101
   LAST-MODIFIED:20060205T235308Z
   SEQUENCE:1
   STATUS:CANCELLED
   SUMMARY:Task #4
   UID:E10BA47467C5C69BB74E8725@example.com
   END:VTODO
   END:VCALENDAR
   </C:calendar-data>
         </D:prop>
         <D:status>HTTP/1.1 200 OK</D:status>
        
       </D:propstat>
     </D:response>
        
     <D:response>
       <D:href>http://cal.example.com/bernard/work/abcd8.ics</D:href>
       <D:propstat>
         <D:prop>
           <D:getetag>"fffff-abcd8"</D:getetag>
           <C:calendar-data>BEGIN:VCALENDAR
   VERSION:2.0
   PRODID:-//Example Corp.//CalDAV Client//EN
   BEGIN:VFREEBUSY
   ORGANIZER;CN="Bernard Desruisseaux":mailto:bernard@example.com
   UID:76ef34-54a3d2@example.com
   DTSTAMP:20050530T123421Z
   DTSTART:20060101T000000Z
   DTEND:20060108T000000Z
   FREEBUSY:20050531T230000Z/20050601T010000Z
   FREEBUSY;FBTYPE=BUSY-TENTATIVE:20060102T100000Z/20060102T120000Z
   FREEBUSY:20060103T100000Z/20060103T120000Z
   FREEBUSY:20060104T100000Z/20060104T120000Z
   FREEBUSY;FBTYPE=BUSY-UNAVAILABLE:20060105T100000Z/20060105T120000Z
   FREEBUSY:20060106T100000Z/20060106T120000Z
   END:VFREEBUSY
   END:VCALENDAR
   </C:calendar-data>
         </D:prop>
         <D:status>HTTP/1.1 200 OK</D:status>
       </D:propstat>
     </D:response>
        
   </D:multistatus>
        

Authors' Addresses

著者のアドレス

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/
        

Bernard Desruisseaux Oracle Corporation 600 Blvd. de Maisonneuve West Suite 1900 Montreal, QC H3A 3J2 CANADA

Bernard Desruisseaux Oracle Corporation 600 Blvd.De Maisonneuve West Suite 1900 Montreal、QC H3A 3J2カナダ

   EMail: bernard.desruisseaux@oracle.com
   URI:   http://www.oracle.com/
        

Lisa Dusseault CommerceNet 169 University Ave. Palo Alto, CA 94301 USA

Lisa Dusseault Commercenet 169 University Ave. Palo Alto、CA 94301 USA

   EMail: ldusseault@commerce.net
   URI:   http://commerce.net/
        

Full Copyright Statement

完全な著作権声明

Copyright (C) The IETF Trust (2007).

著作権(c)The IETF Trust(2007)。

This document is subject to the rights, licenses and restrictions contained in BCP 78, and except as set forth therein, the authors retain all their rights.

この文書は、BCP 78に含まれる権利、ライセンス、および制限の対象となり、そこに記載されている場合を除き、著者はすべての権利を保持しています。

This document and the information contained herein are provided on an "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

このドキュメントとここに含まれる情報は、「現状のまま」に基づいて提供され、貢献者、彼/彼女が代表する組織(もしあれば)、インターネット協会、IETFトラスト、インターネットエンジニアリングタスクフォースがすべてを否認します。明示的または黙示的な保証。ここでの情報の使用は、特定の目的に対する商品性または適合性の権利または暗黙の保証を侵害しないという保証を含むがこれらに限定されない。

Intellectual Property

知的財産

The IETF takes no position regarding the validity or scope of any Intellectual Property Rights or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; nor does it represent that it has made any independent effort to identify any such rights. Information on the procedures with respect to rights in RFC documents can be found in BCP 78 and BCP 79.

IETFは、知的財産権またはその他の権利の有効性または範囲に関して、本書に記載されている技術の実装または使用、またはそのような権利に基づくライセンスに基づくライセンスの範囲に関連すると主張される可能性のある他の権利に関しては、立場を取得しません。利用可能になります。また、そのような権利を特定するために独立した努力をしたことも表明していません。RFCドキュメントの権利に関する手順に関する情報は、BCP 78およびBCP 79に記載されています。

Copies of IPR disclosures made to the IETF Secretariat and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this specification can be obtained from the IETF on-line IPR repository at http://www.ietf.org/ipr.

IETF事務局に行われたIPR開示のコピーと、利用可能にするライセンスの保証、またはこの仕様の実装者またはユーザーによるそのような独自の権利の使用のための一般的なライセンスまたは許可を取得するための試みの結果を取得できます。http://www.ietf.org/iprのIETFオンラインIPRリポジトリから。

The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights that may cover technology that may be required to implement this standard. Please address the information to the IETF at ietf-ipr@ietf.org.

IETFは、関心のある当事者に、著作権、特許、または特許出願、またはこの基準を実装するために必要なテクノロジーをカバーする可能性のあるその他の独自の権利を注意深く招待します。ietf-ipr@ietf.orgのIETFへの情報をお問い合わせください。

Acknowledgement

謝辞

Funding for the RFC Editor function is currently provided by the Internet Society.

RFCエディター機能の資金は現在、インターネット協会によって提供されています。