Internet-Draft JSCalendar November 2026
Stepanek Expires 28 May 2027 [Page]
Workgroup:
Calendaring extensions
Internet-Draft:
draft-ietf-calext-jscalendar-icalendar-31
Updates:
5545, 7986, 9073 (if approved)
Published:
Intended Status:
Standards Track
Expires:
Author:
R. Stepanek
Fastmail

JSCalendar: Converting from and to iCalendar

Abstract

This document defines how to convert calendaring information between the JSCalendar and iCalendar data formats. It considers every JSCalendar and iCalendar element registered at IANA at the time of publication, and defines conversion rules for all elements that are common to both formats. It updates the semantics of some iCalendar elements to align with JSCalendar, and extends both formats to support converting arbitrary or unknown JSCalendar and iCalendar elements. This document updates RFC 5545 ("iCalendar") and its extensions RFC 7986 and RFC 9073.

Status of This Memo

This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."

This Internet-Draft will expire on 28 May 2027.

▲

Table of Contents

1. Introduction

1.1. Notational Conventions

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.

The ABNF definitions in this document use the notations of [RFC5234]. ABNF rules not defined in this document either are defined in the ABNF specification [RFC5234] or in iCalendar [RFC5545].

1.2. Scope and Goals

This document outlines how to convert between the iCalendar [RFC5545] and [JSCALENDAR] data formats. It describes which elements are common to both, but also highlights where the two formats differ. For each common element, it defines a conversion rule and includes an example of how to convert that element. All iCalendar and JSCalendar elements currently registered at IANA are in scope, but not all of these elements are common to both formats.

For elements that have no counterpart in the other format, it is the goal of this document to define how to preserve them during conversion, but in general it is not the goal to achieve this by defining new standard elements. However, this document does update the definitions of some iCalendar elements where their JSCalendar counterparts more accurately model current practices and standards, such as formatting colors and geospatial coordinates. In addition, this document defines conversion-specific iCalendar and JSCalendar elements to preserve elements that have no equivalent in the other format. See Section 4.2.5 for updates to iCalendar, and Section 5.1 for JSCalendar. Appendix A further outlines the discrepancies between the two formats.

This document aims to define conversion rules so that multiple implementations produce the same output for the same input. Still, this goal is aspirational, and implementations need to be prepared to handle ambiguity and unexpected elements in either format. Any conversion that neither this document nor a future document specifies is implementation-specific.

1.3. How to Read the Examples

Later sections contain examples that illustrate how to convert between the iCalendar and JSCalendar data formats. The notation of these examples is such that their main points should be clear to the reader, but their contents can also be parsed for automated testing. The following sections define the notation for such examples.

1.3.1. iCalendar Examples

An iCalendar example contains either an extract or a complete representation of iCalendar data. It always represents an iCalendar object, even if the example only depicts non-VCALENDAR components or properties. The following rules apply:

  • An example that only contains iCalendar properties implicitly represents a VEVENT component having these properties set and that is part of a VCALENDAR component.
  • An example that only contains one or more VEVENT or VTIMEZONE components implicitly represents a VCALENDAR component that contains them. An example that only contains one or more other components implicitly represents a VEVENT component.
  • An example that only contains a VCALENDAR component but no contained components implicitly represents a VCALENDAR component that contains a VEVENT component.
  • Implicit components (those without a BEGIN and END, or omitted completely) are assumed to contain all mandatory properties with some value, but the actual value is irrelevant for the example.

Figures 1, 2, and 3 contain three examples, all of which represent the same iCalendar data. In Figure 1, both the VEVENT component and VCALENDAR component are implicit. In Figure 2, only the VCALENDAR component and its mandatory properties are implicit. Figure 3 depicts a complete VCALENDAR component, nothing is implicit.

BEGIN:VEVENT
DTSTAMP:20060102T030405Z
DTSTART:20060102T030405Z
SUMMARY:hello
UID:CC0A494A-6E07-4827-8294-0752DD1ECFA4
END:VEVENT
Figure 2: Example for an implicit VCALENDAR component
BEGIN:VCALENDAR
PRODID:-//FOO//bar//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20060102T030405Z
DTSTART:20060102T030405Z
SUMMARY:hello
UID:CC0A494A-6E07-4827-8294-0752DD1ECFA4
END:VEVENT
END:VCALENDAR
Figure 3: Example for explicit VCALENDAR and VEVENT components

A line containing just the value ... stands for any other properties that might be present in a component but are irrelevant for this example. This includes mandatory properties as described for implicit components, but the value ... does not represent a property in a component for which at least one same-named property is explicitly stated for that component in the example. The line ... at the end of the example additionally stands for any END content lines to complete components that started with BEGIN content lines, and any of their missing mandatory properties. Figure 4 illustrates this as an alternative representation for the examples of Figures 1, 2, and 3.

A line starting with a single space represents the continuation of a folded content line (Section 3.1 of [RFC5545]). Figure 5 illustrates this.

The order of properties within a component, of the parameters of a property, and of the values of a multi-valued parameter is not significant.

1.3.2. JSCalendar Examples

A JSCalendar example always represents a Group object, even if the example only depicts one of the Group entries or properties. E.g., an example containing only an Alert object is implied to be the sole value of the "alerts" property of an Event object, which is implied to be the sole list member in the "entries" property of a Group object. The Group object has its "version" property set to "2.0", unless the example explicitly defines a complete Group object.

JSCalendar objects are depicted either explicitly or implicitly. An explicit JSCalendar object starts and ends with braces. An implicit JSCalendar object omits braces, it only consists of JSON name/value pairs, separated by comma.

An implicit JSCalendar object is assumed to be of type Event, unless it contains the "@type" property with a different value. It is assumed to contain all mandatory properties with some value; if they are not depicted, their actual value is irrelevant for the main point of the example.

A JSCalendar property that is set to its default value is equivalent to the property being omitted. An example may depict either.

Figures 6, 7, 8, and 9 illustrate this with multiple examples, all of which represent the same JSCalendar data. Figure 6 contains an implicit JSCalendar object of type Event. Figure 7 contains an implicit JSCalendar object with a "@type" property. Figure 8 contains an explicit Event object but the Group object containing it is omitted. Figure 9 contains the full Group object, nothing is omitted.

{
  "@type": "Event",
  "title": "hello",
  "start": "2006-01-02T03:04:05",
  "timeZone": "Etc/UTC",
  "uid": "CC0A494A-6E07-4827-8294-0752DD1ECFA4",
  "updated": "2006-01-02T03:04:05Z"
}
Figure 8: Example for an explicit Event object with implicit Group object
{
  "@type": "Group",
  "version": "2.0",
  "entries": [
    {
      "@type": "Event",
      "title": "hello",
      "start": "2006-01-02T03:04:05",
      "timeZone": "Etc/UTC",
      "uid": "CC0A494A-6E07-4827-8294-0752DD1ECFA4",
      "updated": "2006-01-02T03:04:05Z"
    }
  ]
}
Figure 9: Example for an explicit Group object

A property with name "..." and value "" stands for additional properties that might be present in a JSCalendar object but are irrelevant for this example, including mandatory properties. The "..." property requires the "@type" property to be set. Figure 10 illustrates this as an alternative representation for the examples of Figures 6, 7, 8, and 9.

{
  "@type": "Event",
  "title": "hello",
  "...": ""
}
Figure 10: Example for additional properties represented by ...

1.3.3. Conversion Examples

A conversion example depicts iCalendar data together with the JSCalendar data it converts to. The iCalendar data follows the notation defined in Section 1.3.1, the JSCalendar data follows the notation defined in Section 1.3.2.

The iCalendar data is preceded by a line containing just --- iCalendar:, and the JSCalendar data is preceded by a line containing just --- JSCalendar:. These marker lines are not part of the example data. Empty lines are not part of the example data either and are ignored. Figure 11 illustrates this.

--- iCalendar:
SUMMARY:hello

--- JSCalendar:
"title": "hello"
Figure 11: Example for the notation of a conversion example

A conversion example applies in both directions: the iCalendar data converts to the JSCalendar data, and the JSCalendar data converts to the iCalendar data.

Keys of JSON objects that represent a collection of same-typed values (Section 2.1.4) are illustrative, unless the iCalendar data sets them with the JSID parameter (Section 4.1.1) or JSID property (Section 4.2.4).

1.4. Lossy versus Lossless Conversion

This document outlines how to convert iCalendar elements to JSCalendar elements, and the other way round. Many of these can be represented by standard elements in both formats, meaning that they are registered in the iCalendar and JSCalendar IANA registries and differ from the special-purpose elements introduced in Section 4 and Section 5. Still, a number of elements in either format have no standard counterpart in the other. When converting between iCalendar and JSCalendar, implementations MAY choose to only convert elements that have a standard element in the target format, or aim to preserve as many elements as possible.

For example:

Irrespective of whether the conversion is lossy or lossless, the result of a conversion MUST be valid according to its data format.

All the examples in this document illustrate lossless conversion, if not explicitly stated otherwise in the example.

2. Converting iCalendar to JSCalendar

2.1. General rules

2.1.1. Supported Components and Properties

The VCALENDAR component (Section 2.1.2) and the components listed in Section 2.2 convert to JSCalendar objects. Other specifications may define how to convert additional components. For each of these components, a table lists its properties and subcomponents that convert to standard JSCalendar elements. A property or subcomponent converts to a standard JSCalendar element only within the components for which it is listed.

The JSCalendar object to which a component converts is the "target object" of the properties and subcomponents of that component. For example, the target object of a SUMMARY property in a VEVENT component is the Event object to which that VEVENT component converts. The conversion rules in Section 2.2 and Section 2.3 apply to all components for which an element is listed, including components defined in other specifications, unless they explicitly name the components for which they apply.

2.1.2. iCalendar Objects

Section 3.4 of [RFC5545] allows for an iCalendar stream to contain one or more iCalendar objects. In contrast, this specification only defines conversion for streams consisting of a single iCalendar object. All following sections of this document use the terms "iCalendar object" and "VCALENDAR component" interchangeably.

The VCALENDAR component [RFC5545] (Section 3.4) converts to a Group object [JSCALENDAR] (Section 2.3). Its properties convert as follows:

Table 1: Properties of the VCALENDAR component
iCalendar property JSCalendar property Section
ATTACH links 2.3.3
CATEGORIES keywords 2.3.6
COLOR color 2.3.8
CONCEPT categories 2.3.9
CREATED created 2.3.12
DESCRIPTION description 2.3.13
IMAGE links 2.3.20
LAST-MODIFIED updated 2.3.21
LINK links 2.3.22
METHOD entries/*/method 2.3.25
NAME title 2.3.26
PRODID prodId, entries/*/prodId 2.3.29
SOURCE source 2.3.37
STYLED-DESCRIPTION description 2.3.38
UID uid 2.3.42
URL links 2.3.43

Its components convert as follows:

Table 2: Components of the VCALENDAR component
iCalendar component JSCalendar property Section
VEVENT entries 2.2.3

Any other component that converts to a calendar object [JSCALENDAR] (Section 2.1), as defined in this or another specification, also converts to an entry in the Group object's "entries" property.

Other properties or components MAY be converted to the "iCalendar" property (Section 5.1) of the Group object.

The entries need not be in the same order as their source components in the iCalendar object.

The following example illustrates how to convert the VCALENDAR component:

--- iCalendar:
BEGIN:VCALENDAR
UID:41aa02b6-42d0-4f45-8cb4-8b5075be2e14
BEGIN:VEVENT
...

--- JSCalendar:
{
  "@type": "Group",
  "entries": [
    {
      "...": "",
      "@type": "Event"
    }
  ],
  "uid": "41aa02b6-42d0-4f45-8cb4-8b5075be2e14",
  "...": ""
}
Figure 12: Converting the VCALENDAR component

2.1.3. Recurring Components

Components in an iCalendar object generally convert to distinct JSCalendar objects. For example, two VEVENT components with different UID property values in the same iCalendar object convert to two separate Event objects in the Group object's entries. As an exception to this rule, this does not apply to recurrence overrides, defined as follows.

A component that converts to a calendar object [JSCALENDAR] (Section 2.1) is a recurrence override if it has the RECURRENCE-ID property set, and the iCalendar object contains a component of the same type that does not have the RECURRENCE-ID property but has the RRULE or RDATE property set, and the UID property values of the two components are equal. The component without the RECURRENCE-ID property is in that case referred to as the "main component".

The main component converts to an entry in the Group object's "entries" property.

The recurrence override converts to the converted main component's "recurrenceOverrides" property. Its RECURRENCE-ID property value converts to the key in the "recurrenceOverrides" property. The value of the "recurrenceOverrides" property at that key is a PatchObject that transforms the converted main component into the converted recurrence override, except for any patches that are forbidden for the "recurrenceOverrides" property [JSCALENDAR] (Section 3.3.4).

The following example illustrates how to convert a main component and its recurrence override:

--- iCalendar:
BEGIN:VCALENDAR
...
BEGIN:VEVENT
UID:F4257E1D-5461-4EF6-840F-9DFC653EB559
RRULE:FREQ=DAILY
DTSTART;TZID=Europe/Berlin:20240101T140000
...
END:VEVENT
BEGIN:VEVENT
UID:F4257E1D-5461-4EF6-840F-9DFC653EB559
RECURRENCE-ID;TZID=Europe/Berlin:20240202T140000
DTSTART;TZID=Europe/Berlin:20240202T160000
...
END:VEVENT
END:VCALENDAR

--- JSCalendar:
{
  "@type": "Group",
  "entries": [
    {
      "...": "",
      "@type": "Event",
      "recurrenceOverrides": {
        "2024-02-02T14:00:00": {
          "start": "2024-02-02T16:00:00"
        }
      },
      "recurrenceRule": {
        "@type": "RecurrenceRule",
        "frequency": "daily"
      },
      "start": "2024-01-01T14:00:00",
      "timeZone": "Europe/Berlin",
      "uid": "F4257E1D-5461-4EF6-840F-9DFC653EB559"
    }
  ],
  "...": ""
}
Figure 13: Converting VEVENT recurrence overrides

A component that converts to a calendar object is a stand-alone recurrence instance if it has the RECURRENCE-ID property set and the iCalendar object does not contain its related main component. Each stand-alone recurrence instance converts to a distinct calendar object in the Group object's "entries" property. Its RECURRENCE-ID property converts to the "recurrenceId" property.

The following example illustrates how to convert stand-alone recurrence instances:

--- iCalendar:
BEGIN:VCALENDAR
...
BEGIN:VEVENT
UID:F4257E1D-5461-4EF6-840F-9DFC653EB559
RECURRENCE-ID;TZID=Europe/Berlin:20240202T140000
DTSTART;TZID=Europe/Berlin:20240202T160000
...
END:VEVENT
BEGIN:VEVENT
UID:F4257E1D-5461-4EF6-840F-9DFC653EB559
RECURRENCE-ID;TZID=Europe/Berlin:20240103T140000
DTSTART;TZID=Europe/Berlin:20240103T170000
...
END:VEVENT
END:VCALENDAR

--- JSCalendar:
{
  "@type": "Group",
  "entries": [
    {
      "...": "",
      "@type": "Event",
      "recurrenceId": "2024-02-02T14:00:00",
      "recurrenceIdTimeZone": "Europe/Berlin",
      "start": "2024-02-02T16:00:00",
      "timeZone": "Europe/Berlin",
      "uid": "F4257E1D-5461-4EF6-840F-9DFC653EB559"
    },
    {
      "...": "",
      "@type": "Event",
      "recurrenceId": "2024-01-03T14:00:00",
      "recurrenceIdTimeZone": "Europe/Berlin",
      "start": "2024-01-03T17:00:00",
      "timeZone": "Europe/Berlin",
      "uid": "F4257E1D-5461-4EF6-840F-9DFC653EB559"
    }
  ],
  "...": ""
}
Figure 14: Converting VEVENT recurrence instances

2.1.4. JSCalendar Ids

JSCalendar generally uses JSON objects to represent a collection of same-typed values. The keys are of type Id [JSCALENDAR] (Section 1.5.1), the values are JSCalendar object types. If an iCalendar element converts to a value in such a collection then an implementation needs to choose an identifier as key.

If the JSID parameter (Section 4.1.1) or JSID property (Section 4.2.4) is set on a property or component, then its value MUST be used as key when converting that element from iCalendar to JSCalendar.

Some sections later in this document describe key generation schemes for specific iCalendar elements by making use of UUID Version 5 with SHA1 hash [RFC9562] (Section 5.5). The Namespace ID to generate such keys is "7f1e1965-ae73-4454-b088-232c90730ce2". The name to generate such keys is the property value as it appears in the iCalendar data after unfolding content lines, without decoding escaped characters or encoded binary data. These key generation schemes are not mandatory, nor is making use of that particular Namespace ID when using UUID Version 5 (UUIDv5) as keys.

