Internet-Draft | iCalendar JSCalendar Extensions | May 2025 |
Stepanek | Expires 14 November 2025 | [Page] |
This document defines a set of new elements for iCalendar and extends the use of existing ones. Their main purpose is to extend the semantics of iCalendar with elements defined in JSCalendar, but the new definitions also aim to be useful within just the iCalendar format. This document updates RFC 5545 ("Internet Calendaring and Scheduling Core Object Specification (iCalendar)").¶
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 14 November 2025.¶
Copyright (c) 2025 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
The JSCalendar [I-D.stepanek-jscalendarbis] format aims to be an alternative to the iCalendar [RFC5545] format for representation of calendaring data. As such, it introduces new semantics that are not covered in the current definition of iCalendar and its various extensions. Converting calendaring data between the two formats is defined in [I-D.ietf-calext-jscalendar-icalendar] with the goal of not losing any semantics during conversion. To achieve this, this document defines new elements iCalendar and extends existing definitions. Doing so, it follows the recommendations for introducing new iCalendar elements as specified in Section 3 of [RFC7986].¶
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.¶
This specification modifies the definition of the "GEO" property to also allow "geo" URI values [RFC5870] as property values. The following additions are made to the definition of this property, originally specified in Section 3.8.1.6 of [RFC5545]:¶
A Uniform Resource Identifier for Geographic Locations ("geo" URI) allows for richer semantics than the FLOAT value, such as defining geographic altitude, location uncertainty or the coordinate's reference system. The GEO property value MAY be of type URI to contain such coordinates. Property values of type URI MUST be valid according to the "geo" URI scheme syntax defined in Section 3.3 of [RFC5870].¶
geo = geofloat / geouri geofloat = "GEO" geoparam ":" geovalue CRLF geoparam = *(";" other-param) ;Latitude and Longitude components geovalue = float ";" float geouri = "GEO" geouriparam ":" uri CRLF geouriparam = *( ; ; 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) ; )¶
The following are examples of this property:¶
GEO:37.386013;-122.082932 GEO;VALUE=URI:geo:48.198634,16.371648;crs=wgs84;u=40¶
This property represents the result of a hash function or checksum algorithm. The semantics and purpose of its property value MUST be defined for each calendar component which allows to specify the "DIGEST" property. See the definition of the "VLOCALIZATION" component (Section 5.2) for an example.¶
This document defines the "Property Set Digest", which is the result of applying the hash function specified in the "HASH" parameter to a set of iCalendar properties. This digest is created as follows, all strings MUST be UTF-8 encoded and in Unicode Normalization Form NFC [UNorm]:¶
The Property Set Digest can produce different digests for property sets that are semantically equivalent. This is because it does not enforce setting or removing default parameter values, or the "VALUE" parameter, or applying any other iCalendar-specific normalization. As a result, differing digests only indicate that something changed in the property set, but if this change is significant depends on the semantics of the calendar component that specifies using the "DIGEST" property.¶
digest = "DIGEST" digestparam ":" TEXT CRLF digestparam = *( ; ; The following is REQUIRED, ; but MUST NOT occur more than once. ; (";" hashparam ) ; ; The following is OPTIONAL, ; and MAY occur more than once. ; (";" other-param) ; )¶
DIGEST;HASH=MD5:a16d6a19dd1d5c3baf591276eff96433¶
This indicates that the exact time span is not important to display to the user when rendering this calendar object. An example of this is an event that conceptually occurs all 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 and/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 characteristics 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", e.g. it MUST be 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. They MUST NOT preserve the ill-specified property in the calendaring data.¶
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) ; )¶
SHOW-WITHOUT-TIME;VALUE=BOOLEAN:TRUE¶
This property associates a Uniform Resource Identifier [RFC3986] with a calendar component. In contrast to the "UID" property, which defines its values to be of type TEXT, this property requires its value to be a syntactically valid URI. In contrast to the "URL" property, this property neither provides a dynamic rendition of the associated calendar component, nor does it locate a resource - it only identifies the calendar component.¶
The semantics and purpose of this identifier MUST be defined for each calendar component containing the "URI" property. This document defines the semantics of the "URI" property for the "VCONFERENCE" component. Similarly, future iCalendar extensions might consider using the "URI" property in cases where associating calendaring data by use of the "UID" and "RELATED-TO" properties is not possible.¶
uriprop = "URI" uriparam ":" uri CRLF uriparam = *( ; ; 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) ; )¶
URI;VALUE=URI:urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6¶
In context of the "DIGEST" property, this parameter specifies the hash function that was used to create the property value. Any parameter value is allowed, it is not an enumerated value to allow future parameter values incorporate parameters for hash functions. The same case sensitivity as for other parameters value applies: "paramtext" values are case-insensitive, "quoted-string" values are case-sensitive. This document defines the semantics for the following parameter value:¶
hashparam = "HASH" "=" param-value *("," param-value)¶
DIGEST;HASH=MD5:a16d6a19dd1d5c3baf591276eff96433¶
This component augments information provided by the "CONFERENCE" property for a virtual meeting or conference. Specifically, this specification adds support for long-form plain text and rich-text descriptions, which can not feasibly be provided in the "LABEL" parameter of the "CONFERENCE" property.¶
A "VCONFERENCE" component by itself does not represent a virtual meeting and it does not replace information provided by the "CONFERENCE" property. Instead, a calendar component that specifies the "VCONFERENCE" component MUST also specify a "CONFERENCE" property, and that "CONFERENCE" property value MUST match the value of the "URI" property (Section 3.3) specified in the "VCONFERENCE" component. The URI values MUST be equal character strings, as specified in Section 6 of [RFC3986].¶
A "VCONFERENCE" component MAY contain one "DESCRIPTION" property and multiple "STYLED-DESCRIPTION" properties, but one of them MUST NOT specify the "DERIVED" parameter and all others MUST specify the "DERIVED" parameter (e.g. it must have one and only one non-derived description). For future extensibility, this specification does not define the "DESCRIPTION" or "STYLED-DESCRIPTION" properties to be mandatory, but a "VCONFERENCE" component MUST contain at least one property other than the "URI" property.¶
Implementations that are unaware of the "VCONFERENCE" component might inadvertently preserve this component when removing its related "CONFERENCE" property from the calendar object. Changing the URI value of the "CONFERENCE" property is in this context considered a removal followed by inserting a new element. Implementations SHOULD therefore ignore rather than reject such incorrectly specified "VCONFERENCE" components. They MUST NOT preserve the ill-specified component in the calendaring data.¶
vconfc = "BEGIN" ":" "VCONFERENCE" CRLF *( ; ; The following are REQUIRED, ; but MUST NOT occur more than once. ; uriprop / ; ; The following are OPTIONAL, ; but MUST NOT occur more than once. ; description / ; ; The following are OPTIONAL, ; and MAY occur more than once ; styleddescription ; ; ; The following are OPTIONAL, ; and MAY occur more than once. ; x-prop / iana-prop ; ) "END" ":" "VCONFERENCE" CRLF¶
The following is an example of this component:¶
BEGIN:VCONFERENCE URI;VALUE=URI:https://chat.example.com/x?id=123456 DESCRIPTION:This is the first in a series of sessions:\n ... END:VCONFERENCE CONFERENCE;VALUE=URI;FEATURE=AUDIO,VIDEO; LABEL=Product Brainstorming Session:https://chat.example.com/x?id=123456¶
This component provides internationalized and localized alternate text representations of properties specified in a calendar component. Its main purpose is for use with descriptive elements such as the "SUMMARY" or "DESCRIPTION" properties, but it MAY be used with any property on which the "LANGUAGE" parameter can be set.¶
A "VLOCALIZATION" component MUST contain one or more properties which each MUST specify exactly once the "LANGUAGE" parameter. The "LANGUAGE" parameter values MAY differ between properties. The component MUST specify the "URI" property (Section 3.3) exactly once. A calendar component that contains the "VLOCALIZATION" component is then localized to a specific human language by replacing all its properties where the "ALTREP" parameter value matches the "URI" property value of the "VLOCALIZATION" with those properties in the "VLOCALIZATION" component, for which the "LANGUAGE" parameter value matches the language tag of the target human language.¶
The localized calendar component MUST be valid, e.g. mandatory properties MUST be set. The URI values of the "ALTREP" parameter and "URI" property MUST be compared as character strings, as specified in Section 6 of [RFC3986]. The URI value MUST be a valid URI in the "urn" scheme [RFC8141] with namespace identifier "uuid" [RFC9562].¶
The "VLOCALIZATION" component SHOULD only contain properties for which a property of the same name also is specified in the non-localized component, e.g. a "VLOCALIZATION" component is only meant to provide alternate text representations, not to add new content.¶
Implementations that are unaware of the "VLOCALIZATION" component might change property values in the non-localized component, inadvertently invalidating the contents of the localized properties. To mitigate this, implementations MUST specify the "DIGEST" (Section 3.1) property at least once in the "VLOCALIZATION" component. The property value MUST be the "Property Set Digest" as defined in Section 3.1, where the property set consists of all those properties in the non-localized component, for which the "ALTREP" parameter value matches the "URI" property value of the "VLOCALIZATION" component. The "ALTREP" parameter is part of the hashed property. Multiple "DIGEST" properties MUST each specify a different "HASH" parameter value.¶
Implementations MUST consider a "VLOCALIZATION" component as outdated, if the "DIGEST" property value does not match the expected digest. How to handle outdated localizations is implementation-specific, but implementations MUST not preserve "VLOCALIZATION" components with outdated "DIGEST" property values.¶
vlocalizationc = "BEGIN" ":" "VLOCALIZATION" CRLF *( ; ; The following is REQUIRED, ; but MUST NOT occur more than once. ; uriprop ; ; The following is REQUIRED, ; and MAY occur more than once. ; "HASH" parameter values MUST differ. ; digest ; ; The following are OPTIONAL, ; and MAY occur more than once. ; At least one MUST have the ; "LANGUAGE" parameter set. ; x-prop / iana-prop ; ) "END" ":" "VLOCALIZATION" CRLF¶
The following is an example of this component:¶
DTSTART;VALUE=DATE:20250701 SUMMARY;LANGUAGE="en-ca" ;ALTREP="urn:uuid:cd92c017-f7b0-4ac1-a852-c1d28ab172e5" :Canada Day DESCRIPTION;LANGUAGE="en-ca" ;ALTREP="urn:uuid:cd92c017-f7b0-4ac1-a852-c1d28ab172e5" :Canada Day celebrates the anniversary of Canadian Confederation which occurred on July 1, 1867. BEGIN:VLOCALIZATION URI;VALUE=URI:urn:uuid:cd92c017-f7b0-4ac1-a852-c1d28ab172e5 DIGEST;HASH=MD5:863f0708251b33990b43830a8ca754e4 SUMMARY;LANGUAGE="fr-ca" :Fête du Canada DESCRIPTION;LANGUAGE="fr-ca" :La Fête du Canada est un jour férié commémorant la date de formation du Canada le 1er juillet 1867. END:VLOCALIZATION¶
This specification extends [RFC5545]. The same security considerations as outlined in Section 7 of [RFC5545] apply. In addition, Section 4.1 refers to the security considerations of the MD5 Message-Digest Algorithm.¶
The descriptions of Canada Day in the example in Section 5.2 were copied from the English Wikipedia website which makes the text available under the Creative Commons Attribution-ShareAlike 4.0 License.¶