]> git.cworth.org Git - notmuch/blobdiff - devel/schemata
CLI/show: support --duplicate for structured output
[notmuch] / devel / schemata
index 01e3a3df03305244b1c206040c5d9c85ef3b8ac1..66bcdbed8d0146967b10260bfb6a599cc3bb63b0 100644 (file)
@@ -83,6 +83,7 @@ message = {
 
     headers:        headers,
     crypto:         crypto,
+    duplicate:      integer,
     body?:          [part]    # omitted if --body=false
 }
 
@@ -145,9 +146,11 @@ headers = {
     Cc?:            string,
     Bcc?:           string,
     Reply-To?:      string,
-    Date:           string
+    Date:           string,
+    extra_header_pair*
 }
 
+extra_header_pair=  (header_name: string)
 # Encryption status (format_part_sprinter)
 encstatus = [{status: "good"|"bad"}]