Irrespective of the key generation scheme, all keys need to be valid according to the definition of the Id type. For consistency, keys SHOULD be stable such that converting the same iCalendar data to JSCalendar multiple times produces the same keys.

When converting from JSCalendar to iCalendar, a JSCalendar object may convert to an iCalendar component that requires a UID property. One approach to choose its value is the following: if the object's "iCalendar" property (Section 5.1) contains a UID property, then use its value; otherwise, if the object's key is a UUID [RFC9562], then use the key; otherwise, generate a new unique identifier and set the JSID property (Section 4.2.4) to the key.

2.1.5. Timezone identifiers

Converting temporal properties such as DTSTART, DTEND, and RECURRENCE-ID requires to not only determine the date and time of the property value, but also the timezone it references.

If the property value type is DATE [RFC5545] (Section 3.3.4) or DATE-TIME in FORM #1: DATE WITH LOCAL TIME [RFC5545] (Section 3.3.5) then the timezone is not set in JSCalendar.

If the property value type is DATE-TIME in FORM #2: DATE WITH UTC TIME [RFC5545] (Section 3.3.5) then the timezone identifier is "Etc/UTC" in JSCalendar.

If the property value type is DATE-TIME in FORM #3: DATE WITH LOCAL TIME AND TIME ZONE REFERENCE [RFC5545] (Section 3.3.5) then the timezone identifier is determined by the TZID parameter value as follows:

If the TZID parameter value is equal to a name in the IANA Time Zone Database [TZDB] then the timezone identifier is that verbatim name. Otherwise, implementations might use software libraries such as the International Components for Unicode that support converting Microsoft time zone names to IANA time zone identifiers. Alternatively, an implementation might determine the name of an IANA time zone which has identical time zone rules over the time span of the calendar object.

A VTIMEZONE component [RFC5545] (Section 3.6.5) whose TZID property value is a name in the IANA Time Zone Database [TZDB] does not convert to JSCalendar.

Implementations MAY preserve a TZID parameter set to a non-IANA timezone identifier and its related VTIMEZONE by use of the "convertedProperties" and "components" properties in the "iCalendar" property (Section 5.1) of the calendar object or of its enclosing Group object. Other implementations might not consider them when processing the calendar object.

2.1.6. DATE and DATE-TIME

iCalendar provides the DATE and DATE-TIME value types to distinguish date-only from date-time values. JSCalendar only supports date-time values.

When converting from iCalendar to JSCalendar, a property value of type DATE-TIME converts to either a LocalDateTime or UTCDateTime, depending on the JSCalendar property definition. A DATE value type converts to a LocalDateTime with zero time.

Section 3.2 defines which iCalendar value type to choose when converting from JSCalendar to iCalendar.

2.2. Components

2.2.1. PARTICIPANT

The PARTICIPANT component [RFC9073] (Section 7.1) converts to a Participant object [JSCALENDAR] (Section 3.4.6). The converted object is set in the "participants" property of its target object.

The key of the Participant object is the value of the JSID property (Section 4.2.4), if set. If no JSID property but the CALENDAR-ADDRESS property is set, then the key MAY be a UUIDv5 generated from the property value (see Section 2.1.4). Otherwise, the key MAY be the UID property value. When converting to iCalendar, implementations MAY omit setting the JSID property if key matches the UUIDv5 of the CALENDAR-ADDRESS property value or the key matches the UID property, and the key is not part of a JSON pointer in any JSPTR parameter value.

Its properties convert as follows:

Table 3: Properties of the PARTICIPANT component
iCalendar property JSCalendar property Section
ATTACH links 2.3.3
CALENDAR-ADDRESS calendarAddress 2.3.5
DESCRIPTION description 2.3.13
LINK links 2.3.22
STYLED-DESCRIPTION description 2.3.38
SUMMARY name 2.3.39
URL links 2.3.43

Other properties or components MAY be converted to the "iCalendar" property (Section 5.1) of the Participant object. This includes mandatory properties such as UID [RFC5545] (Section 3.8.4.7).

The following example illustrates how to convert the PARTICIPANT component:

--- iCalendar:
BEGIN:PARTICIPANT
UID:47AD2E1C-49D4-45DF-BD83-8398ACC7D8E2
DESCRIPTION:A participant
...
END:PARTICIPANT

--- JSCalendar:
"participants": {
  "47AD2E1C-49D4-45DF-BD83-8398ACC7D8E2": {
    "@type": "Participant",
    "description": "A participant",
    "iCalendar": {
      "@type": "ICalComponent",
      "name": "participant",
      "properties": [
        [
          "uid",
          {},
          "text",
          "47AD2E1C-49D4-45DF-BD83-8398ACC7D8E2"
        ]
      ]
    }
  }
}
Figure 15: Converting the PARTICIPANT component

2.2.2. VALARM

The VALARM component [RFC5545] (Section 3.6.6) converts to an Alert object [JSCALENDAR] (Section 3.5.1). The converted object is set in the "alerts" property of its target object.

The key of the Alert object is the value of the JSID property (Section 4.2.4), if set. Otherwise, the key MAY be the value of the UID property. When converting to iCalendar, implementations MAY omit setting the JSID property if the key matches the value of the UID property, and the key is not part of a JSON pointer in any JSPTR parameter value.

Its properties convert as follows:

Table 4: Properties of the VALARM component
iCalendar property JSCalendar property Section
ACKNOWLEDGED acknowledged 2.3.1
ACTION action 2.3.2, and remarks below
RELATED-TO relatedTo 2.3.32
TRIGGER trigger 2.3.41

Remarks:

  • The ACTION property only converts if its value is "EMAIL" or "DISPLAY".

Other properties or components MAY be converted to the "iCalendar" property (Section 5.1) of the Alert object. This includes mandatory properties such as ATTENDEE [RFC5545] (Section 3.8.4.1), DESCRIPTION [RFC5545] (Section 3.8.1.5), or SUMMARY [RFC5545] (Section 3.8.1.12).

The following example illustrates how to convert the VALARM component:

--- iCalendar:
BEGIN:VALARM
UID:04DC2968-6468-4B92-BC09-5A17D7D3D4E
TRIGGER:-PT30M
ACTION:DISPLAY
DESCRIPTION:Breakfast meeting
END:VALARM

--- JSCalendar:
"alerts": {
  "04DC2968-6468-4B92-BC09-5A17D7D3D4E": {
    "@type": "Alert",
    "iCalendar": {
      "@type": "ICalComponent",
      "name": "valarm",
      "properties": [
        [
          "description",
          {},
          "text",
          "Breakfast meeting"
        ],
        [
          "uid",
          {},
          "text",
          "04DC2968-6468-4B92-BC09-5A17D7D3D4E"
        ]
      ]
    },
    "trigger": {
      "@type": "OffsetTrigger",
      "offset": "-PT30M"
    },
    "action": "display"
  }
}
Figure 16: Converting the VALARM component

2.2.3. VEVENT

The VEVENT component [RFC5545] (Section 3.6.1) converts to a Event object [JSCALENDAR] (Section 2.2). Its properties convert as follows:

Table 5: Properties of the VEVENT component
iCalendar property JSCalendar property Section
ATTACH links 2.3.3
ATTENDEE participants 2.3.4
CATEGORIES keywords 2.3.6
CLASS privacy 2.3.7
COLOR color 2.3.8
CONCEPT categories 2.3.9
CONFERENCE virtualLocations 2.3.10
CREATED created 2.3.12
DESCRIPTION description 2.3.13
DTEND duration, endTimeZone 2.3.14
DTSTAMP updated 2.3.15
DTSTART start 2.3.16
DURATION duration 2.3.17
EXDATE recurrenceOverrides 2.3.18
GEO locations 2.3.19
IMAGE links 2.3.20
LAST-MODIFIED updated 2.3.21
LINK links 2.3.22
LOCATION locations 2.3.23
ORGANIZER organizerCalendarAddress 2.3.27
PRIORITY priority 2.3.28
RDATE recurrenceOverrides 2.3.30
RECURRENCE-ID recurrenceId 2.3.31
RELATED-TO relatedTo 2.3.32
RRULE recurrenceRule 2.3.33
SEQUENCE sequence 2.3.34
SHOW-WITHOUT-TIME showWithoutTime 2.3.35
STATUS status 2.3.36
STYLED-DESCRIPTION description 2.3.38
SUMMARY title 2.3.39
TRANSP freeBusyStatus 2.3.40
UID uid 2.3.42
URL links 2.3.43

Its components convert as follows:

Table 6: Components of the VEVENT component
iCalendar component JSCalendar property Section
VALARM alerts 2.2.2

Other properties or components MAY be converted to the "iCalendar" property (Section 5.1) of the Event object.

VEVENT components with different UID property values in the same iCalendar object convert to different entries in the Group.

The following example illustrates how to convert the VEVENT component:

--- iCalendar:
BEGIN:VCALENDAR
...
BEGIN:VEVENT
UID:DE935D01-3DF7-4201-B61A-D77D05C8B21A
DTSTART:20060102T030405Z
...
END:VEVENT
BEGIN:VEVENT
UID:60BE3D6E-6383-473A-BCF1-3C43EA1FA571
...
END:VEVENT
END:VCALENDAR

--- JSCalendar:
{
  "...": "",
  "@type": "Group",
  "entries": [
    {
      "@type": "Event",
      "start": "2006-01-02T03:04:05",
      "timeZone": "Etc/UTC",
      "uid": "DE935D01-3DF7-4201-B61A-D77D05C8B21A",
      "...": ""
    },
    {
      "@type": "Event",
      "uid": "60BE3D6E-6383-473A-BCF1-3C43EA1FA571",
      "...": ""
    }
  ]
}
Figure 17: Converting the VEVENT component

2.2.4. VLOCATION

The VLOCATION component [RFC9073] (Section 7.2) converts to a Location object [JSCALENDAR] (Section 3.2.5). The converted object is set in the "locations" property of its target object.

The key of the Location object is the value of the JSID property (Section 4.2.4), if set. Otherwise, the key MAY be the value of the UID property. When converting to iCalendar, implementations MAY omit setting the JSID property if the key matches the value of the UID property, and the key is not part of a JSON pointer in any JSPTR parameter value.

Its properties convert as follows:

Table 7: Properties of the VLOCATION component
iCalendar property JSCalendar property Section
ATTACH links 2.3.3
COORDINATES coordinates 2.3.11
GEO coordinates 2.3.19
IMAGE links 2.3.20
LINK links 2.3.22
LOCATION-TYPE locationTypes 2.3.24
NAME name 2.3.26
URL links 2.3.43

Other properties or components MAY be converted to the "iCalendar" property (Section 5.1) of the Location object. This includes mandatory properties such as UID [RFC5545] (Section 3.8.4.7).

The following example illustrates how to convert the VLOCATION component:

--- iCalendar:
BEGIN:VLOCATION
UID:4954DC22-5BD6-4E98-844D-0302982F54AC
NAME:The venue
STRUCTURED-DATA;VALUE=URI:
 http://dir.example.com/venues/big-hall.vcf
...
END:VLOCATION

--- JSCalendar:
"locations": {
  "4954DC22-5BD6-4E98-844D-0302982F54AC": {
    "@type": "Location",
    "name": "The venue",
    "iCalendar": {
      "@type": "ICalComponent",
      "name": "vlocation",
      "properties": [
        [
          "structured-data",
          {},
          "uri",
          "http://dir.example.com/venues/big-hall.vcf"
        ],
        [
          "uid",
          {},
          "text",
          "4954DC22-5BD6-4E98-844D-0302982F54AC"
        ]
      ]
    }
  }
}
Figure 18: Converting the VLOCATION component

2.3. Properties

2.3.1. ACKNOWLEDGED

The ACKNOWLEDGED property [RFC9074] (Section 6.1) in a VALARM component converts to the "acknowledged" property [JSCALENDAR] (Section 3.5.1) of the Alert object.

The following example illustrates how to convert the ACKNOWLEDGED property:

--- iCalendar:
BEGIN:VEVENT
BEGIN:VALARM
ACKNOWLEDGED:20241002T114703Z
...

--- JSCalendar:
"alerts": {
  "1204B2FA-E4A0-4335-B7CD-0DDC09C9B890": {
    "@type": "Alert",
    "acknowledged": "2024-10-02T11:47:03Z",
    "...": ""
  }
}
Figure 19: Converting the ACKNOWLEDGED property

2.3.2. ACTION

The ACTION property [RFC5545] (Section 3.8.6.1) in a VALARM component converts to the "action" property [JSCALENDAR] (Section 3.5.1) of the Alert object.

Its values convert as follows:

Table 8: Values of the ACTION property
ACTION action
DISPLAY display
EMAIL email

An ACTION property with value "AUDIO" or any other not listed in Table 8 does not convert to the "action" property. Instead, the property converts to the iCalendar/properties property (Section 5.1) of the Alert.

The following example illustrates how to convert the ACTION property with value "DISPLAY":

--- iCalendar:
BEGIN:VEVENT
BEGIN:VALARM
ACTION:DISPLAY
...

--- JSCalendar:
"alerts": {
  "02E4CAD6-B7A7-4EE4-93A6-4AA5AFD080E2": {
    "@type": "Alert",
    "action": "display",
    "...": ""
  }
}
Figure 20: Converting the ACTION property for value "DISPLAY"

The following example illustrates how to convert the ACTION property with value "AUDIO":

--- iCalendar:
BEGIN:VEVENT
BEGIN:VALARM
ACTION:AUDIO
...

--- JSCalendar:
"alerts": {
  "FC529A2B-D10F-461D-BDCF-55C77BB4B933": {
    "@type": "Alert",
    "iCalendar": {
      "@type": "ICalComponent",
      "name": "valarm",
      "properties": [
        [
          "action",
          {},
          "text",
          "AUDIO"
        ]
      ]
    },
    "...": ""
  }
}
Figure 21: Converting the ACTION property for value "AUDIO"

2.3.3. ATTACH

The ATTACH property [RFC5545] (Section 3.8.1.1) converts to a Link object [JSCALENDAR] (Section 1.5.11). The converted object is set in the "links" property of its target object. The "rel" property value is set to "enclosure".

The key of the Link object is the value of the JSID parameter (Section 4.1.1), if set. If no JSID parameter is set, then the key MAY be the UUIDv5 generated from the property value (see Section 2.1.4). When converting to iCalendar, implementations MAY omit setting the JSID parameter if the key matches the UUIDv5 of the ATTACH property value and the key is not part of a JSON pointer in any JSPTR parameter value.

The ATTACH property value converts to the Link object's "href" property. A value of type URI converts as-is. A value of type BINARY converts to a URI in the "data" URL scheme ([RFC2397]). If the FMTTYPE parameter is set on the ATTACH property, then the parameter value is set in the "mediatype" part of the data URL.

The ATTACH property parameters convert as follows:

Table 9: Parameters of the ATTACH property
iCalendar parameter JSCalendar property
FILENAME title
FMTTYPE contentType
SIZE size

These parameters are defined in CalDAV Managed Attachments [RFC8607]: FILENAME (Section 4.2), SIZE (Section 4.1); and in iCalendar [RFC5545]: FMTTYPE (Section 3.2.8).

The following example illustrates how to convert the ATTACH property with a URI value:

--- iCalendar:
ATTACH:https://example.com/foo.pdf

--- JSCalendar:
"links": {
  "245708bf-8e07-5d3b-a5da-2974a63c3b91": {
    "@type": "Link",
    "href": "https://example.com/foo.pdf"
  }
}
Figure 22: Converting the ATTACH property with URI value

The following example illustrates how to convert the ATTACH property with a BINARY value:

--- iCalendar:
ATTACH;ENCODING=BASE64;VALUE=BINARY;FMTTYPE=application/octet-stream:
 AAECAwQF

--- JSCalendar:
"links": {
  "6c16f063-d57d-5692-8822-2dceec9f9487": {
    "@type": "Link",
    "href": "data:application/octet-stream;base64,AAECAwQF",
    "contentType": "application/octet-stream",
    "...": ""
  }
}
Figure 23: Converting the ATTACH property with BINARY value

2.3.4. ATTENDEE

The ATTENDEE property [RFC5545] (Section 3.8.4.1) converts to a Participant object [JSCALENDAR] (Section 3.4.6). The converted object is set in the "participants" property of its target object. The property value converts to the Participant object's "calendarAddress" property.

