@@ -84,25 +84,25 @@ registered category and prefixed with `x-`. For example,
8484
8585## Examples
8686
87- {{<schema ` A schema that describes JSON data encoded using Base 64 ` >}}
87+ {{<schema ` A schema that describes HTML data encoded using Base 64 ` >}}
8888{
8989 "$schema": "https://json-schema.org/draft/2020-12/schema ",
9090 "contentEncoding": "base64",
91- "contentMediaType": "application/json "
91+ "contentMediaType": "text/html "
9292}
9393{{</schema >}}
9494
95- {{<instance-pass ` A string value that represents a valid JSON document encoded in Base 64 is valid and an annotations are emitted ` >}}
96- "eyAibmFtZSI6ICJKb2huIERvZSIgfQ== " // { "name": "John Doe" }
95+ {{<instance-pass ` A string value that represents a valid HTML document encoded in Base 64 is valid and an annotations are emitted ` >}}
96+ "PHA+SlNPTiBTY2hlbWE8L3A+ " // < p >JSON Schema</ p >
9797{{</instance-pass >}}
9898
9999{{<instance-annotation >}}
100100{ "keyword": "/contentEncoding", "instance": "", "value": "base64" }
101- { "keyword": "/contentMediaType", "instance": "", "value": "application/json " }
101+ { "keyword": "/contentMediaType", "instance": "", "value": "text/html " }
102102{{</instance-annotation >}}
103103
104- {{<instance-pass ` A string value that represents an invalid JSON document encoded in Base 64 is valid and an annotations are emitted ` >}}
105- "eyAibmFtZSI6IH0= " // { "name": }
104+ {{<instance-pass ` A string value that represents an invalid HTML document encoded in Base 64 is valid and an annotations are emitted ` >}}
105+ "PFwvZm9v " // < \/ foo
106106{{</instance-pass >}}
107107
108108{{<instance-annotation >}}
@@ -116,5 +116,5 @@ registered category and prefixed with `x-`. For example,
116116
117117{{<instance-annotation >}}
118118{ "keyword": "/contentEncoding", "instance": "", "value": "base64" }
119- { "keyword": "/contentMediaType", "instance": "", "value": "application/json " }
119+ { "keyword": "/contentMediaType", "instance": "", "value": "text/html " }
120120{{</instance-annotation >}}
0 commit comments