File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ Who Uses the Test Suite
6060
6161This suite is being used by:
6262
63+ * [ jsck (a fast JSON validator in CoffeeScript)] ( https://github.com/pandastrike/jsck )
6364 * [ json-schema-validator (Java)] ( https://github.com/fge/json-schema-validator )
6465 * [ jsonschema (python)] ( https://github.com/Julian/jsonschema )
6566 * [ aeson-schema (haskell)] ( https://github.com/timjb/aeson-schema )
Original file line number Diff line number Diff line change 2121 }
2222 ]
2323 },
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+ },
2446 {
2547 "description" : " string" ,
2648 "schema" : {"type" : " string" },
5678 "valid" : false
5779 }
5880 ]
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+ ]
59106 }
60107]
Original file line number Diff line number Diff line change 2020 },
2121 {
2222 "description" : " ignores non-strings" ,
23- "data" : 10 ,
23+ "data" : 100 ,
2424 "valid" : true
2525 },
2626 {
Original file line number Diff line number Diff line change 2121 }
2222 ]
2323 },
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+ },
2446 {
2547 "description" : " string" ,
2648 "schema" : {"type" : " string" },
5678 "valid" : false
5779 }
5880 ]
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+ ]
59106 }
60107]
You can’t perform that action at this time.
0 commit comments