The key of the Participant object is the value of the JSID parameter (Section 4.1.1), if set. If no JSID parameter is set, then the key MAY be the UUIDv5 generated from the property value (see Section 2.1.4). When converting to iCalendar, implementations MAY omit setting the JSID parameter if the key matches the UUIDv5 of the ATTENDEE property value and the key is not part of a JSON pointer in any JSPTR parameter value.

An ATTENDEE property and a PARTICIPANT component in the same iCalendar component convert to the same Participant object, if their converted "calendarAddress" property values are equal.

The ATTENDEE property parameters convert as follows:

Table 10: Parameters of the ATTENDEE property
iCalendar parameter JSCalendar property Note
CN name
CUTYPE kind See below
DELEGATED-FROM delegatedFrom
DELEGATED-TO delegatedTo
EMAIL email See below
MEMBER memberOf
OWNER isOwner
PARTSTAT participationStatus See below
ROLE role See below
RSVP expectReply
SENT-BY sentBy See below

These parameters are defined in iCalendar [RFC5545]: CN (Section 3.2.2), CUTYPE (Section 3.2.3), DELEGATED-FROM (Section 3.2.4), DELEGATED-TO (Section 3.2.5), MEMBER (Section 3.2.11), PARTSTAT (Section 3.2.12), ROLE (Section 3.2.16), RSVP (Section 3.2.17), SENT-BY (Section 3.2.18); and in New Properties for iCalendar [RFC7986]: EMAIL (Section 6.2); and in this document: OWNER (Section 4.1.3).

The "email" and "sentBy" properties of the Participant object, as well as the "sentBy" property of a calendar object, are email addresses as defined in Section 1.6.3 of [JSCALENDAR]. Their equivalent iCalendar parameters convert as follows:

  • The EMAIL parameter value is an email address. If it is a valid email address as defined for JSCalendar, then it converts to the "email" property without modification. Implementations MAY preserve them in the "iCalendar" property (Section 5.1). The "email" property converts to the EMAIL parameter without modification. In particular, iCalendar parameter values may contain non-ASCII characters (Section 3.1 of [RFC5545]), so internationalized email addresses need not be percent-encoded or otherwise transformed.

  • The SENT-BY parameter value is a calendar user address in the form of a URI. If that URI is a "mailto" URI [RFC6068] that contains exactly one "addr-spec" and no header fields, and if that "addr-spec", after decoding any percent-encoded octets as defined in Section 2 of [RFC6068], is a valid email address as defined for JSCalendar, then the SENT-BY parameter converts to the "sentBy" property. The property value is that decoded "addr-spec". Implementations MAY preserve them in the "iCalendar" property (Section 5.1).

The PARTSTAT parameter values convert to the "participationStatus" property as follows:

Table 11: Converting the PARTSTAT parameter to the participationStatus property
PARTSTAT participationStatus
NEEDS-ACTION needs-action
ACCEPTED accepted
DECLINED declined
TENTATIVE tentative
DELEGATED delegated

These values are defined in Section 3.2.12 of iCalendar [RFC5545].

The ROLE parameter values convert to the "role" property as follows:

Table 12: Converting the ROLE parameter to the role property
ROLE role
CHAIR chair
REQ-PARTICIPANT required
OPT-PARTICIPANT optional
NON-PARTICIPANT informational

These values are defined in Section 3.2.16 of iCalendar [RFC5545].

The CUTYPE parameter values convert to the "kind" property as follows:

Table 13: Converting the CUTYPE parameter to the kind property
CUTYPE kind
INDIVIDUAL individual
GROUP group
RESOURCE resource
ROOM location
UNKNOWN (not set)

These values are defined in Section 3.2.3 of iCalendar [RFC5545].

The following example illustrates how to convert the ATTENDEE property:

--- iCalendar:
ATTENDEE;RSVP=TRUE;PARTSTAT=TENTATIVE;CN=Henry Cabot:
 mailto:hcabot@example.com
ORGANIZER:mailto:organizer@example.com

--- JSCalendar:
"participants": {
  "0b235cc4-f04d-5fc4-98a3-c066650b3fbf": {
    "@type": "Participant",
    "calendarAddress": "mailto:hcabot@example.com",
    "name": "Henry Cabot",
    "participationStatus": "tentative",
    "expectReply": true
  },
  "251d3e9f-d83f-534c-8c45-c2896c75670c": {
    "@type": "Participant",
    "calendarAddress": "mailto:organizer@example.com",
    "isOwner": true
  }
},
"organizerCalendarAddress": "mailto:organizer@example.com"
Figure 24: Converting the ATTENDEE property

The following example illustrates how to convert the ATTENDEE property together with a PARTICIPANT component for the same calendar address:

--- iCalendar:
BEGIN:PARTICIPANT
UID:6CF544E4-BBC7-45A2-97FF-DFD1908CCE40
CALENDAR-ADDRESS:mailto:foo@example.com
DESCRIPTION:some description
...
END:PARTICIPANT
ATTENDEE;RSVP=TRUE;PARTSTAT=TENTATIVE:mailto:foo@example.com
ORGANIZER:mailto:organizer@example.com
...

--- JSCalendar:
"participants": {
  "59eb121c-e8f2-558a-9049-ef750a5976bd": {
    "@type": "Participant",
    "calendarAddress": "mailto:foo@example.com",
    "participationStatus": "tentative",
    "expectReply": true,
    "description": "some description",
    "iCalendar": {
      "@type": "ICalComponent",
      "name": "participant",
      "properties": [
        [
          "uid",
          {},
          "text",
          "6CF544E4-BBC7-45A2-97FF-DFD1908CCE40"
        ]
      ]
    },
    "...": ""
  },
  "251d3e9f-d83f-534c-8c45-c2896c75670c": {
    "@type": "Participant",
    "calendarAddress": "mailto:organizer@example.com",
    "...": ""
  }
},
"organizerCalendarAddress": "mailto:organizer@example.com"
Figure 25: Converting the ATTENDEE property and PARTICIPANT component

The following example illustrates how to convert the ATTENDEE property with the OWNER and ROLE parameters:

--- iCalendar:
ATTENDEE;RSVP=TRUE:mailto:foo@example.com
ATTENDEE;OWNER=TRUE;ROLE=CHAIR;RSVP=TRUE:mailto:bar@example.com
ORGANIZER:mailto:organizer@example.com

--- JSCalendar:
"participants": {
  "59eb121c-e8f2-558a-9049-ef750a5976bd": {
    "@type": "Participant",
    "calendarAddress": "mailto:foo@example.com",
    "expectReply": true
  },
  "5b6f4fa0-3695-53a7-904b-d0a6f8bc326f": {
    "@type": "Participant",
    "calendarAddress": "mailto:bar@example.com",
    "expectReply": true,
    "isOwner": true,
    "role": "chair"
  }
},
"organizerCalendarAddress": "mailto:organizer@example.com"
Figure 26: Converting the ATTENDEE property with the OWNER and ROLE parameters

The following example illustrates how to convert the EMAIL and SENT-BY parameters for internationalized email addresses:

--- iCalendar:
ATTENDEE;EMAIL=jürgen@example.com;
 SENT-BY="mailto:sekret%C3%A4r@example.com":
 mailto:juergen@example.com
ORGANIZER:mailto:organizer@example.com

--- JSCalendar:
"participants": {
  "a13e7aa7-b1a7-56b4-91d6-e4d6f414a0e5": {
    "@type": "Participant",
    "calendarAddress": "mailto:juergen@example.com",
    "email": "jürgen@example.com",
    "sentBy": "sekretär@example.com"
  },
  "251d3e9f-d83f-534c-8c45-c2896c75670c": {
    "@type": "Participant",
    "calendarAddress": "mailto:organizer@example.com",
    "...": ""
  }
},
"organizerCalendarAddress": "mailto:organizer@example.com"
Figure 27: Converting the EMAIL and SENT-BY parameters with internationalized email addresses

2.3.5. CALENDAR-ADDRESS

The CALENDAR-ADDRESS property [RFC9073] (Section 6.4) in a PARTICIPANT component converts to the "calendarAddress" property [JSCALENDAR] (Section 3.4.6) of the Participant object.

Implementations MAY indicate that a Participant object's "calendarAddress" property converted from the CALENDAR-ADDRESS property of a PARTICIPANT component, rather than an ATTENDEE property, by adding an entry for "calendarAddress" in the "iCalendar/convertedProperties" property of the Participant object.

The following example illustrates how to convert the CALENDAR-ADDRESS property:

--- iCalendar:
BEGIN:PARTICIPANT
CALENDAR-ADDRESS:mailto:foo@example.com
UID:47AD2E1C-49D4-45DF-BD83-8398ACC7D8E2
...
END:PARTICIPANT
ORGANIZER:mailto:organizer@example.com
...

--- JSCalendar:
"participants": {
  "59eb121c-e8f2-558a-9049-ef750a5976bd": {
    "@type": "Participant",
    "calendarAddress": "mailto:foo@example.com",
    "iCalendar": {
      "@type": "ICalComponent",
      "name": "participant",
      "convertedProperties": {
        "calendarAddress": {
          "@type": "ICalProperty",
          "name": "calendar-address"
        }
      },
      "properties": [
        [
          "uid",
          {},
          "text",
          "47AD2E1C-49D4-45DF-BD83-8398ACC7D8E2"
        ]
      ]
    }
  },
  "251d3e9f-d83f-534c-8c45-c2896c75670c": {
    "@type": "Participant",
    "calendarAddress": "mailto:organizer@example.com",
    "...": ""
  }
},
"organizerCalendarAddress": "mailto:organizer@example.com"
Figure 28: Converting the CALENDAR-ADDRESS property

2.3.6. CATEGORIES

The CATEGORIES property [RFC5545] (Section 3.8.1.2) converts to the "keywords" property [JSCALENDAR] (Section 3.2.10) of its target object.

The list of category values converts to a set of keywords. The values convert case-sensitively. All CATEGORIES properties in the same iCalendar component convert to the "keywords" property in the JSCalendar object.

The following example illustrates how to convert the CATEGORIES property:

--- iCalendar:
CATEGORIES:Favorites
CATEGORIES:Meeting

--- JSCalendar:
"keywords": {
  "Favorites": true,
  "Meeting": true
}
Figure 29: Converting the CATEGORIES property

2.3.7. CLASS

The CLASS property [RFC5545] (Section 3.8.1.3) converts to the "privacy" property [JSCALENDAR] (Section 3.4.3) of its target object.

JSCalendar requires all recurrences of a calendar object to have the same "privacy" property value, including recurrence instances for which no base object is given. In contrast, iCalendar supports setting different CLASS property values for recurrence overrides. When converting to JSCalendar, one CLASS property value thus has to be chosen for all recurrences. One option is to choose the most restrictive classification in any recurrence of a calendar object, where "CONFIDENTIAL" is the most restrictive, then "PRIVATE" or an unknown classification, and "PUBLIC" or the absent CLASS property is the least restrictive.

The CLASS property values convert as follows:

Table 14: Values of the CLASS property
CLASS privacy
PUBLIC public
PRIVATE private
CONFIDENTIAL secret

Any other value MUST convert to the "private" value. Implementations MAY preserve the original value in the iCalendar/properties property (Section 5.1).

The following example illustrates how to convert the CLASS property:

--- iCalendar:
CLASS:PRIVATE

--- JSCalendar:
"privacy": "private"
Figure 30: Converting the CLASS property

2.3.8. COLOR

The COLOR property [RFC7986] (Section 5.9) converts to the "color" property [JSCALENDAR] (Section 3.2.12) of its target object.

Its value converts verbatim.

The following example illustrates how to convert the COLOR property with a color name:

--- iCalendar:
COLOR:maroon

--- JSCalendar:
"color": "maroon"
Figure 31: Converting the COLOR property with color name

The following example illustrates how to convert the COLOR property with a numeric RGB value:

--- iCalendar:
COLOR:#ffa07a

--- JSCalendar:
"color": "#ffa07a"
Figure 32: Converting the COLOR property with numeric value

2.3.9. CONCEPT

The CONCEPT property [RFC9253] (Section 8.1) converts to the "categories" property [JSCALENDAR] (Section 3.2.11) of its target object.

The list of URI values converts to a set of URIs. Multiple occurrences of the CONCEPT property in the same iCalendar component convert to the same "categories" property in the JSCalendar object.

The following example illustrates how to convert the CONCEPT property:

--- iCalendar:
CONCEPT:https://example.com/event-types/arts/music
CONCEPT:https://example.com/event-types/arts/literature

--- JSCalendar:
"categories": {
  "https://example.com/event-types/arts/music": true,
  "https://example.com/event-types/arts/literature": true
}
Figure 33: Converting the CONCEPT property

2.3.10. CONFERENCE

The CONFERENCE property [RFC7986] (Section 5.11) converts to a VirtualLocation object [JSCALENDAR] (Section 3.2.7). The converted object is set in the "virtualLocations" property of its target object. The property value converts to the VirtualLocation object's "uri" property.

The key of the VirtualLocation object is the value of the JSID parameter (Section 4.1.1), if set. If no JSID parameter is set, then the key MAY be the UUIDv5 generated from the property value (see Section 2.1.4). When converting to iCalendar, implementations MAY omit setting the JSID parameter if the key matches the UUIDv5 of the CONFERENCE property value and the key is not part of a JSON pointer in any JSPTR parameter value.

The property value converts to the VirtualLocation object's "uri" property.

Its parameters convert as follows:

Table 15: Parameters of the CONFERENCE property
iCalendar parameter JSCalendar property
FEATURE features
LABEL name

These parameters are defined in New Properties for iCalendar [RFC7986]: FEATURE (Section 6.3), LABEL (Section 6.4).

The following example illustrates how to convert the CONFERENCE property:

--- iCalendar:
CONFERENCE;VALUE=URI;FEATURE=AUDIO,VIDEO;
 LABEL="Web video chat, access code=76543"
 :https://chat.example.com/audio?id=123456

--- JSCalendar:
"virtualLocations": {
  "67e4a1e9-cffc-5bd4-9602-1a5dfc8e1626": {
    "@type": "VirtualLocation",
    "name": "Web video chat, access code=76543",
    "uri": "https://chat.example.com/audio?id=123456",
    "features": {
      "audio": true,
      "video": true
    }
  }
}
Figure 34: Converting the CONFERENCE property

2.3.11. COORDINATES

The COORDINATES property (Section 4.2.2) in a VLOCATION component converts to the "coordinates" property [JSCALENDAR] (Section 3.2.5) of the Location object.

The following example illustrates how to convert the COORDINATES property:

--- iCalendar:
BEGIN:VEVENT
BEGIN:VLOCATION
COORDINATES;VALUE=URI:geo:48.198634,16.371648;crs=wgs84;u=40
...

--- JSCalendar:
"locations": {
  "B995322D-2C00-4DE0-8958-DB6687CF3DB3": {
    "@type": "Location",
    "coordinates": "geo:48.198634,16.371648;crs=wgs84;u=40",
    "...": ""
  }
}
Figure 35: Converting the COORDINATES property

2.3.12. CREATED

The CREATED property [RFC5545] (Section 3.8.7.1) converts to the "created" property [JSCALENDAR] (Section 3.1.5) of its target object.

The following example illustrates how to convert the CREATED property:

--- iCalendar:
CREATED:20240329T133000Z

--- JSCalendar:
"created": "2024-03-29T13:30:00Z"
Figure 36: Converting the CREATED property

2.3.13. DESCRIPTION

The DESCRIPTION property [RFC5545] (Section 3.8.1.5) converts to the "description" property [JSCALENDAR] (Section 3.2.2) of its target object, unless its DERIVED parameter value is "TRUE" and the component contains a non-derived STYLED-DESCRIPTION property that converts to the "description" property, in which case the DESCRIPTION property is ignored.

The following example illustrates how to convert the DESCRIPTION property:

--- iCalendar:
DESCRIPTION:Pancakes are delicious\; they are fluffy and sweet.

--- JSCalendar:
"description": "Pancakes are delicious; they are fluffy and sweet."
Figure 37: Converting the DESCRIPTION property

2.3.14. DTEND

The DTEND property [RFC5545] (Section 3.8.2.2) in a VEVENT component converts to the "duration" property [JSCALENDAR] (Section 4.1.1) of the Event object.

If the value type of the DTEND property is DATE, then the duration is the nominal duration between the DTSTART and DTEND property values. If the value type is DATE-TIME, then the duration is the exact duration between the DTSTART and DTEND property values (see Section 3.8.5.3 of [RFC5545]).

If the timezone identifier (Section 2.1.5) of the DTEND property differs from that of the DTSTART property, then it converts to the Event's "endTimeZone" property [JSCALENDAR] (Section 4.1.2).

