We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44540b7 commit e39d537Copy full SHA for e39d537
tests/draft3/type.json
@@ -13,6 +13,11 @@
13
"data": 1.1,
14
"valid": false
15
},
16
+ {
17
+ "description": "a float is not an integer even without fractional part",
18
+ "data": 1.0,
19
+ "valid": false
20
+ },
21
{
22
"description": "a string is not an integer",
23
"data": "foo",
tests/draft3/uniqueItems.json
"data": [1, 1],
+ "description": "numbers are unique if mathematically unequal",
+ "data": [1.0, 1.00, 1],
"description": "unique array of objects is valid",
"data": [{"foo": "bar"}, {"foo": "baz"}],
0 commit comments