CINXE.COM

draft-ietf-jmap-calendars-22 - JSON Meta Application Protocol (JMAP) for Calendars

<!DOCTYPE html> <html data-bs-theme="auto" lang="en" prefix="og: http://ogp.me/ns# article: http://ogp.me/ns/article#"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title> draft-ietf-jmap-calendars-22 - JSON Meta Application Protocol (JMAP) for Calendars </title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://static.ietf.org/fonts/inter/import.css" rel="stylesheet"> <link href="https://static.ietf.org/fonts/noto-sans-mono/import.css" rel="stylesheet"> <link rel="stylesheet" href="https://static.ietf.org/dt/12.28.2/ietf/css/ietf.css"> <link rel="stylesheet" href="https://static.ietf.org/dt/12.28.2/ietf/css/select2.css"> <script src="https://static.ietf.org/dt/12.28.2/ietf/js/theme.js"></script> <style> .inline { display: inline; } </style> <meta property="og:title" content="JSON Meta Application Protocol (JMAP) for Calendars"> <meta property="og:url" content="https://datatracker.ietf.org/doc/draft-ietf-jmap-calendars/"> <link rel="canonical" href="https://datatracker.ietf.org/doc/draft-ietf-jmap-calendars/"> <meta property="og:site_name" content="IETF Datatracker"> <meta property="og:description" content="This document specifies a data model for synchronizing calendar data with a server using JMAP. Clients can use this to efficiently read, write, and share calendars and events, receive push notifications for changes or event reminders, and keep track of changes made by others in a multi-user environment."> <meta property="og:type" content="article"> <meta property="og:image" content="https://static.ietf.org/dt/12.28.2/ietf/images/ietf-logo-card.png"> <meta property="og:image:alt" content="Logo of the IETF"> <meta property="article:section" content="IETF - Internet Engineering Task Force"> <meta property="og:image:type" content="image/png"> <meta property="og:image:width" content="1200"> <meta property="og:image:height" content="630"> <meta name="twitter:card" content="summary_large_image"> <meta property="article:author" content="Neil Jenkins"> <meta property="article:author" content="Michael Douglass"> <link rel="alternate" type="application/atom+xml" title="Document changes" href="/feed/document-changes/draft-ietf-jmap-calendars/"> <meta name="description" content="JSON Meta Application Protocol (JMAP) for Calendars "> <script type="module" crossorigin="" src="https://static.ietf.org/dt/12.28.2/assets/embedded-e653257c.js"></script> <link href="https://static.ietf.org/dt/12.28.2/assets/create-pinia-singleton-091c62b7.js" type="text/javascript" crossorigin="anonymous" rel="modulepreload" as="script" /> <link href="https://static.ietf.org/dt/12.28.2/assets/Scrollbar-7de50899.js" type="text/javascript" crossorigin="anonymous" rel="modulepreload" as="script" /> <link rel="apple-touch-icon" sizes="180x180" href="https://static.ietf.org/dt/12.28.2/ietf/images/ietf-logo-nor-180.png"> <link rel="icon" sizes="32x32" href="https://static.ietf.org/dt/12.28.2/ietf/images/ietf-logo-nor-32.png"> <link rel="icon" sizes="16x16" href="https://static.ietf.org/dt/12.28.2/ietf/images/ietf-logo-nor-16.png"> <link rel="manifest" href="/site.webmanifest"> <link rel="mask-icon" href="https://static.ietf.org/dt/12.28.2/ietf/images/ietf-logo-nor-mask.svg" color="#ffffff"> <meta name="msapplication-TileColor" content="#ffffff"> <meta name="theme-color" content="#ffffff"> <script src="https://static.ietf.org/dt/12.28.2/ietf/js/ietf.js"></script> </head> <body class="navbar-offset position-relative" data-group-menu-data-url="/group/groupmenu.json"> <noscript><iframe class="status" title="Site status" src="/status/latest"></iframe></noscript> <div class="vue-embed" data-component="Status"></div> <a class="visually-hidden visually-hidden-focusable" href="#content">Skip to main content</a> <nav class="navbar navbar-expand-lg fixed-top bg-secondary-subtle"> <div class="container-fluid"> <a class="navbar-brand" href="/"> <img alt="IETF Logo" class="d-lm-none me-2" src="https://static.ietf.org/dt/12.28.2/ietf/images/ietf-logo-nor-white.svg" > <img alt="IETF Logo" class="d-dm-none me-2" src="https://static.ietf.org/dt/12.28.2/ietf/images/ietf-logo-nor.svg" > Datatracker </a> <div class="collapse navbar-collapse" id="navbar-collapse"> <ul class="nav navbar-nav flex-nowrap"> <li class="nav-item dropdown"> <a href="#" class="nav-link dropdown-toggle" role="button" data-bs-toggle="dropdown" aria-expanded="false"> Groups </a> <ul class="dropdown-menu mt-n1"> <li class="dropdown-header">By area/parent</li> <li class="dropend group-menu group-parent-2010"> <a class="dropdown-item dropdown-toggle " href="/wg/#ART"> Apps &amp; Realtime </a> </li> <li class="dropend group-menu group-parent-1008"> <a class="dropdown-item dropdown-toggle " href="/wg/#GEN"> General </a> </li> <li class="dropend group-menu group-parent-1052"> <a class="dropdown-item dropdown-toggle " href="/wg/#INT"> Internet </a> </li> <li class="dropend group-menu group-parent-1193"> <a class="dropdown-item dropdown-toggle " href="/wg/#OPS"> Ops &amp; Management </a> </li> <li class="dropend group-menu group-parent-1249"> <a class="dropdown-item dropdown-toggle " href="/wg/#RTG"> Routing </a> </li> <li class="dropend group-menu group-parent-1260"> <a class="dropdown-item dropdown-toggle " href="/wg/#SEC"> Security </a> </li> <li class="dropend group-menu group-parent-2412"> <a class="dropdown-item dropdown-toggle " href="/wg/#WIT"> Web and Internet Transport </a> </li> <li class="dropend group-menu group-parent-7"> <a class="dropdown-item dropdown-toggle " href="/program/"> IAB </a> </li> <li class="dropend group-menu group-parent-3"> <a class="dropdown-item dropdown-toggle " href="/rg/"> IRTF </a> </li> <li class="dropend group-menu group-parent-2309"> <a class="dropdown-item dropdown-toggle " href="/adm/"> IETF LLC </a> </li> <li class="dropend group-menu group-parent-1876"> <a class="dropdown-item dropdown-toggle " href="/rfcedtyp/"> RFC Editor </a> </li> <li class="dropend"> <a class="dropdown-item dropdown-toggle " href="/group/"> Other </a> <ul class="dropdown-menu ms-n1"> <li> <a class="dropdown-item " href="/ag/">Active AGs</a> </li> <li> <a class="dropdown-item " href="/area/">Active Areas</a> </li> <li> <a class="dropdown-item " href="/dir/">Active Directorates</a> </li> <li> <a class="dropdown-item " href="/iabworkshop/">Active IAB Workshops</a> </li> <li> <a class="dropdown-item " href="/program/">Active Programs</a> </li> <li> <a class="dropdown-item " href="/rag/">Active RAGs</a> </li> <li> <a class="dropdown-item " href="/team/">Active Teams</a> </li> </ul> </li> <li><hr class="dropdown-divider"></li> <li class="dropdown-header">New work</li> <li> <a class="dropdown-item " href="/group/chartering/"> Chartering groups </a> </li> <li> <a class="dropdown-item " href="/wg/bofs/"> BOFs </a> </li> <li> <a class="dropdown-item " href="/doc/bof-requests"> BOF Requests </a> </li> <li><hr class="dropdown-divider"></li> <li class="dropdown-header">Other groups</li> <li> <a class="dropdown-item " href="/group/concluded/"> Concluded groups </a> </li> <li> <a class="dropdown-item " href="/list/nonwg"> Non-WG lists </a> </li> </ul> </li> <li class="nav-item dropdown"> <a href="#" class="nav-link dropdown-toggle" role="button" data-bs-toggle="dropdown" aria-expanded="false"> Documents </a> <ul class="dropdown-menu mt-n1"> <li> <a class="dropdown-item " href="/doc/search"> Search </a> </li> <li> <a class="dropdown-item " href="/doc/recent"> Recent I-Ds </a> </li> <li> <a class="dropdown-item " href="/submit/"> I-D submission </a> </li> <li> <a class="dropdown-item " href="/doc/ad"> IESG dashboard </a> </li> <li><hr class="dropdown-divider"> </li> <li class="dropdown-header"> RFC streams </li> <li> <a class="dropdown-item " href="/stream/iab/"> IAB </a> </li> <li> <a class="dropdown-item " href="/stream/irtf/"> IRTF </a> </li> <li> <a class="dropdown-item " href="/stream/ise/"> ISE </a> </li> <li> <a class="dropdown-item " href="/stream/editorial/"> Editorial </a> </li> <li><hr class="dropdown-divider"> </li> <li class="dropdown-header"> Subseries </li> <li> <a class="dropdown-item " href="/doc/std"> STD </a> <a class="dropdown-item " href="/doc/bcp"> BCP </a> <a class="dropdown-item " href="/doc/fyi"> FYI </a> </li> </ul> </li> <li class="nav-item dropdown"> <a href="#" class="nav-link dropdown-toggle" role="button" data-bs-toggle="dropdown" aria-expanded="false"> Meetings </a> <ul class="dropdown-menu mt-n1"> <li> <a class="dropdown-item " href="/meeting/agenda"> Agenda </a> </li> <li> <a class="dropdown-item " href="/meeting/materials"> Materials </a> </li> <li> <a class="dropdown-item " href="/meeting/floor-plan"> Floor plan </a> </li> <li> <a class="dropdown-item " href="https://www.ietf.org/how/meetings/register/"> Registration </a> </li> <li> <a class="dropdown-item " href="/meeting/important-dates/"> Important dates </a> </li> <li> <a class="dropdown-item " href="/secr/sreq/"> Request a session </a> </li> <li> <a class="dropdown-item " href="/meeting/requests"> Session requests </a> </li> <li><hr class="dropdown-divider"> </li> <li class="dropdown-header"> Upcoming meetings </li> <li> <a class="dropdown-item " href="/meeting/upcoming"> Upcoming meetings </a> </li> <li><hr class="dropdown-divider"> </li> <li class="dropdown-header"> Past meetings </li> <li> <a class="dropdown-item " href="/meeting/past"> Past meetings </a> </li> <li> <a class="dropdown-item " href="https://www.ietf.org/how/meetings/past/"> Meeting proceedings </a> </li> </ul> </li> <li class="nav-item dropdown"> <a href="#" class="nav-link dropdown-toggle" role="button" data-bs-toggle="dropdown" aria-expanded="false"> Other </a> <ul class="dropdown-menu mt-n1"> <li> <a class="dropdown-item " href="/ipr/"> IPR disclosures </a> </li> <li> <a class="dropdown-item " href="/liaison/"> Liaison statements </a> </li> <li> <a class="dropdown-item " href="/iesg/agenda/"> IESG agenda </a> </li> <li> <a class="dropdown-item " href="/nomcom/"> NomComs </a> </li> <li> <a class="dropdown-item " href="/doc/downref"> Downref registry </a> </li> <li> <a class="dropdown-item " href="/stats/"> Statistics </a> <ul class="dropdown-menu mt-n1"> <li> <a class="dropdown-item " href="/stats/document/"> I-Ds/RFCs </a> </li> <li> <a class="dropdown-item " href="/stats/meeting/"> Meetings </a> </li> </ul> </li> <li> <a class="dropdown-item " href="/api/"> API Help </a> </li> <li> <a class="dropdown-item " href="/release/"> Release notes </a> </li> <li> <a class="dropdown-item " target="_blank" href="https://status.ietf.org"> System status </a> </li> <li><hr class="dropdown-divider"> </li> <li> <a class="dropdown-item text-danger " target="_blank" href="https://github.com/ietf-tools/datatracker/issues/new/choose"> <i class="bi bi-bug"> </i> Report a bug </a> </li> </ul> </li> <li class="nav-item dropdown"> <a href="#" class="nav-link dropdown-toggle" role="button" data-bs-toggle="dropdown" aria-expanded="false"> User </a> <ul class="dropdown-menu mt-n1 "> <li> <a class="dropdown-item " rel="nofollow" href="/accounts/login/?next=/doc/draft-ietf-jmap-calendars/"> Sign in </a> </li> <li> <a class="dropdown-item " rel="nofollow" href="/accounts/reset/"> Password reset </a> </li> <li> <a class="dropdown-item " href="/accounts/settings/" rel="nofollow"> Preferences </a> </li> <li> <a class="dropdown-item " href="/accounts/create/"> New account </a> </li> </ul></li> </ul> </div> <div class="d-flex align-items-center"> <a class="nav-link text-danger d-none d-xl-inline me-xl-4" target="_blank" href="https://github.com/ietf-tools/datatracker/issues/new/choose"> Report a bug <i class="bi bi-bug"></i> </a> <a class="btn me-1 btn-warning d-none d-sm-block" rel="nofollow" href="/accounts/login/?next=/doc/draft-ietf-jmap-calendars/"> Sign in </a> <label class="d-none d-md-block" aria-label="Document search"> <input class="form-control select2-field search-select" id="navbar-doc-search" data-select2-ajax-url="/doc/select2search/document/all/" type="text" data-placeholder="Document search"> </label> </div> <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar-collapse" aria-controls="navbar-collapse" aria-expanded="false" aria-label="Toggle navigation"> <i class="navbar-toggler-icon"></i> </button> </div> </nav> <main class="pt-3 container-fluid" id="main"> <div class="row"> <div class="col mx-lg-3 ietf-auto-nav" id="content"> <noscript> <div class="alert alert-danger alert-ignore my-3"> <b>Javascript disabled?</b> Like other modern websites, the IETF Datatracker relies on Javascript. Please enable Javascript for full functionality. </div> </noscript> <h1> JSON Meta Application Protocol (JMAP) for Calendars <br> <small class="text-body-secondary">draft-ietf-jmap-calendars-22</small> </h1> <ul class="nav nav-tabs my-3"> <li class="nav-item"> <a class="nav-link active" href="/doc/draft-ietf-jmap-calendars/"> Status </a> </li> <li class="nav-item"> <a class="nav-link " href="/doc/draft-ietf-jmap-calendars/ballot/"> IESG evaluation record </a> </li> <li class="nav-item"> <a class="nav-link " href="/doc/draft-ietf-jmap-calendars/writeup/"> IESG writeups </a> </li> <li class="nav-item"> <a class="nav-link " href="/doc/draft-ietf-jmap-calendars/email/"> Email expansions </a> </li> <li class="nav-item"> <a class="nav-link " href="/doc/draft-ietf-jmap-calendars/history/"> History </a> </li> </ul> <label class="my-1 fw-bold">Versions:</label> <nav class="mb-3"> <ul class="revision-list pagination pagination-sm text-center flex-wrap"> <li class="page-item "> <a class="page-link" href="/doc/draft-ietf-jmap-calendars/00/" > 00 </a> </li> <li class="page-item "> <a class="page-link" href="/doc/draft-ietf-jmap-calendars/01/" rel="nofollow"> 01 </a> </li> <li class="page-item "> <a class="page-link" href="/doc/draft-ietf-jmap-calendars/02/" rel="nofollow"> 02 </a> </li> <li class="page-item "> <a class="page-link" href="/doc/draft-ietf-jmap-calendars/03/" rel="nofollow"> 03 </a> </li> <li class="page-item "> <a class="page-link" href="/doc/draft-ietf-jmap-calendars/04/" rel="nofollow"> 04 </a> </li> <li class="page-item "> <a class="page-link" href="/doc/draft-ietf-jmap-calendars/05/" rel="nofollow"> 05 </a> </li> <li class="page-item "> <a class="page-link" href="/doc/draft-ietf-jmap-calendars/06/" rel="nofollow"> 06 </a> </li> <li class="page-item "> <a class="page-link" href="/doc/draft-ietf-jmap-calendars/07/" rel="nofollow"> 07 </a> </li> <li class="page-item "> <a class="page-link" href="/doc/draft-ietf-jmap-calendars/08/" rel="nofollow"> 08 </a> </li> <li class="page-item "> <a class="page-link" href="/doc/draft-ietf-jmap-calendars/09/" rel="nofollow"> 09 </a> </li> <li class="page-item "> <a class="page-link" href="/doc/draft-ietf-jmap-calendars/10/" rel="nofollow"> 10 </a> </li> <li class="page-item "> <a class="page-link" href="/doc/draft-ietf-jmap-calendars/11/" rel="nofollow"> 11 </a> </li> <li class="page-item "> <a class="page-link" href="/doc/draft-ietf-jmap-calendars/12/" rel="nofollow"> 12 </a> </li> <li class="page-item "> <a class="page-link" href="/doc/draft-ietf-jmap-calendars/13/" rel="nofollow"> 13 </a> </li> <li class="page-item "> <a class="page-link" href="/doc/draft-ietf-jmap-calendars/14/" rel="nofollow"> 14 </a> </li> <li class="page-item "> <a class="page-link" href="/doc/draft-ietf-jmap-calendars/15/" rel="nofollow"> 15 </a> </li> <li class="page-item "> <a class="page-link" href="/doc/draft-ietf-jmap-calendars/16/" rel="nofollow"> 16 </a> </li> <li class="page-item "> <a class="page-link" href="/doc/draft-ietf-jmap-calendars/17/" rel="nofollow"> 17 </a> </li> <li class="page-item "> <a class="page-link" href="/doc/draft-ietf-jmap-calendars/18/" rel="nofollow"> 18 </a> </li> <li class="page-item "> <a class="page-link" href="/doc/draft-ietf-jmap-calendars/19/" rel="nofollow"> 19 </a> </li> <li class="page-item "> <a class="page-link" href="/doc/draft-ietf-jmap-calendars/20/" rel="nofollow"> 20 </a> </li> <li class="page-item "> <a class="page-link" href="/doc/draft-ietf-jmap-calendars/21/" rel="nofollow"> 21 </a> </li> <li class="page-item active"> <a class="page-link" href="/doc/draft-ietf-jmap-calendars/22/" > 22 </a> </li> </ul> </nav> <div id="doc-timeline"></div> <table class="table table-sm table-borderless"> <tbody class="meta align-top border-top"> <tr> <th scope="row">Document</th> <th scope="row">Type</th> <td class="edit"></td> <td> <span class="text-success">Active Internet-Draft</span> (<a href="/wg/jmap/about/">jmap WG</a>) </td> </tr> <tr> <td></td> <th scope="row">Authors</th> <td class="edit"> </td> <td> <span ><a title="Datatracker profile of Neil Jenkins" href="/person/neilj@fastmailteam.com" >Neil Jenkins</a> <a href="mailto:neilj%40fastmailteam.com" aria-label="Compose email to neilj@fastmailteam.com" title="Compose email to neilj@fastmailteam.com"> <i class="bi bi-envelope"></i></a></span>, <span ><a title="Datatracker profile of Michael Douglass" href="/person/mdouglass@bedework.com" >Michael Douglass</a> <a href="mailto:mdouglass%40bedework.com" aria-label="Compose email to mdouglass@bedework.com" title="Compose email to mdouglass@bedework.com"> <i class="bi bi-envelope"></i></a></span> </td> </tr> <tr> <td></td> <th scope="row">Last updated</th> <td class="edit"></td> <td> 2024-11-22 <span class="text-body-secondary">(Latest revision 2024-11-13)</span> </td> </tr> <tr> <td></td> <th scope="row">Replaces</th> <td class="edit"> </td> <td> <a href="/doc/draft-jenkins-jmapcalendars/" title="JMAP for Calendars">draft-jenkins-jmapcalendars</a> </td> </tr> <tr> <td></td> <th scope="row"> RFC stream </th> <td class="edit"> </td> <td > Internet Engineering Task Force (IETF) </td> </tr> <tr> <td></td> <th scope="row"> Intended RFC status </th> <td class="edit"> </td> <td> Proposed Standard </td> </tr> <tr> <td></td> <th scope="row"> Formats </th> <td class="edit"> </td> <td> <div class="buttonlist"> <a class="btn btn-primary btn-sm" target="_blank" href="https://www.ietf.org/archive/id/draft-ietf-jmap-calendars-22.txt"> <i class="bi bi-file-text"></i> txt </a> <a class="btn btn-primary btn-sm" target="_blank" href="https://www.ietf.org/archive/id/draft-ietf-jmap-calendars-22.html"> <i class="bi bi-file-code"></i> html </a> <a class="btn btn-primary btn-sm" target="_blank" href="https://www.ietf.org/archive/id/draft-ietf-jmap-calendars-22.xml"> <i class="bi bi-file-code"></i> xml </a> <a class="btn btn-primary btn-sm" href="/doc/html/draft-ietf-jmap-calendars-22"> <i class="bi bi-file-code"></i> htmlized </a> <a class="btn btn-primary btn-sm" target="_blank" href="/doc/draft-ietf-jmap-calendars/22/bibtex/"> <i class="bi bi-file-ruled"></i> bibtex </a> <a class="btn btn-primary btn-sm" target="_blank" href="/doc/bibxml3/draft-ietf-jmap-calendars-22.xml"> <i class="bi bi-file-code"></i> bibxml </a> </div> </td> </tr> <tr> <td></td> <th scope="row"> Reviews </th> <td class="edit"> </td> <td> <div class="review-assignment-summary"> <a href="/doc/review-ietf-jmap-calendars-19-artart-lc-mahoney-2024-06-26/"> ARTART Last Call review (of -19) by Jean Mahoney</a> <span class="badge rounded-pill text-bg-success text-wrap"> <i class="bi bi-"></i> Ready w/nits </span> </div> <div class="review-assignment-summary"> <a href="/doc/review-ietf-jmap-calendars-18-secdir-lc-nir-2024-06-20/"> SECDIR Last Call review (of -18) by Yoav Nir</a> <span class="badge rounded-pill text-bg-info text-wrap"> <i class="bi bi-info-lg"></i> Has nits </span> </div> <div class="review-assignment-summary"> <a href="/doc/review-ietf-jmap-calendars-18-genart-lc-even-2024-06-20/"> GENART Last Call review (of -18) by Roni Even</a> <span class="badge rounded-pill text-bg-success text-wrap"> <i class="bi bi-"></i> Ready </span> </div> </td> </tr> <tr> <td> </td> <th scope="row"> Additional resources </th> <td class="edit"> </td> <td> <a href="https://mailarchive.ietf.org/arch/browse/jmap?q=draft-ietf-jmap-calendars"> Mailing list discussion </a> </td> </tr> </tbody> <tbody class="meta border-top"> <tr> <th scope="row"> Stream </th> <th scope="row"> <a href="/doc/help/state/draft-stream-ietf/"> WG state </a> </th> <td class="edit"> </td> <td> <span class=""> Submitted to IESG for Publication </span> </td> </tr> <tr> <td></td> <th scope="row"> Associated WG milestone</th> <td class="edit"></td> <td> <dl class="row"> <dt class="col-sm-2 my-0">Apr 2024</dt> <dd class="col-sm-10 my-0">Submit JMAP Calendars document to the IESG</dd> </dl> </td> </tr> <tr> <td></td> <th scope="row"> Document shepherd </th> <td class="edit"> </td> <td> <span ><a title="Datatracker profile of Joris Baum" href="/person/joris@audriga.com" >Joris Baum</a> <a href="mailto:joris%40audriga.com" aria-label="Compose email to joris@audriga.com" title="Compose email to joris@audriga.com"> <i class="bi bi-envelope"></i></a></span> </td> </tr> <tr> <td></td> <th scope="row"> Shepherd write-up </th> <td class="edit"> </td> <td> <a class="btn btn-primary btn-sm" href="/doc/draft-ietf-jmap-calendars/shepherdwriteup/"> Show </a> <span class="badge rounded-pill text-bg-secondary">Last changed 2024-04-08</span> </td> </tr> </tbody> <tbody class="meta border-top"> <tr> <th scope="row"> IESG </th> <th scope="row"> <a href="/doc/help/state/draft-iesg/"> IESG state </a> </th> <td class="edit"> </td> <td> <span class=""> RFC Ed Queue </span> </td> </tr> <tr> <td></td> <th scope="row"> Action Holders </th> <td class="edit"> </td> <td> <div> <span class="text-body-secondary"> (None) </span> </div> </td> </tr> <tr> <td></td> <th scope="row"> Consensus boilerplate </th> <td class="edit"> </td> <td> <span class="text-success" title="Whether the document is the result of a community consensus process as defined in RFC 5741"> Yes </span> </td> </tr> <tr> <td></td> <th scope="row"> Telechat date </th> <td class="edit"> </td> <td> <span class="text-body-secondary"> (None) </span> </td> </tr> <tr> <td></td> <th scope="row"> Responsible AD </th> <td class="edit"> </td> <td> <span ><a title="Datatracker profile of Murray Kucherawy" href="/person/superuser@gmail.com" >Murray Kucherawy</a> <a href="mailto:superuser%40gmail.com" aria-label="Compose email to superuser@gmail.com" title="Compose email to superuser@gmail.com"> <i class="bi bi-envelope"></i></a></span> </td> </tr> <tr> <td></td> <th scope="row"> Send notices to </th> <td class="edit"> </td> <td> <a href="mailto:joris@audriga.com">joris@audriga.com</a> </td> </tr> </tbody> <tbody class="meta border-top"> <tr> <th scope="row"> IANA </th> <th scope="row"> <a href="/doc/help/state/draft-iana-review/"> IANA review state </a> </th> <td class="edit"> </td> <td class="text-danger"> Version Changed - Review Needed </td> </tr> <tr> <th scope="row"> </th> <th scope="row"> <a href="/doc/help/state/draft-iana-action/"> IANA action state </a> </th> <td class="edit"> </td> <td> Waiting on Authors </td> </tr> <tr> <th scope="row"> </th> <th scope="row"> <a href="/doc/help/state/draft-iana-experts/"> IANA expert review state </a> </th> <td class="edit"> </td> <td class="text-success"> Expert Reviews OK </td> </tr> <tr> <th scope="row"> </th> <th scope="row"> IANA expert review comments </th> <td class="edit"> </td> <td> JMAP Capabilities, JMAP Error Codes, JMAP Data Types and JSCalendar Properties registrations have been approved. </td> </tr> </tbody> <tbody class="meta border-top"> <tr> <th scope="row"> RFC Editor </th> <th scope="row"> <a href="/doc/help/state/draft-rfceditor/"> RFC Editor state </a> </th> <td class="edit"> </td> <td> EDIT </td> </tr> <tr> <td></td> <th scope="row"> Details </th> <td class="edit"> </td> <td> <div> <a href="https://www.rfc-editor.org/queue2.html#draft-ietf-jmap-calendars"> Publication queue entry </a> </div> </td> </tr> </tbody> </table> <div class="buttonlist"> <a class="btn btn-primary btn-sm" href="mailto:draft-ietf-jmap-calendars@ietf.org?subject=Mail%20regarding%20draft-ietf-jmap-calendars"> <i class="bi bi-envelope"> </i> Email authors </a> <a class="btn btn-primary btn-sm" href="mailto:jmap@ietf.org?subject=Mail%20regarding%20draft-ietf-jmap-calendars"> <i class="bi bi-envelope"> </i> Email WG </a> <a class="btn btn-primary btn-sm" href="/ipr/search/?submit=draft&amp;id=draft-ietf-jmap-calendars" rel="nofollow"> <i class="bi bi-lightning"> </i> IPR </a> <a class="btn btn-primary btn-sm" href="/doc/draft-ietf-jmap-calendars/references/" rel="nofollow"> <i class="bi bi-arrow-left"> </i> References </a> <a class="btn btn-primary btn-sm" href="/doc/draft-ietf-jmap-calendars/referencedby/" rel="nofollow"> <i class="bi bi-arrow-right"> </i> Referenced by </a> <a class="btn btn-primary btn-sm" href="https://author-tools.ietf.org/api/idnits?url=https://www.ietf.org/archive/id/draft-ietf-jmap-calendars-22.txt" rel="nofollow" target="_blank"> <i class="bi bi-exclamation"> </i> Nits </a> <a class="btn btn-primary btn-sm" href="https://mailarchive.ietf.org/arch/search/?q=%22draft-ietf-jmap-calendars%22" rel="nofollow" target="_blank"> <i class="bi bi-search"> </i> Search email archive </a> </div> <div class="card mt-5"> <div class="card-header"> draft-ietf-jmap-calendars-22 </div> <div class="card-body"> <pre>JMAP N.M. Jenkins, Ed. Internet-Draft Fastmail Intended status: Standards Track M. Douglass, Ed. Expires: 18 May 2025 Spherical Cow Group 14 November 2024 JSON Meta Application Protocol (JMAP) for Calendars draft-ietf-jmap-calendars-22 <span>Abstract</span> This document specifies a data model for synchronizing calendar data with a server using JMAP. Clients can use this to efficiently read, write, and share calendars and events, receive push notifications for changes or event reminders, and keep track of changes made by others in a multi-user environment. <span>Status of This Memo</span> 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 &quot;work in progress.&quot; This Internet-Draft will expire on 18 May 2025. <span>Copyright Notice</span> Copyright (c) 2024 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust&#x27;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. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 1]</span> <span>Internet-Draft JMAP Calendars November 2024</span> <span>Table of Contents</span> 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 4 1.1. Notational Conventions . . . . . . . . . . . . . . . . . 4 1.2. Data Types . . . . . . . . . . . . . . . . . . . . . . . 4 1.3. Terminology . . . . . . . . . . . . . . . . . . . . . . . 4 1.4. Data Model Overview . . . . . . . . . . . . . . . . . . . 5 1.4.1. UIDs and CalendarEvent Ids . . . . . . . . . . . . . 6 1.5. Addition to the Capabilities Object . . . . . . . . . . . 6 1.5.1. urn:ietf:params:jmap:calendars . . . . . . . . . . . 6 1.5.2. urn:ietf:params:jmap:principals:availability . . . . 7 1.5.3. urn:ietf:params:jmap:calendars:parse . . . . . . . . 7 2. Principals and Sharing . . . . . . . . . . . . . . . . . . . 7 2.1. Principal Capability urn:ietf:params:jmap:calendars . . . 8 2.2. Principal/getAvailability . . . . . . . . . . . . . . . . 8 3. Participant Identities . . . . . . . . . . . . . . . . . . . 11 3.1. ParticipantIdentity/get . . . . . . . . . . . . . . . . . 12 3.2. ParticipantIdentity/changes . . . . . . . . . . . . . . . 12 3.3. ParticipantIdentity/set . . . . . . . . . . . . . . . . . 12 4. Calendars . . . . . . . . . . . . . . . . . . . . . . . . . . 13 4.1. Calendar/get . . . . . . . . . . . . . . . . . . . . . . 18 4.2. Calendar/changes . . . . . . . . . . . . . . . . . . . . 18 4.3. Calendar/set . . . . . . . . . . . . . . . . . . . . . . 18 5. Calendar Events . . . . . . . . . . . . . . . . . . . . . . . 20 5.1. Additional JSCalendar properties . . . . . . . . . . . . 21 5.1.1. calendarAddress . . . . . . . . . . . . . . . . . . . 22 5.1.2. mayInviteSelf . . . . . . . . . . . . . . . . . . . . 22 5.1.3. mayInviteOthers . . . . . . . . . . . . . . . . . . . 22 5.1.4. hideAttendees . . . . . . . . . . . . . . . . . . . . 22 5.2. Attachments . . . . . . . . . . . . . . . . . . . . . . . 23 5.3. Per-user properties . . . . . . . . . . . . . . . . . . . 23 5.4. Recurring events . . . . . . . . . . . . . . . . . . . . 23 5.5. Updating for &quot;this-and-future&quot; . . . . . . . . . . . . . 24 5.5.1. Splitting an event . . . . . . . . . . . . . . . . . 24 5.5.2. Updating the base event and overriding previous . . . 24 5.6. CalendarEvent/get . . . . . . . . . . . . . . . . . . . . 25 5.7. CalendarEvent/changes . . . . . . . . . . . . . . . . . . 26 5.8. CalendarEvent/set . . . . . . . . . . . . . . . . . . . . 26 5.8.1. Patching . . . . . . . . . . . . . . . . . . . . . . 29 5.9. CalendarEvent/copy . . . . . . . . . . . . . . . . . . . 33 5.10. CalendarEvent/query . . . . . . . . . . . . . . . . . . . 33 5.10.1. Filtering . . . . . . . . . . . . . . . . . . . . . 33 5.10.2. Sorting . . . . . . . . . . . . . . . . . . . . . . 35 5.11. CalendarEvent/queryChanges . . . . . . . . . . . . . . . 35 5.12. CalendarEvent/parse . . . . . . . . . . . . . . . . . . . 36 6. Alerts . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 6.1. Default alerts . . . . . . . . . . . . . . . . . . . . . 37 6.2. Acknowledging an alert . . . . . . . . . . . . . . . . . 38 <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 2]</span> <span>Internet-Draft JMAP Calendars November 2024</span> 6.3. Snoozing an alert . . . . . . . . . . . . . . . . . . . . 38 6.4. Push events . . . . . . . . . . . . . . . . . . . . . . . 38 7. Calendar Event Notifications . . . . . . . . . . . . . . . . 39 7.1. CalendarEventNotification/get . . . . . . . . . . . . . . 41 7.2. CalendarEventNotification/changes . . . . . . . . . . . . 41 7.3. CalendarEventNotification/set . . . . . . . . . . . . . . 41 7.4. CalendarEventNotification/query . . . . . . . . . . . . . 41 7.4.1. Filtering . . . . . . . . . . . . . . . . . . . . . . 41 7.4.2. Sorting . . . . . . . . . . . . . . . . . . . . . . . 42 7.5. CalendarEventNotification/queryChanges . . . . . . . . . 42 8. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . 42 8.1. Fetching initial data . . . . . . . . . . . . . . . . . . 42 8.2. Creating an event . . . . . . . . . . . . . . . . . . . . 45 8.3. Snoozing an alert . . . . . . . . . . . . . . . . . . . . 47 8.4. Changing the default calendar . . . . . . . . . . . . . . 50 8.5. Parsing an iCalendar file . . . . . . . . . . . . . . . . 50 9. Security Considerations . . . . . . . . . . . . . . . . . . . 52 9.1. Privacy . . . . . . . . . . . . . . . . . . . . . . . . . 52 9.2. Spoofing . . . . . . . . . . . . . . . . . . . . . . . . 52 9.3. Denial-of-service . . . . . . . . . . . . . . . . . . . . 53 9.3.1. Expanding Recurrences . . . . . . . . . . . . . . . . 53 9.3.2. Firing alerts . . . . . . . . . . . . . . . . . . . . 53 9.3.3. Load spikes . . . . . . . . . . . . . . . . . . . . . 53 9.4. Spam . . . . . . . . . . . . . . . . . . . . . . . . . . 54 10. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 54 10.1. JMAP Capability Registration for &quot;calendars&quot; . . . . . . 54 10.2. JMAP Capability Registration for &quot;principals:availability&quot; . . . . . . . . . . . . . . . 54 10.3. JMAP Data Type Registration for &quot;Calendar&quot; . . . . . . . 54 10.4. JMAP Data Type Registration for &quot;CalendarEvent&quot; . . . . 55 10.5. JMAP Data Type Registration for &quot;CalendarEventNotification&quot; . . . . . . . . . . . . . . 55 10.6. JMAP Data Type Registration for &quot;ParticipantIdentity&quot; . 55 10.7. JMAP Error Codes Registry . . . . . . . . . . . . . . . 55 10.7.1. calendarHasEvent . . . . . . . . . . . . . . . . . . 55 10.7.2. noSupportedScheduleMethods . . . . . . . . . . . . . 56 10.7.3. cannotCalculateOccurrences . . . . . . . . . . . . . 56 10.8. Update to the JSCalendar Properties Registry . . . . . . 56 10.8.1. Update to &quot;JSCalendar Properties&quot; Registry Template . . . . . . . . . . . . . . . . . . . . . . 56 10.8.2. Initial values for existing registrations . . . . . 56 10.9. JSCalendar Property Registrations . . . . . . . . . . . 57 10.9.1. id . . . . . . . . . . . . . . . . . . . . . . . . . 57 10.9.2. baseEventId . . . . . . . . . . . . . . . . . . . . 57 10.9.3. calendarIds . . . . . . . . . . . . . . . . . . . . 57 10.9.4. isDraft . . . . . . . . . . . . . . . . . . . . . . 57 10.9.5. isOrigin . . . . . . . . . . . . . . . . . . . . . . 57 10.9.6. utcStart . . . . . . . . . . . . . . . . . . . . . . 58 <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 3]</span> <span>Internet-Draft JMAP Calendars November 2024</span> 10.9.7. utcEnd . . . . . . . . . . . . . . . . . . . . . . . 58 10.9.8. calendarAddress . . . . . . . . . . . . . . . . . . 58 10.9.9. mayInviteSelf . . . . . . . . . . . . . . . . . . . 58 10.9.10. mayInviteOthers . . . . . . . . . . . . . . . . . . 58 10.9.11. hideAttendees . . . . . . . . . . . . . . . . . . . 58 11. Normative References . . . . . . . . . . . . . . . . . . . . 59 12. Informative References . . . . . . . . . . . . . . . . . . . 60 Authors&#x27; Addresses . . . . . . . . . . . . . . . . . . . . . . . 60 1. Introduction JMAP ([RFC8620] — JSON Meta Application Protocol) is a generic protocol for synchronizing data, such as mail, calendars or contacts, between a client and a server. It is optimized for mobile and web environments, and aims to provide a consistent interface to different data types. This specification defines a data model for synchronizing calendar data between a client and a server using JMAP. The data model is designed to allow a server to provide consistent access to the same data via CalDAV [RFC4791] as well as JMAP, however the functionality offered over the two protocols may differ. Unlike CalDAV, this specification does not define access to tasks or journal entries (VTODO or VJOURNAL iCalendar components in CalDAV). 1.1. Notational Conventions The key words &quot;MUST&quot;, &quot;MUST NOT&quot;, &quot;REQUIRED&quot;, &quot;SHALL&quot;, &quot;SHALL NOT&quot;, &quot;SHOULD&quot;, &quot;SHOULD NOT&quot;, &quot;RECOMMENDED&quot;, &quot;NOT RECOMMENDED&quot;, &quot;MAY&quot;, and &quot;OPTIONAL&quot; 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. Type signatures, examples, and property descriptions in this document follow the conventions established in Section 1.1 of [RFC8620]. 1.2. Data Types The Id data type defined in Section 1.2 of [RFC8620] is used in this document. So too are the UnsignedInt, UTCDateTime, LocalDateTime, Duration, and TimeZoneId data types defined in Sections 1.4.3, 1.4.4, 1.4.5, 1.4.6, and 1.4.8 of [RFC8984] respectively. 1.3. Terminology The same terminology is used in this document as in the core JMAP specification, see Section 1.6 of [RFC8620]. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 4]</span> <span>Internet-Draft JMAP Calendars November 2024</span> The terms ParticipantIdentity, Calendar, CalendarEvent, and CalendarEventNotification (with these specific capitalizations) are used to refer to the data types defined in this document and instances of those data types. 1.4. Data Model Overview An Account (see Section 1.6.2 of [RFC8620]) with support for the calendar data model contains zero or more Calendar objects, which is a named collection of CalendarEvents. Calendars can also provide defaults, such as alerts and a color to apply to events in the calendar. Clients commonly let users toggle visibility of events belonging to a particular calendar on/off. Servers may allow an event to belong to multiple Calendars within an account. A CalendarEvent is a representation of an event or recurring series of events in JSCalendar Event [RFC8984] format. Simple clients may ask the server to expand recurrences for them within a specific time period, and optionally convert times into UTC so they do not have to handle time zone conversion. More full-featured clients will want to access the full event information and handle recurrence expansion and time zone conversion locally. CalendarEventNotification objects keep track of the history of changes made to a calendar by other users, allowing calendar clients to notify the user of changes to their schedule. The ParticipantIdentity data type represents the identities of the current user within an Account, which determines which events the user is a participant of and possibly their permissions related to that event. In servers with support for JMAP Sharing [I-D.ietf-jmap-sharing], data may be shared with other users. Sharing permissions are managed per calendar. For example, an individual may have separate calendars for personal and work activities, with both contributing to their free-busy availability, but only the work calendar shared in its entirety with colleagues. Principals (see Section 2 of [I-D.ietf-jmap-sharing]) may also represent schedulable entities, such as a meeting room. Users can normally subscribe to any calendar to which they have access. This indicates the user wants this calendar to appear in their regular list of calendars. The separate &quot;isVisible&quot; property stores whether the user would currently like to view the events in a subscribed calendar. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 5]</span> <span>Internet-Draft JMAP Calendars November 2024</span> 1.4.1. UIDs and CalendarEvent Ids Each CalendarEvent has a &quot;uid&quot; property (Section 4.1.2 of [RFC8984]), which is a globally unique identifier that identifies the same event in different Accounts, or different instances of the same recurring event within an Account. An Account MUST NOT contain more than one CalendarEvent with the same uid unless all of the CalendarEvent objects have distinct, non-null values for their &quot;recurrenceId&quot; property. (This situation occurs if the Principal is added to one or more specific instances of a recurring event without being invited to the whole series.) Each CalendarEvent also has an id, which is scoped to the JMAP Account and used for referencing it in JMAP methods. There is no necessary link between the uid and the CalendarEvent&#x27;s id. CalendarEvents with the same uid in different Accounts may have different ids. 1.5. Addition to the Capabilities Object The capabilities object is returned as part of the JMAP Session object; see Section 2 of [RFC8620]. This document defines three additional capability URIs. 1.5.1. urn:ietf:params:jmap:calendars This represents support for the Calendar, CalendarEvent, CalendarEventNotification, and ParticipantIdentity data types and associated API methods, except for &quot;CalendarEvent/parse&quot;. The value of this property in the JMAP Session &quot;capabilities&quot; property is an empty object. The value of this property in an account&#x27;s &quot;accountCapabilities&quot; property is an object that MUST contain the following information on server capabilities and permissions for that account: *maxCalendarsPerEvent*: UnsignedInt|null The maximum number of Calendars (see Section 4) that can be can assigned to a single CalendarEvent object (see Section 5). This MUST be an integer &gt;= 1, or null for no limit (or rather, the limit is always the number of Calendars in the account). *minDateTime*: UTCDateTime The earliest date-time value the server is willing to accept for any date stored in a CalendarEvent. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 6]</span> <span>Internet-Draft JMAP Calendars November 2024</span> *maxDateTime*: UTCDateTime The latest date-time value the server is willing to accept for any date stored in a CalendarEvent. *maxExpandedQueryDuration*: Duration The maximum duration the user may query over when asking the server to expand recurrences. *maxParticipantsPerEvent*: UnsignedInt|null The maximum number of participants a single event may have, or null for no limit. *mayCreateCalendar*: Boolean If true, the user may create a calendar in this account. 1.5.2. urn:ietf:params:jmap:principals:availability Represents support for the &quot;Principal/getAvailability&quot; method. Any account with this capability MUST also have the urn:ietf:params:jmap:principals capability (see Section 1.5.1 of [I-D.ietf-jmap-sharing]). The value of this property in the JMAP Session &quot;capabilities&quot; property is an empty object. The value of this property in an account&#x27;s &quot;accountCapabilities&quot; property is an object that MUST contain the following information on server capabilities and permissions for that account: *maxAvailabilityDuration*: Duration The maximum duration over which the server is prepared to calculate availability in a single call (see Section 2.2). 1.5.3. urn:ietf:params:jmap:calendars:parse This represents support for the CalendarEvent/parse method (see Section 5.12). The value of this property is an empty object in both the JMAP session &quot;capabilities&quot; property and an account&#x27;s &quot;accountCapabilities&quot; property. 2. Principals and Sharing For systems that also support JMAP Sharing [I-D.ietf-jmap-sharing], the urn:ietf:params:jmap:calendars capability is used to indicate that this Principal may be used with calendaring. A new method is defined to allow users to query availability when scheduling events. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 7]</span> <span>Internet-Draft JMAP Calendars November 2024</span> 2.1. Principal Capability urn:ietf:params:jmap:calendars A &quot;urn:ietf:params:jmap:calendars&quot; property is added to the Principal &quot;capabilities&quot; object, the value of which is an object with the following properties: *accountId*: Id|null Id of Account with the urn:ietf:params:jmap:calendars capability that contains the calendar data for this Principal, or null if either (a) there is none (e.g. the Principal is a group just used for permissions management), or (b) the user does not have access to any data in the account (with the exception of free/busy, which is governed by the &quot;mayGetAvailability&quot; property). The corresponding Account object can be found in the Principal&#x27;s &quot;accounts&quot; property, as per Section 2 of [I-D.ietf-jmap-sharing]. *mayGetAvailability*: Boolean If true, the user may call the &quot;Principal/getAvailability&quot; method with this Principal. *mayShareWith*: Boolean If true, the user may add this Principal as a calendar share target (by adding them to the &quot;shareWith&quot; property of a calendar, see Section 4). *calendarAddress*: String If this Principal may be added as a participant to an event, this is the calendarAddress to use to represent it. *sendTo*: String[String]|null If this Principal may be added as a participant to an event, this is the Participant#sendTo property to add (see Section 4.4.5 of [RFC8984]) for scheduling messages to reach it. 2.2. Principal/getAvailability This method calculates the availability of the Principal for scheduling within a requested time period. It takes the following arguments: *accountId*: Id The id of the account to use. *id*: Id The id of the Principal to calculate availability for. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 8]</span> <span>Internet-Draft JMAP Calendars November 2024</span> *utcStart*: UTCDateTime The start time (inclusive) of the period for which to return availability. *utcEnd*: UTCDateTime The end time (exclusive) of the period for which to return availability. *showDetails*: Boolean If true, event details will be returned if the user has permission to view them. *eventProperties*: String[]|null A list of properties to include in any JSCalendar Event object returned. If null, all properties of the event will be returned. Otherwise, only properties with names in the given list will be returned. The server will first find all relevant events, expanding any recurring events. Relevant events are ones where all of the following is true: * The Principal is subscribed to the calendar. * The &quot;includeInAvailability&quot; property of the calendar for the Principal is &quot;all&quot; or &quot;attending&quot;. * The user has the &quot;mayReadFreeBusy&quot; permission for the calendar. * The event finishes after the &quot;utcStart&quot; argument and starts before the &quot;utcEnd&quot; argument. * The event&#x27;s &quot;privacy&quot; property is not &quot;secret&quot;. * The &quot;freeBusyStatus&quot; property of the event is &quot;busy&quot; (or omitted, as this is the default). * The &quot;status&quot; property of the event is not &quot;cancelled&quot;. * If the &quot;includeInAvailability&quot; property of the calendar is &quot;attending&quot;, then the Principal is a participant of the event, and has a &quot;participationStatus&quot; of &quot;accepted&quot; or &quot;tentative&quot;. If an event is in more than one calendar, it is relevant if all of the above are true for any one calendar that it is in. The server then generates a BusyPeriod object for each of these events. A *BusyPeriod* object has the following properties: *utcStart*: UTCDateTime The start time (inclusive) of the period this represents. *utcEnd*: UTCDateTime The end time (exclusive) of the period this represents. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 9]</span> <span>Internet-Draft JMAP Calendars November 2024</span> *busyStatus*: String (optional, default &quot;unavailable&quot;) This MUST be one of: * &quot;confirmed&quot; — The event status is &quot;confirmed&quot; and the Principal&#x27;s &quot;participationStatus&quot; is &quot;attending&quot;. * &quot;tentative&quot; — The event status is &quot;tentative&quot; or the Principal&#x27;s &quot;participationStatus&quot; is &quot;tentative&quot;. * &quot;unavailable&quot; — The Principal is not available for scheduling at this time for any other reason. *event*: JSCalendar Event|null The JSCalendar Event representation of the event, or null if any of the following are true: * The &quot;showDetails&quot; argument is false. * The &quot;privacy&quot; property of the event is &quot;private&quot;. * The user does not have the &quot;mayReadItems&quot; permission for any of the calendars the event is in. If an &quot;eventProperties&quot; argument was given, any properties in the JSCalendar Event that are not in the eventProperties list are removed from the returned representation. The server MAY also generate BusyPeriod objects based on other information it has about the Principal&#x27;s availability, such as office hours. Finally, the server MUST merge and split BusyPeriod objects where the &quot;event&quot; property is null, such that none of them overlap and either there is a gap in time between any two objects (the utcEnd of one does not equal the utcStart of another) or those objects have a different &quot;busyStatus&quot; property. If there are overlapping BusyPeriod time ranges with different &quot;busyStatus&quot; properties the server MUST choose the value in the following order: confirmed &gt; unavailable &gt; tentative. The response has the following argument: *list*: BusyPeriod[] The list of BusyPeriod objects calculated as described above. The following additional errors may be returned instead of the &quot;Principal/getAvailability&quot; response: *notFound* No Principal with this id exists, or the user does not have permission to see that this Principal exists. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 10]</span> <span>Internet-Draft JMAP Calendars November 2024</span> *forbidden* The user does not have permission to query this Principal&#x27;s availability. *tooLarge* The duration between utcStart and utcEnd is longer than the server is willing to calculate availability for. *rateLimit* Too many availability requests have been made recently and the user is being rate limited. It may work to try again later. 3. Participant Identities A ParticipantIdentity stores information about a URI that represents the user within that account in an event&#x27;s participants. A *ParticipantIdentity* object has the following properties: *id*: Id (immutable; server-set) The id of the ParticipantIdentity. *name*: String (default: &quot;&quot;) The display name of the participant to use when adding this participant to an event, e.g. &quot;Joe Bloggs&quot;. *calendarAddress*: String The URI that represents this participant for scheduling. This URI may also be the URI for one of the sendTo methods. *sendTo*: String[String] Represents methods by which the participant may receive invitations and updates to an event. The keys in the property value are the available methods and MUST only contain ASCII alphanumeric characters (A-Za-z0-9). The value is a URI for the method specified in the key. *isDefault*: Boolean (server-set) <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 11]</span> <span>Internet-Draft JMAP Calendars November 2024</span> This SHOULD be true for exactly one participant identity in any account, and MUST NOT be true for more than one participant identity within an account. The default identity should be used by clients whenever they need to choose an identity for the user within this account, and they do not have any other information on which to make a choice. For example, if creating a scheduled event in this account, the default identity may be automatically added as an owner. (But the client may ignore this if, for example, it has its own feature to allow users to choose which identity to use based on the invitees.) If no participant identities have &quot;isDefault&quot; set, users with multiple clients may experience different default choices in each client, which can be confusing or lead to the wrong identity being used by accident. A participant in an event corresponds to a ParticipantIdentity if the &quot;calendarAddress&quot; property of the participant is equivalent to the &quot;calendarAddress&quot; property of the identity after syntax-based normalisation, as per Section 6.2.2 of [RFC3986]. The following JMAP methods are supported. 3.1. ParticipantIdentity/get This is a standard &quot;/get&quot; method as described in Section 5.1 of [RFC8620]. The &quot;ids&quot; argument may be null to fetch all at once. 3.2. ParticipantIdentity/changes This is a standard &quot;/changes&quot; method as described in Section 5.2 of [RFC8620]. 3.3. ParticipantIdentity/set This is a standard &quot;/set&quot; method as described in Section 5.3 of [RFC8620], but with the following additional request argument: *onSuccessSetIsDefault*: Id|null If an id is given, and all creates, updates and destroys (if any) succeed without error, the server will try to set this identity as the default. (For references to ParticipantIdentity creations, this is equivalent to a creation-reference, so the id will be the creation id prefixed with a &quot;#&quot;.) <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 12]</span> <span>Internet-Draft JMAP Calendars November 2024</span> If the id is not found, or the change is not permitted by the server for policy reasons, it MUST be ignored and the currently default ParticipantIdentity (if any) will remain as such. No error is returned to the client in this case. As per Section 5.3 of [RFC8620], if the default is successfully changed, any changed objects MUST be reported in either the &quot;created&quot; or &quot;updated&quot; argument in the response as appropriate, with the server-set value included. The server MAY restrict the URI values the user may claim, for example only allowing mailto: URIs with email addresses that belong to the user. A standard forbidden error is returned to reject non- permissible changes. 4. Calendars A Calendar is a named collection of events. All events are associated with at least one calendar. A *Calendar* object has the following properties: *id*: Id (immutable; server-set) The id of the calendar. *name*: String The user-visible name of the calendar. This MUST NOT be the empty string and MUST NOT be greater than 255 octets in size when encoded as UTF-8. *description*: String|null (default: null) An optional longer-form description of the calendar, to provide context in shared environments where users need more than just the name. *color*: String|null (default: null) A color to be used when displaying events associated with the calendar. If not null, the value MUST be a case-insensitive 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. The color SHOULD have sufficient contrast when used as text on a white background, unless the user explicitly chooses otherwise. The Web Content Accessibility Guidelines [WCAG] recommend at least a 4.5:1 contrast ratio for readability. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 13]</span> <span>Internet-Draft JMAP Calendars November 2024</span> *sortOrder*: UnsignedInt (default: 0) Defines the sort order of calendars when presented in the client&#x27;s UI, so it is consistent between devices. The number MUST be an integer in the range 0 &lt;= sortOrder &lt; 2^(31.) A calendar with a lower order is to be displayed before a calendar with a higher order in any list of calendars in the client&#x27;s UI. Calendars with equal order should be sorted in alphabetical order by name. The sorting should take into account locale-specific character order convention. *isSubscribed*: Boolean True if the user has indicated they wish to see this Calendar in their client. This SHOULD default to false for Calendars in shared accounts the user has access to and true for any new Calendars created by the user themself. If false, the calendar SHOULD only be displayed when the user explicitly requests it or to offer it for the user to subscribe to. For example, a company may have a large number of shared calendars which all employees have permission to access, but the user would only subscribe to the ones they care about and want to be able to have normally accessible. *isVisible*: Boolean (default: true) If true, the calendar&#x27;s events should be displayed to the user. If false, the user has indicated they wish to temporarily hide this calendar&#x27;s events. Clients MUST ignore this property if isSubscribed is false. If an event is in multiple calendars, it should be displayed if isVisible is true for any of those calendars. *isDefault*: Boolean (server-set) This SHOULD be true for exactly one calendar in any account, and MUST NOT be true for more than one calendar within an account. The default calendar should be used by clients whenever they need to choose a calendar for the user within this account, and they do not have any other information on which to make a choice. For example, if the user creates a new event, the client may automatically set the event as belonging to the default calendar from the user&#x27;s primary account. *includeInAvailability*: String This determines which events in this calendar will be used as part of availability calculation. The value MUST be one of: * &quot;all&quot; — all events are considered. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 14]</span> <span>Internet-Draft JMAP Calendars November 2024</span> * &quot;attending&quot; — events the user is a confirmed or tentative participant of are considered. * &quot;none&quot; — all events are ignored (but may be considered if also in another calendar). This should default to &quot;all&quot; for the calendars in the user&#x27;s own account, and &quot;none&quot; for calendars shared with the user. *defaultAlertsWithTime*: Id[Alert]|null A map of alert ids to Alert objects (see Section 4.5.2 of [RFC8984]) to apply for events where &quot;showWithoutTime&quot; is false and &quot;useDefaultAlerts&quot; is true. Ids MUST be unique across all default alerts in the account, including those in other calendars; a UUID [RFC9562] is recommended. If omitted on creation, the default is server dependent. For example, servers may choose to always default to null, or may copy the alerts from the default calendar. *defaultAlertsWithoutTime*: Id[Alert]|null A map of alert ids to Alert objects (see Section 4.5.2 of [RFC8984]) to apply for events where &quot;showWithoutTime&quot; is true (commonly referred to as &quot;all day&quot; events) and &quot;useDefaultAlerts&quot; is true. Ids MUST be unique across all default alerts in the account, including those in other calendars; a UUID [RFC9562] is recommended. If omitted on creation, the default is server dependent. For example, servers may choose to always default to null, or may copy the alerts from the default calendar. *timeZone*: TimeZoneId|null (default: null) The time zone to use for events without a time zone when the server needs to resolve them into absolute time, e.g., for alerts or availability calculation. The value MUST be a time zone id from the IANA Time Zone Database [IANA-TZDB]. If null, the timeZone of the account&#x27;s associated Principal will be used. *shareWith*: Id[CalendarRights]|null (default: null) This is a map configuring who the calendar is shared with, or null if it is not shared with anyone. Each key in the map is the id of a Principal with whom the calendar is shared. The value for each key is the set of access rights that Principal has for the calendar. The account id for the Principals may be found in the urn:ietf:params:jmap:principals:owner capability of the Account to which the calendar belongs. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 15]</span> <span>Internet-Draft JMAP Calendars November 2024</span> The Principal to which this calendar belongs MUST NOT be in the map. The property may only be modified if the user has the mayShare right. *myRights*: CalendarRights (server-set) The set of access rights the user has in relation to this Calendar. If any event is in multiple calendars, the user has the following rights: * The user may fetch the event if they have the mayReadItems right on any calendar the event is in. * The user may remove an event from a calendar (by modifying the event&#x27;s &quot;calendarIds&quot; property) if the user has the appropriate permission for that calendar. * The user may make other changes to the event if they have the right to do so in *all* calendars to which the event belongs. A *CalendarRights* object has the following properties: *mayReadFreeBusy*: Boolean The user may read the free-busy information for this calendar as part of a call to &quot;Principal/getAvailability&quot; (see Section 2.2). *mayReadItems*: Boolean The user may fetch the events in this calendar. *mayWriteAll*: Boolean The user may create, modify or destroy all events in this calendar, or move events to or from this calendar. If this is true, the mayWriteOwn, mayUpdatePrivate and mayRSVP properties MUST all also be true. *mayWriteOwn*: Boolean The user may create, modify or destroy an event on this calendar if either they are the owner of the event (see below) or the event has no owner. This means the user may also transfer ownership by updating an event so they are no longer an owner. *mayUpdatePrivate*: Boolean The user may modify per-user properties (see Section 5.3) on all events in the calendar, even if they would not otherwise have permission to modify that event. These properties MUST all be stored per-user, and changes do not affect any other user of the calendar. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 16]</span> <span>Internet-Draft JMAP Calendars November 2024</span> The user may also modify these properties on a per-occurrence basis for recurring events (updating the &quot;recurrenceOverrides&quot; property of the event to do so). *mayRSVP*: Boolean The user may modify the following properties of any Participant object that corresponds to one of the user&#x27;s ParticipantIdentity objects in the account, even if they would not otherwise have permission to modify that event: * participationStatus * participationComment * expectReply * scheduleAgent * scheduleSequence * scheduleUpdated If the event has its &quot;mayInviteSelf&quot; property set to true (see Section 5.1.2), then the user may also add a new Participant to the event with calendarAddress/sendTo properties that are the same as the calendarAddress/sendTo properties of one of the user&#x27;s ParticipantIdentity objects in the account. The &quot;roles&quot; property of the participant MUST only contain &quot;attendee&quot;. If the event has its &quot;mayInviteOthers&quot; property set to true (see Section 5.1.3) and there is an existing Participant in the event corresponding to one of the user&#x27;s ParticipantIdentity objects in the account, then the user may also add new participants. The &quot;roles&quot; property of any new participant MUST only contain &quot;attendee&quot;. The user may also do all of the above on a per-occurrence basis for recurring events (updating the &quot;recurrenceOverrides&quot; property of the event to do so). *mayShare*: Boolean The user may modify the &quot;shareWith&quot; property for this calendar. *mayDelete*: Boolean The user may delete the calendar itself. The user is an *owner* for an event if the CalendarEvent object has a &quot;participants&quot; property, and one of the Participant objects both: a. Has the &quot;owner&quot; role. b. Corresponds to one of the user&#x27;s ParticipantIdentity objects in the account (as per Section 3). <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 17]</span> <span>Internet-Draft JMAP Calendars November 2024</span> An event has no owner if its &quot;participants&quot; property is null or omitted, or if none of the Participant objects have the &quot;owner&quot; role. 4.1. Calendar/get This is a standard &quot;/get&quot; method as described in Section 5.1 of [RFC8620]. The &quot;ids&quot; argument may be null to fetch all at once. If mayReadFreeBusy is the only permission the user has, the calendar MUST NOT be returned in &quot;Calendar/get&quot; and &quot;Calendar/query&quot;; it must behave as though it did not exist. The data is just used as part of &quot;Principal/getAvailability&quot;. 4.2. Calendar/changes This is a standard &quot;/changes&quot; method as described in Section 5.2 of [RFC8620]. 4.3. Calendar/set This is a standard &quot;/set&quot; method as described in Section 5.3 of [RFC8620] but with the following additional request arguments: *onDestroyRemoveEvents*: Boolean (default: false) If false, any attempt to destroy a Calendar that still has CalendarEvents in it will be rejected with a calendarHasEvent SetError. If true, any CalendarEvents that were in the Calendar will be removed from it, and if in no other Calendars they will be destroyed. This MUST NOT send scheduling messages to participants. It MAY create CalendarEventNotification objects, if deemed likely to be helpful to the user. In the case of a calendar with a large number of events, the large number of notifications resulting from the single deletion is unlikely to be useful to the user, and the server MAY choose to omit creating them. In systems supporting JMAP Sharing, a single ShareNotification (as defined in Section 3 of [I-D.ietf-jmap-sharing]) MUST be created for each Principal the calendar was previously shared with, to inform them they no longer have access to the calendar. *onSuccessSetIsDefault*: Id|null If an id is given, and all creates, updates and destroys (if any) succeed without error, the server will try to set this calendar as the default. (For references to Calendar creations, this is equivalent to a creation-reference, so the id will be the creation id prefixed with a &quot;#&quot;.) <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 18]</span> <span>Internet-Draft JMAP Calendars November 2024</span> If the id is not found, or the change is not permitted by the server for policy reasons, it MUST be ignored and the currently default calendar (if any) will remain as such. No error is returned to the client in this case. As per Section 5.3 of [RFC8620], if the default is successfully changed, any changed objects MUST be reported in either the &quot;created&quot; or &quot;updated&quot; argument in the response as appropriate, with the server-set value included. The &quot;shareWith&quot; property may only be set by users that have the mayShare right. When modifying the &quot;shareWith&quot; property, the user cannot give a right to a Principal if the Principal did not already have that right and the user making the change also does not have that right. Any attempt to do so must be rejected with a forbidden SetError. Users can subscribe or unsubscribe to a calendar by setting the &quot;isSubscribed&quot; property. The server MAY forbid users from subscribing to certain calendars even though they have permission to see them, rejecting the update with a forbidden SetError. The following properties may be set by anyone who is subscribed to the calendar and are always stored per-user: * name * color * sortOrder * isVisible * timeZone * includeInAvailability * defaultAlertsWithoutTime * defaultAlertsWithTime The &quot;name&quot;, &quot;color&quot;, and &quot;timeZone&quot; properties are initially inherited from the owner&#x27;s copy of the calendar, but if set by a user with whom the calendar is shared, they then get their own copy of the property. This does not change the value for any other users. If the value of the property in the owner&#x27;s calendar changes after this, it does not overwrite any user&#x27;s custom value. The &quot;sortOrder&quot;, &quot;isVisible&quot;, &quot;includeInAvailability&quot;, &quot;defaultAlertsWithTime&quot;, and &quot;defaultAlertsWithoutTime&quot; properties are initally the default value for each user with whom the calendar is shared; they are not inherited from the owner. The following extra SetError type is defined: <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 19]</span> <span>Internet-Draft JMAP Calendars November 2024</span> For &quot;destroy&quot;: *calendarHasEvent* The Calendar has at least one CalendarEvent assigned to it, and the &quot;onDestroyRemoveEvents&quot; argument was false. 5. Calendar Events A *CalendarEvent* object contains information about an event, or recurring series of events, that takes place at a particular time. It is a JSCalendar Event object, as defined in [RFC8984], with the following additional properties: *id*: Id (immutable; server-set) The id of the CalendarEvent. The id uniquely identifies a JSCalendar Event with a particular uid and recurrenceId within a particular account. *baseEventId*: Id|null (immutable; server-set) This is only defined if the &quot;id&quot; property is a synthetic id, generated by the server to represent a particular instance of a recurring event (see Section 5.10). This property gives the id of the &quot;real&quot; CalendarEvent this was generated from. *calendarIds*: Id[Boolean] The set of Calendar ids this event belongs to. An event MUST belong to one or more Calendars at all times (until it is destroyed). The set is represented as an object, with each key being a Calendar id. The value for each key in the object MUST be true. *isDraft*: Boolean (default: false) If true, this event is to be considered a draft. The server will not send any scheduling messages to participants or send push notifications for alerts. This may only be set to true upon creation. Once set to false, the value cannot be updated to true. This property MUST NOT appear in &quot;recurrenceOverrides&quot;. *isOrigin*: Boolean (server-set) Is this the authoritative source for this event (i.e., does it control scheduling for this event; the event has not been added as a result of an invitation from another calendar system)? This is true if, and only if: * the event&#x27;s &quot;replyTo&quot; property is null; or * the account will receive messages sent to at least one of the methods specified in the &quot;replyTo&quot; property of the event. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 20]</span> <span>Internet-Draft JMAP Calendars November 2024</span> *utcStart*: UTCDateTime For simple clients that do not implement time zone support. Clients should only use this if also asking the server to expand recurrences, as you cannot accurately expand a recurrence without the original time zone. This property is calculated at fetch time by the server. Time zones are political and they can and do change at any time. Fetching exactly the same property again may return a different result if the time zone data has been updated on the server. Time zone data changes are not considered &quot;updates&quot; to the event. If set, the server will convert the UTC date to the event&#x27;s current time zone and store the local time. This property is not included in &quot;CalendarEvent/get&quot; responses by default and must be requested explicitly. Floating events (events without a time zone) will be interpreted as per the time zone given as a &quot;CalendarEvent/get&quot; argument. Note that it is not possible to accurately calculate the expansion of recurrence rules or recurrence overrides with the &quot;utcStart&quot; property rather than the local start time. Even simple recurrences such as &quot;repeat weekly&quot; may cross a daylight-savings boundary and end up at a different UTC time. Clients that wish to use &quot;utcStart&quot; are RECOMMENDED to request the server expand recurrences (see Section 5.10). *utcEnd*: UTCDateTime The server calculates the end time in UTC from the start/timeZone/ duration properties of the event. This property is not included by default and must be requested explicitly. Like utcStart, it is calculated at fetch time if requested and may change due to time zone data changes. Floating events will be interpreted as per the time zone given as a &quot;CalendarEvent/get&quot; argument. CalendarEvent objects MUST NOT have a &quot;method&quot; property as this is only used when representing iTIP [RFC5546] scheduling messages, not events in a data store. 5.1. Additional JSCalendar properties This document defines four new JSCalendar properties for common use. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 21]</span> <span>Internet-Draft JMAP Calendars November 2024</span> 5.1.1. calendarAddress Type: String Context: Participant This is a URI as defined by [RFC3986] or any other IANA-registered form for a URI. It is the same as the CAL-ADDRESS value of an ATTENDEE or ORGANIZER in iCalendar ([RFC5545]) — it globally identifies a particular participant, even across different events. 5.1.2. mayInviteSelf Type: Boolean (default: false) Context: Event, Task If true, anyone may add themselves to the event as a participant with the &quot;attendee&quot; role. This property MUST NOT be altered in the recurrenceOverrides; it may only be set on the base object. 5.1.3. mayInviteOthers Type: Boolean (default: false) Context: Event, Task If true, any current participant with the &quot;attendee&quot; role may add new participants with the &quot;attendee&quot; role to the event. This property MUST NOT be altered in the recurrenceOverrides; it may only be set on the base object. 5.1.4. hideAttendees Type: Boolean (default: false) Context: Event, Task If true, only the owners of the event may see the full set of participants. Other users with access to the event may only see the owners and themselves. This property MUST NOT be altered in the recurrenceOverrides; it may only be set on the base object. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 22]</span> <span>Internet-Draft JMAP Calendars November 2024</span> 5.2. Attachments The Link object, as defined in Section 4.2.7 of [RFC8984], with a &quot;rel&quot; property equal to &quot;enclosure&quot; is used to represent attachments. Instead of mandating an &quot;href&quot; property, clients may set a &quot;blobId&quot; property instead to reference a blob of binary data in the account, as per Section 6 of [RFC8620]. The server MUST translate this to an embedded data: URL [RFC2397] when sending the event to a system that cannot access the blob. Servers that support CalDAV access to the same data are recommended to expose these files as managed attachments [RFC8607]. 5.3. Per-user properties In shared calendars, any top-level property registered in the IANA registry as &quot;Is Per-User: yes&quot; (see Section 10.8) MUST be stored per- user. This includes: * keywords * color * freeBusyStatus * useDefaultAlerts * alerts If the user modifies any such properties on a per-occurrence basis for recurring events then again, these MUST also be stored per-user. Sharees initially receive the default value for each of these properties, not whatever value another user may have set. When writing only per-user properties, the &quot;updated&quot; property MUST also be stored just for that user if set. When fetching the &quot;updated&quot; property, the value to return is whichever is later of the per-user updated time or the updated time of the base event. 5.4. Recurring events Events may recur, in which case they represent multiple occurrences or instances. The data store will either contain a single base event, containing a recurrence rule and/or recurrence overrides; or, a set of individual instances (when invited to specific occurrences only). <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 23]</span> <span>Internet-Draft JMAP Calendars November 2024</span> The client may ask the server to expand recurrences within a specific time range in &quot;CalendarEvent/query&quot;. This will generate synthetic ids representing individual instances in the requested time range. The client can fetch and update the objects using these ids and the server will make the appropriate changes to the base event. Synthetic ids do not appear in &quot;CalendarEvent/changes&quot; responses; only the ids of events as actually stored on the server. If the user is invited to specific instances then later added to the base event, &quot;CalendarEvent/changes&quot; will show the ids of all the individual instances being destroyed and the id for the base event being created. 5.5. Updating for &quot;this-and-future&quot; When editing a recurring event, you can either update the base event (affecting all instances unless overridden) or update an override for a specific occurrence. To update all occurrences from a specific point onwards, there are therefore two options: split the event, or update the base event and override all occurrences before the split point back to their original values. 5.5.1. Splitting an event If the event is not scheduled (has no participants), the simplest thing to do is to duplicate the event, modifying the recurrence rules of the original so it finishes before the split point, and the duplicate so it starts at the split point. As per JSCalendar Section 4.1.3 of [RFC8984], a &quot;next&quot; and &quot;first&quot; relation MUST be set on the new objects respectively. Splitting an event however is problematic in the case of a scheduled event, because the participants will see it as two separate changes, and may not understand the connection between the two. 5.5.2. Updating the base event and overriding previous For scheduled events, a better approach is to avoid splitting and instead update the base event with the new property value for &quot;this and future&quot;, then create overrides for all occurrences before the split point to restore the property to its previous value. Indeed, this may be the only option the user has permission to do if not an owner of the event. Clients may choose to skip creating the overrides if the old data is not important, for example if the &quot;alerts&quot; property is being updated, it is probably not important to create overrides for events in the past with the alerts that have already fired. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 24]</span> <span>Internet-Draft JMAP Calendars November 2024</span> 5.6. CalendarEvent/get This is a standard &quot;/get&quot; method as described in Section 5.1 of [RFC8620], with four extra arguments: *recurrenceOverridesBefore*: UTCDateTime|null If given, only recurrence overrides with a recurrence id before this date (when translated into UTC) will be returned. *recurrenceOverridesAfter*: UTCDateTime|null If given, only recurrence overrides with a recurrence id on or after this date (when translated into UTC) will be returned. *reduceParticipants*: Boolean (default: false) If true, only participants with the &quot;owner&quot; role or corresponding to the user&#x27;s participant identities will be returned in the &quot;participants&quot; property of the base event and any recurrence overrides. If false, all participants will be returned. *timeZone*: TimeZoneId (default &quot;Etc/UTC&quot;) The time zone to use when calculating the &quot;utcStart&quot;/&quot;utcEnd&quot; property of floating events. This argument has no effect if those properties are not requested. A CalendarEvent object is a JSCalendar Event object so may have arbitrary properties. If the client makes a &quot;CalendarEvent/get&quot; call with a null or omitted &quot;properties&quot; argument, all properties defined on the JSCalendar Event object in the store are returned, along with the &quot;id&quot;, &quot;calendarIds&quot;, &quot;isDraft&quot;, and &quot;isOrigin&quot; properties. The &quot;utcStart&quot; and &quot;utcEnd&quot; computed properties are only returned if explicitly requested. If either are requested, the &quot;recurrenceOverrides&quot; property MUST NOT be requested (recurrence overrides cannot be interpreted accurately with just the UTC times). If specific properties are requested from the JSCalendar Event and the property is not present on the object in the server&#x27;s store, the server MUST return the default value if known for that property. A requested id may represent a server-expanded single instance of a recurring event if the client asked the server to expand recurrences in &quot;CalendarEvent/query&quot;. In such a case, the server will resolve any overrides and set the appropriate &quot;start&quot; and &quot;recurrenceId&quot; properties on the CalendarEvent object returned to the client. The &quot;recurrenceRules&quot; and &quot;recurrenceOverrides&quot; properties MUST be returned as null if requested for such an event. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 25]</span> <span>Internet-Draft JMAP Calendars November 2024</span> An event with the same uid/recurrenceId may appear in different accounts. Clients may coalesce the view of such events, but must be aware that the data may be different in the different accounts due to per-user properties, difference in permissions, etc. The &quot;hideAttendees&quot; property of a JSCalendar Event object allows the event owner(s) to hide the full set of participants when sharing the event. If this is true, when a non-owner fetches the event the server MUST only return participants with the &quot;owner&quot; role or corresponding to the user&#x27;s participant identities. The &quot;privacy&quot; property of a JSCalendar Event object allows the Principal that owns the calendar to override how the event is exposed to those with whom the calendar is shared. If set to &quot;private&quot;, then when another user fetches the event the server MUST only return properties that are: * the basic time and metadata properties of the JSCalendar Event object as specified in Section 4.4.3 of [RFC8984]; or * properties that are wholly derived from these permitted properties (i.e., utcStart, utcEnd); or * Additional CalendarEvent properties not derived from the JSCalendar Event data (i.e., id, baseEventId, calendarIds, isDraft, isOrigin). If &quot;privacy&quot; is set to &quot;secret&quot;, the server MUST behave as though the event does not exist for all users other than the Principal that owns the calendar. 5.7. CalendarEvent/changes This is a standard &quot;/changes&quot; method as described in Section 5.2 of [RFC8620]. Synthetic ids generated by the server expanding recurrences in &quot;CalendarEvent/query&quot; do not appear in &quot;CalendarEvent/changes&quot; responses; only the ids of events as actually stored on the server. 5.8. CalendarEvent/set This is a standard &quot;/set&quot; method as described in Section 5.3 of [RFC8620], with the following extra argument: *sendSchedulingMessages*: Boolean (default: false) If true then any changes to scheduled events will be sent to all the participants (if the server is the origin of the event) or back to the origin (otherwise). If false, the changes only affect this account and no scheduling messages will be sent. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 26]</span> <span>Internet-Draft JMAP Calendars November 2024</span> The server may send the scheduling message via any of the methods defined on the &quot;sendTo&quot; property of a participant (if the server is the origin) or the &quot;replyTo&quot; property of the event (otherwise) that it supports. If no supported methods are available for any of the recipients, the server MUST reject the change with a noSupportedScheduleMethods SetError. At time of writing, the most common interoperable protocol for sending scheduling methods between participants on different servers is iMIP [RFC5546]. A future document will provide recommendations of what iMIP messages to send based on the change for best compatibility. An id may represent a server-expanded single instance of a recurring event if the client asked the server to expand recurrences in &quot;CalendarEvent/query&quot;. When the synthetic id for such an instance is given, the server MUST process an update as an update to the recurrence override for that instance on the base event, and a destroy as removing just that instance. Clients MUST NOT send an update/destroy to both the base event and a synthetic instance in a single &quot;/set&quot; request; the result of this is undefined. Note however, a client may replace a series of explicit instances (each with the same uid but a different &quot;recurrenceId&quot; property) with the base event (same uid, no recurrenceId) in a single &quot;/set&quot; call. (So the &quot;/set&quot; will destroy the existing instances and create the new base event.) This will happen when someone is initially invited to a specific instance or instances of a recurring event, then later invited to the whole series. If a property is set to null in a create/update, this is equivalent to omitting/removing the property from the JSCalendar Event object. Servers MUST enforce the user&#x27;s permissions as returned in the &quot;myRights&quot; property of the Calendar objects and reject changes with a forbidden SetError if not allowed. The &quot;privacy&quot; property of a JSCalendar Event object allows the Principal that owns the calendar to override how the event is exposed to those with whom the calendar is shared. If this is set to &quot;private&quot;, the event may only be destroyed or updated by the owner of the calendar it is in. Any attempt by another user to modify such an event MUST be rejected with a forbidden SetError (even if only modifying per-user properties). If set to &quot;secret&quot;, the server MUST behave as though the event does not exist for all users other than the Principal that owns the calendar. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 27]</span> <span>Internet-Draft JMAP Calendars November 2024</span> The &quot;privacy&quot; property MUST NOT be set to anything other than &quot;public&quot; (the default) for events in a calendar that does not belong to the user (e.g. a shared team calendar, or a calendar shared by another user). The server MUST reject this with an invalidProperties SetError. If omitted on create, the server MUST set the following properties: * @type MUST be set to &quot;Event&quot; * uid MUST be set to a new globally unique identifier, such as a UUID. * created MUST be set to the current date-time. If (and only if) the server is the origin of the event (i.e., the event&#x27;s &quot;isOrigin&quot; property is true), the &quot;updated&quot; property MUST be set to the current time by the server whenever an event is created or updated. If the client tries to set a value for this property it is not an error, but it MUST be overridden and replaced with the server&#x27;s time. If the event is being created and the overridden &quot;updated&quot; time is now earlier than a client-supplied &quot;created&quot; time, the &quot;created&quot; time MUST also be overridden to the server&#x27;s time. If the server is not the origin of the event it MUST NOT automatically set an &quot;updated&quot; time, as this can break correct processing of scheduling messages. Clients MUST NOT allow users to edit anything other than per-user properties when the &quot;isOrigin&quot; property is false, even if the calendar &quot;myRights&quot; allows them to do so. All other properties may be overwritten when a future update arrives to this event from the origin (e.g., via an iTIP REQUEST message). Such updates may be directly applied by the server, or applied at the user&#x27;s request by a client if it has access to the data through some other means (e.g., the client also has access to the user&#x27;s email and can parse an iMIP message). When updating an event, if all of: * a property has been changed other than &quot;calendarIds&quot;, &quot;isDraft&quot;, &quot;updated&quot; or a per-user property (see Section 5.3); and * the server is the origin of the event (the &quot;isOrigin&quot; property is true); and * the &quot;sequence&quot; property is not explicitly set in the update, or the given value is less than or equal to the current &quot;sequence&quot; value on the server; then the server MUST increment the &quot;sequence&quot; value by one. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 28]</span> <span>Internet-Draft JMAP Calendars November 2024</span> The &quot;method&quot; property MUST NOT be set. Any attempt to do so is rejected with a standard invalidProperties SetError. If &quot;utcStart&quot; is set, this is translated into a &quot;start&quot; property using the server&#x27;s current time zone information. It MUST NOT be set in addition to a &quot;start&quot; property and it cannot be set inside &quot;recurrenceOverrides&quot;; this MUST be rejected with an invalidProperties SetError. Similarly, the &quot;utcEnd&quot; property is translated into a &quot;duration&quot; property if set. It MUST NOT be set in addition to a &quot;duration&quot; property and it cannot be set inside &quot;recurrenceOverrides&quot;; this MUST be rejected with an invalidProperties SetError. The server does not automatically reset the &quot;partipationStatus&quot; or &quot;expectReply&quot; properties of a Participant when changing other event details. Clients should either be intelligent about whether the change invalidates previous RSVPs, or ask the user whether to reset them. The server MAY enforce that all events have an owner, for example in team calendars. If the user tries to create an event without participants in such a calendar, the server MUST automatically add a participant with the &quot;owner&quot; role corresponding to one of the user&#x27;s ParticipantIdentities (see Section 3). When creating an event with participants, or adding participants to an event that previously did not have participants, the server MUST set the &quot;replyTo&quot; property of the event if not present. Clients SHOULD NOT set the &quot;replyTo&quot; property for events when the user adds participants; the server is better positioned to add all the methods it supports to receive replies. The following extra SetError type is defined: *noSupportedScheduleMethods* The server was requested to send scheduling messages, but does not support any of the methods available for at least one of the recipients. 5.8.1. Patching The JMAP &quot;/set&quot; method allows you to update an object by sending a patch, rather than having to supply the whole object. When doing so, care must be taken if updating a property of a CalendarEvent where the value is itself a PatchObject, e.g. inside &quot;localizations&quot; or &quot;recurrenceOverrides&quot;. In particular, you cannot add a property with value null to the CalendarEvent using a direct patch on that <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 29]</span> <span>Internet-Draft JMAP Calendars November 2024</span> property, as this is interpreted instead as a patch to remove the property. This is more easily understood with an example. Suppose you have a CalendarEvent object like so: { &quot;id&quot;: &quot;123&quot;, &quot;title&quot;: &quot;FooBar team meeting&quot;, &quot;start&quot;: &quot;2025-01-08T09:00:00&quot;, &quot;recurrenceRules&quot;: [{ &quot;@type&quot;: &quot;RecurrenceRule&quot;, &quot;frequency&quot;: &quot;weekly&quot; }], &quot;replyTo&quot;: { &quot;imip&quot;: &quot;mailto:6489-4f14-a57f-c1@schedule.example.com&quot; }, &quot;participants&quot;: { &quot;dG9tQGZvb2Jhci5xlLmNvbQ&quot;: { &quot;@type&quot;: &quot;Participant&quot;, &quot;name&quot;: &quot;Tom&quot;, &quot;email&quot;: &quot;tom@foobar.example.com&quot;, &quot;calendarAddress&quot;: &quot;mailto:6489-4f14-a57f-c1@calendar.example.com&quot;, &quot;sendTo&quot;: { &quot;imip&quot;: &quot;mailto:6489-4f14-a57f-c1@calendar.example.com&quot; }, &quot;participationStatus&quot;: &quot;accepted&quot;, &quot;roles&quot;: { &quot;attendee&quot;: true } }, &quot;em9lQGZvb2GFtcGxlLmNvbQ&quot;: { &quot;@type&quot;: &quot;Participant&quot;, &quot;name&quot;: &quot;Zoe&quot;, &quot;email&quot;: &quot;zoe@foobar.example.com&quot;, &quot;calendarAddress&quot;: &quot;mailto:zoe@foobar.example.com&quot;, &quot;sendTo&quot;: { &quot;imip&quot;: &quot;mailto:zoe@foobar.example.com&quot;, &quot;other&quot;: &quot;https://foobar.example.com/zoe/itip&quot; }, &quot;participationStatus&quot;: &quot;accepted&quot;, &quot;roles&quot;: { &quot;owner&quot;: true, &quot;attendee&quot;: true, &quot;chair&quot;: true } }, &quot;recurrenceOverrides&quot;: { <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 30]</span> <span>Internet-Draft JMAP Calendars November 2024</span> &quot;2025-03-05T09:00:00&quot;: { &quot;start&quot;: &quot;2025-03-05T10:00:00&quot;, &quot;participants/dG9tQGZvb2Jhci5xlLmNvbQ/participationStatus&quot;: &quot;declined&quot; } } } } Figure 1: A CalendarEvent object In this example, Tom is normally going to the weekly meeting but has declined the occurrence on 2025-03-05, which starts an hour later than normal. Now, if Zoe too were to decline that meeting, she could update the event by just sending a patch like so: [[ &quot;CalendarEvent/set&quot;, { &quot;accountId&quot;: &quot;a0x9&quot;, &quot;update&quot;: { &quot;123&quot;: { &quot;recurrenceOverrides/2025-03-05T09:00:00/\ participants~1em9lQGZvb2GFtcGxlLmNvbQ~1participationStatus&quot;: &quot;declined&quot; } } }, &quot;0&quot; ]] Figure 2: &quot;methodCalls&quot; Property of a JMAP Request. NOTE: &#x27;\&#x27; line wrapping per [RFC8792]. This patches the &quot;2025-03-05T09:00:00&quot; PatchObject in recurrenceOverrides so that it ends up like this: &quot;recurrenceOverrides&quot;: { &quot;2025-03-05T09:00:00&quot;: { &quot;start&quot;: &quot;2025-03-05T10:00:00&quot;, &quot;participants/dG9tQGZvb2Jhci5xlLmNvbQ/participationStatus&quot;: &quot;declined&quot;, &quot;participants/em9lQGZvb2GFtcGxlLmNvbQ/participationStatus&quot;: &quot;declined&quot; } } Figure 3: &quot;recurrenceOverrides&quot; Property in a CalendarEvent Object Now if Tom were to change his mind and remove his declined status override (thus meaning he is attending, as inherited from the top- level event), he might remove his patch from the overrides like so: <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 31]</span> <span>Internet-Draft JMAP Calendars November 2024</span> [[ &quot;CalendarEvent/set&quot;, { &quot;accountId&quot;: &quot;a0x9&quot;, &quot;update&quot;: { &quot;123&quot;: { &quot;recurrenceOverrides/2025-03-05T09:00:00/\ participants~1dG9tQGZvb2Jhci5xlLmNvbQ~1participationStatus&quot;: null } } }, &quot;0&quot; ]] Figure 4: &quot;methodCalls&quot; Property of a JMAP Request. NOTE: &#x27;\&#x27; line wrapping per [RFC8792]. However, if you instead want to remove Tom from this instance altogether, you could not send this patch: [[ &quot;CalendarEvent/set&quot;, { &quot;accountId&quot;: &quot;a0x9&quot;, &quot;update&quot;: { &quot;123&quot;: { &quot;recurrenceOverrides/2025-03-05T09:00:00/\ participants~1dG9tQGZvb2Jhci5xlLmNvbQ&quot;: null } } }, &quot;0&quot; ]] Figure 5: &quot;methodCalls&quot; Property of a JMAP Request. NOTE: &#x27;\&#x27; line wrapping per [RFC8792]. This would mean removing the &quot;participants/dG9tQGZvb2Jhci5xlLmNvbQ&quot; property at path &quot;recurrenceOverrides&quot; -&gt; &quot;2025-03-05T09:00:00&quot; inside the object; but this doesn&#x27;t exist. We actually want to add this property and make it map to null. The client must instead send the full object that contains the property mapping to null, like so: [[ &quot;CalendarEvent/set&quot;, { &quot;accountId&quot;: &quot;a0x9&quot;, &quot;update&quot;: { &quot;123&quot;: { &quot;recurrenceOverrides/2025-03-05T09:00:00&quot;: { &quot;start&quot;: &quot;2025-03-05T10:00:00&quot;, &quot;participants/em9lQGZvb2GFtcGxlLmNvbQ/participationStatus&quot;: &quot;declined&quot;, &quot;participants/dG9tQGZvb2Jhci5xlLmNvbQ&quot;: null } } } }, &quot;0&quot; ]] <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 32]</span> <span>Internet-Draft JMAP Calendars November 2024</span> Figure 6: &quot;methodCalls&quot; Property of a JMAP Request 5.9. CalendarEvent/copy This is a standard &quot;/copy&quot; method as described in Section 5.4 of [RFC8620]. 5.10. CalendarEvent/query This is a standard &quot;/query&quot; method as described in Section 5.5 of [RFC8620], with two extra arguments: *expandRecurrences*: Boolean (default: false) If true, the server will expand any recurring event. If true, the filter MUST be just a FilterCondition (not a FilterOperator) and MUST include both a &quot;before&quot; and &quot;after&quot; property. This ensures the server is not asked to return an infinite number of results. *timeZone*: TimeZoneId The time zone for before/after filter conditions (default: &quot;Etc/ UTC&quot;) If expandRecurrences is true, a separate id will be returned for each instance of a recurring event that matches the query. This synthetic id is opaque to the client, but uniquely identifies the base event id + recurrence id within the account, allowing the server to resolve these for &quot;/get&quot; and &quot;/set&quot; operations. Otherwise, a single id will be returned for matching recurring events that represents the entire event. There is no necessary correspondence between the ids of different instances of the same expanded event. The following additional error may be returned instead of the &quot;CalendarEvent/query&quot; response: cannotCalculateOccurrences: The server cannot expand a recurrence required to return the results for this query. 5.10.1. Filtering A *FilterCondition* object has the following properties: *inCalendar*: Id|null A Calendar id. An event must be in this calendar to match the condition. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 33]</span> <span>Internet-Draft JMAP Calendars November 2024</span> *after*: LocalDateTime|null The end of the event, or any recurrence of the event, in the time zone given as the &quot;timeZone&quot; argument, must be after this date to match the condition. *before*: LocalDateTime|null The start of the event, or any recurrence of the event, in the time zone given as the &quot;timeZone&quot; argument, must be before this date to match the condition. *text*: String|null Looks for the text in the &quot;title&quot;, &quot;description&quot;, &quot;locations&quot; (matching name/description), &quot;participants&quot; (matching name/email) and any other textual properties of the event or any recurrence of the event. *title*: String|null Looks for the text in the &quot;title&quot; property of the event, or the overridden &quot;title&quot; property of a recurrence. *description*: String|null Looks for the text in the &quot;description&quot; property of the event, or the overridden &quot;description&quot; property of a recurrence. *location*: String|null Looks for the text in the &quot;locations&quot; property of the event (matching name/description of a location), or the overridden &quot;locations&quot; property of a recurrence. *owner*: String|null Looks for the text in the name or email fields of a participant in the &quot;participants&quot; property of the event, or the overridden &quot;participants&quot; property of a recurrence, where the participant has a role of &quot;owner&quot;. *attendee*: String|null Looks for the text in the name or email fields of a participant in the &quot;participants&quot; property of the event, or the overridden &quot;participants&quot; property of a recurrence, where the participant has a role of &quot;attendee&quot;. *uid*: String The uid of the event is exactly the given string. If expandRecurrences is true, all conditions must match against the same instance of a recurring event for the instance to match. If expandRecurrences is false, all conditions must match, but they may each match any instance of the event. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 34]</span> <span>Internet-Draft JMAP Calendars November 2024</span> If zero properties are specified on the FilterCondition, the condition MUST always evaluate to true. If multiple properties are specified, ALL must apply for the condition to be true (it is equivalent to splitting the object into one-property conditions and making them all the child of an AND filter operator). The exact semantics for matching String fields is *deliberately not defined* to allow for flexibility in indexing implementation, subject to the following: * Text should be matched in a case-insensitive manner. * Text contained in either (but matched) single or double quotes should be treated as a *phrase search*, that is a match is required for that exact sequence of words, excluding the surrounding quotation marks. Use \&quot;, \&#x27; and \\ to match a literal &quot;, &#x27; and \ respectively in a phrase. * Outside of a phrase, white-space should be treated as dividing separate tokens that may be searched for separately in the event, but must all be present for the event to match the filter. * Tokens may be matched on a whole-word basis using stemming (so for example a text search for bus would match &quot;buses&quot; but not &quot;business&quot;). 5.10.2. Sorting The following properties MUST be supported for sorting: * start * uid * recurrenceId The following properties SHOULD be supported for sorting: * created * updated 5.11. CalendarEvent/queryChanges This is a standard &quot;/queryChanges&quot; method as described in Section 5.6 of [RFC8620]. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 35]</span> <span>Internet-Draft JMAP Calendars November 2024</span> 5.12. CalendarEvent/parse This method allows the client to parse blobs as iCalendar files [RFC5545] to get CalendarEvent objects. This can be used to parse, display, and import information from iCalendar files without having to implement iCalendar parsing in the client. Server support for this is optional, and indicated via the urn:ietf:params:jmap:calendars:parse capability, as per Section 1.5.3. The following metadata properties on the CalendarEvent objects will be null if requested: * id * baseEventId * calendarIds * isDraft * isOrigin The &quot;CalendarEvent/parse&quot; method takes the following arguments: *accountId*: Id The id of the account to use. *blobIds*: Id[] The ids of the blobs to parse. *properties*: String[] If supplied, only the properties listed in the array are returned for each CalendarEvent object. If omitted, defaults to all the properties. The response object contains the following arguments: *accountId*: Id The id of the account used for the call. *parsed*: Id[CalendarEvent[]]|null A map of blob ids to parsed CalendarEvent objects representations for each successfully parsed blob, or null if none. *notFound*: Id[]|null A list of blob ids given that could not be found, or null if none. *notParsable*: Id[]|null A list of blob ids given that corresponded to blobs that could not be parsed as CalendarEvents, or null if none. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 36]</span> <span>Internet-Draft JMAP Calendars November 2024</span> Parsed iCalendars are to be converted into CalendarEvent objects following the process defined in the JSCalendar: Converting from and to iCalendar (https://datatracker.ietf.org/doc/draft-ietf-calext- jscalendar-icalendar) document. 6. Alerts Alerts may be specified on events as described in Section 4.5 of [RFC8984]. Alerts MUST only be triggered for events in calendars where the user is subscribed. When an alert with an &quot;email&quot; action is triggered, the server MUST send an email to the user to notify them of the event. The content of the email is implementation specific. Clients MUST NOT perform an action for these alerts. When an alert with a &quot;display&quot; action is triggered, clients should display an alert in a platform-appropriate manner to the user to remind them of the event. Clients with a full offline cache of events may choose to calculate when alerts should trigger locally. Alternatively, they can subscribe to push events from the server. 6.1. Default alerts If the &quot;useDefaultAlerts&quot; property of an event is true, the alerts are taken from the &quot;defaultAlertsWithTime&quot; or &quot;defaultAlertsWithoutTime&quot; property of all Calendars (see Section 4) the event is in, rather than the &quot;alerts&quot; property of the CalendarEvent. When using default alerts, the &quot;alerts&quot; property of the event is ignored except for the following: * The &quot;acknowledged&quot; time for an alert is stored here when a default alert for the event is dismissed. The id of the alert MUST be the same as the id of the default alert in the calendar. See Section 6.2 on acknowledging alerts. * If an alert has a &quot;relatedTo&quot; property where the parent is the id of one of the calendar default alerts, it is processed as normal and not ignored. This is to support snoozing default alerts; see Section 6.3. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 37]</span> <span>Internet-Draft JMAP Calendars November 2024</span> 6.2. Acknowledging an alert To dismiss an alert, clients set the &quot;acknowledged&quot; property of the Alert object to the current date-time. If the alert was a calendar default, it may need to be added to the event at this point in order to acknowledge it. When other clients fetch the updated CalendarEvent they SHOULD automatically dismiss or suppress duplicate alerts (alerts with the same alert id that triggered on or before the &quot;acknowledged&quot; date-time) and alerts that have been removed from the event. Setting the &quot;acknowledged&quot; property MUST NOT create a new recurrence override. For a recurring calendar object, the &quot;acknowledged&quot; property of the parent object MUST be updated, unless the alert is already overridden in the &quot;recurrenceOverrides&quot; property. 6.3. Snoozing an alert Users may wish to dismiss an alert temporarily and have it come back after a specific period of time. To do this, clients MUST: 1. Acknowledge the alert as described in Section 6.2. 2. Add a new alert to the event that has an AbsoluteTrigger specifying the date-time when the alert will trigger again. Add a &quot;relatedTo&quot; property to the new alert, setting the &quot;parent&quot; relation to point to the original alert. This MUST NOT create a new recurrence override; it is added to the same &quot;alerts&quot; property that contains the alert that was acknowledged in step 1. When acknowledging a snoozed alert (i.e. one with a parent relatedTo pointing to the original alert), the client should delete the alert rather than setting the &quot;acknowledged&quot; property. 6.4. Push events Servers that support the urn:ietf:params:jmap:calendars capability MUST support registering for the pseudo-type &quot;CalendarAlert&quot; in push subscriptions and event source connections, as described in [RFC8620], Sections 7.2 and 7.3. If requested, a CalendarAlert notification will be pushed whenever an alert is triggered for the user. For Event Source connections, this notification is pushed as an event called &quot;calendarAlert&quot;. A *CalendarAlert* object has the following properties: *@type*: String This MUST be the string &quot;CalendarAlert&quot;. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 38]</span> <span>Internet-Draft JMAP Calendars November 2024</span> *accountId*: Id The account id for the calendar in which the alert triggered. *calendarEventId*: Id The CalendarEvent id for the alert that triggered. Note, for a recurring event this is the id of the base event, never a synthetic id for a particular instance. *uid*: String The &quot;uid&quot; property of the CalendarEvent for the alert that triggered. *recurrenceId*: LocalDateTime|null The recurrenceId for the instance of the event for which this alert is being triggered, or null if the event is not recurring. *alertId*: String The id for the alert that triggered. 7. Calendar Event Notifications The CalendarEventNotification data type represents changes made by external entities to events in calendars that the user is subscribed to. CalendarEventNotifications are only created by the server; users cannot create them explicitly. They are stored in the same Account as the CalendarEvent that was changed. Clients may present the list of notifications to the user and allow the user to dismiss them. To dismiss a notification, use a standard &quot;/set&quot; call to destroy it. The server should create a CalendarEventNotification whenever an event is added, updated or destroyed by another user or due to receiving an iTIP [RFC5546] or other scheduling message in a calendar this user is subscribed to. The CalendarEventNotification does not have any per-user data. A single instance may therefore be maintained on the server for all users with whom the calendar is shared. The server need only keep track of which users have yet to destroy the notification. The server MAY limit the maximum number of notifications it will store for a user. When the limit is reached, any new notification will cause the previously oldest notification to be automatically deleted. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 39]</span> <span>Internet-Draft JMAP Calendars November 2024</span> The server MAY coalesce notifications if appropriate or remove notifications after a certain period of time or that it deems are no longer relevant. A *CalendarEventNotification* object has the following properties: *id*: Id The id of the CalendarEventNotification. *created*: UTCDateTime The time this notification was created. *changedBy*: Person Who made the change. The Person object has the following properties: *name*: String The name of the person who made the change. *email*: String|null The email of the person who made the change, or null if no email is available. *principalId*: Id|null The id of the Principal corresponding to the person who made the change, if any. This will be null if the change was due to an entity outside of this user&#x27;s organisation, e.g. an iTIP invitation from an external person. *calendarAddress*: String|null The calendarAddress URI of the person who made the change, if any. This may be set if the change was made due to receving a scheduling message, such as an iTIP message, in addition to changes made by internal users. *comment*: String|null Comment sent along with the change by the user that made it. (e.g. COMMENT property in an iTIP message), if any. *type*: String This MUST be one of: * &quot;created&quot; * &quot;updated&quot; * &quot;destroyed&quot; *calendarEventId*: Id The id of the CalendarEvent that this notification is about. *isDraft*: Boolean (created/updated only) True if the event is a draft. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 40]</span> <span>Internet-Draft JMAP Calendars November 2024</span> *event*: JSCalendar Event The data before the change (if updated or destroyed), or the data after creation (if created). *eventPatch*: PatchObject (updated only) A patch encoding the change between the data in the event property, and the data after the update. If the change only affects a single instance of a recurring event, the server MAY set the event and eventPatch properties for just that instance; the calendarEventId MUST still be for the base event. 7.1. CalendarEventNotification/get This is a standard &quot;/get&quot; method as described in Section 5.1 of [RFC8620]. 7.2. CalendarEventNotification/changes This is a standard &quot;/changes&quot; method as described in Section 5.2 of [RFC8620]. 7.3. CalendarEventNotification/set This is a standard &quot;/set&quot; method as described in Section 5.3 of [RFC8620]. Only destroy is supported; any attempt to create/update MUST be rejected with a forbidden SetError. 7.4. CalendarEventNotification/query This is a standard &quot;/query&quot; method as described in Section 5.5 of [RFC8620]. 7.4.1. Filtering A *FilterCondition* object has the following properties: *after*: UTCDateTime|null The creation date must be on or after this date to match the condition. *before*: UTCDateTime|null The creation date must be before this date to match the condition. *type*: String The &quot;type&quot; property must be the same to match the condition. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 41]</span> <span>Internet-Draft JMAP Calendars November 2024</span> *calendarEventIds*: Id[]|null A list of event ids. The &quot;calendarEventId&quot; property of the notification must be in this list to match the condition. 7.4.2. Sorting The &quot;created&quot; property MUST be supported for sorting. 7.5. CalendarEventNotification/queryChanges This is a standard &quot;/queryChanges&quot; method as described in Section 5.6 of [RFC8620]. 8. Examples For brevity, in the following examples only the &quot;methodCalls&quot; property of the Request object, and the &quot;methodResponses&quot; property of the Response object is shown. 8.1. Fetching initial data A user has authenticated and the client has fetched the JMAP Session object. It finds a single Account with the urn:ietf:params:jmap:calendars capability, with id &quot;a0x9&quot;, and wants to display all the calendar information for January 2023 in the Australia/Melbourne time zone. It might make the following request: <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 42]</span> <span>Internet-Draft JMAP Calendars November 2024</span> [ [&quot;Calendar/get&quot;, { &quot;accountId&quot;: &quot;a0x9&quot; }, &quot;0&quot;], [&quot;ParticipantIdentity/get&quot;, { &quot;accountId&quot;: &quot;a0x9&quot; }, &quot;1&quot;], [&quot;CalendarEvent/query&quot;, { &quot;accountId&quot;: &quot;a0x9&quot;, &quot;timeZone&quot;: &quot;Australia/Melbourne&quot;, &quot;filter&quot;: { &quot;after&quot;: &quot;2023-01-01T00:00:00&quot;, &quot;before&quot;: &quot;2023-02-01T00:00:00&quot; } }, &quot;2&quot;], [&quot;CalendarEvent/get&quot;, { &quot;accountId&quot;: &quot;a0x9&quot;, &quot;#ids&quot;: { &quot;resultOf&quot;: &quot;2&quot;, &quot;name&quot;: &quot;CalendarEvent/query&quot;, &quot;path&quot;: &quot;/ids&quot; } }, &quot;3&quot;] ] Figure 7: &quot;methodCalls&quot; Property of a JMAP Request The server might respond with something like: [ [&quot;Calendar/get&quot;, { &quot;accountId&quot;: &quot;a0x9&quot;, &quot;list&quot;: [{ &quot;id&quot;: &quot;062adcfa-105d-455c-bc60-6db68b69c3f3&quot;, &quot;name&quot;: &quot;Private&quot;, &quot;sortOrder&quot;: 12, &quot;isDefault&quot;: false, &quot;defaultAlertsWithTime&quot;: null, ... }, { &quot;id&quot;: &quot;3ddf2ad7-0e0c-4fb5-852d-f0ff56f3c662&quot;, &quot;name&quot;: &quot;Work&quot;, &quot;sortOrder&quot;: 4, &quot;isDefault&quot;: true, &quot;defaultAlertsWithTime&quot;: { &quot;631BE24C-A3B6-11EC-BF4C-B027680D752E&quot;: { &quot;@type&quot;: &quot;Alert&quot;, &quot;action&quot;: &quot;display&quot;, <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 43]</span> <span>Internet-Draft JMAP Calendars November 2024</span> &quot;trigger&quot;: { &quot;@type&quot;: &quot;OffsetTrigger&quot;, &quot;offset&quot;: &quot;-PT1H&quot;, &quot;relativeTo&quot;: &quot;start&quot; } } }, ... }], &quot;notFound&quot;: [], &quot;state&quot;: &quot;~506&quot; }, &quot;0&quot;], [&quot;ParticipantIdentity/get&quot;, { &quot;accountId&quot;: &quot;a0x9&quot;, &quot;list&quot;: [{ &quot;id&quot;: &quot;3&quot;, &quot;name&quot;: &quot;Jane Doe&quot;, &quot;calendarAddress&quot;: &quot;mailto:jane@example.com&quot;, &quot;sendTo&quot;: { &quot;imip&quot;: &quot;mailto:jane@example.com&quot;, &quot;other&quot;: &quot;https://example.com/uri/for/internal/scheduling&quot; }, &quot;isDefault&quot;: true }], &quot;notFound&quot;: [], &quot;state&quot;: &quot;lgkf:98144:aae&quot; }, &quot;1&quot;], [&quot;CalendarEvent/query&quot;, { &quot;accountId&quot;: &quot;a0x9&quot;, &quot;canCalculateChanges&quot;: false, &quot;position&quot;: 0, &quot;queryState&quot;: &quot;~206&quot;, &quot;ids&quot;: [ &quot;E-01c9626e-1490-43df-a34f-457021256281&quot;, &quot;E-07a2b89d-96b6-4920-982a-54fdf0a386ce&quot;, ... ] }, &quot;2&quot;], [&quot;CalendarEvent/get&quot;, { &quot;accountId&quot;: &quot;a0x9&quot;, &quot;list&quot;: [{ &quot;id&quot;: &quot;E-01c9626e-1490-43df-a34f-457021256281&quot;, &quot;calendarIds&quot;: { &quot;3ddf2ad7-0e0c-4fb5-852d-f0ff56f3c662&quot;: true }, &quot;title&quot;: &quot;Q1 All hands&quot;, &quot;start&quot;: &quot;2023-01-09T10:00:00&quot;, &quot;duration&quot;: &quot;PT1H&quot;, <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 44]</span> <span>Internet-Draft JMAP Calendars November 2024</span> &quot;timeZone&quot;: &quot;Australia/Sydney&quot;, ... }, ...], &quot;notFound&quot;: [], &quot;state&quot;: &quot;$$/413/206&quot; }, &quot;3&quot;] ] Figure 8: &quot;methodResponses&quot; Property of a JMAP Response The client now has everything it needs to display that month in full. 8.2. Creating an event Suppose the user asks the client to create a new event. The client should default to adding it to the &quot;Work&quot; calendar, as this is the default calendar for the user, unless it has information to make a more informed decision. (e.g. The client may have a feature to automatically choose the calendar based on the time of day, and the user indicates the event is at 7pm, so it knows to default to &quot;Private&quot;.) [[&quot;CalendarEvent/set&quot;, { &quot;accountId&quot;: &quot;a0x9&quot;, &quot;create&quot;: { &quot;k559&quot;: { &quot;uid&quot;: &quot;5d5776f6-ff8e-4bfd-ab3e-fe2fe5d4fa91&quot;, &quot;calendarIds&quot;: { &quot;3ddf2ad7-0e0c-4fb5-852d-f0ff56f3c662&quot;: true }, &quot;title&quot;: &quot;Party at Pete’s&quot;, &quot;start&quot;: &quot;2023-02-03T19:00:00&quot;, &quot;duration&quot;: &quot;PT3H0M0S&quot;, &quot;timeZone&quot;: &quot;Australia/Melbourne&quot;, &quot;showWithoutTime&quot;: false, &quot;participants&quot;: { &quot;1&quot;: { &quot;@type&quot;: &quot;Participant&quot;, &quot;name&quot;: &quot;Jane Doe&quot;, &quot;calendarAddress&quot;: &quot;mailto:jane@example.com&quot;, &quot;sendTo&quot;: { &quot;imip&quot;: &quot;mailto:jane@example.com&quot;, &quot;other&quot;: &quot;https://example.com/uri/for/internal/scheduling&quot; }, &quot;kind&quot;: &quot;individual&quot;, &quot;roles&quot;: { &quot;attendee&quot;: true, <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 45]</span> <span>Internet-Draft JMAP Calendars November 2024</span> &quot;owner&quot;: true }, &quot;participationStatus&quot;: &quot;accepted&quot;, &quot;expectReply&quot;: false }, &quot;2&quot;: { &quot;@type&quot;: &quot;Participant&quot;, &quot;name&quot;: &quot;Joe Bloggs&quot;, &quot;calendarAddress&quot;: &quot;mailto:joe@example.com&quot;, &quot;sendTo&quot;: { &quot;imip&quot;: &quot;mailto:joe@example.com&quot; }, &quot;kind&quot;: &quot;individual&quot;, &quot;roles&quot;: { &quot;attendee&quot;: true }, &quot;participationStatus&quot;: &quot;needs-action&quot;, &quot;expectReply&quot;: true } }, &quot;mayInviteSelf&quot;: false, &quot;mayInviteOthers&quot;: false, &quot;useDefaultAlerts&quot;: false, &quot;alerts&quot;:null } }, &quot;sendSchedulingMessages&quot;: true }, &quot;0&quot;]] Figure 9: &quot;methodCalls&quot; Property of a JMAP Request As the event has participants, the server sets a &quot;replyTo&quot; property. This server uses a special email address for receiving iMIP RSVPs ([RFC5546]) rather than just receiving them at the owner&#x27;s regular email address, and also provides a web page for people that don&#x27;t have calendar clients supporting iMIP. The response may look something like this: <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 46]</span> <span>Internet-Draft JMAP Calendars November 2024</span> [[&quot;CalendarEvent/set&quot;, { &quot;accountId&quot;: &quot;a0x9&quot;, &quot;created&quot;: { &quot;k559&quot;: { &quot;id&quot;: &quot;E-5d5776f6-ff8e-4bfd-ab3e-fe2fe5d4fa91&quot;, &quot;isOrigin&quot;: true, &quot;@type&quot;: &quot;Event&quot;, &quot;created&quot;: &quot;20221005T20:42:13Z&quot;, &quot;updated&quot;: &quot;20221005T20:42:13Z&quot;, &quot;sequence&quot;: 1, &quot;replyTo&quot;: { &quot;imip&quot;: &quot;3e87-1b18bb5e6b4@itip.example.com&quot;, &quot;web&quot;: &quot;https://cal.example.com/\ 5d5776f6-ff8e-4bfd-ab3e-fe2fe5d4fa91/?\ auth=bfc0-4ba3-9e44&quot; } } }, ... }, &quot;0&quot;]] Figure 10: &quot;methodResponses&quot; Property of a JMAP Response. NOTE: &#x27;\&#x27; line wrapping per [RFC8792]. 8.3. Snoozing an alert The client is connected to the event source and receives a push: { &quot;@type&quot;: &quot;CalendarAlert&quot;, &quot;accountId&quot;: &quot;a0x9&quot;, &quot;calendarEventId&quot;: &quot;E-7e93e3ee-4e6e-408a-9adc-cbaf1dbd0a3f&quot;, &quot;uid&quot;: &quot;b6f7e27b-5872-4b52-b457-0242541bb01c&quot;, &quot;recurrenceId&quot;: null, &quot;alertId&quot;: &quot;7519a951-1e6f-4a6c-b08b-20dd2e5a89cd&quot; } Figure 11: Object Received via Push Connection Not finding this event in its local cache, the client fetches the information for this event that it needs to show the alert by making the following request: <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 47]</span> <span>Internet-Draft JMAP Calendars November 2024</span> [[&quot;CalendarEvent/get&quot;, { &quot;accountId&quot;: &quot;a0x9&quot;, &quot;ids&quot;:[&quot;E-7e93e3ee-4e6e-408a-9adc-cbaf1dbd0a3f&quot;], &quot;properties&quot;: [&quot;calendarIds&quot;, &quot;title&quot;, &quot;start&quot;, &quot;timeZone&quot;, &quot;useDefaultAlerts&quot;, &quot;alerts&quot;] }, &quot;0&quot;]] Figure 12: &quot;methodCalls&quot; Property of a JMAP Request In response it receives: [[&quot;CalendarEvent/get&quot;, { &quot;accountId&quot;: &quot;a0x9&quot;, &quot;list&quot;: [{ &quot;id&quot;: &quot;E-7e93e3ee-4e6e-408a-9adc-cbaf1dbd0a3f&quot;, &quot;calendarIds&quot;: { &quot;3ddf2ad7-0e0c-4fb5-852d-f0ff56f3c662&quot;: true }, &quot;title&quot;: &quot;Team catchup&quot;, &quot;start&quot;: &quot;2023-02-10T17:00:00&quot;, &quot;timeZone&quot;: &quot;America/New_York&quot;, &quot;useDefaultAlerts&quot;: false, &quot;alerts&quot;: { &quot;7519a951-1e6f-4a6c-b08b-20dd2e5a89cd&quot;: { &quot;@type&quot;: &quot;Alert&quot;, &quot;action&quot;: &quot;display&quot;, &quot;trigger&quot;: { &quot;@type&quot;: &quot;OffsetTrigger&quot;, &quot;relativeTo&quot;: &quot;start&quot;, &quot;offset&quot;: &quot;-PT1H&quot; } } } }], &quot;notFound&quot;: [], &quot;state&quot;: &quot;$$/414/208&quot; }, &quot;0&quot;]] Figure 13: &quot;methodResponses&quot; Property of a JMAP Response The client displays an alert in a platform-appropriate manner. Presuming the user here is in the Australia/Melbourne time zone, this might look something like: <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 48]</span> <span>Internet-Draft JMAP Calendars November 2024</span> +----------------------------------------+ | | | Reminder: Team catchup | | Today at 10am (in 1 hour) | | [Snooze\/] | +----------------------------------------+ Figure 14: Notification Shown to User for a Calendar Alert The user snoozes the notification for 30 minutes. The client dismisses the current notification and sends an update to the event to the server: [ [&quot;CalendarEvent/set&quot;, { &quot;accountId&quot;: &quot;a0x9&quot;, &quot;update&quot;: { &quot;E-01c9626e-1490-43df-a34f-457021256281&quot;: { &quot;alerts/7519a951-1e6f-4a6c-b08b-20dd2e5a89cd\ /acknowledged&quot;: &quot;2023-02-10T23:00:29Z&quot;, &quot;alerts/86b0-318b8291045f&quot;: { &quot;@type&quot;: &quot;Alert&quot;, &quot;action&quot;: &quot;display&quot;, &quot;trigger&quot;: { &quot;@type&quot;: &quot;AbsoluteTrigger&quot;, &quot;when&quot;: &quot;2023-02-10T23:30:00Z&quot;, &quot;relatedTo&quot;: { &quot;7519a951-1e6f-4a6c-b08b-20dd2e5a89cd&quot;: { &quot;@type&quot;: &quot;Relation&quot;, &quot;relation&quot;: { &quot;parent&quot;: true } } } } } } } }, &quot;0&quot;] ] Figure 15: &quot;methodCalls&quot; Property of a JMAP Request. NOTE: &#x27;\&#x27; line wrapping per [RFC8792]. Any other connected client will receive a push, sync the change and dismiss any duplicate alert. After the snooze time has elapsed, the new alert will trigger. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 49]</span> <span>Internet-Draft JMAP Calendars November 2024</span> 8.4. Changing the default calendar The client tries to change the default calendar from &quot;Work&quot; to &quot;Private&quot; (and makes no other change): [[&quot;Calendar/set&quot;, { &quot;accountId&quot;: &quot;a0x9&quot;, &quot;onSuccessSetIsDefault&quot;: &quot;062adcfa-105d-455c-bc60-6db68b69c3f3&quot; }, &quot;0&quot;]] Figure 16: &quot;methodCalls&quot; Property of a JMAP Request The server allows the change, returning the following response: [[&quot;Calendar/set&quot;, { &quot;accountId&quot;: &quot;a0x9&quot;, &quot;updated&quot;: { &quot;062adcfa-105d-455c-bc60-6db68b69c3f3&quot;: { &quot;isDefault&quot;: true }, &quot;3ddf2ad7-0e0c-4fb5-852d-f0ff56f3c662&quot;: { &quot;isDefault&quot;: false } } }, &quot;0&quot;]] Figure 17: &quot;methodResponses&quot; Property of a JMAP Response 8.5. Parsing an iCalendar file The client makes a request to parse the calendar event from a blob id representing an icalendar file: [[ &quot;CalendarEvent/parse&quot;, { &quot;accountId&quot;: &quot;a0x9&quot;, &quot;blobIds&quot;: [&quot;Ge682d5d7aad50b3a4f7180a7ed9276476485ea52&quot;] }, &quot;c1&quot;]] Figure 18: &quot;methodCalls&quot; Property of a JMAP Request The server responds: <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 50]</span> <span>Internet-Draft JMAP Calendars November 2024</span> [[ &quot;CalendarEvent/parse&quot;, { &quot;accountId&quot;: &quot;a0x9&quot;, &quot;parsed&quot;: { &quot;Ge682d5d7aad50b3a4f7180a7ed9276476485ea52&quot;: [{ &quot;@type&quot;: &quot;Event&quot;, &quot;method&quot;: &quot;publish&quot;, &quot;prodId&quot;: &quot;-//IETF//datatracker.ietf.org ical agenda//EN&quot;, &quot;uid&quot;: &quot;ietf-119-16811-jmap&quot;, &quot;sequence&quot;: 2, &quot;updated&quot;: &quot;2024-02-09T22:49:26Z&quot;, &quot;start&quot;: &quot;2024-03-19T13:00:00&quot;, &quot;duration&quot;: &quot;PT2H&quot;, &quot;timeZone&quot;: &quot;Australia/Brisbane&quot;, &quot;showWithoutTime&quot;: false, &quot;title&quot;: &quot;jmap - JSON Mail Access Protocol&quot;, &quot;freeBusyStatus&quot;: &quot;busy&quot;, &quot;descriptionContentType&quot;: &quot;text/plain&quot;, &quot;description&quot;: &quot;Session II\n\nRemember to sign the blue sheets!&quot;, &quot;locations&quot;: { &quot;eec47e7589ce131d6331b10383f89f91f8d4a4ef&quot;: { &quot;@type&quot;: &quot;Location&quot;, &quot;name&quot;: &quot;P3, Brisbane Convention Centre&quot; } }, &quot;status&quot;: &quot;confirmed&quot; }] }, &quot;notFound&quot;: null, &quot;notParsable&quot;: null }, &quot;c1&quot;]] Figure 19: &quot;methodResponses&quot; Property of a JMAP Response If the blob id had not been found, the server would have responded: [[ &quot;CalendarEvent/parse&quot;, { &quot;accountId&quot;: &quot;a0x9&quot;, &quot;notFound&quot;: [&quot;Ge682d5d7aad50b3a4f7180a7ed9276476485ea52&quot;] }, &quot;c1&quot; ]] Figure 20: &quot;methodResponses&quot; Property of a JMAP Response If the blob id had been found but was not parsable, the server would have responded: <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 51]</span> <span>Internet-Draft JMAP Calendars November 2024</span> [[ &quot;CalendarEvent/parse&quot;, { &quot;accountId&quot;: &quot;a0x9&quot;, &quot;notParsable&quot;: [&quot;Ge682d5d7aad50b3a4f7180a7ed9276476485ea52&quot;] }, &quot;c1&quot; ]] Figure 21: &quot;methodResponses&quot; Property of a JMAP Response 9. Security Considerations All security considerations of JMAP [RFC8620] and JSCalendar [RFC8984] apply to this specification. Additional considerations specific to the data types and functionality introduced by this document are described in the following subsections. 9.1. Privacy Calendars often contain the precise movements, activities, and contacts of people; all intensely private data. Privacy leaks can have real world consequences, and calendar servers and clients MUST be mindful of the need to keep all data secure. Servers MUST enforce the ACLs set on calendars to ensure only authorised data is shared. The additional restrictions specified by the &quot;privacy&quot; property of a JSCalendar Event object (see Section 4.4.3 of [RFC8984]) MUST also be enforced. Users may have multiple Participant Identities that they use for areas of their life kept private from one another. Using one identity with an event MUST NOT leak the existence of any other identity. For example, sending an RSVP from identity worklife@example.com MUST NOT reveal anything about another identity present in the account such as privatelife@example.org. Severs SHOULD enforce that invitations sent to external systems are only transmitted via secure encrypted and signed connections to protect against eavesdropping and modification of data. 9.2. Spoofing When receiving events and updates from external systems, it can be hard to verify that the identity of the author is who they claim to be. When receiving events via email, DKIM [RFC6376] and S/MIME [RFC8551] are two mechanisms that may be used to verify certain properties about the email data, which can be correlated with the event information. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 52]</span> <span>Internet-Draft JMAP Calendars November 2024</span> 9.3. Denial-of-service There are many ways in which a calendar user can make a request liable to cause a calendar server to spend an inordinate amount of processing time. Care must be taken to limit resources allocated to any one user to ensure the system does not become unresponsive. The following subsections list particularly hazardous areas. 9.3.1. Expanding Recurrences Recurrence rules can be crafted to occur as frequently as every second. Servers MUST be careful to not allow resources to be exhausted when expanding, and limit the number of expansions they will create. Equally, rules can be generated that never create any occurrences at all. Servers MUST be careful to limit the work spent iterating in search of the next occurrence. 9.3.2. Firing alerts An alert firing for an event can cause a notification to be pushed to the user&#x27;s devices, or to send them an email. Servers MUST rate limit the number of alerts sent for any one user. The combination of recurring events with multiple alerts can in particular define unreasonably frequent alerts, leading to denial of service for either the server processing them or the user&#x27;s devices receiving them. Similarly, clients generating alerts from the data on device must take the same precautions. The &quot;email&quot; alert type (see Section 4.5.2 of [RFC8984]) causes an email to be sent when triggered. Clients MUST ignore this alert type; the email is sent only by the calendar server. There is no mechanism in JSCalendar to specify a particular email address: the server MUST only allow alerts to be sent to an address it has verified as belonging to the user to avoid this being used as a spamming vector. 9.3.3. Load spikes Since most events are likely to start on the hour mark, a large spike of activity is often seen at these times, with particularly large spikes at certain common times in the time zone of the server&#x27;s user base. In particular, a large number of alerts (across different users and events) will be triggered at the same time. Servers may mitigate this somewhat by adding jitter to the triggering of the alerts; it is RECOMMENDED to fire them slightly early rather than slightly late if needed to spread load. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 53]</span> <span>Internet-Draft JMAP Calendars November 2024</span> 9.4. Spam Invitations received from an untrusted source may be spam. If this is added to the user&#x27;s calendar automatically it can be very obtrusive, especially if it is a recurring event that now appears every day. It could also be used to attempt to phish the user, or cause them to physically go to a location included in the event. Incoming invitations to events should be subject to spam scanning, and suspicious events should not be added to the calendar automatically. Servers should strip any alerts on invitations when adding to the user&#x27;s calendar; the &quot;useDefaultAlerts&quot; property should be set instead to apply the user&#x27;s preferences. Similarly, a malicious user may use a calendar system to send spam by inviting people to an event. Outbound scheduling messages should be subject to all the same controls used on outbound email systems, and rate limited as appropriate. A rate limit on the number of distinct recipients as well as overall messages is recommended. 10. IANA Considerations 10.1. JMAP Capability Registration for &quot;calendars&quot; IANA will register the &quot;calendars&quot; JMAP Capability as follows: Capability Name: urn:ietf:params:jmap:calendars Specification document: this document Intended use: common Change Controller: IETF Security and privacy considerations: this document, Section 1.5.1 10.2. JMAP Capability Registration for &quot;principals:availability&quot; IANA will register the &quot;principals:availability&quot; JMAP Capability as follows: Capability Name: urn:ietf:params:jmap:principals:availability Specification document: this document Intended use: common Change Controller: IETF Security and privacy considerations: this document, Section 1.5.2 10.3. JMAP Data Type Registration for &quot;Calendar&quot; IANA will register &quot;Calendar&quot; in the &quot;JMAP Data Types&quot; registry as follows: <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 54]</span> <span>Internet-Draft JMAP Calendars November 2024</span> Type Name: Calendar Can reference blobs: no Can Use for State Change: yes Capability: urn:ietf:params:jmap:calendars Specification document: this document 10.4. JMAP Data Type Registration for &quot;CalendarEvent&quot; IANA will register &quot;CalendarEvent&quot; in the &quot;JMAP Data Types&quot; registry as follows: Type Name: CalendarEvent Can reference blobs: yes Can Use for State Change: yes Capability: urn:ietf:params:jmap:calendars Specification document: this document 10.5. JMAP Data Type Registration for &quot;CalendarEventNotification&quot; IANA will register &quot;CalendarEventNotification&quot; in the &quot;JMAP Data Types&quot; registry as follows: Type Name: CalendarEventNotification Can reference blobs: no Can Use for State Change: yes Capability: urn:ietf:params:jmap:calendars Specification document: this document 10.6. JMAP Data Type Registration for &quot;ParticipantIdentity&quot; IANA will register &quot;ParticipantIdentity&quot; in the &quot;JMAP Data Types&quot; registry as follows: Type Name: ParticipantIdentity Can reference blobs: no Can Use for State Change: yes Capability: urn:ietf:params:jmap:calendars Specification document: this document 10.7. JMAP Error Codes Registry The following subsections register some new error codes in the &quot;JMAP Error Codes&quot; registry, as defined in [RFC8620]. 10.7.1. calendarHasEvent JMAP Error Code: calendarHasEvent Intended use: common <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 55]</span> <span>Internet-Draft JMAP Calendars November 2024</span> Change controller: IETF Reference: This document, Section 4.3 Description: The Calendar has at least one CalendarEvent assigned to it, and the &quot;onDestroyRemoveEvents&quot; argument was false. 10.7.2. noSupportedScheduleMethods JMAP Error Code: noSupportedScheduleMethods Intended use: common Change controller: IETF Reference: This document, Section 5.8 Description: The server was requested to send scheduling messages, but does not support any of the methods available for at least one of the recipients. 10.7.3. cannotCalculateOccurrences JMAP Error Code: cannotCalculateOccurrences Intended use: common Change controller: IETF Reference: This document, Section 5.10 Description: The server cannot expand a recurrence required to return the results for the requested query. 10.8. Update to the JSCalendar Properties Registry IANA will update the &quot;JSCalendar Properties&quot; registry, originally created in Section 8.2 of [RFC8984], to add a new column called &quot;Is Per-User&quot;. The value in this column for each entry MUST be either &quot;yes&quot; or &quot;no&quot;, indicating whether each user with whom the object is shared should be able to set their own value for this property without affecting the value for other users. 10.8.1. Update to &quot;JSCalendar Properties&quot; Registry Template An additional field is added to the template: Is Per-User 10.8.2. Initial values for existing registrations IANA will set &quot;Is per-user: yes&quot; on the following property registrations: * keywords * color * freeBusyStatus * useDefaultAlerts <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 56]</span> <span>Internet-Draft JMAP Calendars November 2024</span> * alerts All other existing registrations will have &quot;Is per-user: no&quot;. 10.9. JSCalendar Property Registrations IANA will register the following additional properties in the JSCalendar Properties Registry. 10.9.1. id Property Name: id Property Type: Not applicable Property Context: Event, Task Intended Use: Reserved Is per-user: no 10.9.2. baseEventId Property Name: baseEventId Property Type: Not applicable Property Context: Event, Task Intended Use: Reserved Is per-user: no 10.9.3. calendarIds Property Name: calendarIds Property Type: Not applicable Property Context: Event, Task Intended Use: Reserved Is per-user: no 10.9.4. isDraft Property Name: isDraft Property Type: Not applicable Property Context: Event, Task Intended Use: Reserved Is per-user: no 10.9.5. isOrigin Property Name: isOrigin Property Type: Not applicable Property Context: Event, Task Intended Use: Reserved Is per-user: no <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 57]</span> <span>Internet-Draft JMAP Calendars November 2024</span> 10.9.6. utcStart Property Name: utcStart Property Type: Not applicable Property Context: Event, Task Intended Use: Reserved Is per-user: no 10.9.7. utcEnd Property Name: utcEnd Property Type: Not applicable Property Context: Event, Task Intended Use: Reserved Is per-user: no 10.9.8. calendarAddress Property Name: calendarAddress Property Type: String Property Context: Participant Reference: This document, Section 5.1.1. Intended Use: Common Is per-user: no 10.9.9. mayInviteSelf Property Name: mayInviteSelf Property Type: Boolean (default: false) Property Context: Event, Task Reference: This document, Section 5.1.2. Intended Use: Common Is per-user: no 10.9.10. mayInviteOthers Property Name: mayInviteOthers Property Type: Boolean (default: false) Property Context: Event, Task Reference: This document, Section 5.1.3. Intended Use: Common Is per-user: no 10.9.11. hideAttendees Property Name: hideAttendees Property Type: Boolean (default: false) Property Context: Event, Task <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 58]</span> <span>Internet-Draft JMAP Calendars November 2024</span> Reference: This document, Section 5.1.4. Intended Use: Common Is per-user: no 11. Normative References [RFC2119] Bradner, S., &quot;Key words for use in RFCs to Indicate Requirement Levels&quot;, BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, &lt;https://www.rfc-editor.org/info/rfc2119&gt;. [RFC2397] Masinter, L., &quot;The &quot;data&quot; URL scheme&quot;, RFC 2397, DOI 10.17487/RFC2397, August 1998, &lt;https://www.rfc-editor.org/info/rfc2397&gt;. [RFC3986] Berners-Lee, T., Fielding, R., and L. Masinter, &quot;Uniform Resource Identifier (URI): Generic Syntax&quot;, STD 66, RFC 3986, DOI 10.17487/RFC3986, January 2005, &lt;https://www.rfc-editor.org/info/rfc3986&gt;. [RFC5545] Desruisseaux, B., Ed., &quot;Internet Calendaring and Scheduling Core Object Specification (iCalendar)&quot;, RFC 5545, DOI 10.17487/RFC5545, September 2009, &lt;https://www.rfc-editor.org/info/rfc5545&gt;. [RFC6376] Crocker, D., Ed., Hansen, T., Ed., and M. Kucherawy, Ed., &quot;DomainKeys Identified Mail (DKIM) Signatures&quot;, STD 76, RFC 6376, DOI 10.17487/RFC6376, September 2011, &lt;https://www.rfc-editor.org/info/rfc6376&gt;. [RFC8174] Leiba, B., &quot;Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words&quot;, BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, &lt;https://www.rfc-editor.org/info/rfc8174&gt;. [RFC8551] Schaad, J., Ramsdell, B., and S. Turner, &quot;Secure/ Multipurpose Internet Mail Extensions (S/MIME) Version 4.0 Message Specification&quot;, RFC 8551, DOI 10.17487/RFC8551, April 2019, &lt;https://www.rfc-editor.org/info/rfc8551&gt;. [RFC8620] Jenkins, N. and C. Newman, &quot;The JSON Meta Application Protocol (JMAP)&quot;, RFC 8620, DOI 10.17487/RFC8620, July 2019, &lt;https://www.rfc-editor.org/info/rfc8620&gt;. [RFC8792] Watsen, K., Auerswald, E., Farrel, A., and Q. Wu, &quot;Handling Long Lines in Content of Internet-Drafts and RFCs&quot;, RFC 8792, DOI 10.17487/RFC8792, June 2020, &lt;https://www.rfc-editor.org/info/rfc8792&gt;. <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 59]</span> <span>Internet-Draft JMAP Calendars November 2024</span> [RFC8984] Jenkins, N. and R. Stepanek, &quot;JSCalendar: A JSON Representation of Calendar Data&quot;, RFC 8984, DOI 10.17487/RFC8984, July 2021, &lt;https://www.rfc-editor.org/info/rfc8984&gt;. [RFC9562] Davis, K., Peabody, B., and P. Leach, &quot;Universally Unique IDentifiers (UUIDs)&quot;, RFC 9562, DOI 10.17487/RFC9562, May 2024, &lt;https://www.rfc-editor.org/info/rfc9562&gt;. [I-D.ietf-jmap-sharing] Jenkins, N., &quot;JMAP Sharing&quot;, Work in Progress, Internet- Draft, draft-ietf-jmap-sharing-09, 17 April 2024, &lt;https://datatracker.ietf.org/doc/html/draft-ietf-jmap- sharing-09&gt;. [IANA-TZDB] IANA, &quot;Time Zone Database&quot;, &lt;https://www.iana.org/time-zones&gt;. [COLORS] W3C, &quot;CSS Color Module Level 3&quot;, &lt;https://www.w3.org/TR/css-color-3/&gt;. 12. Informative References [RFC4791] Daboo, C., Desruisseaux, B., and L. Dusseault, &quot;Calendaring Extensions to WebDAV (CalDAV)&quot;, RFC 4791, DOI 10.17487/RFC4791, March 2007, &lt;https://www.rfc-editor.org/info/rfc4791&gt;. [RFC5546] Daboo, C., Ed., &quot;iCalendar Transport-Independent Interoperability Protocol (iTIP)&quot;, RFC 5546, DOI 10.17487/RFC5546, December 2009, &lt;https://www.rfc-editor.org/info/rfc5546&gt;. [RFC8607] Daboo, C., Quillaud, A., and K. Murchison, Ed., &quot;Calendaring Extensions to WebDAV (CalDAV): Managed Attachments&quot;, RFC 8607, DOI 10.17487/RFC8607, June 2019, &lt;https://www.rfc-editor.org/info/rfc8607&gt;. [WCAG] W3C, &quot;Web Content Accessibility Guidelines&quot;, &lt;https://www.w3.org/TR/WCAG21/&gt;. <span>Authors&#x27; Addresses</span> <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 60]</span> <span>Internet-Draft JMAP Calendars November 2024</span> Neil Jenkins (editor) Fastmail PO Box 234, Collins St West Melbourne VIC 8007 Australia Email: neilj@fastmailteam.com URI: https://www.fastmail.com Michael Douglass (editor) Spherical Cow Group 226 3rd Street Troy, NY 12180 United States of America Email: mdouglass@sphericalcowgroup.com URI: http://sphericalcowgroup.com <span>Jenkins &amp; Douglass Expires 18 May 2025 [Page 61]</span> </pre> </div> </div> </div> </div> </main> <footer class="col-md-12 col-sm-12 border-top mt-5 py-5 bg-light-subtle text-center position-sticky"> <a href="https://www.ietf.org/" class="p-3">IETF</a> <a href="https://www.ietf.org/iesg/" class="p-3">IESG</a> <a href="https://www.iab.org/" class="p-3">IAB</a> <a href="https://www.irtf.org/" class="p-3">IRTF</a> <a href="https://www.ietf.org/llc/" class="p-3 text-nowrap">IETF LLC</a> <a href="https://trustee.ietf.org/" class="p-3 text-nowrap">IETF Trust</a> <a href="https://www.rfc-editor.org/" class="p-3 text-nowrap">RFC Editor</a> <a href="https://www.iana.org/" class="p-3">IANA</a> <a href="https://www.ietf.org/privacy-statement/" class="p-3 text-nowrap">Privacy Statement</a> <div class="small text-body-secondary py-3"> <a class="mx-2" href="/release/about">About IETF Datatracker</a> <span class="mx-2"> <a href="https://github.com/ietf-tools/datatracker/releases/tag/12.28.2"> Version 12.28.2 (release - 7ecf23e) </a> </span> <a class="mx-2" href="https://status.ietf.org" target="_blank">System Status</a> <span class="mx-2 text-danger"> <i class="bi bi-bug"></i> Report a bug: <a class="text-reset" target="_blank" href="https://github.com/ietf-tools/datatracker/issues/new/choose">GitHub</a> <a class="text-reset" href="mailto:tools-help@ietf.org">Email</a> </span> </div> </footer> <script src="https://static.ietf.org/dt/12.28.2/ietf/js/d3.js"> </script> <script src="https://static.ietf.org/dt/12.28.2/ietf/js/document_timeline.js"> </script> <script src="https://static.ietf.org/dt/12.28.2/ietf/js/select2.js"></script> <script> $('#navbar-doc-search').on('select2:select', function (e) { window.location.href = e.params.data.url; }); </script> <script type="text/javascript"> var _paq = window._paq || []; _paq.push(['disableCookies']); _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="//analytics.ietf.org/"; _paq.push(['setTrackerUrl', u+'matomo.php']); _paq.push(['setSiteId', 7]); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); })(); </script> <noscript><p><img src="//analytics.ietf.org/piwik.php?idsite=7" style="border:0;" alt="" /></p></noscript> <script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'8e93609aaeee8339',t:'MTczMjcyMzcxMS4wMDAwMDA='};var a=document.createElement('script');a.nonce='';a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script></body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10