Implementations MAY preserve the fact that the duration got determined by the DTEND property. How to do this depends on the timezone identifiers of the DTSTART and DTEND properties: If the time zone identifiers are not equal, then the presence of the "endTimeZone" property implies that it converted from the DTEND property. If the time zone identifiers are equal, then implementations MAY set the "iCalendar" property (Section 5.1) in the Event object and there add an entry for the path "duration" in the "convertedProperties" property. The value is an ICalProperty object with the "name" property set to "dtend".

The following example illustrates how to convert the DTEND property with a different timezone than the DTSTART property:

--- iCalendar:
DTSTART;TZID=Europe/Berlin:20241017T130000
DTEND;TZID=Asia/Bangkok:20241018T040000

--- JSCalendar:
"start": "2024-10-17T13:00:00",
"timeZone": "Europe/Berlin",
"duration": "PT10H",
"endTimeZone": "Asia/Bangkok"
Figure 38: Converting the DTEND property with different timezone

The following example illustrates how to convert the DTEND property with the same timezone as the DTSTART property:

--- iCalendar:
DTSTART;TZID=Australia/Melbourne:20241002T130000
DTEND;TZID=Australia/Melbourne:20241002T140000

--- JSCalendar:
"start": "2024-10-02T13:00:00",
"timeZone": "Australia/Melbourne",
"duration": "PT1H",
"iCalendar": {
  "@type": "ICalComponent",
  "name": "vevent",
  "convertedProperties": {
    "duration": {
      "@type": "ICalProperty",
      "name": "dtend"
    }
  }
}
Figure 39: Converting the DTEND property with same timezone

The following example illustrates how to convert the DTEND property with value type DATE:

--- iCalendar:
DTSTART;VALUE=DATE:20240102
DTEND;VALUE=DATE:20240107

--- JSCalendar:
"start": "2024-01-02T00:00:00",
"duration": "P5D",
"showWithoutTime": true,
"iCalendar": {
  "@type": "ICalComponent",
  "name": "vevent",
  "convertedProperties": {
    "duration": {
      "@type": "ICalProperty",
      "name": "dtend"
    }
  }
}
Figure 40: Converting the DTEND property with value type DATE

2.3.15. DTSTAMP

The DTSTAMP property [RFC5545] (Section 3.8.7.2) converts to the "updated" property [JSCALENDAR] (Section 3.1.6) of its target object.

The following example illustrates how to convert the DTSTAMP property:

--- iCalendar:
BEGIN:VCALENDAR
METHOD:REPLY
BEGIN:VEVENT
DTSTAMP:20240304T132000Z
...

--- JSCalendar:
{
  "@type": "Group",
  "entries": [
    {
      "@type": "Event",
      "method": "reply",
      "updated": "2024-03-04T13:20:00Z",
      "...": ""
    }
  ],
  "...": ""
}
Figure 41: Converting the DTSTAMP property in a VEVENT component

2.3.16. DTSTART

The DTSTART property [RFC5545] (Section 3.8.2.4) converts to the "start" property [JSCALENDAR] (Section 3.6.1) of its target object.

See Section 2.1.6 how to convert DATE and DATE-TIME values.

The timezone identifier (Section 2.1.5) of the DTSTART property converts to the "timeZone" property [JSCALENDAR] (Section 3.6.2) of its target object. In addition, if the value type of the DTSTART property is DATE, then the value of the "showWithoutTime" property [JSCALENDAR] (Section 3.2.4) is "true".

In a VEVENT component with neither a DTEND nor a DURATION property, a DTSTART property with value type DATE also converts to the "duration" property value "P1D" (see Section 3.6.1 of [RFC5545]).

The following example illustrates how to convert the DTSTART property with a TZID parameter:

--- iCalendar:
DTSTART;TZID=Europe/Berlin:20240921T105302

--- JSCalendar:
"start": "2024-09-21T10:53:02",
"timeZone": "Europe/Berlin",
"showWithoutTime": false
Figure 42: Converting the DTSTART property with TZID parameter

The following example illustrates how to convert the DTSTART property with a UTC time:

--- iCalendar:
DTSTART:20240921T105302Z

--- JSCalendar:
"start": "2024-09-21T10:53:02",
"timeZone": "Etc/UTC",
"showWithoutTime": false
Figure 43: Converting the DTSTART property with UTC time

The following example illustrates how to convert the DTSTART property with a floating time:

--- iCalendar:
DTSTART:20240921T105302

--- JSCalendar:
"start": "2024-09-21T10:53:02",
"showWithoutTime": false
Figure 44: Converting the DTSTART property with floating time

The following example illustrates how to convert the DTSTART property with value type DATE:

--- iCalendar:
DTSTART;VALUE=DATE:20240921

--- JSCalendar:
"start": "2024-09-21T00:00:00",
"duration": "P1D",
"showWithoutTime": true
Figure 45: Converting the DTSTART property with value type DATE

2.3.17. DURATION

The DURATION property [RFC5545] (Section 3.8.2.5) in a VEVENT component converts to the "duration" property [JSCALENDAR] (Section 4.1.1) of the Event object.

The following example illustrates how to convert the DURATION property:

--- iCalendar:
DURATION:PT1H

--- JSCalendar:
"duration": "PT1H"
Figure 46: Converting the DURATION property

2.3.18. EXDATE

The EXDATE property [RFC5545] (Section 3.8.5.1) converts to a PatchObject value [JSCALENDAR] (Section 1.5.9). The converted object is set in the "recurrenceOverrides" property of its target object.

The property value converts to the key in the "recurrenceOverrides" property value. See Section 2.1.6 how to convert DATE and DATE-TIME values. The date-time is relative to the timezone identified by the "timeZone" property of the target object. The PatchObject value MUST only set the "excluded" member to "true".

The following example illustrates how to convert the EXDATE property:

--- iCalendar:
DTSTART:20230101T130000Z
RRULE:FREQ=MONTHLY
EXDATE:20230801T130000Z

--- JSCalendar:
"start": "2023-01-01T13:00:00",
"timeZone": "Etc/UTC",
"recurrenceRule": {
  "@type": "RecurrenceRule",
  "frequency": "monthly"
},
"recurrenceOverrides": {
  "2023-08-01T13:00:00": {
    "excluded": true
  }
}
Figure 47: Converting the EXDATE property

2.3.19. GEO

A GEO property with the DERIVED parameter value "TRUE" is ignored if the component contains a VLOCATION component. For all other GEO properties, the following rules apply:

The GEO property [RFC5545] (Section 3.8.1.6) in a component other than VLOCATION converts to a Location object [JSCALENDAR] (Section 3.2.5). If that component also contains the LOCATION property (Section 2.3.23), then the GEO and LOCATION properties convert to the same Location object. The converted object is set in the "locations" property of its target object.

The key of the Location object is the value of the JSID parameter (Section 4.1.1), if set. If no JSID parameter is set, then the key MAY be the UUIDv5 generated from the property value (see Section 2.1.4). If the GEO and LOCATION properties convert to the same Location object, then the key MAY be the UUIDv5 generated from the LOCATION property value. When converting to iCalendar, implementations MAY omit setting the JSID parameter if the key matches the UUIDv5 of the GEO property value, or of the LOCATION property value if both properties convert to the same Location object, and the key is not part of a JSON pointer in any JSPTR parameter value.

The GEO property [RFC5545] (Section 3.8.1.6) in a VLOCATION component converts to the "coordinates" property [JSCALENDAR] (Section 3.2.5) of the Location object.

The pair of FLOAT values converts to a URI with the "geo" scheme ([RFC5870]). The first FLOAT value converts to the "coord-a" part of the URI, the second FLOAT value to the "coord-b" part. A preceding plus sign (+) of the FLOAT value is omitted, a preceding minus sign (-) is preserved. The optional "coord-c" part of the URI is omitted.

Implementations MAY preserve the fact that the coordinates converted from a GEO property by setting the JSON pointer path to the "coordinates" property in the "iCalendar/convertedProperties" property of the target object of the GEO property.

The following example illustrates how to convert the GEO property in a VEVENT component. The JSID parameter is set to simplify testing.

--- iCalendar:
GEO;JSID=loc1:45.5;-93.3

--- JSCalendar:
"locations": {
  "loc1": {
    "@type": "Location",
    "coordinates": "geo:45.5,-93.3"
  }
},
"iCalendar": {
  "@type": "ICalComponent",
  "name": "vevent",
  "convertedProperties": {
    "locations/loc1/coordinates": {
      "@type": "ICalProperty",
      "name": "geo"
    }
  }
}
Figure 48: Converting the GEO property in a VEVENT

The following example illustrates how to convert the GEO and LOCATION properties in a VEVENT component. The JSID parameters are set to simplify testing.

--- iCalendar:
LOCATION;JSID=loc1:Taj Mahal
GEO;JSID=loc1:27.175;78.041944

--- JSCalendar:
"locations": {
  "loc1": {
    "@type": "Location",
    "name": "Taj Mahal",
    "coordinates": "geo:27.175,78.041944",
    "...": ""
  }
},
"iCalendar": {
  "@type": "ICalComponent",
  "name": "vevent",
  "convertedProperties": {
    "locations/loc1/coordinates": {
      "@type": "ICalProperty",
      "name": "geo"
    }
  }
}
Figure 49: Converting the GEO and LOCATION properties in a VEVENT

The following example illustrates how to convert the GEO property in a VLOCATION component:

--- iCalendar:
BEGIN:VEVENT
BEGIN:VLOCATION
NAME:Eiffel Tower
GEO:48.858222;2.2945
...

--- JSCalendar:
"locations": {
  "8FC58765-4559-49BC-8718-A5E46FC433B9": {
    "@type": "Location",
    "name": "Eiffel Tower",
    "coordinates": "geo:48.858222,2.2945",
    "iCalendar": {
      "@type": "ICalComponent",
      "name": "vlocation",
      "convertedProperties": {
        "coordinates": {
          "@type": "ICalProperty",
          "name": "geo"
        }
      },
      "...": ""
    }
  }
}
Figure 50: Converting the GEO property in a VLOCATION

2.3.20. IMAGE

The IMAGE property [RFC7986] (Section 5.10) converts to a Link object [JSCALENDAR] (Section 1.5.11). The converted object is set in the "links" property of its target object. The "rel" property value is set to "icon".

The key of the Link object is the value of the JSID parameter (Section 4.1.1), if set. If no JSID parameter is set, then the key MAY be the UUIDv5 generated from the property value (see Section 2.1.4). When converting to iCalendar, implementations MAY omit setting the JSID parameter if the key matches the UUIDv5 of the IMAGE property value and the key is not part of a JSON pointer in any JSPTR parameter value.

The IMAGE property value converts to the Link object's "href" property. A value of type URI converts as-is. See Section 2.3.3 how to convert a BINARY value.

Its parameters convert as follows:

Table 16: Parameters of the IMAGE property
iCalendar parameter JSCalendar property
DISPLAY display
FILENAME title
FMTTYPE contentType
SIZE size

These parameters are defined in New Properties for iCalendar [RFC7986]: DISPLAY (Section 6.1); and in CalDAV Managed Attachments [RFC8607]: FILENAME (Section 4.2), SIZE (Section 4.1); and in iCalendar [RFC5545]: FMTTYPE (Section 3.2.8).

The following example illustrates how to convert the IMAGE property:

--- iCalendar:
IMAGE;VALUE=URI;DISPLAY=BADGE,THUMBNAIL;FILENAME=An image;
 FMTTYPE=image/png:https://example.com/images/party.png

--- JSCalendar:
"links": {
  "2c42ac17-1eaf-5a75-a216-aef848785d79": {
    "@type": "Link",
    "href": "https://example.com/images/party.png",
    "rel": "icon",
    "display": {
      "badge": true,
      "thumbnail": true
    },
    "contentType": "image/png",
    "title": "An image"
  }
}
Figure 51: Converting the IMAGE property

2.3.21. LAST-MODIFIED

The LAST-MODIFIED property [RFC5545] (Section 3.8.7.3) in a VCALENDAR component converts to the "updated" property [JSCALENDAR] (Section 3.1.6) of the Group object.

The LAST-MODIFIED property [RFC5545] (Section 3.8.7.3) in a component that converts to a calendar object converts to the "updated" property [JSCALENDAR] (Section 3.1.6) of its target object only if the component does not contain a DTSTAMP property. Otherwise, if the VCALENDAR component contains a METHOD property, implementations MAY preserve it in the "iCalendar" property (Section 5.1); if not, it is ignored. Without METHOD, the DTSTAMP and LAST-MODIFIED properties are equivalent (see Section 3.8.7.2 of [RFC5545]), and a preserved LAST-MODIFIED property would likely be stale when converting back to iCalendar.

The following example illustrates how to convert the LAST-MODIFIED property:

--- iCalendar:
BEGIN:VCALENDAR
LAST-MODIFIED:20240914T231257Z
...

--- JSCalendar:
"@type": "Group",
"updated": "2024-09-14T23:12:57Z"
Figure 52: Converting the LAST-MODIFIED property

2.3.23. LOCATION

The LOCATION property [RFC5545] (Section 3.8.1.7) converts to a Location object [JSCALENDAR] (Section 3.2.5), unless its DERIVED parameter value is "TRUE" and the component contains a VLOCATION component. The converted object is set in the "locations" property of its target object. Apart from determining the "mainLocationId" property as described below, a derived LOCATION property that does not convert to a Location object is ignored.

The key of the Location object is the value of the JSID parameter (Section 4.1.1), if set. If no JSID parameter is set, then the key MAY be the UUIDv5 generated from the property value (see Section 2.1.4). When converting to iCalendar, implementations MAY omit setting the JSID parameter if the key matches the UUIDv5 of the LOCATION property value and the key is not part of a JSON pointer in any JSPTR parameter value.

The LOCATION property value converts to the Location object's "name" property.

If the calendar component contains one or more VLOCATION components, then the LOCATION property also converts to the "mainLocationId" property of its target object. If the LOCATION property does not have the DERIVED parameter set to "TRUE", then the "mainLocationId" is set to the key of the Location object of the LOCATION property. If instead the LOCATION property is derived and its property value matches the NAME property value of a VLOCATION component, then the "mainLocationId" is the identifier of the Location object of that VLOCATION component.

The following example illustrates how to convert the LOCATION property:

--- iCalendar:
LOCATION:Conference Room - F123\, Bldg. 002

--- JSCalendar:
"locations": {
  "adde7a5b-2fb5-52aa-b760-595ea9edb80a": {
    "@type": "Location",
    "name": "Conference Room - F123, Bldg. 002",
    "...": ""
  }
}
Figure 54: Converting the LOCATION property

The following example illustrates how to convert the LOCATION property and multiple VLOCATION components:

--- iCalendar:
LOCATION;DERIVED=TRUE:Fred's Bar
BEGIN:VLOCATION
JSID:loc1
NAME:Fred's Bar
LOCATION-TYPE:bar
...
END:VLOCATION
BEGIN:VLOCATION
UID:6B1C3968-38D2-46AF-B436-BF3F72D459D4
NAME:XYZ Parking
LOCATION-TYPE:parking
COORDINATES;VALUE=URI:geo:40.71427,-74.00597
...
END:VLOCATION
...

--- JSCalendar:
"locations": {
  "loc1": {
    "@type": "Location",
    "name": "Fred's Bar",
    "locationTypes": {
      "bar": true
    },
    "...": ""
  },
  "6B1C3968-38D2-46AF-B436-BF3F72D459D4": {
    "@type": "Location",
    "name": "XYZ Parking",
    "locationTypes": {
      "parking": true
    },
    "coordinates": "geo:40.71427,-74.00597",
    "...": ""
  }
},
"mainLocationId": "loc1"
Figure 55: Converting the LOCATION property and multiple VLOCATION components

2.3.24. LOCATION-TYPE

The LOCATION-TYPE property [RFC9073] (Section 6.1) in a VLOCATION component converts to the "locationTypes" property [JSCALENDAR] (Section 3.2.5) of the Location object.

The list of location type values converts to a set of location types. The values convert case-sensitively. All LOCATION-TYPE properties in the same VLOCATION convert to the "locationTypes" property in the Location object.

The following example illustrates how to convert the LOCATION-TYPE property:

--- iCalendar:
BEGIN:VEVENT
BEGIN:VLOCATION
LOCATION-TYPE:hotel,restaurant
...

--- JSCalendar:
"locations": {
  "0EA3F99A-835E-49CC-970C-8A4707A4C076": {
    "@type": "Location",
    "locationTypes": {
      "hotel": true,
      "restaurant": true
    },
    "...": ""
  }
}
Figure 56: Converting the LOCATION-TYPE property

2.3.25. METHOD

