]> git.notmuchmail.org Git - notmuch/blobdiff - devel/schemata
devel: Add Reply-to to the schemata
[notmuch] / devel / schemata
index 8fcab8e5f8ed2eaf806a5f611960e55b06a56e67..e44da717b36c1dd18eb8e0f73112be9136032ecf 100644 (file)
@@ -32,7 +32,7 @@ thread = [thread_node*]
 
 # A message and its replies (show_messages)
 thread_node = [
-    message?,                 # null if not matched and not --entire-thread
+    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)
@@ -79,6 +79,7 @@ headers = {
     To?:            string,
     Cc?:            string,
     Bcc?:           string,
+    Reply-To?:      string,
     Date:           string
 }
 
@@ -128,7 +129,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