RFC 8984 | JSCalendar | July 2021 |
Jenkins & Stepanek | Standards Track | [Page] |
This specification defines a data model and JSON representation of calendar data that can be used for storage and data exchange in a calendaring and scheduling environment. It aims to be an alternative and, over time, successor to the widely deployed iCalendar data format. It also aims to be unambiguous, extendable, and simple to process. In contrast to the jCal format, which is also based on JSON, JSCalendar is not a direct mapping from iCalendar but defines the data model independently and expands semantics where appropriate.¶
This is an Internet Standards Track document.¶
This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Further information on Internet Standards is available in Section 2 of RFC 7841.¶
Information about the current status of this document, any errata, and how to provide feedback on it may be obtained athttps://www.rfc-editor.org/info/rfc8984.¶
Copyright (c) 2021 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 Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.¶
This document defines a data model for calendar event and task objects, or groups of such objects, in electronic calendar applications and systems. The format aims to be unambiguous, extendable, and simple to process.¶
The key design considerations for this data model are as follows:¶
The representation of this data model is defined in the Internet JSON (I-JSON) format[RFC7493], which is a strict subset of the JSON data interchange format[RFC8259]. Using JSON is mostly a pragmatic choice: its widespread use makes JSCalendar easier to adopt and the ready availability of production-ready JSON implementations eliminates a whole category of parser-related interoperability issues, which iCalendar has often suffered from.¶
The iCalendar data format[RFC5545], a widely deployed interchange format for calendaring and scheduling data, has served calendaring vendors for a long time but contains some ambiguities and pitfalls that cannot be overcome without backward-incompatible changes.¶
Sources of implementation errors include the following:¶
In recent years, many new products and services have appeared that wish to use a JSON representation of calendar data within their APIs. The JSON format for iCalendar data,jCal [RFC7265], is a direct mapping between iCalendar and JSON. In its effort to represent full iCalendar semantics, it inherits all the same pitfalls and uses a complicated JSON structure.¶
As a consequence, since the standardization of jCal, the majority of implementations and service providers either kept using iCalendar or came up with their own proprietary JSON representations, which are incompatible with each other and often suffer from common pitfalls, such as storing event start times in UTC (which become incorrect if the time zone's rules change in the future). JSCalendar meets the demand for JSON-formatted calendar data that is free of such known problems and provides a standard representation as an alternative to the proprietary formats.¶
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 underlying format used for this specification is JSON. Consequently, the terms "object" and "array" as well as the four primitive types (strings, numbers, booleans, and null) are to be interpreted as described inSection 1 of [RFC8259].¶
Some examples in this document contain "partial" JSON documents used for illustrative purposes. In these examples, an ellipsis "..." is used to indicate a portion of the document that has been removed for compactness.¶
Type signatures are given for all JSON values in this document. The following conventions are used:¶
*
:String
:Number
:Boolean
:A[B]
:A
and the values are all of typeB
for a JSON object.¶A[]
:A
¶A|B
:A
or of typeB
.¶Other types may also be given; their representations are defined elsewhere in this document.¶
In addition to the standard JSON data types, the following data types are used in this specification:¶
WhereId
is given as a data type, it means aString
of at least 1 and a maximum of 255 octets in size, and itMUST only contain characters from the "URL and Filename Safe" base64url alphabet, as defined inSection 5 of [RFC4648], excluding the pad character (=
). This means the allowed characters are the ASCII alphanumeric characters (A-Za-z0-9
), hyphen (-
), and underscore (_
).¶
In many places in JSCalendar, a JSON map is used where the map keys are of type Id and the map values are all the same type of object. This construction represents an unordered set of objects, with the added advantage that each entry has a name (the corresponding map key). This allows for more concise patching of objects, and, when applicable, for the objects in question to be referenced from other objects within the JSCalendar object.¶
Unless otherwise specified for a particular property, there are no uniqueness constraints on an Id value (other than, of course, the requirement that you cannot have two values with the same key within a single JSON map). For example, two Event objects might use the same Ids in their respectivelinks
properties or, within the same Event object, the same Id could appear in theparticipants
andalerts
properties. These situations do not imply any semantic connections among the objects.¶
WhereInt
is given as a data type, it means an integer in the range -253+1 <= value <= 253-1, the safe range for integers stored in a floating-point double, represented as a JSONNumber
.¶
WhereUnsignedInt
is given as a data type, it means an integer in the range 0 <= value <= 253-1, represented as a JSONNumber
.¶
This is a string in thedate-time
[RFC3339] format, with the further restrictions that any lettersMUST be in uppercase, and the time offsetMUST be the characterZ
. Fractional second valuesMUST NOT be included unless non-zero andMUST NOT have trailing zeros, to ensure there is only a single representation for each date-time.¶
For example,2010-10-10T10:10:10.003Z
is conformant, but2010-10-10T10:10:10.000Z
is invalid and is correctly encoded as2010-10-10T10:10:10Z
.¶
This is a date-time string with no time zone/offset information. It is otherwise in the same format as UTCDateTime, including fractional seconds. For example,2006-01-02T15:04:05
and2006-01-02T15:04:05.003
are both valid. The time zone to associate with the LocalDateTime comes from thetimeZone
property of the JSCalendar object (seeSection 4.7.1). If no time zone is specified, the LocalDateTime isfloating
. Floating date-times are not tied to any specific time zone. Instead, they occur in each time zone at the given wall-clock time (as opposed to the same instant point in time).¶
A time zone may have a period of discontinuity, for example, a change from standard time to daylight savings time. When converting local date-times that fall in the discontinuity to UTC, the offset before the transitionMUST be used.¶
For example, in the America/Los_Angeles time zone, the date-time 2020-11-01T01:30:00 occurs twice: before the daylight savings time (DST) transition with a UTC offset of -07:00 and again after the transition with an offset of -08:00. When converting to UTC, we therefore use the offset before the transition (-07:00), so it becomes 2020-11-01T08:30:00Z.¶
Similarly, in the Australia/Melbourne time zone, the date-time 2020-10-04T02:30:00 does not exist; the clocks are moved forward one hour for DST on that day at 02:00. However, such a value may appear during calculations (see duration semantics inSection 1.4.6) or due to a change in time zone rules (so it was valid when the event was first created). Again, it is interpreted as though the offset before the transition is in effect (+10:00); therefore, when converted to UTC, we get 2020-10-03T16:30:00Z.¶
Where Duration is given as a type, it means a length of time represented by a subset of the ISO 8601 duration format, as specified by the following ABNF[RFC5234]:¶
dur-secfrac = "." 1*DIGIT dur-second = 1*DIGIT [dur-secfrac] "S" dur-minute = 1*DIGIT "M" [dur-second] dur-hour = 1*DIGIT "H" [dur-minute] dur-time = "T" (dur-hour / dur-minute / dur-second) dur-day = 1*DIGIT "D" dur-week = 1*DIGIT "W" dur-cal = (dur-week [dur-day] / dur-day) duration = "P" (dur-cal [dur-time] / dur-time)¶
In addition, the durationMUST NOT include fractional second values unless the fraction is non-zero. Fractional second valuesMUST NOT have trailing zeros to ensure there is only a single representation for each duration.¶
A duration specifies an abstract number of weeks, days, hours, minutes, and/or seconds. A duration specified using weeks or days does not always correspond to an exact multiple of 24 hours. The number of hours/minutes/seconds may vary if it overlaps a period of discontinuity in the event's time zone, for example, a change from standard time to daylight savings time. Leap secondsMUST NOT be considered when adding or subtracting a duration to/from a LocalDateTime.¶
To add a duration to a LocalDateTime:¶
To subtract a duration from a LocalDateTime, the steps apply in reverse:¶
These semantics match the iCalendar DURATION value type ([RFC5545],Section 3.3.6).¶
A SignedDuration represents a length of time that may be positive or negative and is typically used to express the offset of a point in time relative to an associated time. It is represented as a Duration, optionally preceded by a sign character. It is specified by the following ABNF:¶
signed-duration = ["+" / "-"] duration¶
A negative sign indicates a point in time at or before the associated time; a positive or no sign indicates a time at or after the associated time.¶
WhereTimeZoneId
is given as a data type, it means aString
that is either a time zone name in the IANA Time Zone Database[TZDB] or a custom time zone identifier defined in thetimeZones
property (seeSection 4.7.2).¶
Where an IANA time zone is specified, the zone rules of the respective zone records apply. Custom time zones are interpreted as described inSection 4.7.2.¶
A PatchObject is of typeString[*]
and represents an unordered set of patches on a JSON object. Each key is a path represented in a subset of the JSON Pointer format[RFC6901]. The paths have an implicit leading/
, so each key is prefixed with/
before applying the JSON Pointer evaluation algorithm.¶
A patch within a PatchObject is only valid if all of the following conditions apply:¶
alerts/1/offset
andalerts
.¶The value associated with each pointer determines how to apply that patch:¶
A PatchObject does not define its own@type
property (seeSection 4.1.1). An@type
property in a patchMUST be handled as any other patched property value.¶
ImplementationsMUST reject a PatchObject in its entirety if any of its patches are invalid. ImplementationsMUST NOT apply partial patches.¶
The PatchObject format is used to significantly reduce file size and duplicated content when specifying variations to a common object, such as with recurring events or when translating the data into multiple languages. It can also better preserve semantic intent if only the properties that should differ between the two objects are patched. For example, if one person is not going to a particular instance of a regularly scheduled event, in iCalendar, you would have to duplicate the entire event in the override. In JSCalendar, this is a small patch to show the difference. As only this property is patched, if the location of the event is changed, the occurrence will automatically still inherit this.¶
A Relation object defines the relation to other objects, using a possibly empty set of relation types. The object that defines this relation is the linking object, while the other object is the linked object. A Relation object has the following properties:¶
String
(mandatory)Relation
.¶String[Boolean]
(optional, default: empty Object)This describes how the linked object is related to the linking object. The relation is defined as a set of relation types. If empty, the relationship between the two objects is unspecified.¶
Keys in the setMUST be one of the following values, specified in the property definition where the Relation object is used, a value registered in the IANA "JSCalendar Enum Values" registry, or a vendor-specific value (seeSection 3.3):¶
first
:next
:child
:parent
:The value for each key in the mapMUST be true.¶
A Link object represents an external resource associated with the linking object. It has the following properties:¶
String
(mandatory)Link
.¶String
(mandatory)This is a URI[RFC3986] from which the resource may be fetched.¶
ThisMAY be adata:
URL[RFC2397], but it is recommended that the file be hosted on a server to avoid embedding arbitrarily large data in JSCalendar object instances.¶
String
(optional)ThisMUST be a validcontent-id
value according to the definition ofSection 2 of [RFC2392]. The valueMUST be unique within this Link object but has no meaning beyond that. ItMAY be different from the link id for this Link object.¶
String
(optional)UnsignedInt
(optional)String
(optional)String
(optional)This describes the intended purpose of a link to an image. If set, therel
propertyMUST be set toicon
. The valueMUST be one of the following values, another value registered in the IANA "JSCalendar Enum Values" registry, or a vendor-specific value (seeSection 3.3):¶
String
(optional)This section describes the calendar object types specified by JSCalendar.¶
Media type:application/jscalendar+json;type=event
¶
An Event represents a scheduled amount of time on a calendar, typically a meeting, appointment, reminder, or anniversary. It is required to start at a certain point in time and typically has a non-zero duration. Multiple participants may partake in the event at multiple locations.¶
The@type (Section 4.1.1) property valueMUST beEvent
.¶
Media type:application/jscalendar+json;type=task
¶
A Task represents an action item, assignment, to-do item, or work item. It may start and be due at certain points in time, take some estimated time to complete, and recur, none of which is required.¶
The@type (Section 4.1.1) property valueMUST beTask
.¶
Media type:application/jscalendar+json;type=group
¶
A Group is a collection ofEvent (Section 2.1) and/orTask (Section 2.2) objects. Typically, objects are grouped by topic (e.g., by keywords) or calendar membership.¶
The@type (Section 4.1.1) property valueMUST beGroup
.¶
A JSCalendar object is a JSON object[RFC8259], whichMUST be valid I-JSON (a stricter subset of JSON)[RFC7493]. Property names and values are case sensitive.¶
The object has a collection of properties, as specified in the following sections. Properties are specified as being either mandatory or optional. Optional properties may have a default value if explicitly specified in the property definition.¶
JSCalendar objectsMUST name their type in the@type
property if not explicitly specified otherwise for the respective object type. A notable exception to this rule is thePatchObject (Section 1.4.9).¶
JSCalendar aims to provide unambiguous definitions for value types and properties but does not define a general normalization or equivalence method for JSCalendar objects and types. This is because the notion of equivalence might range from byte-level equivalence to semantic equivalence, depending on the respective use case. Normalization of JSCalendar objects is hindered because of the following reasons:¶
Considering this, the definition of equivalence and normalization is left to client and server implementations and to be negotiated by a calendar exchange protocol or defined elsewhere.¶
VendorsMAY add additional properties to the calendar object to support their custom features. To avoid conflict, the names of these propertiesMUST be prefixed by a domain name controlled by the vendor followed by a colon, e.g.,example.com:customprop
. If the value is a new JSCalendar object, it eitherMUST include an@type
property, or itMUST explicitly be specified to not require a type designator. The type nameMUST be prefixed with a domain name controlled by the vendor.¶
Some JSCalendar properties allow vendor-specific value extensions. Such vendor-specific valuesMUST be prefixed by a domain name controlled by the vendor followed by a colon, e.g.,example.com:customrel
.¶
Vendors are strongly encouraged to register any new property values or extensions that are useful to other systems as well, rather than use a vendor-specific prefix.¶
This section describes the properties that are common to the various JSCalendar object types. Specific JSCalendar object types may only support a subset of these properties. The object type definitions inSection 5 describe the set of supported properties per type.¶
Type:String
(mandatory)¶
This specifies the type that this object represents. The allowed value differs by object type and is defined in Sections2.1,2.2, and2.3.¶
Type:String
(mandatory)¶
This is a globally unique identifier used to associate objects representing the same event, task, group, or other object across different systems, calendars, and views. For recurring events and tasks, the UID is associated with the base object and therefore is the same for all occurrences; the combination of the UID with arecurrenceId
identifies a particular instance.¶
The generator of the identifierMUST guarantee that the identifier is unique.[RFC4122] describes a range of established algorithms to generate universally unique identifiers (UUIDs). UUID version 4, described inSection 4.4 of [RFC4122], isRECOMMENDED.¶
For compatibility with UIDs[RFC5545], implementationsMUST be able to receive and persist values of at least 255 octets for this property, but theyMUST NOT truncate values in the middle of a UTF-8 multi-octet sequence.¶
Type:String[Relation]
(optional)¶
This relates the object to other JSCalendar objects. This is represented as a map of the UIDs of the related objects to information about the relation.¶
If an object is split to make a "this and future" change to a recurrence, the original objectMUST be truncated to end at the previous occurrence before this split, and a new object is created to represent all the occurrences after the split. Anext
relationMUST be set on the original object'srelatedTo
property for the UID of the new object. Afirst
relation for the UID of the first object in the seriesMUST be set on the new object. Clients can then follow these UIDs to get the complete set of objects if the user wishes to modify them all at once.¶
Type:String
(optional)¶
This is the identifier for the product that last updated the JSCalendar object. This should be set whenever the data in the object is modified (i.e., whenever theupdated
property is set).¶
The vendor of the implementationMUST ensure that this is a globally unique identifier, using some technique such as a Formal Public Identifier (FPI) value, as defined in[ISO.9070.1991].¶
This propertySHOULD NOT be used to alter the interpretation of a JSCalendar object beyond the semantics specified in this document. For example, it is not to be used to further the understanding of nonstandard properties, a practice that is known to cause long-term interoperability problems.¶
Type:UTCDateTime
(optional)¶
This is the date and time this object was initially created.¶
Type:UTCDateTime
(mandatory)¶
This is the date and time the data in this object was last modified (or its creation date/time if not modified since).¶
Type:UnsignedInt
(optional, default: 0)¶
Initially zero, thisMUST be incremented by one every time a change is made to the object, except if the change only modifies theparticipants
property (seeSection 4.4.6).¶
This is used as part of the iCalendar Transport-independent Interoperability Protocol (iTIP)[RFC5546] to know which version of the object a scheduling message relates to.¶
Type:String
(optional, default: empty String)¶
This is a longer-form text description of the object. The content is formatted according to thedescriptionContentType
property.¶
Type:String
(optional, default:text/plain
)¶
This describes the media type[RFC6838] of the contents of thedescription
property. Media typesMUST be subtypes of typetext
andSHOULD betext/plain
ortext/html
[MEDIATYPES]. TheyMAY include parameters, and thecharset
parameter valueMUST beutf-8
, if specified. Descriptions of typetext/html
MAY containcid
URLs[RFC2392] to reference links in the calendar object by use of thecid
property of the Link object.¶
Type:Boolean
(optional, default: false)¶
This indicates that the time 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 or across multiple days, such as "New Year's Day" or "Italy Vacation". While the time component is important for free-busy calculations and checking for scheduling clashes, calendars may choose to omit displaying it and/or display the object separately to other objects to enhance the user's view of their schedule.¶
Such events are also commonly known as "all-day" events.¶
Type:Id[Location]
(optional)¶
This is a map of location ids to Location objects, representing locations associated with the object.¶
A Location object has the following properties. ItMUST have at least one property other than therelativeTo
property.¶
String
(mandatory)Location
.¶String
(optional)String
(optional)String[Boolean]
(optional)String
(optional)This specifies the relation between this location and the time of the JSCalendar object. This is primarily to allow events representing travel to specify the location of departure (at the start of the event) and location of arrival (at the end); this is particularly important if these locations are in different time zones, as a client may wish to highlight this information for the user.¶
ThisMUST be one of the following values, another value registered in the IANA "JSCalendar Enum Values" registry, or a vendor-specific value (seeSection 3.3). Any value the client or server doesn't understand should be treated the same as if this property is omitted.¶
TimeZoneId
(optional)String
(optional)geo:
URI[RFC5870] for the location.¶Id[Link]
(optional)Type:Id[VirtualLocation]
(optional)¶
This is a map of virtual location ids to VirtualLocation objects, representing virtual locations, such as video conferences or chat rooms, associated with the object.¶
A VirtualLocation object has the following properties.¶
String
(mandatory)VirtualLocation
.¶String
(optional, default: empty String)String
(optional)String
(mandatory)This is a URI[RFC3986] that represents how to connect to this virtual location.¶
This may be a telephone number (represented using thetel:
scheme, e.g.,tel:+1-555-555-5555
) for a teleconference, a web address for online chat, or any custom URI.¶
String[Boolean]
(optional)A set of features supported by this virtual location. The set is represented as a map, with the keys being the feature. The value for each key in the mapMUST be true.¶
The featureMUST be one of the following values, another value registered in the IANA "JSCalendar Enum Values" registry, or a vendor-specific value (seeSection 3.3). Any value the client or server doesn't understand should be treated the same as if this feature is omitted.¶
Type:Id[Link]
(optional)¶
This is a map of link ids to Link objects, representing external resources associated with the object.¶
Links with a rel ofenclosure
MUST be considered by the client to be attachments for download.¶
Links with a rel ofdescribedby
MUST be considered by the client to be alternative representations of the description.¶
Links with a rel oficon
MUST be considered by the client to be images that it may use when presenting the calendar data to a user. Thedisplay
property may be set to indicate the purpose of this image.¶
Type:String
(optional)¶
This is the language tag, as defined in[RFC5646], that best describes the locale used for the text in the calendar object, if known.¶
Type:String[Boolean]
(optional)¶
This is a set of keywords or tags that relate to the object. The set is represented as a map, with the keys being the keywords. The value for each key in the mapMUST be true.¶
Type:String[Boolean]
(optional)¶
This is a set of categories that relate to the calendar object. The set is represented as a map, with the keys being the categories specified as URIs. The value for each key in the mapMUST be true.¶
In contrast to keywords, categories are typically structured. For example, a vendor owning the domainexample.com
might define the categorieshttp://example.com/categories/sports/american-football
andhttp://example.com/categories/music/r-b
.¶
Type:String
(optional)¶
This is a color clientsMAY use when displaying this calendar object. The value is a color name taken from the set of names defined in Section 4.3 of CSS Color Module Level 3[COLORS] or an RGB value in hexadecimal notation, as defined in Section 4.2.1 of CSS Color Module Level 3.¶
Some events and tasks occur at regular or irregular intervals. Rather than having to copy the data for every occurrence, there can be a base event with rules to generate recurrences and/or overrides that add extra dates or exceptions to the rules.¶
The recurrence set is the complete set of instances for an object. It is generated by considering the following properties in order, all of which are optional:¶
recurrenceRules
property (Section 4.3.3) generates a set of extra date-times on which the object occurs.¶excludedRecurrenceRules
property (Section 4.3.4) generates a set of date-times that are to be removed from the previously generated set of date-times on which the object occurs.¶recurrenceOverrides
property (Section 4.3.5) defines date-times that are added or excluded to form the final set. (This property may also contain changes to the object to apply to particular instances.)¶Type:LocalDateTime
(optional)¶
If present, this JSCalendar object represents one occurrence of a recurring JSCalendar object. If present, therecurrenceRules
andrecurrenceOverrides
propertiesMUST NOT be present.¶
The value is a date-time either produced by therecurrenceRules
of the base event or added as a key to therecurrenceOverrides
property of the base event.¶
Type:TimeZoneId|null
(optional, default: null)¶
Identifies the time zone of the main JSCalendar object, of which this JSCalendar object is a recurrence instance. This propertyMUST be set if therecurrenceId
property is set. ItMUST NOT be set if therecurrenceId
property is not set.¶
Type:RecurrenceRule[]
(optional)¶
This defines a set of recurrence rules (repeating patterns) for recurring calendar objects.¶
An Event recurs by applying the recurrence rules to thestart
date-time.¶
A Task recurs by applying the recurrence rules to thestart
date-time, if defined; otherwise, it recurs by thedue
date-time, if defined. If the task defines neither astart
nordue
date-time, itMUST NOT define arecurrenceRules
property.¶
If multiple recurrence rules are given, each rule is to be applied, and then the union of the results are used, ignoring any duplicates.¶
A RecurrenceRule object is a JSON object mapping of a RECUR value type in iCalendar[RFC5545][RFC7529] and has the same semantics. It has the following properties:¶
String
(mandatory)RecurrenceRule
.¶String
(mandatory)This is the time span covered by each iteration of this recurrence rule (seeSection 4.3.3.1 for full semantics). ThisMUST be one of the following values:¶
This is the FREQ part from iCalendar, converted to lowercase.¶
UnsignedInt
(optional, default: 1)This is the interval of iteration periods at which the recurrence repeats. If included, itMUST be an integer >= 1.¶
This is the INTERVAL part from iCalendar.¶
String
(optional, default: "gregorian")This is the calendar system in which this recurrence rule operates, in lowercase. ThisMUST be either a CLDR-registered calendar system name[CLDR] or a vendor-specific value (seeSection 3.3).¶
This is the RSCALE part from iCalendarRSCALE [RFC7529], converted to lowercase.¶
String
(optional, default: "omit")This is the behavior to use when the expansion of the recurrence produces invalid dates. This property only has an effect if the frequency is "yearly" or "monthly". ItMUST be one of the following values:¶
This is the SKIP part from iCalendarRSCALE [RFC7529], converted to lowercase.¶
String
(optional, default: "mo")This is the day on which the week is considered to start, represented as a lowercase, abbreviated, and two-letter English day of the week. If included, itMUST be one of the following values:¶
This is the WKST part from iCalendar.¶
NDay[]
(optional)These are days of the week on which to repeat. AnNDay
object has the following properties:¶
String
(mandatory)NDay
.¶String
(mandatory)This is a day of the week on which to repeat; the allowed values are the same as for thefirstDayOfWeek
recurrenceRule property.¶
This is the day of the week of the BYDAY part in iCalendar, converted to lowercase.¶
Int
(optional)If present, rather than representing every occurrence of the weekday defined in theday
property, it represents only a specific instance within the recurrence period. The value can be positive or negative butMUST NOT be zero. A negative integer means the nth-last occurrence within that period (i.e., -1 is the last occurrence, -2 the one before that, etc.).¶
This is the ordinal part of the BYDAY value in iCalendar (e.g., 1 or -3).¶
Int[]
(optional)These are the days of the month on which to repeat. Valid values are between 1 and the maximum number of days any month may have in the calendar given by therscale
property and the negative values of these numbers. For example, in the Gregorian calendar, valid values are 1 to 31 and -31 to -1. Negative values offset from the end of the month. The arrayMUST have at least one entry if included.¶
This is the BYMONTHDAY part in iCalendar.¶
String[]
(optional)These are the months in which to repeat. Each entry is a string representation of a number, starting from "1" for the first month in the calendar (e.g., "1" means January with the Gregorian calendar), with an optional "L" suffix (see[RFC7529]) for leap months (thisMUST be uppercase, e.g., "3L"). The arrayMUST have at least one entry if included.¶
This is the BYMONTH part from iCalendar.¶
Int[]
(optional)These are the days of the year on which to repeat. Valid values are between 1 and the maximum number of days any year may have in the calendar given by therscale
property and the negative values of these numbers. For example, in the Gregorian calendar, valid values are 1 to 366 and -366 to -1. Negative values offset from the end of the year. The arrayMUST have at least one entry if included.¶
This is the BYYEARDAY part from iCalendar.¶
Int[]
(optional)These are the weeks of the year in which to repeat. Valid values are between 1 and the maximum number of weeks any year may have in the calendar given by therscale
property and the negative values of these numbers. For example, in the Gregorian calendar, valid values are 1 to 53 and -53 to -1. The arrayMUST have at least one entry if included.¶
This is the BYWEEKNO part from iCalendar.¶
UnsignedInt[]
(optional)These are the hours of the day in which to repeat. Valid values are 0 to 23. The arrayMUST have at least one entry if included. This is the BYHOUR part from iCalendar.¶
UnsignedInt[]
(optional)These are the minutes of the hour in which to repeat. Valid values are 0 to 59. The arrayMUST have at least one entry if included.¶
This is the BYMINUTE part from iCalendar.¶
UnsignedInt[]
(optional)These are the seconds of the minute in which to repeat. Valid values are 0 to 60. The arrayMUST have at least one entry if included.¶
This is the BYSECOND part from iCalendar.¶
Int[]
(optional)UnsignedInt
(optional)These are the number of occurrences at which to range-bound the recurrence. ThisMUST NOT be included if anuntil
property is specified.¶
This is the COUNT part from iCalendar.¶
LocalDateTime
(optional)These are the date-time at which to finish recurring. The last occurrence is on or before this date-time. ThisMUST NOT be included if acount
property is specified. Note that if not specified otherwise for a specific JSCalendar object, this date is to be interpreted in the time zone specified in the JSCalendar object'stimeZone
property.¶
This is the UNTIL part from iCalendar.¶
A recurrence rule specifies a set of date-times for recurring calendar objects. A recurrence rule has the following semantics. Note that wherever "year", "month", or "day of month" is used, this is within the calendar system given by therscale
property, which defaults to "gregorian" if omitted.¶
A set of candidates is generated. This is every second within a period defined by thefrequency
property value:¶
yearly
:every second from midnight on the first day of a year (inclusive) to midnight the first day of the following year (exclusive).¶
If skip is not "omit", the calendar system has leap months, and there is abyMonth
property, generate candidates for the leap months, even if they don't occur in this year.¶
If skip is not "omit" and there is abyMonthDay
property, presume each month has the maximum number of days any month may have in this calendar system when generating candidates, even if it's more than this month actually has.¶
monthly
:every second from midnight on the first day of a month (inclusive) to midnight on the first of the following month (exclusive).¶
If skip is not "omit" and there is abyMonthDay
property, presume the month has the maximum number of days any month may have in this calendar system when generating candidates, even if it's more than this month actually has.¶
weekly
:firstDayOfWeek
property or Monday if omitted) to midnight seven days later (exclusive).¶daily
:hourly
:minutely
:secondly
:Each date-time candidate is compared against all of the byX properties of the rule except bySetPosition. If any property in the rule does not match the date-time, the date-time is eliminated. Each byX property is an array; the date-time matches the property if it matches any of the values in the array. The properties have the following semantics:¶
The date-time is in the nth week of the year. Negative numbers mean the nth last week of the year. This corresponds to weeks according to week numbering, as defined in ISO.8601.2004, with a week defined as a seven-day period, starting on thefirstDayOfWeek
property value or Monday if omitted. Week number one of the calendar year is the first week that contains at least four days in that calendar year.¶
If the date-time is not valid (this may happen when generating candidates with askip
property in effect), it is always eliminated by this property.¶
The date-time is on the nth day of year. Negative numbers mean the nth last day of the year.¶
If the date-time is not valid (this may happen when generating candidates with askip
property in effect), it is always eliminated by this property.¶
If askip
property is defined and is not "omit", there may be candidates that do not correspond to valid dates (e.g., February 31st in the Gregorian calendar). In this case, the propertiesMUST be considered in the order above, and:¶
bySetPosition
property is included, this is now applied to the ordered list of remaining dates. This property specifies the indexes of date-times to keep; all others should be eliminated. Negative numbers are indexed from the end of the list, with -1 being the last item, -2 the second from last, etc.¶skip
property is included and is not "omit", eliminate any date-times that have already been produced by previous iterations of the algorithm. (This is not possible if skip is "omit".)¶When determining the set of occurrence dates for an event or task, the following extra rules must be applied:¶
start
date-time for events or thestart
ordue
date-time for tasks) is always the first occurrence in the expansion (and is counted if the recurrence is limited by acount
property), even if it would normally not match the rule.¶The following propertiesMUST be implicitly added to the rule under the given conditions:¶
secondly
and there is nobySecond
property, add abySecond
property with the sole value being the seconds value of the initial date-time.¶secondly
orminutely
and there is nobyMinute
property, add abyMinute
property with the sole value being the minutes value of the initial date-time.¶secondly
,minutely
, orhourly
and there is nobyHour
property, add abyHour
property with the sole value being the hours value of the initial date-time.¶weekly
and there is nobyDay
property, add abyDay
property with the sole value being the day of the week of the initial date-time.¶monthly
and there is nobyDay
property and nobyMonthDay
property, add abyMonthDay
property with the sole value being the day of the month of the initial date-time.¶If frequency isyearly
and there is nobyYearDay
property:¶
byMonth
orbyWeekNo
properties, and either there is abyMonthDay
property or there is nobyDay
property, add abyMonth
property with the sole value being the month of the initial date-time.¶byMonthDay
,byWeekNo
, orbyDay
properties, add abyMonthDay
property with the sole value being the day of the month of the initial date-time.¶byWeekNo
property and nobyMonthDay
orbyDay
properties, add abyDay
property with the sole value being the day of the week of the initial date-time.¶Type:RecurrenceRule[]
(optional)¶
This defines a set of recurrence rules (repeating patterns) for date-times on which the object will not occur. The rules are interpreted the same as for therecurrenceRules
property (seeSection 4.3.3), with the exception that the initial date-time to which the rule is applied (the "start" date-time for events or the "start" or "due" date-time for tasks) is only considered part of the expansion if it matches the rule. The resulting set of date-times is then removed from those generated by therecurrenceRules
property, as described inSection 4.3.¶
Type:LocalDateTime[PatchObject]
(optional)¶
Maps recurrence ids (the date-time produced by the recurrence rule) to the overridden properties of the recurrence instance.¶
If the recurrence id does not match a date-time from the recurrence rule (or no rule is specified), it is to be treated as an additional occurrence (like an RDATE from iCalendar). The patch object may often be empty in this case.¶
If the patch object defines theexcluded
property of an occurrence to be true, this occurrence is omitted from the final set of recurrences for the calendar object (like an EXDATE from iCalendar). Such a patch objectMUST NOT patch any other property.¶
By default, an occurrence inherits all properties from the main object except the start (or due) date-time, which is shifted to match the recurrence id LocalDateTime. However, individual properties of the occurrence can be modified by a patch or multiple patches. It is valid to patch thestart
property value, and this patch takes precedence over the value generated from the recurrence id. Both the recurrence id as well as the patchedstart
date-time may occur before the original JSCalendar object'sstart
ordue
date.¶
A pointer in the PatchObjectMUST be ignored if it starts with one of the following prefixes:¶
Type:Boolean
(optional, default: false)¶
This defines if this object is an overridden, excluded instance of a recurring JSCalendar object (seeSection 4.3.5). If this property value is true, this calendar object instanceMUST be removed from the occurrence expansion. The absence of this property, or the presence of its default value as false, indicates that this instanceMUST be included in the occurrence expansion.¶
Type:Int
(optional, default: 0)¶
This specifies a priority for the calendar object. This may be used as part of scheduling systems to help resolve conflicts for a time period.¶
The priority is specified as an integer in the range 0 to 9. A value of 0 specifies an undefined priority, for which the treatment will vary by situation. A value of 1 is the highest priority. A value of 2 is the second highest priority. Subsequent numbers specify a decreasing ordinal priority. A value of 9 is the lowest priority. Other integer values are reserved for future use.¶
Type:String
(optional, default:busy
)¶
This specifies how this calendar object should be treated when calculating free-busy state. ThisMUST be one of the following values, another value registered in the IANA "JSCalendar Enum Values" registry, or a vendor-specific value (seeSection 3.3):¶
Type:String
(optional, default:public
)¶
Calendar objects are normally collected together and may be shared with other users. The privacy property allows the object owner to indicate that it should not be shared or should only have the time information shared but the details withheld. Enforcement of the restrictions indicated by this property is up to the API via which this object is accessed.¶
This propertyMUST NOT affect the information sent to scheduled participants; it is only interpreted by protocols that share the calendar objects belonging to one user with other users.¶
The valueMUST be one of the following values, another value registered in the IANA "JSCalendar Enum Values" registry, or a vendor-specific value (seeSection 3.3). Any value the client or server doesn't understand should be preserved but treated as equivalent toprivate
.¶
public
:private
:The details of the object are hidden; only the basic time and metadata are shared. The following propertiesMAY be shared; any other propertiesMUST NOT be shared:¶
secret
:Type:String[String]
(optional)¶
This represents methods by which participants may submit their response to the organizer of the calendar object. The keys in the property value are the available methods andMUST only contain ASCII alphanumeric characters (A-Za-z0-9). The value is a URI for the method specified in the key. Future methods may be defined in future specifications and registered with IANA; a calendar clientMUST ignore any method it does not understand butMUST preserve the method key and URI. This propertyMUST be omitted if no method is defined (rather than being specified as an empty object).¶
The following methods are defined:¶
imip
:mailto:
URI.¶web
:https:
scheme.¶other
:Type:String
(optional)¶
This is the email address in the "From" header of the email in which this calendar object was received. This is only relevant if the calendar object is received via iMIP or as an attachment to a message. If set, the valueMUST be a validaddr-spec
value as defined in Section 3.4.1 of[RFC5322].¶
Type:Id[Participant]
(optional)¶
This is a map of participant ids to participants, describing their participation in the calendar object.¶
If this property is set and any participant has asendTo
property, then thereplyTo
property of this calendar objectMUST define at least one reply method.¶
A Participant object has the following properties:¶
String
(mandatory)Participant
.¶String
(optional)String
(optional)addr-spec
value as defined in Section 3.4.1 of[RFC5322].¶String
(optional)String[String]
(optional)This represents methods by which the participant may receive the invitation and updates to the calendar object.¶
The keys in the property value are the available methods andMUST only contain ASCII alphanumeric characters (A-Za-z0-9). The value is a URI for the method specified in the key. Future methods may be defined in future specifications and registered with IANA; a calendar clientMUST ignore any method it does not understand butMUST preserve the method key and URI. This propertyMUST be omitted if no method is defined (rather than being specified as an empty object).¶
The following methods are defined:¶
String
(optional)This is what kind of entity this participant is, if known.¶
ThisMUST be one of the following values, another value registered in the IANA "JSCalendar Enum Values" registry, or a vendor-specific value (seeSection 3.3). Any value the client or server doesn't understand should be treated the same as if this property is omitted.¶
String[Boolean]
(mandatory)This is a set of roles that this participant fulfills.¶
At least one roleMUST be specified for the participant. The keys in the setMUST be one of the following values, another value registered in the IANA "JSCalendar Enum Values" registry, or a vendor-specific value (seeSection 3.3):¶
owner
:attendee
:optional
:informational
:chair
:contact
:The value for each key in the mapMUST be true. It is expected that no more than one of the roles "attendee" and "informational" be present; if more than one are given, "attendee" takes precedence over "informational". Roles that are unknown to the implementationMUST be preserved.¶
Id
(optional)This is the location at which this participant is expected to be attending.¶
If the value does not correspond to any location id in thelocations
property of the JSCalendar object, thisMUST be treated the same as if the participant's locationId were omitted.¶
String
(optional)String
(optional, default:needs-action
)This is the participation status, if any, of this participant.¶
The valueMUST be one of the following values, another value registered in the IANA "JSCalendar Enum Values" registry, or a vendor-specific value (seeSection 3.3):¶
needs-action
:accepted
:declined
:tentative
:delegated
:delegatedTo
property.¶String
(optional)Boolean
(optional, default: false)String
(optional, default:server
)This is who is responsible for sending scheduling messages with this calendar object to the participant.¶
The valueMUST be one of the following values, another value registered in the IANA "JSCalendar Enum Values" registry, or a vendor-specific value (seeSection 3.3):¶
Boolean
(optional, default: false)UnsignedInt
(optional, default: 0)This is the sequence number of the last response from the participant. If defined, thisMUST be a nonnegative integer.¶
This can be used to determine whether the participant has sent a new response following significant changes to the calendar object and to determine if future responses are responding to a current or older view of the data.¶
String[]
(optional)This is a list of status codes, returned from the processing of the most recent scheduling message sent to this participant. The status codes MUST be validstatcode
values as defined in the ABNF inSection 3.8.8.3 of [RFC5545].¶
ServersMUST only add or change this property when they send a scheduling message to the participant. ClientsSHOULD NOT change or remove this property if it was provided by the server. ClientsMAY add, change, or remove the property for participants where the client is handling the scheduling.¶
This propertyMUST NOT be included in scheduling messages.¶
UTCDateTime
(optional)This is the timestamp for the most recent response from this participant.¶
This is theupdated
property of the last response when using iTIP. It can be compared to theupdated
property in future responses to detect and discard older responses delivered out of order.¶
String
(optional)This is the email address in the "From" header of the email that last updated this participant via iMIP. This SHOULD only be set if the email address is different to that in the mailto URI of this participant'simip
method in thesendTo
property (i.e., the response was received from a different address to that which the invitation was sent to). If set, the valueMUST be a validaddr-spec
value as defined in Section 3.4.1 of[RFC5322].¶
Id
(optional)Id[Boolean]
(optional)Id[Boolean]
(optional)Id[Boolean]
(optional)Id[Link]
(optional)String
(optional; only allowed for participants of a Task)participationStatus
of this participant is any value other thanaccepted
. SeeSection 5.2.5 for allowed values and semantics.¶UTCDateTime
(optional; only allowed for participants of a Task)progress
property was last set on this participant. SeeSection 5.2.6 for allowed values and semantics.¶UnsignedInt
(optional; only allowed for participants of a Task)Type:String
(optional)¶
A request status as returned from processing the most recent scheduling request for this JSCalendar object. The allowed values are defined by the ABNF definitions ofstatcode
,statdesc
andextdata
inSection 3.8.8.3 of [RFC5545] and the following ABNF[RFC5234]:¶
reqstatus = statcode ";" statdesc [";" extdata]¶
ServersMUST only add or change this property when they performe a scheduling action. ClientsSHOULD NOT change or remove this property if it was provided by the server. ClientsMAY add, change, or remove the property when the client is handling the scheduling.¶
This propertyMUST only be included in scheduling messages according to the rules defined for the REQUEST-STATUS iCalendar property in[RFC5546].¶
Type:Boolean
(optional, default: false)¶
If true, use the user's default alerts and ignore the value of thealerts
property. Fetching user defaults is dependent on the API from which this JSCalendar object is being fetched and is not defined in this specification. If an implementation cannot determine the user's default alerts, or none are set, itMUST process thealerts
property as ifuseDefaultAlerts
is set to false.¶
Type:Id[Alert]
(optional)¶
This is a map of alert ids to Alert objects, representing alerts/reminders to display or send to the user for this calendar object.¶
An Alert object has the following properties:¶
String
(mandatory)Alert
.¶OffsetTrigger|AbsoluteTrigger|UnknownTrigger
(mandatory)This defines when to trigger the alert. New types may be defined in future documents.¶
AnOffsetTrigger
object has the following properties:¶
String
(mandatory)OffsetTrigger
.¶SignedDuration
(mandatory)relativeTo
property of the alert. Negative durations signify alerts before the time property; positive durations signify alerts after the time property.¶String
(optional, default:start
)This specifies the time property that the alert offset is relative to. The valueMUST be one of the following:¶
AnAbsoluteTrigger
object has the following properties:¶
String
(mandatory)AbsoluteTrigger
.¶UTCDateTime
(mandatory)AnUnknownTrigger
object is an object that contains an@type
property whose value is not recognized (i.e., notOffsetTrigger
orAbsoluteTrigger
) plus zero or more other properties. This is for compatibility with client extensions and future specifications. ImplementationsSHOULD NOT trigger for trigger types they do not understand butMUST preserve them.¶
UTCDateTime
(optional)This records when an alert was last acknowledged. This is set when the user has dismissed the alert; other clients that sync this propertySHOULD automatically dismiss or suppress duplicate alerts (alerts with the same alert id that triggered on or before this date-time).¶
For a recurring calendar object, setting theacknowledged
propertyMUST NOT add a new override to therecurrenceOverrides
property. If the alert is not already overridden, theacknowledged
propertyMUST be set on the alert in the base event/task.¶
Certain kinds of alert action may not provide feedback as to when the user sees them, for example, email-based alerts. For those kinds of alerts, this propertyMUST be set immediately when the alert is triggered and the action is successfully carried out.¶
String[Relation]
(optional)String
(optional, default:display
)This describes how to alert the user.¶
The valueMUST be at most one of the following values, a value registered in the IANA "JSCalendar Enum Values" registry, or a vendor-specific value (seeSection 3.3):¶
Type:String[PatchObject]
(optional)¶
A map where each key is a language tag[RFC5646], and the corresponding value is a set of patches to apply to the calendar object in order to localize it into that locale.¶
See the description ofPatchObject (Section 1.4.9) for the structure of the PatchObject. The patches are applied to the top-level calendar object. In addition, thelocale
property of the patched object is set to the language tag. All pointers for patchesMUST end with one of the following suffixes; any patch that does not follow thisMUST be ignored unless otherwise specified in a future RFC:¶
A patchMUST NOT have the prefixrecurrenceOverrides
; any localization of the overrideMUST be a patch to thelocalizations
property inside the override instead. For example, a patch tolocations/abcd1234/title
is permissible, but a patch touid
orrecurrenceOverrides/2020-01-05T14:00:00/title
is not.¶
Note that this specification does not define how to maintain validity of localized content. For example, a client application changing a JSCalendar object'stitle
property might also need to update any localizations of this property. Client implementationsSHOULD provide the means to manage localizations, but how to achieve this is specific to the application's workflow and requirements.¶
Type:TimeZoneId|null
(optional, default: null)¶
This identifies the time zone the object is scheduled in or is null for floating time. This is either a name from the IANA Time Zone Database[TZDB] or the TimeZoneId of a custom time zone from thetimeZones
property (Section 4.7.2). If omitted, thisMUST be presumed to be null (i.e., floating time).¶
Type:TimeZoneId[TimeZone]
(optional)¶
This maps identifiers of custom time zones to their time zone definitions. The following restrictions apply for each key in the map:¶
/
character.¶paramtext
value, as specified inSection 3.1 of [RFC5545].¶An identifier need only be unique to this JSCalendar object. ItMAY differ from thetzId
property value of the TimeZone object it maps to.¶
A JSCalendar object may be part of a hierarchy of other JSCalendar objects (say, an Event is an entry in a Group). In this case, the set of time zones is the sum of the time zone definitions of this object and its parent objects. If multiple time zones with the same identifier exist, then the definition closest to the calendar object in relation to its parentsMUST be used. (In context of Event, a time zone definition in itstimeZones
property has precedence over a definition of the same id in the Group). Time zone definitions in any children of the calendar objectMUST be ignored.¶
A TimeZone object maps a VTIMEZONE component from iCalendar, and the semantics are as defined in[RFC5545]. A valid time zoneMUST define at least one transition rule in thestandard
ordaylight
property. Its properties are:¶
String
(mandatory)TimeZone
.¶String
(mandatory)paramtext
value as specified in Section 3.1. of[RFC5545].¶UTCDateTime
(optional)String
(optional)UTCDateTime
(optional)String[Boolean]
(optional)TimeZoneRule[]
(optional)TimeZoneRule[]
(optional)A TimeZoneRule object maps a STANDARD or DAYLIGHT sub-component from iCalendar, with the restriction that, at most, one recurrence rule is allowed per rule. It has the following properties:¶
String
(mandatory)TimeZoneRule
.¶LocalDateTime
(mandatory)String
(mandatory)String
(mandatory)RecurrenceRule[]
(optional)until
property valueMUST be interpreted as a local time in the UTC time zone.¶LocalDateTime[PatchObject]
(optional)String[Boolean]
optional)tznparam
component from iCalendar. The value for each key in the mapMUST be true.¶String[]
(optional)In addition to the common JSCalendar objectproperties (Section 4), an Event has the following properties:¶
Type:LocalDateTime
(mandatory)¶
This is the date/time the event starts in the event's time zone (as specified in thetimeZone
property, seeSection 4.7.1).¶
Type:Duration
(optional, default:PT0S
)¶
This is the zero or positive duration of the event in the event's start time zone. The end time of an event can be found by adding the duration to the event's start time.¶
An EventMAY involve start and end locations that are in different time zones (e.g., a transcontinental flight). This can be expressed using therelativeTo
andtimeZone
properties of the Event's Location objects (seeSection 4.2.5).¶
Type:String
(optional, default:confirmed
)¶
This is the scheduling status (Section 4.4) of an Event. If set, itMUST be one of the following values, another value registered in the IANA "JSCalendar Enum Values" registry, or a vendor-specific value (seeSection 3.3):¶
In addition to the common JSCalendar objectproperties (Section 4), a Task has the following properties:¶
Type:LocalDateTime
(optional)¶
This is the date/time the task is due in the task's time zone.¶
Type:LocalDateTime
(optional)¶
This the date/time the task should start in the task's time zone.¶
Type:Duration
(optional)¶
This specifies the estimated positive duration of time the task takes to complete.¶
Type:UnsignedInt
(optional)¶
This represents the percent completion of the task overall. The property valueMUST be a positive integer between 0 and 100.¶
Type:String
(optional)¶
This defines the progress of this task. If omitted, the default progress (Section 4.4) of a Task is defined as follows (in order of evaluation):¶
completed
:progress
property value of all participants iscompleted
¶failed
:progress
property value of a participant isfailed
¶in-process
:progress
property value of a participant isin-process
¶needs-action
:If set, itMUST be one of the following values, another value registered in the IANA "JSCalendar Enum Values" registry, or a vendor-specific value (seeSection 3.3):¶
Type:UTCDateTime
(optional)¶
This specifies the date/time theprogress
property of either the task overall (Section 5.2.5) or a specific participant (Section 4.4.6) was last updated.¶
If the task is recurring and has future instances, a client may want to keep track of the last progress update timestamp of a specific task recurrence but leave other instances unchanged. One way to achieve this is by overriding theprogressUpdated
property in the taskrecurrenceOverrides
property. However, this could produce a long list of timestamps for regularly recurring tasks. An alternative approach is to split the Task into a current, single instance of Task with this instance progress update time and a future recurring instance. See alsoSection 4.1.3 on splitting.¶
Group supports the following commonJSCalendar properties (Section 4):¶
In addition, the following Group-specific properties are supported:¶
The following examples illustrate several aspects of the JSCalendar data model and format. The examples may omit mandatory or additional properties, which is indicated by a placeholder property with key...
. While most of the examples use calendar event objects, they are also illustrative for tasks.¶
This example illustrates a simple one-time event. It specifies a one-time event that begins on January 15, 2020 at 1 pm New York local time and ends after 1 hour.¶
{ "@type": "Event", "uid": "a8df6573-0474-496d-8496-033ad45d7fea", "updated": "2020-01-02T18:23:04Z", "title": "Some event", "start": "2020-01-15T13:00:00", "timeZone": "America/New_York", "duration": "PT1H"}¶
This example illustrates a simple task for a plain to-do item.¶
{ "@type": "Task", "uid": "2a358cee-6489-4f14-a57f-c104db4dc2f2", "updated": "2020-01-09T14:32:01Z", "title": "Do something"}¶
This example illustrates a simple calendar object group that contains an event and a task.¶
{ "@type": "Group", "uid": "bf0ac22b-4989-4caf-9ebd-54301b4ee51a", "updated": "2020-01-15T18:00:00Z", "name": "A simple group", "entries": [{ "@type": "Event", "uid": "a8df6573-0474-496d-8496-033ad45d7fea", "updated": "2020-01-02T18:23:04Z", "title": "Some event", "start": "2020-01-15T13:00:00", "timeZone": "America/New_York", "duration": "PT1H" }, { "@type": "Task", "uid": "2a358cee-6489-4f14-a57f-c104db4dc2f2", "updated": "2020-01-09T14:32:01Z", "title": "Do something" }]}¶
This example illustrates an event for an international holiday. It specifies an all-day event on April 1 that occurs every year since the year 1900.¶
{ "...": "", "title": "April Fool's Day", "showWithoutTime": true, "start": "1900-04-01T00:00:00", "duration": "P1D", "recurrenceRules": [{ "@type": "RecurrenceRule", "frequency": "yearly" }]}¶
This example illustrates a task with a due date. It is a reminder to buy groceries before 6 pm Vienna local time on January 19, 2020. The calendar user expects to need 1 hour for shopping.¶
{ "...": "", "title": "Buy groceries", "due": "2020-01-19T18:00:00", "timeZone": "Europe/Vienna", "estimatedDuration": "PT1H"}¶
This example illustrates the use of end time zones by use of an international flight. The flight starts on April 1, 2020 at 9 am in Berlin local time. The duration of the flight is scheduled at 10 hours 30 minutes. The time at the flight's destination is in the same time zone as Tokyo. Calendar clients could use the end time zone to display the arrival time in Tokyo local time and highlight the time zone difference of the flight. The location names can serve as input for navigation systems.¶
{ "...": "", "title": "Flight XY51 to Tokyo", "start": "2020-04-01T09:00:00", "timeZone": "Europe/Berlin", "duration": "PT10H30M", "locations": { "1": { "@type": "Location", "rel": "start", "name": "Frankfurt Airport (FRA)" }, "2": { "@type": "Location", "rel": "end", "name": "Narita International Airport (NRT)", "timeZone": "Asia/Tokyo" } }}¶
This example illustrates the use of floating time. Since January 1, 2020, a calendar user blocks 30 minutes every day to practice yoga at 7 am local time in whatever time zone the user is located on that date.¶
{ "...": "", "title": "Yoga", "start": "2020-01-01T07:00:00", "duration": "PT30M", "recurrenceRules": [{ "@type": "RecurrenceRule", "frequency": "daily" }]}¶
This example illustrates an event that happens at both a physical and a virtual location. Fans can see a live concert on premises or online. The event title and descriptions are localized.¶
{ "...": "", "title": "Live from Music Bowl: The Band", "description": "Go see the biggest music event ever!", "locale": "en", "start": "2020-07-04T17:00:00", "timeZone": "America/New_York", "duration": "PT3H", "locations": { "c0503d30-8c50-4372-87b5-7657e8e0fedd": { "@type": "Location", "name": "The Music Bowl", "description": "Music Bowl, Central Park, New York", "coordinates": "geo:40.7829,-73.9654" } }, "virtualLocations": { "vloc1": { "@type": "VirtualLocation", "name": "Free live Stream from Music Bowl", "uri": "https://stream.example.com/the_band_2020" } }, "localizations": { "de": { "title": "Live von der Music Bowl: The Band!", "description": "Schau dir das größte Musikereignis an!", "virtualLocations/vloc1/name": "Gratis Live-Stream aus der Music Bowl" } }}¶
This example illustrates the use of recurrence overrides. A math course at a university is held for the first time on January 8, 2020 at 9 am London time and occurs every week until June 24, 2020. Each lecture lasts for one hour and 30 minutes and is located at the Mathematics department. This event has exceptional occurrences: at the last occurrence of the course is an exam, which lasts for 2 hours and starts at 10 am. Also, the location of the exam differs from the usual location. On April 1, no course is held. On January 7 at 2 pm, there is an optional introduction course, which occurs before the first regular lecture.¶
{ "...": "", "title": "Calculus I", "start": "2020-01-08T09:00:00", "timeZone": "Europe/London", "duration": "PT1H30M", "locations": { "mlab": { "@type": "Location", "title": "Math lab room 1", "description": "Math Lab I, Department of Mathematics" } }, "recurrenceRules": [{ "@type": "RecurrenceRule", "frequency": "weekly", "until": "2020-06-24T09:00:00" }], "recurrenceOverrides": { "2020-01-07T14:00:00": { "title": "Introduction to Calculus I (optional)" }, "2020-04-01T09:00:00": { "excluded": true }, "2020-06-25T09:00:00": { "title": "Calculus I Exam", "start": "2020-06-25T10:00:00", "duration": "PT2H", "locations": { "auditorium": { "@type": "Location", "title": "Big Auditorium", "description": "Big Auditorium, Other Road" } } } }}¶
This example illustrates scheduled events. A team meeting occurs every week since January 8, 2020 at 9 am Johannesburg time. The event owner also chairs the event. Participants meet in a virtual meeting room. An attendee has accepted the invitation, but, on March 4, 2020, he is unavailable and declined participation for this occurrence.¶
{ "...": "", "title": "FooBar team meeting", "start": "2020-01-08T09:00:00", "timeZone": "Africa/Johannesburg", "duration": "PT1H", "virtualLocations": { "0": { "@type": "VirtualLocation", "name": "ChatMe meeting room", "uri": "https://chatme.example.com?id=1234567&pw=a8a24627b63d" } }, "recurrenceRules": [{ "@type": "RecurrenceRule", "frequency": "weekly" }], "replyTo": { "imip": "mailto:f245f875-7f63-4a5e-a2c8@schedule.example.com" }, "participants": { "dG9tQGZvb2Jhci5xlLmNvbQ": { "@type": "Participant", "name": "Tom Tool", "email": "tom@foobar.example.com", "sendTo": { "imip": "mailto:tom@calendar.example.com" }, "participationStatus": "accepted", "roles": { "attendee": true } }, "em9lQGZvb2GFtcGxlLmNvbQ": { "@type": "Participant", "name": "Zoe Zelda", "email": "zoe@foobar.example.com", "sendTo": { "imip": "mailto:zoe@foobar.example.com" }, "participationStatus": "accepted", "roles": { "owner": true, "attendee": true, "chair": true } } }, "recurrenceOverrides": { "2020-03-04T09:00:00": { "participants/dG9tQGZvb2Jhci5xlLmNvbQ/participationStatus": "declined" } }}¶
Calendaring and scheduling information is very privacy sensitive. It can reveal the social network of a user, location information of this user and those in their social network, identity and credentials information, and patterns of behavior of the user in both the physical and cyber realm. Additionally, calendar events and tasks can influence the physical location of a user or their cyber behavior within a known time window. Its transmission and storage must be done carefully to protect it from possible threats, such as eavesdropping, replay, message insertion, deletion, modification, and on-path attacks.¶
The data being stored and transmitted may be used in systems with real-world consequences. For example, a home automation system may turn an alarm on and off or a coworking space may charge money to the organizer of an event that books one of their meeting rooms. Such systems must be careful to authenticate all data they receive to prevent them from being subverted and ensure the change comes from an authorized entity.¶
This document only defines the data format; such considerations are primarily the concern of the API or method of storage and transmission of such files.¶
A recurrence rule may produce infinite occurrences of an event. ImplementationsMUST handle expansions carefully to prevent accidental or deliberate resource exhaustion.¶
Conversely, a recurrence rule may be specified that does not expand to anything. It is not always possible to tell this through static analysis of the rule, so implementationsMUST be careful to avoid getting stuck in infinite loops or otherwise exhausting resources while searching for the next occurrence.¶
Events recur in the event's time zone. If the user is in a different time zone, daylight saving transitions may cause an event that normally occurs at, for example, 9 am to suddenly shift an hour earlier. This may be used in an attempt to cause a participant to miss an important meeting. User agents must be careful to translate date-times correctly between time zones and may wish to call out unexpected changes in the time of a recurring event.¶
The security considerations of[RFC8259] apply to the use of JSON as the data interchange format.¶
As for any serialization format, parsers need to thoroughly check the syntax of the supplied data. JSON uses opening and closing tags for several types and structures, and it is possible that the end of the supplied data will be reached when scanning for a matching closing tag; this is an error condition, and implementations need to stop scanning at the end of the supplied data.¶
JSON also uses a string encoding with some escape sequences to encode special characters within a string. Care is needed when processing these escape sequences to ensure that they are fully formed before the special processing is triggered, with special care taken when the escape sequences appear adjacent to other (non-escaped) special characters or adjacent to the end of data (as in the previous paragraph).¶
If parsing JSON into a non-textual structured data format, implementations may need to allocate storage to hold JSON string elements. Since JSON does not use explicit string lengths, the risk of denial of service due to resource exhaustion is small, but implementations may still wish to place limits on the size of allocations they are willing to make in any given context, to avoid untrusted data causing excessive memory allocation.¶
Several JSCalendar properties contain URIs as values, and processing these properties requires extra care.Section 7 of [RFC3986] discusses security risks related to URIs.¶
Fetching remote resources carries inherent risks. Connections must only be allowed on well-known ports, using allowed protocols (generally, just HTTP/HTTPS on their default ports). The URL must be resolved externally and not allowed to access internal resources. Connecting to an external source reveals IP (and therefore often location) information.¶
A maliciously constructed JSCalendar object may contain a very large number of URIs. In the case of published calendars with a large number of subscribers, such objects could be widely distributed. Implementations should be careful to limit the automatic fetching of linked resources to reduce the risk of this being an amplification vector for a denial-of-service attack.¶
Calendar systems may receive JSCalendar files from untrusted sources, in particular, as attachments to emails. This can be a vector for an attacker to inject spam into a user's calendar. This may confuse, annoy, and mislead users or overwhelm their calendar with bogus events, preventing them from seeing legitimate ones.¶
Heuristic, statistical, or machine-learning-based filters can be effective in filtering out spam. Authentication mechanisms, such as DomainKeys Identified Mail (DKIM)[RFC6376], can help establish the source of messages and associate the data with existing relationships (such as an address book contact). However, misclassifications are always possible and providing a mechanism for users to quickly correct this is advised.¶
Confusable unicode characters may be used to trick a user into trusting a JSCalendar file that appears to come from a known contact but is actually from a similar-looking source controlled by an attacker.¶
It is important for calendar systems to maintain the UID of an event when updating it to avoid an unexpected duplication of events. Consumers of the data may not remove the previous version of the event if it has a different UID. This can lead to a confusing situation for the user, with many variations of the event and no indication of which one is correct. Care must be taken by consumers of the data to remove old events where possible to avoid an accidental denial-of-service attack due to the volume of data.¶
Events recur in a particular time zone. When this differs from the user's current time zone, it may unexpectedly cause an occurrence to shift in time for that user due to a daylight savings change in the event's time zone. A maliciously crafted event could attempt to confuse users with such an event to ensure a meeting is missed.¶
This document defines a media type for use with JSCalendar data formatted in JSON.¶
type¶
Thetype
parameter conveys the type of the JSCalendar data in the body part. The allowed parameter values correspond to the@type
property of the JSON-formatted JSCalendar object in the body:¶
event
:@type
property valueMUST beEvent
.¶task
:@type
property valueMUST beTask
.¶group
:@type
property valueMUST beGroup
.¶No other parameter values are allowed. The parameterMUST NOT occur more than once.¶
IANA has created the "JSCalendar Properties" registry to allow interoperability of extensions to JSCalendar objects.¶
This registry follows the Expert Review process ([RFC8126],Section 4.5). If the "Intended Usage" field iscommon
, sufficient documentation is required to enable interoperability. Preliminary community review for this registry is optional but strongly encouraged.¶
A registration can have an intended usage ofcommon
,reserved
, orobsolete
. IANA will list registrations with a common usage designation prominently and separately from those with other intended usage values.¶
Areserved
registration reserves a property name without assigning semantics to avoid name collisions with future extensions or protocol use.¶
Anobsolete
registration denotes a property that is no longer expected to be added by up-to-date systems. A new property has probably been defined covering the obsolete property's semantics.¶
The JSCalendar property registration procedure is not a formal standards process but rather an administrative procedure intended to allow community comment and check it is coherent without excessive time delay. It is designed to encourage vendors to document and register new properties they add for use cases not covered by the original specification, leading to increased interoperability.¶
Notice of a potential new registrationSHOULD be sent to the Calext mailing list <calsify@ietf.org> for review. This mailing list is appropriate to solicit community feedback on a proposed new property.¶
Property registrations must be marked with their intended use: "common", "reserved", or "obsolete".¶
The intent of the public posting to this list is to solicit comments and feedback on the choice of the property name, the unambiguity of the specification document, and a review of any interoperability or security considerations. The submitter may submit a revised registration proposal or abandon the registration completely at any time.¶
Registration requests can be sent to <iana@iana.org>.¶
The primary concern of the designated expert (DE) is preventing name collisions and encouraging the submitter to document security and privacy considerations. For a common-use registration, the DE is expected to confirm that suitable documentation, as described inSection 4.6 of [RFC8126], is available to ensure interoperability. That documentation will usually be in an RFC, but simple definitions are likely to use a web/wiki page, and if a sentence or two is deemed sufficient, it could be described in the registry itself. The DE should also verify that the property name does not conflict with work that is active or already published within the IETF. A published specification is not required for reserved or obsolete registrations.¶
The DE will either approve or deny the registration request and publish a notice of the decision to the Calext WG mailing list or its successor, as well as inform IANA. A denial notice must be justified by an explanation, and, in the cases where it is possible, concrete suggestions on how the request can be modified so as to become acceptable should be provided.¶
Once a JSCalendar property has been published by IANA, the change controller may request a change to its definition. The same procedure that would be appropriate for the original registration request is used to process a change request.¶
JSCalendar property registrations may not be deleted; properties that are no longer believed appropriate for use can be declared obsolete by a change to their "intended usage" field; such properties will be clearly marked in the IANA registry.¶
Significant changes to a JSCalendar property's definition should be requested only when there are serious omissions or errors in the published specification, as such changes may cause interoperability issues. When review is required, a change request may be denied if it renders entities that were valid under the previous definition invalid under the new definition.¶
The owner of a JSCalendar property may pass responsibility to another person or agency by informing IANA; this can be done without discussion or review.¶
IETF
for RFCs from the IETF stream).¶The following table lists the initial entries of the "JSCalendar Properties" registry. All properties are for common use. All RFC section references are for this document. The change controller for all these properties is "IETF".¶
Property Name | Property Type | Property Context | Reference or Description |
---|---|---|---|
@type | String | Event, Task, Group, AbsoluteTrigger, Alert, Link, Location, NDay, OffsetTrigger, Participant, RecurrenceRule, Relation, TimeZone, TimeZoneRule, VirtualLocation | Section 4.1.1,Section 4.5.2,Section 1.4.11,Section 4.2.5,Section 4.4.6,Section 4.3.3,Section 1.4.10,Section 4.7.2,Section 4.2.6 |
acknowledged | UTCDateTime | Alert | Section 4.5.2 |
action | String | Alert | Section 4.5.2 |
alerts | Id[Alert] | Event, Task | Section 4.5.2 |
aliases | String[Boolean] | TimeZone | Section 4.7.2 |
byDay | NDay[] | RecurrenceRule | Section 4.3.3 |
byHour | UnsignedInt[] | RecurrenceRule | Section 4.3.3 |
byMinute | UnsignedInt[] | RecurrenceRule | Section 4.3.3 |
byMonth | String[] | RecurrenceRule | Section 4.3.3 |
byMonthDay | Int[] | RecurrenceRule | Section 4.3.3 |
bySecond | UnsignedInt[] | RecurrenceRule | Section 4.3.3 |
bySetPosition | Int[] | RecurrenceRule | Section 4.3.3 |
byWeekNo | Int[] | RecurrenceRule | Section 4.3.3 |
byYearDay | Int[] | RecurrenceRule | Section 4.3.3 |
categories | String[Boolean] | Event, Task, Group | Section 4.2.10 |
cid | String | Link | Section 1.4.11 |
color | String | Event, Task, Group | Section 4.2.11 |
comments | String[] | TimeZoneRule | Section 4.7.2 |
contentType | String | Link | Section 1.4.11 |
coordinates | String | Location | Section 4.2.5 |
count | UnsignedInt | RecurrenceRule | Section 4.3.3 |
created | UTCDateTime | Event, Task, Group | Section 4.1.5 |
day | String | NDay | Section 4.3.3 |
daylight | TimeZoneRule[] | TimeZone | Section 4.7.2 |
delegatedFrom | Id[Boolean] | Participant | Section 4.4.6 |
delegatedTo | Id[Boolean] | Participant | Section 4.4.6 |
description | String | Event, Task, Location, Participant, VirtualLocation | Section 4.2.2,Section 4.2.5,Section 4.4.6,Section 4.2.6 |
descriptionContentType | String | Event, Task | Section 4.2.3 |
display | String | Link | Section 1.4.11 |
due | LocalDateTime | Task | Section 5.2.1 |
duration | Duration | Event | Section 5.1.2 |
String | Participant | Section 4.4.6 | |
entries | (Task|Event)[] | Group | Section 5.3.1 |
estimatedDuration | Duration | Task | Section 5.2.3 |
excluded | Boolean | Event, Task | Section 4.3.6 |
excludedRecurrenceRules | RecurrenceRule[] | Event, Task | Section 4.3.4 |
expectReply | Boolean | Participant | Section 4.4.6 |
features | String[Boolean] | VirtualLocation | Section 4.2.6 |
firstDayOfWeek | String | RecurrenceRule | Section 4.3.3 |
freeBusyStatus | String | Event, Task | Section 4.4.2 |
frequency | String | RecurrenceRule | Section 4.3.3 |
href | String | Link | Section 1.4.11 |
interval | UnsignedInt | RecurrenceRule | Section 4.3.3 |
invitedBy | Id | Participant | Section 4.4.6 |
keywords | String[Boolean] | Event, Task, Group | Section 4.2.9 |
kind | String | Participant | Section 4.4.6 |
language | String | Participant | Section 4.4.6 |
links | Id[Link] | Group, Event, Task, Location, Participant | Section 4.2.7,Section 4.2.5,Section 4.4.6 |
locale | String | Group, Event, Task | Section 4.2.8 |
localizations | String[PatchObject] | Event, Task | Section 4.6.1 |
locationId | Id | Participant | Section 4.4.6 |
locations | Id[Location] | Event, Task | Section 4.2.5 |
locationTypes | String[Boolean] | Location | Section 4.2.5 |
memberOf | Id[Boolean] | Participant | Section 4.4.6 |
method | String | Event, Task | Section 4.1.8 |
name | String | Location, VirtualLocation, Participant | Section 4.2.5,Section 4.2.6,Section 4.4.6 |
names | String[Boolean] | TimeZoneRule | Section 4.7.2 |
nthOfPeriod | Int | NDay | Section 4.3.3 |
offset | SignedDuration | OffsetTrigger | Section 4.5.2 |
offsetFrom | UTCDateTime | TimeZoneRule | Section 4.7.2 |
offsetTo | UTCDateTime | TimeZoneRule | Section 4.7.2 |
participants | Id[Participant] | Event, Task | Section 4.4.6 |
participationComment | String | Participant | Section 4.4.6 |
participationStatus | String | Participant | Section 4.4.6 |
percentComplete | UnsignedInt | Task, Participant | Section 5.2.4 |
priority | Int | Event, Task | Section 4.4.1 |
privacy | String | Event, Task | Section 4.4.3 |
prodId | String | Event, Task, Group | Section 4.1.4 |
progress | String | Task, Participant | Section 5.2.5 |
progressUpdated | UTCDateTime | Task, Participant | Section 5.2.6 |
recurrenceId | LocalDateTime | Event, Task | Section 4.3.1 |
recurrenceIdTimeZone | TimeZoneId|null | Event, Task | Section 4.3.2 |
recurrenceOverrides | LocalDateTime[PatchObject] | Event, Task, TimeZoneRule | Section 4.3.5,Section 4.7.2 |
recurrenceRules | RecurrenceRule[] | Event, Task, TimeZoneRule | Section 4.3.3,Section 4.7.2 |
rel | String | Link | Section 1.4.11 |
relatedTo | String[Relation] | Event, Task, Alert | Section 4.1.3,Section 4.5.2 |
relation | String[Boolean] | Relation | Section 1.4.10 |
relativeTo | String | OffsetTrigger, Location | Section 4.5.2,Section 4.2.5 |
replyTo | String[String] | Event, Task | Section 4.4.4 |
requestStatus | String | Event, Task | Section 4.4.7 |
roles | String[Boolean] | Participant | Section 4.4.6 |
rscale | String | RecurrenceRule | Section 4.3.3 |
sentBy | String | Event, Task, Participant | Section 4.4.5,Section 4.4.6 |
standard | TimeZoneRule[] | TimeZone | Section 4.7.2 |
start | LocalDateTime | TimeZoneRule | Section 4.7.2 |
scheduleAgent | String | Participant | Section 4.4.6 |
scheduleForceSend | Boolean | Participant | Section 4.4.6 |
scheduleSequence | UnsignedInt | Participant | Section 4.4.6 |
scheduleStatus | String[] | Participant | Section 4.4.6 |
scheduleUpdated | UTCDateTime | Participant | Section 4.4.6 |
sendTo | String[String] | Participant | Section 4.4.6 |
sequence | UnsignedInt | Event, Task | Section 4.1.7 |
showWithoutTime | Boolean | Event, Task | Section 4.2.4 |
size | UnsignedInt | Link | Section 1.4.11 |
skip | String | RecurrenceRule | Section 4.3.3 |
source | String | Group | Section 5.3.2 |
start | LocalDateTime | Event, Task | Section 5.1.1,Section 5.2.2 |
status | String | Event | Section 5.1.3 |
timeZone | TimeZoneId|null | Event, Task, Location | Section 4.7.1,Section 4.2.5 |
timeZones | TimeZoneId[TimeZone] | Event, Task | Section 4.7.2 |
title | String | Event, Task, Group, Link | Section 4.2.1 |
trigger | OffsetTrigger|AbsoluteTrigger|UnknownTrigger | Alert | Section 4.5.2 |
tzId | String | TimeZone | Section 4.7.2 |
uid | String | Event, Task, Group | Section 4.1.2 |
until | LocalDateTime | RecurrenceRule | Section 4.3.3 |
updated | UTCDateTime | Event, Task, Group | Section 4.1.6 |
uri | String | VirtualLocation | Section 4.2.6 |
url | String | TimeZone | Section 4.7.2 |
useDefaultAlerts | Boolean | Event, Task | Section 4.5.1 |
validUntil | UTCDateTime | TimeZone | Section 4.7.2 |
virtualLocations | Id[VirtualLocation] | Event, Task | Section 4.2.6 |
when | UTCDateTime | AbsoluteTrigger | Section 4.5.2 |
IANA has created the "JSCalendar Types" registry to avoid name collisions and provide a complete reference for all data types used for JSCalendar property values. The registration process is the same as for the "JSCalendar Properties" registry, as defined inSection 8.2.¶
IETF
for RFCs from the IETF stream)¶The following table lists the initial entries of the JSCalendar Types registry. All properties are for common use. All RFC section references are for this document. The change controller for all these properties is "IETF".¶
Type Name | Reference or Description |
---|---|
Alert | Section 4.5.2 |
Boolean | Section 1.3 |
Duration | Section 1.4.6 |
Id | Section 1.4.1 |
Int | Section 1.4.2 |
LocalDateTime | Section 1.4.5 |
Link | Section 1.4.11 |
Location | Section 4.2.5 |
NDay | Section 4.3.3 |
Number | Section 1.3 |
Participant | Section 4.4.6 |
PatchObject | Section 1.4.9 |
RecurrenceRule | Section 4.3.3 |
Relation | Section 1.4.10 |
SignedDuration | Section 1.4.7 |
String | Section 1.3 |
TimeZone | Section 4.7.2 |
TimeZoneId | Section 1.4.8 |
TimeZoneRule | Section 4.7.2 |
UnsignedInt | Section 1.4.3 |
UTCDateTime | Section 1.4.4 |
VirtualLocation | Section 4.2.6 |
IANA has created the "JSCalendar Enum Values" registry to allow interoperable extension of semantics for properties with enumerable values. Each such property will have a subregistry of allowed values. The registration process for a new enum value or adding a new enumerable property is the same as for the "JSCalendar Properties" registry, as defined inSection 8.2.¶
This template is for adding a subregistry for a new enumerable property to the "JSCalendar Enum" registry.¶
IETF
for properties defined in RFCs from the IETF stream).¶This template is for adding a new enum value to a subregistry in the JSCalendar Enum registry.¶
For each subregistry created in this section, all RFC section references are for this document.¶
Enum Value | Reference or Description |
---|---|
display | Section 4.5.2 |
Section 4.5.2 |
Enum Value | Reference or Description |
---|---|
badge | Section 1.4.11 |
graphic | Section 1.4.11 |
fullsize | Section 1.4.11 |
thumbnail | Section 1.4.11 |
Enum Value | Reference or Description |
---|---|
audio | Section 4.2.6 |
chat | Section 4.2.6 |
feed | Section 4.2.6 |
moderator | Section 4.2.6 |
phone | Section 4.2.6 |
screen | Section 4.2.6 |
video | Section 4.2.6 |
Enum Value | Reference or Description |
---|---|
free | Section 4.4.2 |
busy | Section 4.4.2 |
Enum Value | Reference or Description |
---|---|
individual | Section 4.4.6 |
group | Section 4.4.6 |
resource | Section 4.4.6 |
location | Section 4.4.6 |
Enum Value | Reference or Description |
---|---|
needs-action | Section 4.4.6 |
accepted | Section 4.4.6 |
declined | Section 4.4.6 |
tentative | Section 4.4.6 |
delegated | Section 4.4.6 |
Enum Value | Reference or Description |
---|---|
public | Section 4.4.3 |
private | Section 4.4.3 |
secret | Section 4.4.3 |
Enum Value | Reference or Description |
---|---|
needs-action | Section 5.2.5 |
in-process | Section 5.2.5 |
completed | Section 5.2.5 |
failed | Section 5.2.5 |
cancelled | Section 5.2.5 |
Enum Value | Reference or Description |
---|---|
first | Section 1.4.10 |
next | Section 1.4.10 |
child | Section 1.4.10 |
parent | Section 1.4.10 |
Enum Value | Reference or Description |
---|---|
start | Section 4.5.2 |
end | Section 4.5.2 |
Enum Value | Reference or Description |
---|---|
owner | Section 4.4.6 |
attendee | Section 4.4.6 |
optional | Section 4.4.6 |
informational | Section 4.4.6 |
chair | Section 4.4.6 |
contact | Section 4.4.6 |
Enum Value | Reference or Description |
---|---|
server | Section 4.4.6 |
client | Section 4.4.6 |
none | Section 4.4.6 |
Enum Value | Reference or Description |
---|---|
confirmed | Section 5.1.3 |
cancelled | Section 5.1.3 |
tentative | Section 5.1.3 |
The authors would like to thank the members of CalConnect for their valuable contributions. This specification originated from the work of the API technical committee of CalConnect: The Calendaring and Scheduling Consortium.¶