The METHOD property [RFC5545] (Section 3.7.2) in a VCALENDAR component converts to the "method" property [JSCALENDAR] (Section 3.1.8) of all calendar objects that are listed in the Group object's "entries" property.

The property value converts in lowercase.

The following example illustrates how to convert the METHOD property:

--- iCalendar:
BEGIN:VCALENDAR
METHOD:REQUEST
BEGIN:VEVENT
...

--- JSCalendar:
{
  "@type": "Group",
  "entries": [
    {
      "@type": "Event",
      "method": "request",
      "...": ""
    }
  ],
  "...": ""
}
Figure 57: Converting the METHOD property

2.3.26. NAME

The NAME property [RFC7986] (Section 5.1) in a VLOCATION component converts to the Location [JSCALENDAR] (Section 3.2.5) object's "name" property.

The NAME property [RFC7986] (Section 5.1) in a VCALENDAR component converts to the "title" property [JSCALENDAR] (Section 3.2.1) of the Group object. If the LANGUAGE parameter is set, then the parameter value converts to the "locale" property [JSCALENDAR] (Section 3.2.9) of the same object.

The following example illustrates how to convert the NAME property in a VCALENDAR component:

--- iCalendar:
BEGIN:VCALENDAR
NAME;LANGUAGE=de:Feiertage Deutschland 2025
...

--- JSCalendar:
{
  "@type": "Group",
  "title": "Feiertage Deutschland 2025",
  "locale": "de",
  "...": ""
}
Figure 58: Converting the NAME property in a VCALENDAR

The following example illustrates how to convert the NAME property in a VLOCATION component:

--- iCalendar:
BEGIN:VEVENT
BEGIN:VLOCATION
NAME:Room B
...
END:VLOCATION
...

--- JSCalendar:
"locations": {
  "8DE8404B-3BFA-443F-92B4-C678AD0F67DB": {
    "@type": "Location",
    "name": "Room B",
    "iCalendar": {
      "@type": "ICalComponent",
      "name": "vlocation"
    }
  }
}
Figure 59: Converting the NAME property in a VLOCATION

2.3.27. ORGANIZER

The ORGANIZER property [RFC5545] (Section 3.8.4.3) converts to the "organizerCalendarAddress" property [JSCALENDAR] (Section 3.4.4) of its target object.

It also converts to a Participant object in the "participants" property [JSCALENDAR] (Section 3.4.6), if any of its parameters convert to a Participant object property (see Table 18), or if none of the ATTENDEE properties in the iCalendar component have the OWNER parameter (Section 4.1.3) set to "TRUE". The ORGANIZER property value converts to the Participant's "calendarAddress" property, and the Participant's "isOwner" property is set to true.

The key of the Participant object is the value of the JSID parameter (Section 4.1.1), if set. If no JSID parameter is set, then the key MAY be the UUIDv5 generated from the ORGANIZER property value (see Section 2.1.4). When converting to iCalendar, implementations MAY omit setting the JSID parameter if the key matches the UUIDv5 of the ORGANIZER property value and the key is not part of a JSON pointer in any JSPTR parameter value.

The ORGANIZER property parameters convert to the Participant object as follows:

Table 18: Parameters of the ORGANIZER property
iCalendar parameter JSCalendar property
CN name
EMAIL email
SENT-BY sentBy

These parameters are defined in iCalendar [RFC5545]: CN (Section 3.2.2), SENT-BY (Section 3.2.18); and in New Properties for iCalendar [RFC7986]: EMAIL (Section 6.2).

The EMAIL and SENT-BY parameters convert as described in Section 2.3.4. In addition, the SENT-BY parameter converts to the "sentBy" property [JSCALENDAR] (Section 3.4.5) of its target object.

An ORGANIZER property, an ATTENDEE property, and a PARTICIPANT component in the same iCalendar component all convert to the same Participant object, if their converted "calendarAddress" property values are equal.

The following example illustrates how to convert the ORGANIZER property:

--- iCalendar:
ORGANIZER:mailto:organizer@example.com
ATTENDEE;RSVP=TRUE:mailto:foo@example.com

--- JSCalendar:
"organizerCalendarAddress": "mailto:organizer@example.com",
"participants": {
  "251d3e9f-d83f-534c-8c45-c2896c75670c": {
    "@type": "Participant",
    "calendarAddress": "mailto:organizer@example.com",
    "isOwner": true
  },
  "59eb121c-e8f2-558a-9049-ef750a5976bd": {
    "@type": "Participant",
    "calendarAddress": "mailto:foo@example.com",
    "expectReply": true,
    "...": ""
  }
}
Figure 60: Converting the ORGANIZER property

The following example illustrates how to convert the ORGANIZER property together with an ATTENDEE property for the same calendar address:

--- iCalendar:
ORGANIZER;CN=Jane Doe:mailto:organizer@example.com
ATTENDEE;PARTSTAT=ACCEPTED;CN=Jane Doe:mailto:organizer@example.com
ATTENDEE;RSVP=TRUE;PARTSTAT=TENTATIVE:mailto:foo@example.com

--- JSCalendar:
"organizerCalendarAddress": "mailto:organizer@example.com",
"participants": {
  "251d3e9f-d83f-534c-8c45-c2896c75670c": {
    "@type": "Participant",
    "calendarAddress": "mailto:organizer@example.com",
    "name": "Jane Doe",
    "participationStatus": "accepted",
    "isOwner": true
  },
  "59eb121c-e8f2-558a-9049-ef750a5976bd": {
    "@type": "Participant",
    "calendarAddress": "mailto:foo@example.com",
    "expectReply": true,
    "participationStatus": "tentative",
    "...": ""
  }
}
Figure 61: Converting the ORGANIZER and related ATTENDEE property

The following example illustrates how to convert the ORGANIZER property with a CN parameter if another participant is an owner:

--- iCalendar:
ORGANIZER;CN=Jane Doe:mailto:organizer@example.com
ATTENDEE;OWNER=TRUE;RSVP=TRUE:mailto:foo@example.com

--- JSCalendar:
"organizerCalendarAddress": "mailto:organizer@example.com",
"participants": {
  "251d3e9f-d83f-534c-8c45-c2896c75670c": {
    "@type": "Participant",
    "calendarAddress": "mailto:organizer@example.com",
    "name": "Jane Doe",
    "isOwner": true
  },
  "59eb121c-e8f2-558a-9049-ef750a5976bd": {
    "@type": "Participant",
    "calendarAddress": "mailto:foo@example.com",
    "expectReply": true,
    "isOwner": true,
    "...": ""
  }
}
Figure 62: Converting the ORGANIZER property with CN parameter and another owner

The following example illustrates how to convert the ORGANIZER property if another participant is an owner:

--- iCalendar:
ORGANIZER:mailto:organizer@example.com
ATTENDEE;OWNER=TRUE;RSVP=TRUE:mailto:foo@example.com

--- JSCalendar:
"organizerCalendarAddress": "mailto:organizer@example.com",
"participants": {
  "59eb121c-e8f2-558a-9049-ef750a5976bd": {
    "@type": "Participant",
    "calendarAddress": "mailto:foo@example.com",
    "expectReply": true,
    "isOwner": true,
    "...": ""
  }
}
Figure 63: Converting the ORGANIZER property with another owner

2.3.28. PRIORITY

The PRIORITY property [RFC5545] (Section 3.8.1.9) converts to the "priority" property [JSCALENDAR] (Section 3.4.1) of its target object.

The following example illustrates how to convert the PRIORITY property:

--- iCalendar:
PRIORITY:3

--- JSCalendar:
"priority": 3
Figure 64: Converting the PRIORITY property

2.3.29. PRODID

The PRODID property [RFC5545] (Section 3.7.3) in a VCALENDAR component converts to the Group object's "prodId" property [JSCALENDAR] (Section 3.1.4). Implementations MAY additionally convert it also to the "prodId" property of all calendar objects that are listed in the Group object's "entries" property. If a calendar object is represented without an enclosing Group object, then the PRODID property converts to the "prodId" property of that calendar object.

The property value converts verbatim.

The following example illustrates how to convert the PRODID property:

--- iCalendar:
BEGIN:VCALENDAR
PRODID:-//BAZ//bam//EN
BEGIN:VEVENT
...

--- JSCalendar:
{
  "@type": "Group",
  "prodId": "-//BAZ//bam//EN",
  "entries": [
    {
      "@type": "Event",
      "...": ""
    }
  ],
  "...": ""
}
Figure 65: Converting the PRODID property

2.3.30. RDATE

A RDATE property [RFC5545] (Section 3.8.5.2) converts to a PatchObject value [JSCALENDAR] (Section 1.5.9). The converted object is set in the "recurrenceOverrides" property of its target object.

The property value converts to the key in the "recurrenceOverrides" property value, for values of type PERIOD this only applies to the period start. The date-time value is relative to the timezone identified by the target object's "timeZone" property [JSCALENDAR] (Section 3.6.2), see Section 2.1.6 how to convert DATE and DATE-TIME values. The duration of a PERIOD converts to the PatchObject's "duration" property, otherwise the PatchObject value is an empty JSON object.

Implementations MAY indicate that a recurrence override was converted from an RDATE property by adding an entry to the "convertedProperties" property of the target object's "iCalendar" property (Section 5.1). The entry key is the JSON pointer to the recurrence override, that is, "recurrenceOverrides/" followed by the recurrence id. The entry value is an ICalProperty object with the "name" property set to "rdate", and with the "valueType" property set to "period" if the RDATE value is of type PERIOD.

The following example illustrates how to convert the RDATE property with value type DATE-TIME:

--- iCalendar:
DTSTART:20230101T130000Z
RRULE:FREQ=MONTHLY
RDATE:20230805T170000Z

--- JSCalendar:
"start": "2023-01-01T13:00:00",
"timeZone": "Etc/UTC",
"recurrenceRule": {
  "@type": "RecurrenceRule",
  "frequency": "monthly"
},
"recurrenceOverrides": {
  "2023-08-05T17:00:00": {}
}
Figure 66: Converting the RDATE property

The following example illustrates how to convert the RDATE property with value type PERIOD:

--- iCalendar:
DTSTART:20230101T130000Z
DURATION:PT1H
RRULE:FREQ=MONTHLY
RDATE;VALUE=PERIOD:20231223T150000Z/PT2H

--- JSCalendar:
"start": "2023-01-01T13:00:00",
"duration": "PT1H",
"timeZone": "Etc/UTC",
"recurrenceRule": {
  "@type": "RecurrenceRule",
  "frequency": "monthly"
},
"recurrenceOverrides": {
  "2023-12-23T15:00:00": {
    "duration": "PT2H"
  }
},
"iCalendar": {
  "@type": "ICalComponent",
  "convertedProperties": {
    "recurrenceOverrides/2023-12-23T15:00:00": {
      "@type": "ICalProperty",
      "name": "rdate",
      "valueType": "period"
    }
  },
  "...": ""
}
Figure 67: Converting the RDATE property with value type PERIOD

2.3.31. RECURRENCE-ID

The RECURRENCE-ID property [RFC5545] (Section 3.8.4.4) converts to the "recurrenceId" property [JSCALENDAR] (Section 3.3.1) of its target object. The timezone identifier (Section 2.1.5) of the RECURRENCE-ID property converts to the "recurrenceIdTimeZone" property [JSCALENDAR] (Section 3.3.2).

See Section 2.1.6 how to convert DATE and DATE-TIME values.

The RANGE parameter [RFC5545] (Section 3.2.13) does not convert to a standard JSCalendar element. Implementations MAY preserve it in the "iCalendar" property (Section 5.1).

See Section 2.1.3 for further requirements and examples.

2.3.33. RRULE

The RRULE property [RFC5545] (Section 3.8.5.3) converts to a RecurrenceRule object [JSCALENDAR] (Section 3.3.3). The converted object is set in the "recurrenceRule" property of its target object.

The RECUR value type converts to a RecurrenceRule object as follows:

Table 19: Converting the RECUR value type to a RecurrenceRule object
iCalendar RRULE field JSCalendar RecurrenceRule property
FREQ frequency
UNTIL until
COUNT count
INTERVAL interval
BYSECOND bySecond
BYMINUTE byMinute
BYHOUR byHour
BYDAY byDay
BYMONTHDAY byMonthDay
BYYEARDAY byYearDay
BYWEEKNO byWeekNo
BYMONTH byMonth
BYSETPOS bySetPosition
WKST firstDayOfWeek
RSCALE [RFC7529] rscale
SKIP [RFC7529] skip

The property definitions of the RecurrenceRule object [JSCALENDAR] (Section 3.3.3) define how each RRULE part converts, such as which values convert to lowercase and how a BYDAY value converts to an NDay object. The UNTIL part converts to a LocalDateTime value relative to the timezone of the target object.

The following example illustrates how to convert the RRULE property:

--- iCalendar:
DTSTART;TZID=Europe/Berlin:20240101T010000
RRULE:FREQ=YEARLY
 ;INTERVAL=2
 ;BYMONTH=1
 ;BYDAY=SU
 ;BYHOUR=8,9
 ;BYMINUTE=30
 ;UNTIL=20240930T120000Z

--- JSCalendar:
"recurrenceRule": {
  "@type": "RecurrenceRule",
  "frequency": "yearly",
  "interval": 2,
  "byMonth": [
    "1"
  ],
  "byDay": [
    {
      "@type": "NDay",
      "day": "su"
    }
  ],
  "byHour": [
    8,
    9
  ],
  "byMinute": [
    30
  ],
  "until": "2024-09-30T14:00:00"
},
"start": "2024-01-01T01:00:00",
"timeZone": "Europe/Berlin"
Figure 70: Example for converting the RRULE property

2.3.34. SEQUENCE

The SEQUENCE property [RFC5545] (Section 3.8.7.4) converts to the "sequence" property [JSCALENDAR] (Section 3.1.7) of its target object.

The following example illustrates how to convert the SEQUENCE property:

--- iCalendar:
SEQUENCE:3

--- JSCalendar:
"sequence": 3
Figure 71: Example for converting the SEQUENCE property

2.3.35. SHOW-WITHOUT-TIME

The SHOW-WITHOUT-TIME property (Section 4.2.6) converts to the "showWithoutTime" property [JSCALENDAR] (Section 3.2.4) of its target object. As outlined in the definition of the SHOW-WITHOUT-TIME property, the property is ignored if the temporal value type of its component is DATE, or if the property value is "FALSE".

The following example illustrates how to convert the SHOW-WITHOUT-TIME property:

--- iCalendar:
DTSTART;TZID=America/Chicago:20250521T080000
DURATION:PT12H
SHOW-WITHOUT-TIME;VALUE=BOOLEAN:TRUE

--- JSCalendar:
"start": "2025-05-21T08:00:00",
"timeZone": "America/Chicago",
"duration": "PT12H",
"showWithoutTime": true
Figure 72: Example for converting the SHOW-WITHOUT-TIME property

2.3.36. STATUS

The STATUS property [RFC5545] (Section 3.8.1.11) in a VEVENT component converts to the "status" property [JSCALENDAR] (Section 4.1.3) of the Event object.

The property value converts in lowercase.

The following example illustrates how to convert the STATUS property in a VEVENT component:

--- iCalendar:
STATUS:TENTATIVE

--- JSCalendar:
"status": "tentative"
Figure 73: Converting the STATUS property in a VEVENT

2.3.37. SOURCE

The SOURCE property [RFC7986] (Section 5.8) in a VCALENDAR component converts to the "source" property [JSCALENDAR] (Section 4.2.2) of the Group object.

The following example illustrates how to convert the SOURCE property:

--- iCalendar:
BEGIN:VCALENDAR
SOURCE;VALUE=URI:https://example.com/holidays.ics
...

--- JSCalendar:
{
  "@type": "Group",
  "source": "https://example.com/holidays.ics",
  "...": ""
}
Figure 74: Example for converting the SOURCE property

2.3.38. STYLED-DESCRIPTION

The STYLED-DESCRIPTION property [RFC9073] (Section 6.5) converts to the "description" property [JSCALENDAR] (Section 3.2.2) of its target object under the following conditions:

  • The property value type is TEXT.
  • The FMTTYPE parameter is either not set, or its value is a media type [RFC6838] with top-level type "text".

If these conditions are not met, implementations MAY preserve the property in the "iCalendar" property (Section 5.1).

A STYLED-DESCRIPTION property with DERIVED parameter value "TRUE" is ignored if the component contains a non-derived DESCRIPTION property, or a non-derived STYLED-DESCRIPTION property that converts to the "description" property.

Its FMTTYPE parameter [RFC5545] (Section 3.2.8) converts to the "descriptionContentType" property [JSCALENDAR] (Section 3.2.3).

