File tree Expand file tree Collapse file tree 4 files changed +96
-1
lines changed Expand file tree Collapse file tree 4 files changed +96
-1
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ Who Uses the Test Suite
60
60
61
61
This suite is being used by:
62
62
63
+ * [ jsck (a fast JSON validator in CoffeeScript)] ( https://github.com/pandastrike/jsck )
63
64
* [ json-schema-validator (Java)] ( https://github.com/fge/json-schema-validator )
64
65
* [ jsonschema (python)] ( https://github.com/Julian/jsonschema )
65
66
* [ aeson-schema (haskell)] ( https://github.com/timjb/aeson-schema )
Original file line number Diff line number Diff line change 21
21
}
22
22
]
23
23
},
24
+ {
25
+ "description" : " integer" ,
26
+ "schema" : {"type" : " integer" },
27
+ "tests" : [
28
+ {
29
+ "description" : " a negative bignum is an integer" ,
30
+ "data" : -12345678910111213141516171819202122232425262728293031 ,
31
+ "valid" : true
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ "description" : " number" ,
37
+ "schema" : {"type" : " number" },
38
+ "tests" : [
39
+ {
40
+ "description" : " a negative bignum is a number" ,
41
+ "data" : -98249283749234923498293171823948729348710298301928331 ,
42
+ "valid" : true
43
+ }
44
+ ]
45
+ },
24
46
{
25
47
"description" : " string" ,
26
48
"schema" : {"type" : " string" },
56
78
"valid" : false
57
79
}
58
80
]
81
+ },
82
+ {
83
+ "description" : " integer comparison" ,
84
+ "schema" : {"minimum" : -18446744073709551615 },
85
+ "tests" : [
86
+ {
87
+ "description" : " comparison works for very negative numbers" ,
88
+ "data" : -18446744073709551600 ,
89
+ "valid" : true
90
+ }
91
+ ]
92
+ },
93
+ {
94
+ "description" : " float comparison with high precision on negative numbers" ,
95
+ "schema" : {
96
+ "minimum" : -972783798187987123879878123.18878137 ,
97
+ "exclusiveMinimum" : true
98
+ },
99
+ "tests" : [
100
+ {
101
+ "description" : " comparison works for very negative numbers" ,
102
+ "data" : -972783798187987123879878123.188781371 ,
103
+ "valid" : false
104
+ }
105
+ ]
59
106
}
60
107
]
Original file line number Diff line number Diff line change 20
20
},
21
21
{
22
22
"description" : " ignores non-strings" ,
23
- "data" : 10 ,
23
+ "data" : 100 ,
24
24
"valid" : true
25
25
},
26
26
{
Original file line number Diff line number Diff line change 21
21
}
22
22
]
23
23
},
24
+ {
25
+ "description" : " integer" ,
26
+ "schema" : {"type" : " integer" },
27
+ "tests" : [
28
+ {
29
+ "description" : " a negative bignum is an integer" ,
30
+ "data" : -12345678910111213141516171819202122232425262728293031 ,
31
+ "valid" : true
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ "description" : " number" ,
37
+ "schema" : {"type" : " number" },
38
+ "tests" : [
39
+ {
40
+ "description" : " a negative bignum is a number" ,
41
+ "data" : -98249283749234923498293171823948729348710298301928331 ,
42
+ "valid" : true
43
+ }
44
+ ]
45
+ },
24
46
{
25
47
"description" : " string" ,
26
48
"schema" : {"type" : " string" },
56
78
"valid" : false
57
79
}
58
80
]
81
+ },
82
+ {
83
+ "description" : " integer comparison" ,
84
+ "schema" : {"minimum" : -18446744073709551615 },
85
+ "tests" : [
86
+ {
87
+ "description" : " comparison works for very negative numbers" ,
88
+ "data" : -18446744073709551600 ,
89
+ "valid" : true
90
+ }
91
+ ]
92
+ },
93
+ {
94
+ "description" : " float comparison with high precision on negative numbers" ,
95
+ "schema" : {
96
+ "minimum" : -972783798187987123879878123.18878137 ,
97
+ "exclusiveMinimum" : true
98
+ },
99
+ "tests" : [
100
+ {
101
+ "description" : " comparison works for very negative numbers" ,
102
+ "data" : -972783798187987123879878123.188781371 ,
103
+ "valid" : false
104
+ }
105
+ ]
59
106
}
60
107
]
You can’t perform that action at this time.
0 commit comments