X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=devel%2Fschemata;h=e5c55050b332870d3343b702b8c1e4b1711df37a;hp=6677a1c9a38705c728ca62d682539c6bf8225bdb;hb=1bf3720b6eaca6698f25781a7d299afcbd7a4be8;hpb=e7f5302114da0b86c6682cc676607c0d64c55e5e diff --git a/devel/schemata b/devel/schemata index 6677a1c9..e5c55050 100644 --- a/devel/schemata +++ b/devel/schemata @@ -36,9 +36,9 @@ thread_node = [ [thread_node*] # children of message ] -# A message (format_part_json) +# A message (format_part_sprinter) message = { - # (format_message_json) + # (format_message_sprinter) id: messageid, match: bool, filename: string, @@ -47,10 +47,10 @@ message = { tags: [string*], headers: headers, - body: [part] + body?: [part] # omitted if --body=false } -# A MIME part (format_part_json) +# A MIME part (format_part_sprinter) part = { id: int|string, # part id (currently DFS part number) @@ -72,20 +72,21 @@ part = { content?: string } -# The headers of a message or part (format_headers_json with reply = FALSE) +# The headers of a message or part (format_headers_sprinter with reply = FALSE) headers = { Subject: string, From: string, To?: string, Cc?: string, Bcc?: string, + Reply-To?: string, Date: string } -# Encryption status (format_part_json) +# Encryption status (format_part_sprinter) encstatus = [{status: "good"|"bad"}] -# Signature status (format_part_sigstatus_json) +# Signature status (format_part_sigstatus_sprinter) sigstatus = [signature*] signature = { @@ -139,11 +140,11 @@ reply = { # The headers of the constructed reply reply-headers: reply_headers, - # As in the show format (format_part_json) + # As in the show format (format_part_sprinter) original: message } -# Reply headers (format_headers_json with reply = TRUE) +# Reply headers (format_headers_sprinter with reply = TRUE) reply_headers = { Subject: string, From: string,