Skip to content

Commit b00ba57

Browse files
fix use of boolean schemas in draft4
1 parent 4ca4af2 commit b00ba57

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/draft4/optional/unicode.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"schema": {
6868
"type": "object",
6969
"patternProperties": {
70-
"\\wcole": true
70+
"\\wcole": {}
7171
},
7272
"additionalProperties": false
7373
},
@@ -94,7 +94,7 @@
9494
"schema": {
9595
"type": "object",
9696
"patternProperties": {
97-
"[a-z]cole": true
97+
"[a-z]cole": {}
9898
},
9999
"additionalProperties": false
100100
},
@@ -121,7 +121,7 @@
121121
"schema": {
122122
"type": "object",
123123
"patternProperties": {
124-
"^\\d+$": true
124+
"^\\d+$": {}
125125
},
126126
"additionalProperties": false
127127
},

0 commit comments

Comments
 (0)