JMAP Sharing
draft-jenkins-jmap-sharing-00

Document Type Active Internet-Draft (individual)
Author Neil Jenkins 
Last updated 2020-12-15
Stream (None)
Intended RFC status (None)
Formats plain text html xml pdf htmlized (tools) htmlized bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
JMAP                                                   N.M. Jenkins, Ed.
Internet-Draft                                                  Fastmail
Intended status: Standards Track                        16 December 2020
Expires: 19 June 2021

                              JMAP Sharing
                     draft-jenkins-jmap-sharing-00

Abstract

   This document specifies a data model for sharing data between users
   using JMAP.

Status of This Memo

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

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

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

   This Internet-Draft will expire on 19 June 2021.

Copyright Notice

   Copyright (c) 2020 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents (https://trustee.ietf.org/
   license-info) in effect on the date of publication of this document.
   Please review these documents carefully, as they describe your rights
   and restrictions with respect to this document.  Code Components
   extracted from this document must include Simplified BSD License text
   as described in Section 4.e of the Trust Legal Provisions and are
   provided without warranty as described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2

Jenkins                   Expires 19 June 2021                  [Page 1]
Internet-Draft                JMAP Sharing                 December 2020

     1.1.  Notational Conventions  . . . . . . . . . . . . . . . . .   3
     1.2.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   3
     1.3.  Data Model Overview . . . . . . . . . . . . . . . . . . .   3
     1.4.  Subscriptions . . . . . . . . . . . . . . . . . . . . . .   3
     1.5.  Addition to the Capabilities Object . . . . . . . . . . .   4
       1.5.1.  urn:ietf:params:jmap:principals . . . . . . . . . . .   4
       1.5.2.  urn:ietf:params:jmap:principals:owner . . . . . . . .   5
   2.  Principals  . . . . . . . . . . . . . . . . . . . . . . . . .   5
     2.1.  Principal/get . . . . . . . . . . . . . . . . . . . . . .   6
     2.2.  Principal/changes . . . . . . . . . . . . . . . . . . . .   6
     2.3.  Principal/set . . . . . . . . . . . . . . . . . . . . . .   6
     2.4.  Principal/query . . . . . . . . . . . . . . . . . . . . .   7
       2.4.1.  Filtering . . . . . . . . . . . . . . . . . . . . . .   7
     2.5.  Principal/queryChanges  . . . . . . . . . . . . . . . . .   7
   3.  Share Notifications . . . . . . . . . . . . . . . . . . . . .   7
     3.1.  Auto-deletion of Notifications  . . . . . . . . . . . . .   8
     3.2.  Object Properties . . . . . . . . . . . . . . . . . . . .   8
     3.3.  ShareNotification/get . . . . . . . . . . . . . . . . . .   9
     3.4.  ShareNotification/changes . . . . . . . . . . . . . . . .   9
     3.5.  ShareNotification/set . . . . . . . . . . . . . . . . . .   9
     3.6.  ShareNotification/query . . . . . . . . . . . . . . . . .   9
       3.6.1.  Filtering . . . . . . . . . . . . . . . . . . . . . .   9
       3.6.2.  Sorting . . . . . . . . . . . . . . . . . . . . . . .   9
     3.7.  ShareNotification/queryChanges  . . . . . . . . . . . . .   9
     3.8.  Framework for shared data . . . . . . . . . . . . . . . .  10
   4.  Security Considerations . . . . . . . . . . . . . . . . . . .  10
   5.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  10
     5.1.  JMAP Capability Registration for "principals" . . . . . .  10
     5.2.  JMAP Capability Registration for "principals:owner" . . .  10
   6.  Normative References  . . . . . . . . . . . . . . . . . . . .  11
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .  11

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 to represent entities in a
   collaborative environment and a framework for sharing data between
   them that can be used to provide a consistent sharing model for
   different data types.  It does not define _what_ may be shared, or
   the granularity of permissions, as this will depend on the data in
Show full document text