Skip to content

Commit d8ad641

Browse files
gregsdennisRelequestual
authored andcommitted
add clarification that minContains:0 also causes contains to pass
1 parent 2b14ac9 commit d8ad641

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jsonschema-validation.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,8 @@
443443
<t>
444444
A value of 0 is allowed, but is only useful for setting a range
445445
of occurrences from 0 to the value of "maxContains". A value of
446-
0 causes "minContains" to always pass validation (but validation can
447-
still fail against a "maxContains" keyword).
446+
0 causes "minContains" and "contains" to always pass validation
447+
(but validation can still fail against a "maxContains" keyword).
448448
</t>
449449
<t>
450450
Omitting this keyword has the same behavior as a value of 1.

0 commit comments

Comments
 (0)