]> git.notmuchmail.org Git - notmuch/blobdiff - devel/schemata
emacs: add support for reversing notmuch-search-archive-thread tag changes
[notmuch] / devel / schemata
index 977cea75396e540a0bc64afd099fddd6ed8ba410..9cb25f593061094c58a91b39096cf1f79c5cbd80 100644 (file)
@@ -32,7 +32,7 @@ thread = [thread_node*]
 
 # A message and its replies (show_messages)
 thread_node = [
-    message?,                 # present if --entire-thread or matched
+    message|null,             # null if not matched and not --entire-thread
     [thread_node*]            # children of message
 ]
 
@@ -47,7 +47,7 @@ message = {
     tags:           [string*],
 
     headers:        headers,
-    body:           [part]
+    body?:          [part]    # omitted if --body=false
 }
 
 # A MIME part (format_part_json)
@@ -128,7 +128,8 @@ thread = {
     total:          int,      # total messages in thread
     authors:        string,   # comma-separated names with | between
                               # matched and unmatched
-    subject:        string
+    subject:        string,
+    tags:           [string*]
 }
 
 notmuch reply schema