+In contrast with the 3.0 specification, the `format` keyword has no effect on the content-encoding of the schema. JSON Schema offers a `contentEncoding` keyword, which may be used to specify the `Content-Encoding` for the schema. The `contentEncoding` keyword supports all encodings defined in [RFC4648](https://tools.ietf.org/html/rfc4648), including "base64" and "base64url", as well as "quoted-printable" from [RFC2045](https://tools.ietf.org/html/rfc2045#section-6.7). The encoding specified by the `contentEncoding` keyword is independent of the eventual content-codings specified by the `Content-Encoding` HTTP header field in the request or response, or in the `Content-Transfer-Encoding` of a multipart body -- when both are present, the encoding specified in the `contentEncoding` is applied first and then the content-codings specified in the `Content-Encoding` HTTP header field.
0 commit comments