Skip to content

Commit f3e5b53

Browse files
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.
1 parent 78413ee commit f3e5b53

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

jsonschema-core.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1578,8 +1578,7 @@
15781578
properties are present is implementation-dependent.
15791579
</t>
15801580
<t>
1581-
Implementations SHOULD treat "$comment" identically to an unknown extension
1582-
keyword. They MAY strip "$comment" values at any point during processing.
1581+
Implementations MAY strip "$comment" values at any point during processing.
15831582
In particular, this allows for shortening schemas when the size of deployed
15841583
schemas is a concern.
15851584
</t>

0 commit comments

Comments
 (0)