The following example illustrates how to convert the STYLED-DESCRIPTION property:

--- iCalendar:
STYLED-DESCRIPTION;VALUE=TEXT;FMTTYPE=text/html:
 <html><body>hello\,<b>world</b></body></html>

--- JSCalendar:
"description": "<html><body>hello,<b>world</b></body></html>",
"descriptionContentType": "text/html"
Figure 75: Converting the STYLED-DESCRIPTION property

2.3.39. SUMMARY

The SUMMARY property [RFC5545] (Section 3.8.1.12) in a component other than PARTICIPANT converts to the "title" property [JSCALENDAR] (Section 3.2.1) of its target object. If the LANGUAGE parameter is set, then the parameter value converts to the "locale" property [JSCALENDAR] (Section 3.2.9) of the same object.

The SUMMARY property [RFC5545] (Section 3.8.1.12) in a PARTICIPANT component converts to the "name" property [JSCALENDAR] (Section 3.4.6) of the Participant object. If the Participant object also converts from an ATTENDEE property with a CN parameter, then only one of the two values converts to the "name" property. The other value is ignored.

The following example illustrates how to convert the SUMMARY property in a VEVENT component:

--- iCalendar:
SUMMARY:Birthday Party

--- JSCalendar:
"title": "Birthday Party"
Figure 76: Converting the SUMMARY property in a VEVENT

The following example illustrates how to convert the SUMMARY property with a LANGUAGE parameter:

--- iCalendar:
SUMMARY;LANGUAGE=fr:Fête d'anniversaire

--- JSCalendar:
"title": "Fête d'anniversaire",
"locale": "fr"
Figure 77: Converting the SUMMARY property with LANGUAGE parameter

The following example illustrates how to convert the SUMMARY property in a PARTICIPANT component:

--- iCalendar:
BEGIN:VEVENT
BEGIN:PARTICIPANT
SUMMARY:John
...

--- JSCalendar:
"participants": {
  "858DA9AE-695B-43CD-BA4E-294C945356BC": {
    "@type": "Participant",
    "name": "John",
    "...": ""
  }
}
Figure 78: Converting the SUMMARY property in a PARTICIPANT

2.3.40. TRANSP

The TRANSP property [RFC5545] (Section 3.8.2.7) converts to the "freeBusyStatus" property [JSCALENDAR] (Section 3.4.2) of its target object.

Its values convert as follows:

Table 20: Values of the TRANSP property
TRANSP freeBusyStatus
OPAQUE busy
TRANSPARENT free

The following example illustrates how to convert the TRANSP property:

--- iCalendar:
TRANSP:TRANSPARENT

--- JSCalendar:
"freeBusyStatus": "free"
Figure 79: Converting the TRANSP property

2.3.41. TRIGGER

The TRIGGER property [RFC5545] (Section 3.8.6.3) in a VALARM component converts to either an AbsoluteTrigger or OffsetTrigger object. The converted object is set in the "trigger" property [JSCALENDAR] (Section 3.5.1) of the Alert object.

A property of value type DURATION converts an OffsetTrigger object. The property value converts to its "offset" property. A value of type DATE-TIME converts to an AbsoluteTrigger object. The property value converts to its "when" property.

Its parameters convert as follows:

Table 21: Parameters of the TRIGGER property
iCalendar parameter JSCalendar property Note
RELATED relativeTo If VALUE=DURATION

These parameters are defined in iCalendar [RFC5545]: RELATED (Section 3.2.14).

The following example illustrates how to convert the TRIGGER property to an OffsetTrigger object:

--- iCalendar:
BEGIN:VEVENT
...
BEGIN:VALARM
TRIGGER;RELATED=END:PT5M
...

--- JSCalendar:
"alerts": {
  "2D3D674B-E3E4-4C63-BBF5-4582ED49BCB7": {
    "@type": "Alert",
    "trigger": {
      "@type": "OffsetTrigger",
      "offset": "PT5M",
      "relativeTo": "end"
    },
    "...": ""
  }
}
Figure 80: Converting the TRIGGER property to an OffsetTrigger

The following example illustrates how to convert the TRIGGER property to an AbsoluteTrigger object:

--- iCalendar:
BEGIN:VEVENT
...
BEGIN:VALARM
TRIGGER;VALUE=DATE-TIME:20250302T010203Z
...

--- JSCalendar:
"alerts": {
  "6AB751CF-515B-4925-9B8D-5AA2185F3E64": {
    "@type": "Alert",
    "trigger": {
      "@type": "AbsoluteTrigger",
      "when": "2025-03-02T01:02:03Z"
    },
    "...": ""
  }
}
Figure 81: Converting the TRIGGER property to an AbsoluteTrigger

2.3.42. UID

The UID property [RFC5545] (Section 3.8.4.7) converts to the "uid" property [JSCALENDAR] (Section 3.1.1) of its target object.

The following example illustrates how to convert the UID property:

--- iCalendar:
UID:5ACEA86F-40CF-47EE-9CCA-7C85588A589F

--- JSCalendar:
"uid": "5ACEA86F-40CF-47EE-9CCA-7C85588A589F"
Figure 82: Converting the UID property

2.3.43. URL

The URL property [RFC5545] (Section 3.8.4.6) converts to a Link object [JSCALENDAR] (Section 1.5.11). The converted object is set in the "links" property of its target object. The "rel" property value is set to "describedby".

The key of the Link object is the value of the JSID parameter (Section 4.1.1), if set. If no JSID parameter is set, then the key MAY be the UUIDv5 generated from the property value (see Section 2.1.4). When converting to iCalendar, implementations MAY omit setting the JSID parameter if the key matches the UUIDv5 of the URL property value and the key is not part of a JSON pointer in any JSPTR parameter value.

The URL property value converts to the Link object's "href" property.

The following example illustrates how to convert the URL property:

--- iCalendar:
URL:https://example.com/myurl

--- JSCalendar:
"links": {
  "6669391a-2c73-5b89-9cfe-7a6c95a855e3": {
    "@type": "Link",
    "href": "https://example.com/myurl",
    "rel": "describedby"
  }
}
Figure 83: Converting the URL property

3. Converting JSCalendar to iCalendar

3.1. Alert

The Alert object [JSCALENDAR] (Section 3.5.1) converts to a VALARM component (Section 2.2.2). Its properties convert as follows:

Table 22: Properties of the Alert object
JSCalendar property iCalendar property (or other) Section
acknowledged ACKNOWLEDGED 2.3.1
action ACTION 2.3.2
relatedTo RELATED-TO

2.3.32, and remarks below

trigger TRIGGER 2.3.41

Remarks:

  • The value of the RELATED-TO property is the UID property value of that VALARM component, to which the related Alert object converts to. Consequently, the UID property for such a VALARM MUST be set, otherwise the UID property MAY be set.

Other properties MAY be converted to JSPROP properties (Section 4.2.5) in the VALARM component.

3.2. Calendar Objects

The Event calendar object [JSCALENDAR] (Section 2.2) converts to a VEVENT component (Section 2.2.3). Future specifications may define conversion rules for other calendar object types.

In the iCalendar component, the value data types of all properties that convert from a LocalDateTime value of the calendar object, such as DTSTART and RECURRENCE-ID, MUST be of the same form, either DATE, or DATE WITH LOCAL TIME, or DATE WITH UTC TIME, or DATE WITH LOCAL TIME AND TIME ZONE REFERENCE (see Section 3.3.5 of [RFC5545]).

The form is chosen as follows:

  1. It MUST be DATE if the "showWithoutTime" property value is "true", the "timeZone" property value is not set, and the time component is zero in all LocalDateTime and Duration values of the calendar object, including the RecurrenceRule object's "until" property and any key of the "recurrenceOverrides" property value.
  2. Otherwise, it MAY be DATE WITH UTC TIME if the "timeZone" property value is "Etc/UTC" and the calendar object does not specify any other time zone, such as in the "endTimeZone" property of an Event.
  3. Otherwise, it MUST be DATE WITH LOCAL TIME if the "timeZone" property is not set.
  4. Otherwise, it MUST be DATE WITH LOCAL TIME AND TIME ZONE REFERENCE.

If a property in the iCalendar component has a TZID parameter, then Section 3.6.5 of [RFC5545] requires the VCALENDAR component to contain a VTIMEZONE component for that TZID parameter value. If the "iCalendar" property (Section 5.1) of the calendar object or one of its enclosing Groups preserved a VTIMEZONE component for that TZID, then implementations MAY use it.

The following table defines how to convert the properties that are common to all calendar objects. Table 24 later in this section defines how to convert properties specific to Event objects.

Table 23: Properties of calendar objects
JSCalendar property iCalendar property (or other) Section
alerts VALARM (component) 3.1
categories CONCEPT 2.3.9
color COLOR 2.3.8
created CREATED 2.3.12
description DESCRIPTION, or STYLED-DESCRIPTION

2.3.13, 2.3.38, and remarks below

descriptionContentType FMTTYPE (parameter) of STYLED-DESCRIPTION

2.3.38, and remarks below

freeBusyStatus TRANSP

2.3.40

keywords CATEGORIES

2.3.6

links ATTACH, or other

3.4

locale LANGUAGE (parameter) of SUMMARY property

2.3.39

locations LOCATION, GEO, or VLOCATION (component)

3.5

mainLocationId LOCATION

3.5

method METHOD of iCalendar object

2.3.25, and 3.3

organizerCalendarAddress ORGANIZER

2.3.27

participants ATTENDEE, or PARTICIPANT (component)

3.6

priority PRIORITY

2.3.28

privacy CLASS

2.3.7, and remarks below

prodId PRODID of iCalendar object

2.3.29, and 3.3

recurrenceId RECURRENCE-ID

2.3.31

recurrenceIdTimeZone TZID (parameter) of RECURRENCE-ID

2.3.31

recurrenceOverrides RDATE, EXDATE or recurrence override component 2.1.3, and remarks below
recurrenceRule RRULE

2.3.33, and remarks below

relatedTo RELATED-TO

2.3.32

sentBy SENT-BY (parameter) of ORGANIZER

2.3.27, and remarks below

sequence SEQUENCE

2.3.34

showWithoutTime SHOW-WITHOUT-TIME

2.3.35, and remarks below

start DTSTART

2.3.16

timeZone TZID (parameter) of DTSTART, and other properties that convert from LocalDateTime values

2.3.16

title SUMMARY

2.3.39

uid UID

2.3.42

updated DTSTAMP, and LAST-MODIFIED

2.3.15, 2.3.21, and remarks below

virtualLocations CONFERENCE

2.3.10

Remarks:

  • The "descriptionContentType" property value determines if the "description" property converts to the DESCRIPTION or STYLED-DESCRIPTION property. A description of content type "text/plain" converts to the DESCRIPTION property. Any other description converts to the STYLED-DESCRIPTION property, in which case a plain text version of the rich-text description MAY be set additionally in the DESCRIPTION property, having its DERIVED parameter set to "TRUE".

  • The "privacy" property converts to the CLASS property of the main component and all recurrence overrides. If the property value is "private" and the iCalendar/properties property (Section 5.1) contains a CLASS property with an unknown value, then implementations MAY convert that preserved property rather than setting the "PRIVATE" classification. In either case, only one CLASS property is set per calendar component.

  • The entries in the "recurrenceOverrides" property convert depending on the contents of the PatchObject value:

    • A PatchObject that sets the "excluded" member to "true" converts to an EXDATE property for the date-time of that recurrence instance.
    • Otherwise, the recurrence id converts to an RDATE property if the "iCalendar/convertedProperties" property contains an entry for it with name "rdate", or if the recurrence id is not a date-time generated by the "recurrenceRule" property. If that entry has the "valueType" property set to "period", then the RDATE value is of type PERIOD.
    • In addition, a PatchObject that is neither empty nor only sets the "duration" property of an RDATE of type PERIOD converts to a recurrence override component in the embedding VCALENDAR component.
  • The "until" property of the "recurrenceRule" property converts to an UNTIL value of the same form as the DTSTART property value; if the DTSTART property value is of the form DATE WITH LOCAL TIME AND TIME ZONE REFERENCE, then the UNTIL value is of the form DATE WITH UTC TIME instead, as required by Section 3.3.10 of [RFC5545].

  • The "sentBy" property converts to the SENT-BY parameter of the ORGANIZER property with a "mailto" URI value. See Section 2 of the "mailto" URI Scheme specification [RFC6068] for how to percent-encode internationalized email addresses.

  • The "showWithoutTime" property only converts to the SHOW-WITHOUT-TIME property if the value data types of the properties that convert from LocalDateTime values are of form DATE WITH UTC TIME or DATE WITH LOCAL TIME.

  • The "updated" property converts to the DTSTAMP property. It converts to the LAST-MODIFIED property only if the calendar object does not have a "method" property.

Properties specific to the Event object type convert to iCalendar properties as follows:

Table 24: Properties of the Event object
JSCalendar property iCalendar property (or other) Section
duration DURATION, or DTEND

2.3.17, 2.3.14, and remarks below

endTimeZone TZID parameter of DTEND

2.3.14

status STATUS

2.3.36

Remarks:

  • If the DTSTART property has value type DATE, then a "duration" property value of "P1D" need not convert to the DTEND or DURATION property.

  • The "duration" property converts to the DTEND property if the "endTimeZone" property is set and its value differs from the "timeZone" property value. Otherwise, if the event recurs and the duration contains days or weeks, then implementations SHOULD use the DURATION property. Otherwise, whether it converts to the DTEND or the DURATION property is implementation-specific.

Other properties MAY be converted to JSPROP properties (Section 4.2.5) in the iCalendar component to which the calendar object converts.

3.3. Group

The Group object [JSCALENDAR] (Section 2.3) converts to a VCALENDAR component (Section 2.1.2). The calendar objects in its "entries" property [JSCALENDAR] (Section 4.2.1) convert as defined in Section 3.2. Its properties convert as follows:

Table 25: Properties of the Group object
JSCalendar property iCalendar property (or other) Section
categories CONCEPT

2.3.9

color COLOR

2.3.8

created CREATED

2.3.12

description DESCRIPTION, or STYLED-DESCRIPTION

2.3.13, 2.3.38, and remarks below

entries component of the calendar object

3.2, and remarks below

keywords CATEGORIES

2.3.6

links ATTACH, or other

3.4

locale LANGUAGE (parameter) of NAME property

2.3.26

prodId PRODID

2.3.29, and remarks below

source SOURCE

2.3.37

title NAME

2.3.26

uid UID

2.3.42

updated LAST-MODIFIED

2.3.21

Remarks:

  • The "descriptionContentType" property value determines if the "description" property converts to the DESCRIPTION or STYLED-DESCRIPTION property. A description of content type "text/plain" converts to the DESCRIPTION property. Any other description converts to the STYLED-DESCRIPTION property, in which case a plain text version of the rich-text description MAY be set additionally in the DESCRIPTION property, having its DERIVED parameter set to "TRUE".

  • The "prodId" property value of the Group object is expected to be equal to the "prodId" property value of all the Group entries. They all convert to the same, single PRODID property in the VCALENDAR component. If neither the Group object nor any of its entries has the "prodId" property set, then the PRODID property is set to the product identifier of the implementation performing the conversion.

  • The "method" property value in all the Group entries is expected to be equal.

Other properties MAY be converted to JSPROP properties (Section 4.2.5) in the VCALENDAR component.

3.5. Location

The Location object [JSCALENDAR] (Section 3.2.5) converts to either a LOCATION (Section 2.3.23) or GEO (Section 2.3.19) property, or it converts to a VLOCATION component (Section 2.2.4). As a guideline:

  • If the "iCalendar" property on the Location object is set, or the parent JSCalendar object contains an entry for that Location in the "convertedProperties" property of its "iCalendar" property, then convert the object back to the named iCalendar component or property.
  • Choose LOCATION if the key of the Location object in the "locations" property matches the "mainLocationId" property [JSCALENDAR] (Section 3.2.6), or if the "name" property is set and the iCalendar component does not already contain a LOCATION property. The "name" property converts to the LOCATION property value.
  • Choose the VLOCATION component otherwise.

Implementations MAY convert one of the Location objects to both a VLOCATION component and the LOCATION and GEO properties of the component that contains the VLOCATION component. In this case, the DERIVED parameter MUST be set on the LOCATION and GEO properties with value "TRUE".

The properties convert to a VLOCATION component as follows:

Table 27: Properties of the Location object
JSCalendar property iCalendar property (or other) Section
coordinates COORDINATES 2.3.11, 2.3.19
links ATTACH, or other

3.4

locationTypes LOCATION-TYPE 2.3.24
name NAME 2.3.26

