understanding-json-schema icon indicating copy to clipboard operation
understanding-json-schema copied to clipboard

contentEncoding incorrectly includes binary

Open spacether opened this issue 3 years ago • 1 comments

contentEncoding incorrectly includes binary It should be updated to not include it https://json-schema.org/understanding-json-schema/reference/non_json_data.html

spacether avatar Sep 12 '22 05:09 spacether

Technically it's correct that draft-07 included "binary". But later drafts do not, and it never made any sense anyway. RFC 2045 confusingly mixed the body domain (binary, 7bit, 8bit) and others perform transformations (quoted-printable, base64). Only the transformations are relevant - the binary domain in particular is not valid JSON, or allowable by the draft-07 data model.

(thanks for filing, @spacether)

handrews avatar Sep 12 '22 06:09 handrews