From f3e5b536fb225f0b14242d0c906e3f244e408071 Mon Sep 17 00:00:00 2001 From: Karen Etheridge Date: Mon, 23 Nov 2020 13:35:42 -0800 Subject: [PATCH] it is no longer valid to treat $comment as an unknown keyword ..because now, we collect unknown keywords as annotations, and this behaviour is explicitly prohibited for $comment. --- jsonschema-core.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jsonschema-core.xml b/jsonschema-core.xml index 18ced482..263c2dda 100644 --- a/jsonschema-core.xml +++ b/jsonschema-core.xml @@ -1578,8 +1578,7 @@ properties are present is implementation-dependent. - Implementations SHOULD treat "$comment" identically to an unknown extension - keyword. They MAY strip "$comment" values at any point during processing. + Implementations MAY strip "$comment" values at any point during processing. In particular, this allows for shortening schemas when the size of deployed schemas is a concern.