Other properties MAY be converted to JSPROP properties (Section 4.2.5) in the VLOCATION component, or the component which the Location converts to as a property.

3.6. Participant

The Participant object [JSCALENDAR] (Section 3.4.6) converts to an ATTENDEE property (Section 2.3.4) and PARTICIPANT component (Section 2.2.1), unless it is fully represented by the ORGANIZER property (Section 2.3.27):

  • It is fully represented by the ORGANIZER property if its "calendarAddress" property value matches the "organizerCalendarAddress" property value, and, apart from the "isOwner" property, it only has properties set that convert to ORGANIZER parameters (see Table 18).

  • Otherwise, it converts to an ATTENDEE property if the "calendarAddress" property is set. The "calendarAddress" converts to the ATTENDEE property value.

  • It converts to a PARTICIPANT component if any of the Participant properties in Table 29 convert to it. The "name" property converts to the SUMMARY property of the PARTICIPANT component only if the Participant object does not convert to an ATTENDEE property. If the Participant object also converts to an ATTENDEE property, then the CALENDAR-ADDRESS property value of the PARTICIPANT component MUST match the ATTENDEE property value.

The following Participant properties convert to parameters of the ATTENDEE property.

Table 28: Properties of the Participant object that convert to the ATTENDEE property
JSCalendar property iCalendar parameter (or other) Section
delegatedFrom DELEGATED-FROM 2.3.4
delegatedTo DELEGATED-TO 2.3.4
email EMAIL 2.3.4, and remarks below
expectReply RSVP 2.3.4
isOwner OWNER 2.3.4, and remarks below
kind CUTYPE 2.3.4
memberOf MEMBER 2.3.4
name CN 2.3.4, and remarks below
participationStatus PARTSTAT 2.3.4
role ROLE 2.3.4
sentBy SENT-BY 2.3.4, and remarks below

Remarks:

  • The "isOwner" property needs not convert to the OWNER parameter of the ATTENDEE property if the Participant object converts to both the ATTENDEE and ORGANIZER property.

  • The "name", "email" and "sentBy" properties also convert to parameters of the ORGANIZER property, if the Participant converts to the ORGANIZER property.

  • The "sentBy" property converts to a SENT-BY parameter with a "mailto" URI value. See Section 2 of the "mailto" URI Scheme specification [RFC6068] for how to percent-encode internationalized email addresses.

The following Participant properties convert to the PARTICIPANT component:

Table 29: Properties of the Participant object that convert to the PARTICIPANT component
JSCalendar property iCalendar property (or other) Section
description DESCRIPTION, or STYLED-DESCRIPTION

2.3.13, 2.3.38, and remarks below

descriptionContentType FMTTYPE (parameter) of STYLED-DESCRIPTION

2.3.38

links ATTACH, or other

3.4

name SUMMARY

2.3.39

Other properties MAY be converted to JSPROP properties (Section 4.2.5) in the PARTICIPANT component, or the component which the Participant converts to as a property.

3.7. VirtualLocation

The VirtualLocation object [JSCALENDAR] (Section 3.2.7) converts to a CONFERENCE property (Section 2.3.10).

The "uri" property converts to the CONFERENCE property value.

The following properties convert to parameters of the CONFERENCE property:

Table 30: Properties of the VirtualLocation object
JSCalendar property iCalendar parameter (or other) Section
features FEATURE 2.3.10
name LABEL 2.3.10

4. New iCalendar Definitions

4.1. Parameters

4.1.1. JSID Parameter

This section defines the new JSID parameter.

Parameter Name:
JSID
Format Definition:
jsid-param  = "JSID" "=" param-value
Description:

This parameter is specific to conversion between iCalendar and JSCalendar. It specifies the JSON object key of the JSCalendar object to which an iCalendar property converts to. For example, this parameter set on an ATTACH property within a VEVENT component defines the key of the Link object in the Event object's "links" property (see below for an example).

The value of the JSID parameter MUST be a valid key according to the definition of the JSCalendar property to which the property that this parameter is set on converts to. Typically, this requires the value to be a valid Id [JSCALENDAR] (Section 1.5.1).

Example(s):
--- iCalendar:
ATTACH;JSID=mylink1:https://example.com

--- JSCalendar:
"links": {
  "mylink1": {
    "@type": "Link",
    "href": "https://example.com"
  }
}
Figure 84: Converting the JSID parameter on an ATTACH property

4.1.2. JSPTR Parameter

This section defines the new JSPTR parameter.

Parameter name:
JSPTR
Purpose:
To specify a pointer to a JSCalendar property.
Description:

This parameter is specific to conversion between iCalendar and JSCalendar. It is set on a JSPROP (Section 4.2.5) property. Its value points to a JSCalendar property. The parameter has a single value that MUST be a valid PatchObject key as defined in Section 1.5.9 of [JSCALENDAR]. The parameter value MUST be quoted.

Format definition:
jsptr-param  = "JSPTR" "=" quoted-string
Example(s):

For further examples, see Section 4.2.5.

JSPROP;JSPTR="example.com:foo":"bar"

4.1.3. OWNER Parameter

This section defines the new OWNER parameter.

Parameter Name:
OWNER
Format Definition:
owner-param = "OWNER" "=" ("TRUE" / "FALSE")
              ; Default is FALSE
Description:
This parameter can be specified on the ATTENDEE property. It indicates whether the calendar user is an owner of the calendar object. This signifies they can make changes that affect all calendar users participating in this calendar object (for example, rescheduling the calendar object, adding and removing attendees and changing their participation roles). The presence of this parameter is only indicative; its semantics are subject to the calendaring exchange protocol being used. See JMAP for Calendars [JMAP-CAL] for an example of making use of this parameter.
Example(s):
ATTENDEE;OWNER=TRUE;RSVP=TRUE:mailto:jsmith@example.com

4.2. Properties

The new properties defined in this section follow the recommendation of Section 3 of New Properties for iCalendar [RFC7986] that properties not defined in the iCalendar specification [RFC5545] always include a VALUE parameter if the value type is other than TEXT. Accordingly, the new properties with a value type other than TEXT have no default value type.

4.2.1. COLOR Property

This section modifies the definition of the COLOR property. It allows its value to be a named color or a numeric color. The following definitions replace the definitions of the COLOR property, originally specified in Section 5.9 of New Properties for iCalendar [RFC7986], from which the definitions for "Description", "Format Definition" and "Example" differ.

Property Name:
COLOR
Purpose:
This property specifies a color used for displaying the calendar, event, todo, or journal data.
Value Type:
TEXT
Property Parameters:
IANA and non-standard property parameters can be specified on this property.
Conformance:
This property can be specified once in an iCalendar object or in VEVENT, VTODO, or VJOURNAL calendar components.
Description:

This property specifies a color that clients MAY use when presenting the relevant data to a user. Typically, this would appear as the "background" color of events or tasks. The value is a color name taken from the set of names defined in Section 4.3 of CSS Color Module Level 3 [CSS3] or an RGB value in six-digit hexadecimal notation, as defined in Section 4.2.1 of [CSS3]. Values are case-insensitive.

Format Definition:

This property is defined by the following notation:

color       = "COLOR" colorparam ":" text CRLF
              ; Value is a CSS3 color name or
              ; a CSS3 six-digit RGB hex value.

colorparam     = *(";" other-param)
Example:

The following are examples of this property:

COLOR:turquoise
COLOR:#40E0D0
COLOR:#ffd755

4.2.2. COORDINATES Property

This section defines the new COORDINATES property.

Property Name:
COORDINATES
Purpose:
To represent a geographic location using the protocol-independent, extensible "geo" URI scheme.
Value Type:
URI -- no default
Property Parameters:
IANA and non-standard parameters MAY be specified on this property.
Conformance:
This property can be specified at most once in a VLOCATION calendar component.
Description:

This property represents spatial (geographic) coordinates. In contrast to the GEO property, this property allows to represent not only latitude and longitude but also altitude of a location, and to indicate the uncertainty of the coordinates. It improves interoperability with other internet standards making use of spatial information, and is extensible, such as for use with other coordinate reference systems. The property value MUST a URI in the "geo" URI scheme, as defined in [RFC5870] and updates.

Format Definition:
coord       = "COORDINATES" coordparam ":" uri CRLF

coordparam  = *(
               ;
               ; The following is REQUIRED,
               ; but MUST NOT occur more than once.
               ;
               (";" "VALUE" "=" "URI") /
               ;
               ; The following is OPTIONAL,
               ; and MAY occur more than once.
               ;
               (";" other-param)
               ;
               )
Example:

The following is an example of this property:

COORDINATES;VALUE=URI:geo:48.198634,16.371648;crs=wgs84;u=40

4.2.3. GEO Property

This section deprecates the GEO property and introduces the COORDINATES (Section 4.2.2) property to replace it. Implementations SHOULD NOT use the GEO property to represent spatial coordinates. Instead, they SHOULD specify the COORDINATES property in a VLOCATION component [RFC9073] (Section 7.2). They MAY additionally specify a GEO property in a VEVENT or VTODO component, in which case its DERIVED parameter [RFC9073] (Section 5.3) MUST have value "TRUE".

The remainder of this section documents the rationale for deprecating the GEO property:

The GEO property definition dates back to 1998, a time at which multiple internet protocols and data formats incorporated spatial coordinates in slightly different formats, making interoperability difficult. This got addressed in 2010 in [RFC5870], which introduced a Uniform Resource Identifier (URI) for geographic locations. The 'geo' URI scheme not only improves interoperability but also allows for richer information than the GEO property value, e.g. it supports specifying the location altitude and the spatial uncertainty of the coordinates.

Alternatively to deprecating, this specification could have updated the GEO property to allow its property value type to be URI. This turned out to not interoperate, as implementations tended to reject such iCalendar data as invalid. This was regardless if the GEO property was specified in a VEVENT component, or if it was specified in iCalendar components that were unsupported by the implementation (e.g. an implementation that was unaware of the VLOCATION component still rejected the GEO property with value type URI in that component as invalid). Introducing a new property turned out to better interoperate with such systems.

4.2.4. JSID Property

This section defines the new JSID property.

Property Name:
JSID
Purpose:
This property is specific to conversion between iCalendar and JSCalendar. It preserves the identifier of a JSCalendar object value in iCalendar.
Value type:
TEXT; also see "Format Definition" below for value restrictions.
Property Parameters:
IANA and non-standard property parameters can be specified on this property.
Conformance:
This property can be specified at most once in any calendar component.
Description:

This property is specific to conversion between iCalendar and JSCalendar. It specifies the JSON object key of the JSCalendar object to which an iCalendar component converts to. For example, this property set in a VALARM component within a VEVENT component defines the key of the Alert object in the Event object's "alerts" property (see Figure 85).

The value of the JSID property MUST be a valid object key according to the definition of the JSCalendar property to which the component converts to.

Format Definition:

This property is defined by the following notation:

jsid-prop = "JSID" *(";" other-param) ":" TEXT CRLF
Example(s):

The following example illustrates how to convert the JSID property set in a VALARM component.

--- iCalendar:
BEGIN:VEVENT
...
BEGIN:VALARM
UID:52DFB000-3C49-4577-8003-3086001BD26A
JSID:myalert
...
END:VALARM

--- JSCalendar:
"@type": "Event",
"alerts": {
  "myalert": {
    "@type": "Alert",
    "iCalendar": {
      "@type": "ICalComponent",
      "name": "valarm",
      "properties": [
        [
          "uid",
          {},
          "text",
          "52DFB000-3C49-4577-8003-3086001BD26A"
        ]
      ]
    },
    "...": ""
  }
}
Figure 85: Converting the JSID property of a VALARM component

4.2.5. JSPROP Property

This section defines the new JSPROP property.

Property Name:
JSPROP
Purpose:
This property is specific to conversion between iCalendar and JSCalendar. It represents a JSCalendar property in iCalendar.
Value type:
TEXT; also see "Format Definition" below for value restrictions.
Property Parameters:
The JSPTR parameter (Section 4.1.2) MUST be specified on this property. Other IANA and non-standard property parameters can be specified on this property.
Conformance:
This property can be specified multiple times in any calendar component.
Description:

This property converts an arbitrary JSCalendar property from and to iCalendar. The iCalendar property value is the JSON-encoded value of the JSCalendar property, represented as a TEXT value. The JSON value MUST NOT be the null value, and it SHOULD NOT contain insignificant whitespace as defined in Section 2 of the JSON specification [RFC8259]. The value of the JSPTR parameter points to the JSCalendar property within the JSCalendar object and MUST NOT start with the SOLIDUS (U+002F) character. The pointer MUST NOT reference into an array.

All JSPROP properties in a calendar component together form a PatchObject [JSCALENDAR] (Section 1.5.9): the JSPTR parameter of a JSPROP property corresponds to a key in the PatchObject, the property value corresponds to the JSON value for that key. When converting from iCalendar to JSCalendar, the PatchObject MUST only be applied after all other iCalendar elements of the component have been converted. Only new properties are allowed to be set, a JSON pointer in the PatchObject that points to an existing property MUST be ignored.

Format Definition:

This property is defined by the following notation:

jsprop = "JSPROP" jsprop-param ":" TEXT CRLF

jsprop-param  = *(
          ; The following are MANDATORY and MUST NOT
          ; occur more than once
          ( ";" jsptr-param )
          ;
          ; The following is OPTIONAL
          ; and MAY occur more than once.
          ;
          (";" other-param)
          ;
          )
Example(s):

The following example illustrates how to convert a JSPROP property with a JSON boolean value

--- iCalendar:
JSPROP;JSPTR="example.com:foo":true

--- JSCalendar:
"example.com:foo": true
Figure 86: Converting the JSPROP property with a JSON boolean value

The following example illustrates how to convert a JSPROP property with a JSON object value

--- iCalendar:
JSPROP;JSPTR="example.com:foo":{"bar":1234\,"baz":"bam"}

--- JSCalendar:
"example.com:foo": {
  "bar": 1234,
  "baz": "bam"
}
Figure 87: Converting the JSPROP property with a JSON object value

The following example illustrates how to convert a JSPROP property that points to a property within a JSCalendar Alert. The JSON pointer in the JSPTR parameter is relative to the Alert object.

--- iCalendar:
BEGIN:VEVENT
...
BEGIN:VALARM
JSPROP;JSPTR="example.com:foo":"bar"
...
END:VALARM

--- JSCalendar:
"@type": "Event",
"alerts": {
  "DB7A8058-2212-46D9-87C2-867C7F65D625": {
    "@type": "Alert",
    "example.com:foo": "bar",
    "...": ""
  }
}
Figure 88: Converting the JSPROP property within a VALARM component

The following example illustrates how to convert a JSPROP property that points to a property within a JSCalendar Link. The JSON pointer in the JSPTR parameter is relative to the Event object because the Link object converts to an iCalendar property. The JSID parameter (Section 4.1.1) on the ATTACH property ensures that the JSON path remains valid during conversion.

4.2.6. SHOW-WITHOUT-TIME Property

This section defines the new SHOW-WITHOUT-TIME property.

Property Name:
SHOW-WITHOUT-TIME
Purpose:
To indicate that the exact time span is not important when displaying this calendar object.
Value Type:
BOOLEAN -- no default
Property Parameters:
IANA and non-standard parameters can be specified on this property.
Conformance:
This property can be specified in a VEVENT or VTODO calendar component.
Description:

This indicates that the exact time span is not important to display when rendering this calendar object. An example of this is an event that occurs over a full or almost full day, but in contrast to a DATE value is limited to a specific time zone or business hours. While the time component is important for free-busy calculations and checking for scheduling clashes, calendars may choose to display it as an all-day event, or display the object separately to other objects to enhance the user's view of their schedule.

This property only is for presentation purposes, it does not have any impact on the temporal span or value type of a calendar object.

This property MAY be specified on VEVENT components where the DTSTART property is of type DATE-TIME, or in VTODO components where either the DTSTART or DUE property is specified and has type DATE-TIME. In all other cases it MUST NOT be set. If this property is set, its property value MUST be "TRUE", i.e., it is omitted rather than having value "FALSE".

Implementations that are unaware of the SHOW-WITHOUT-TIME property might inadvertently preserve this property when changing a calendar object's temporal type from DATE-TIME to DATE. Implementations SHOULD therefore ignore rather than reject the incorrectly specified SHOW-WITHOUT-TIME property, and remove it from the calendaring data.

Format Definition:
showwt      = "SHOW-WITHOUT-TIME" showwtparam ":" "TRUE" CRLF

