Skip to content

Commit 8ed4eb8

Browse files
Daniel Perretthandrews
authored andcommitted
Booleans are able to act as schemas, so contains should not require value to be object
1 parent 1f9fd20 commit 8ed4eb8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

jsonschema-validation.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,7 @@
412412

413413
<section title="contains">
414414
<t>
415-
The value of this keyword MUST be an object. This object MUST be
416-
a valid JSON Schema.
415+
The value of this keyword MUST be a valid JSON Schema.
417416
</t>
418417
<t>
419418
An array instance is valid against "contains" if at least one of

0 commit comments

Comments
 (0)