X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=devel%2Fschemata;h=2405756e43a724ca3f2d2fc576710afc34e8046f;hp=d1ab983a17bc33a42c9e772ac6a4820d0d561461;hb=73fcfa861cf412a548238fdf3e0a505d98d7ea78;hpb=102f58d7a4532aa5f7a21edfd24758be864ea8d4 diff --git a/devel/schemata b/devel/schemata index d1ab983a..2405756e 100644 --- a/devel/schemata +++ b/devel/schemata @@ -14,6 +14,8 @@ are interleaved. Keys are printed as keywords (symbols preceded by a colon), e.g. (:id "123" :time 54321 :from "foobar"). Null is printed as nil, true as t and false as nil. +This is version 1 of the structured output format. + Common non-terminals -------------------- @@ -75,7 +77,14 @@ part = { # A leaf part's body content is optional, but may be included if # it can be correctly encoded as a string. Consumers should use # this in preference to fetching the part content separately. - content?: string + content?: string, + # If a leaf part's body content is not included, the length of + # the encoded content (in bytes) may be given instead. + content-length?: int, + # If a leaf part's body content is not included, its transfer encoding + # may be given. Using this and the encoded content length, it is + # possible for the consumer to estimate the decoded content length. + content-transfer-encoding?: string } # The headers of a message or part (format_headers_sprinter with reply = FALSE)