showwtparam = *(
               ;
               ; The following is REQUIRED,
               ; but MUST NOT occur more than once.
               ;
               (";" "VALUE" "=" "BOOLEAN") /
               ;
               ; The following is OPTIONAL,
               ; and MAY occur more than once.
               ;
               (";" other-param)
               ;
               )
Example:
SHOW-WITHOUT-TIME;VALUE=BOOLEAN:TRUE

5. New JSCalendar Definitions

5.1. iCalendar Property

This section defines the new "iCalendar" property.

Name:
iCalendar
Context:
Any JSCalendar object type that converts to an iCalendar component.
Type:
ICalComponent (optional)
Description

This property is specific to conversion between JSCalendar and iCalendar. It contains information about iCalendar data that got converted to this JSCalendar object. It allows for preserving the name of iCalendar elements, such as a component's name, properties and subcomponents. This specification defines the ICalComponent object type for converting iCalendar components to a JSCalendar object. Future specifications MAY define additional value types for this property.

This document defines this property for the Alert, Event, Group, Location and Participant object types. A specification that defines how another JSCalendar object type converts to an iCalendar component can add that type to the Property Context of the "iCalendar" property in the "JSCalendar Properties" registry.

An ICalComponent object has the following properties:

@type: String
This specifies the type of this object. This MUST be "ICalComponent", if set.
name: String (mandatory)
This is the name of the iCalendar component in lowercase.
components: *[][] (optional)
This contains subcomponents of the iCalendar component which did not convert to standard JSCalendar elements. The value MUST be a list of iCalendar components formatted in jCal as defined in Section 3.3 of [RFC7265]. The order of the list elements is not significant.
convertedProperties: String[ICalProperty] (optional)

This contains conversion-related information about the component's properties that got partially or fully converted to JSCalendar. Each key defines the path to a JSCalendar element. The value for each key contains information about the iCalendar property which converted to the JSCalendar element located at that key. Unless otherwise defined for a specific iCalendar property, the path points to the JSCalendar property that the iCalendar property value converts to.

The key MUST be a valid key of a PatchObject as defined in Section 1.5.9 of [JSCALENDAR]. The key MAY point to the key in a nested object if the element at that key was converted from an iCalendar property of the component for which the "iCalendar" property is set. It MUST NOT point into nested objects otherwise.

properties: *[][] (optional)
This contains properties of the iCalendar component which did not convert to standard JSCalendar elements. The value MUST be a list of iCalendar properties formatted in jCal as defined in Section 3.4 of [RFC7265]. The order of the list elements is not significant.

An ICalProperty object has the following properties:

@type: String
This specifies the type of this object. This MUST be "ICalProperty", if set.
name: String (mandatory)
This is the name of the iCalendar property in lowercase.
valueType: String (optional)
This is the name of the iCalendar property value type in lowercase.
parameters: String[String|String[]] (optional)
This contains parameters of the iCalendar property. The value MUST comply with iCalendar parameters formatted in jCal as defined in Section 3.5 of [RFC7265].

The example in Figure 90 describes how to convert unknown iCalendar elements to the "iCalendar" property. The X-FOO parameter set on the SUMMARY property illustrates how to preserve an unknown iCalendar parameter on a property that does convert to a standard JSCalendar element. The X-BAR property and X-BAZ component illustrate how to convert entirely unknown iCalendar elements.

--- iCalendar:
BEGIN:VEVENT
SUMMARY;X-FOO=bar:test
...
X-BAR:bam
...
BEGIN:X-BAZ
UID:507A08F9-81D8-4D16-9480-D6D75E977943
END:X-BAZ
...

--- JSCalendar:
{
  "@type": "Event",
  "title": "test",
  "iCalendar": {
    "@type": "ICalComponent",
    "name": "vevent",
    "convertedProperties": {
      "title": {
        "@type": "ICalProperty",
        "name": "summary",
        "parameters": {
          "x-foo": "bar"
        }
      }
    },
    "properties": [
      [
        "x-bar",
        {},
        "unknown",
        "bam"
      ]
    ],
    "components": [
      [
        "x-baz",
        [
          [
            "uid",
            {},
            "text",
            "507A08F9-81D8-4D16-9480-D6D75E977943"
          ]
        ],
        []
      ]
    ]
  },
  "...": ""
}
Figure 90: Converting unknown iCalendar elements to the "iCalendar" property

6. Security Considerations

The security considerations of Section 6 of [JSCALENDAR] and Section 7 of iCalendar [RFC5545] apply. In addition, the two formats do not map one-to-one, which introduces the following risks:

New Properties for iCalendar [RFC7986] describes the security considerations for the COLOR property and its related JSCalendar "color" property.

The newly defined iCalendar OWNER parameter (Section 4.1.3) is indicative only: its presence in an iCalendar object does not by itself grant any authorization. Implementations MUST NOT grant a calendar user the ability to make changes to a calendar object based solely on the presence of this parameter; authorization is determined by the calendaring exchange protocol in use. In the context of JMAP Calendars [JMAP-CAL], this parameter is equivalent to the "isOwner" property of the Participant object. Its semantics in the context of other calendaring exchange protocols, such as CalDAV [RFC4791], are not defined by this document.

7. IANA Considerations

7.1. Changes to the "iCalendar Element Registries"

IANA will change the entry for the GEO property in the "Properties" registry: it will set the Status from "Current" to "Deprecated" and add Section 4.2.3 of this document to the References.

IANA will change the entry for the COLOR property in the "Properties" registry: it will add Section 4.2.1 of this document to the References.

IANA will add the following entries to the "Properties" registry:

Property
COORDINATES
Status
Current
Reference
Section 4.2.2
Property
JSID
Status
Current
Reference
Section 4.2.4
Property
JSPROP
Status
Current
Reference
Section 4.2.5
Property
SHOW-WITHOUT-TIME
Status
Current
Reference
Section 4.2.6

IANA will add the following entries to the "Parameters" registry:

Parameter
JSID
Status
Current
Reference
Section 4.1.1
Parameter
JSPTR
Status
Current
Reference
Section 4.1.2
Parameter
OWNER
Status
Current
Reference
Section 4.1.3

7.2. Changes to the "JSCalendar Registries"

IANA will add the following entries to the "JSCalendar Properties" registry:

Property Name
components
Property Type
*[][]
Property Context
ICalComponent
Reference/Description
Section 5.1
Intended Usage
common
Since Version
2.0
Is Per-User
no
Change Controller
IETF
Property Name
convertedProperties
Property Type
String[ICalProperty]
Property Context
ICalComponent
Reference/Description
Section 5.1
Intended Usage
common
Since Version
2.0
Is Per-User
no
Change Controller
IETF
Property Name
iCalendar
Property Type
ICalComponent
Property Context
Event, Group, Location, Participant
Reference/Description
Section 5.1
Intended Usage
common
Since Version
2.0
Is Per-User
no
Change Controller
IETF
Property Name
iCalendar
Property Type
ICalComponent
Property Context
Alert
Reference/Description
Section 5.1
Intended Usage
common
Since Version
2.0
Is Per-User
yes
Change Controller
IETF
Property Name
name
Property Type
String
Property Context
ICalComponent, ICalProperty
Reference/Description
Section 5.1
Intended Usage
common
Since Version
2.0
Is Per-User
no
Change Controller
IETF
Property Name
parameters
Property Type
String[String|String[]]
Property Context
ICalProperty
Reference/Description
Section 5.1
Intended Usage
common
Since Version
2.0
Is Per-User
no
Change Controller
IETF
Property Name
properties
Property Type
*[][]
Property Context
ICalComponent
Reference/Description
Section 5.1
Intended Usage
common
Since Version
2.0
Is Per-User
no
Change Controller
IETF
Property Name
valueType
Property Type
String
Property Context
ICalProperty
Reference/Description
Section 5.1
Intended Usage
common
Since Version
2.0
Is Per-User
no
Change Controller
IETF

IANA will update the following entry in the "JSCalendar Properties" registry. The entry is identified by its Property Name. The values listed for the other fields are appended to the comma-separated values already set for these fields, unchanged fields are omitted.

Property Name
@type
Property Context
ICalComponent, ICalProperty
Reference/Description
Section 5.1

IANA will add the following entries to the "JSCalendar Types" registry:

Type Name
ICalComponent
Reference/Description
Section 5.1
Intended Usage
common
Since Version
2.0
Change Controller
IETF
Type Name
ICalProperty
Reference/Description
Section 5.1
Intended Usage
common
Since Version
2.0
Change Controller
IETF

8. References

8.1. Normative References

[CSS3]
Çelik, T., Lilley, C., and L. Baron, "CSS Color Module Level 3", W3C Recommendation, , <https://www.w3.org/TR/css-color-3/>.
[JSCALENDAR]
Jenkins, N. and R. Stepanek, "JSCalendar 2.0: A JSON Representation of Calendar Data", Work in Progress, Internet-Draft, draft-ietf-calext-jscalendarbis-22, , <https://datatracker.ietf.org/doc/html/draft-ietf-calext-jscalendarbis-22>.
[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, , <https://www.rfc-editor.org/info/rfc2119>.
[RFC2397]
Masinter, L., "The "data" URL scheme", RFC 2397, DOI 10.17487/RFC2397, , <https://www.rfc-editor.org/info/rfc2397>.
[RFC5234]
Crocker, D., Ed. and P. Overell, "Augmented BNF for Syntax Specifications: ABNF", STD 68, RFC 5234, DOI 10.17487/RFC5234, , <https://www.rfc-editor.org/info/rfc5234>.
[RFC5545]
Desruisseaux, B., Ed., "Internet Calendaring and Scheduling Core Object Specification (iCalendar)", RFC 5545, DOI 10.17487/RFC5545, , <https://www.rfc-editor.org/info/rfc5545>.
[RFC5870]
Mayrhofer, A. and C. Spanring, "A Uniform Resource Identifier for Geographic Locations ('geo' URI)", RFC 5870, DOI 10.17487/RFC5870, , <https://www.rfc-editor.org/info/rfc5870>.
[RFC6047]
Melnikov, A., Ed., "iCalendar Message-Based Interoperability Protocol (iMIP)", RFC 6047, DOI 10.17487/RFC6047, , <https://www.rfc-editor.org/info/rfc6047>.
[RFC6068]
Duerst, M., Masinter, L., and J. Zawinski, "The 'mailto' URI Scheme", RFC 6068, DOI 10.17487/RFC6068, , <https://www.rfc-editor.org/info/rfc6068>.
[RFC6638]
Daboo, C. and B. Desruisseaux, "Scheduling Extensions to CalDAV", RFC 6638, DOI 10.17487/RFC6638, , <https://www.rfc-editor.org/info/rfc6638>.
[RFC6838]
Freed, N., Klensin, J., and T. Hansen, "Media Type Specifications and Registration Procedures", BCP 13, RFC 6838, DOI 10.17487/RFC6838, , <https://www.rfc-editor.org/info/rfc6838>.
[RFC7265]
Kewisch, P., Daboo, C., and M. Douglass, "jCal: The JSON Format for iCalendar", RFC 7265, DOI 10.17487/RFC7265, , <https://www.rfc-editor.org/info/rfc7265>.
[RFC7529]
Daboo, C. and G. Yakushev, "Non-Gregorian Recurrence Rules in the Internet Calendaring and Scheduling Core Object Specification (iCalendar)", RFC 7529, DOI 10.17487/RFC7529, , <https://www.rfc-editor.org/info/rfc7529>.
[RFC7953]
Daboo, C. and M. Douglass, "Calendar Availability", RFC 7953, DOI 10.17487/RFC7953, , <https://www.rfc-editor.org/info/rfc7953>.
[RFC7986]
Daboo, C., "New Properties for iCalendar", RFC 7986, DOI 10.17487/RFC7986, , <https://www.rfc-editor.org/info/rfc7986>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, , <https://www.rfc-editor.org/info/rfc8174>.
[RFC8259]
Bray, T., Ed., "The JavaScript Object Notation (JSON) Data Interchange Format", STD 90, RFC 8259, DOI 10.17487/RFC8259, , <https://www.rfc-editor.org/info/rfc8259>.
[RFC9073]
Douglass, M., "Event Publishing Extensions to iCalendar", RFC 9073, DOI 10.17487/RFC9073, , <https://www.rfc-editor.org/info/rfc9073>.
[RFC9074]
Daboo, C. and K. Murchison, Ed., ""VALARM" Extensions for iCalendar", RFC 9074, DOI 10.17487/RFC9074, , <https://www.rfc-editor.org/info/rfc9074>.
[RFC9253]
Douglass, M., "Support for iCalendar Relationships", RFC 9253, DOI 10.17487/RFC9253, , <https://www.rfc-editor.org/info/rfc9253>.
[RFC9562]
Davis, K., Peabody, B., and P. Leach, "Universally Unique IDentifiers (UUIDs)", RFC 9562, DOI 10.17487/RFC9562, , <https://www.rfc-editor.org/info/rfc9562>.
[RFC10051]
Apthorp, A. and M. Douglass, "Task Extensions to iCalendar", RFC 10051, DOI 10.17487/RFC10051, , <https://www.rfc-editor.org/info/rfc10051>.
[TZDB]
"IANA Time Zone Database", <https://www.iana.org/time-zones>.

8.2. Informative References

[JMAP-CAL]
Jenkins, N. and M. Douglass, "JSON Meta Application Protocol (JMAP) for Calendars", Work in Progress, Internet-Draft, draft-ietf-jmap-calendars-34, , <https://datatracker.ietf.org/doc/html/draft-ietf-jmap-calendars-34>.
[RFC4791]
Daboo, C., Desruisseaux, B., and L. Dusseault, "Calendaring Extensions to WebDAV (CalDAV)", RFC 4791, DOI 10.17487/RFC4791, , <https://www.rfc-editor.org/info/rfc4791>.
[RFC8607]
Daboo, C., Quillaud, A., and K. Murchison, Ed., "Calendaring Extensions to WebDAV (CalDAV): Managed Attachments", RFC 8607, DOI 10.17487/RFC8607, , <https://www.rfc-editor.org/info/rfc8607>.

Appendix A. Discrepancies between iCalendar and JSCalendar

This section highlights iCalendar and JSCalendar elements for which no conversion rule to a standard element is defined in this document. This is informational and only complete at the time of publication of this document.

Implementations MAY choose to convert the following elements, for example using the properties defined in Section 4 and Section 5, or they might convert them to some vendor-specific extension properties. Later RFC documents might also define new standard elements and register them at IANA, either extending this list of inconvertible elements, or rather reduce it by introducing a standard element to convert to.

A.1. Unsupported iCalendar Elements

A.1.1. Components

The following components do not convert to a standard element in JSCalendar:

A.1.2. Properties by Component

The following components are defined to contain the listed properties. But these properties do not convert to a standard JSCalendar element.

A.1.2.1. PARTICIPANT [RFC9073], Section 7.1
A.1.2.2. VALARM [RFC5545], Section 3.6.6
A.1.2.3. VCALENDAR [RFC5545], Section 3.4
A.1.2.4. VEVENT [RFC5545], Section 3.6.1
A.1.2.5. VLOCATION [RFC9073], Section 7.2

A.1.3. Subcomponents by Component

The following components are defined to contain the listed subcomponents. But these subcomponents do not convert to a standard JSCalendar element.

A.1.3.1. PARTICIPANT [RFC9073], Section 7.1

A.1.4. Parameters by Property

The following properties are defined to contain the listed parameters. But these parameters do not convert to a standard JSCalendar element.

A.1.4.1. ATTACH [RFC5545], Section 3.8.1.1
A.1.4.2. ATTENDEE [RFC5545], Section 3.8.4.1
A.1.4.3. CATEGORIES [RFC5545], Section 3.8.1.2
A.1.4.4. CONFERENCE [RFC7986], Section 5.11
A.1.4.5. DESCRIPTION [RFC5545], Section 3.8.1.5
A.1.4.6. IMAGE [RFC7986], Section 5.10
A.1.4.8. LOCATION [RFC5545], Section 3.8.1.7
A.1.4.9. NAME [RFC7986], Section 5.1
A.1.4.10. ORGANIZER [RFC5545], Section 3.8.4.3
A.1.4.11. RECURRENCE-ID [RFC5545], Section 3.8.4.4
A.1.4.13. REQUEST-STATUS [RFC5545], Section 3.8.8.3
A.1.4.14. RESOURCES [RFC5545], Section 3.8.1.10
A.1.4.15. STYLED-DESCRIPTION [RFC9073], Section 6.5
A.1.4.16. SUMMARY [RFC5545], Section 3.8.1.12
A.1.4.17. TZNAME [RFC5545], Section 3.8.3.2

Author's Address

Robert Stepanek
Fastmail
PO Box 234
Collins St West
Melbourne VIC 8007
Australia