We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e76e029 commit 2e0e86eCopy full SHA for 2e0e86e
tests/draft2019-09/const.json
@@ -126,7 +126,7 @@
126
]
127
},
128
{
129
- "description": "const with 0 does not match false",
+ "description": "const with 0 does not match other zero-like types",
130
"schema": {"const": 0},
131
"tests": [
132
@@ -143,6 +143,21 @@
143
"description": "float zero is valid",
144
"data": 0.0,
145
"valid": true
146
+ },
147
+ {
148
+ "description": "empty object is invalid",
149
+ "data": {},
150
+ "valid": false
151
152
153
+ "description": "empty array is invalid",
154
+ "data": [],
155
156
157
158
+ "description": "empty string is invalid",
159
+ "data": "",
160
161
}
162
163
0 commit comments