Skip to content

Commit a3b999c

Browse files
committed
Merge commit 'e886fd27a6a276c784f4e8af99412950208f3f7b' into perf_cache_resolving
* commit 'e886fd27a6a276c784f4e8af99412950208f3f7b': Squashed 'json/' changes from 9208016..0b657e8
2 parents f672988 + e886fd2 commit a3b999c

File tree

3 files changed

+101
-17
lines changed

3 files changed

+101
-17
lines changed

json/README.md

Lines changed: 63 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -60,23 +60,69 @@ Who Uses the Test Suite
6060

6161
This suite is being used by:
6262

63-
* [jsck (a fast JSON validator in CoffeeScript)](https://github.com/pandastrike/jsck)
64-
* [json-schema-validator (Java)](https://github.com/fge/json-schema-validator)
65-
* [jsonschema (python)](https://github.com/Julian/jsonschema)
66-
* [aeson-schema (haskell)](https://github.com/timjb/aeson-schema)
67-
* [direct-schema (javascript)](https://github.com/IreneKnapp/direct-schema)
68-
* [jsonschema (javascript)](https://github.com/tdegrunt/jsonschema)
69-
* [JaySchema (javascript)](https://github.com/natesilva/jayschema)
70-
* [z-schema (javascript)](https://github.com/zaggino/z-schema)
71-
* [jassi (javascript)](https://github.com/iclanzan/jassi)
72-
* [json-schema-valid (javascript)](https://github.com/ericgj/json-schema-valid)
73-
* [jesse (Erlang)](https://github.com/klarna/jesse)
74-
* [json-schema (PHP)](https://github.com/justinrainbow/json-schema)
75-
* [gojsonschema (Go)](https://github.com/sigu-399/gojsonschema)
76-
* [json_schema (Dart)](https://github.com/patefacio/json_schema)
77-
* [tv4 (JavaScript)](https://github.com/geraintluff/tv4)
78-
* [Jsonary (JavaScript)](https://github.com/jsonary-js/jsonary)
79-
* [json-schema (Ruby)](https://github.com/hoxworth/json-schema)
63+
### Coffeescript ###
64+
65+
* [jsck](https://github.com/pandastrike/jsck)
66+
67+
### Dart ###
68+
69+
* [json_schema](https://github.com/patefacio/json_schema)
70+
71+
### Erlang ###
72+
73+
* [jesse](https://github.com/klarna/jesse)
74+
75+
### Go ###
76+
77+
* [gojsonschema](https://github.com/sigu-399/gojsonschema)
78+
79+
### Haskell ###
80+
81+
* [aeson-schema](https://github.com/timjb/aeson-schema)
82+
* [hjsonschema](https://github.com/seagreen/hjsonschema)
83+
84+
### Java ###
85+
86+
* [json-schema-validator](https://github.com/fge/json-schema-validator)
87+
88+
### Javascript ###
89+
90+
* [json-schema-benchmark](https://github.com/Muscula/json-schema-benchmark)
91+
* [direct-schema](https://github.com/IreneKnapp/direct-schema)
92+
* [is-my-json-valid](https://github.com/mafintosh/is-my-json-valid)
93+
* [jassi](https://github.com/iclanzan/jassi)
94+
* [JaySchema](https://github.com/natesilva/jayschema)
95+
* [json-schema-valid](https://github.com/ericgj/json-schema-valid)
96+
* [Jsonary](https://github.com/jsonary-js/jsonary)
97+
* [jsonschema](https://github.com/tdegrunt/jsonschema)
98+
* [request-validator](https://github.com/bugventure/request-validator)
99+
* [skeemas](https://github.com/Prestaul/skeemas)
100+
* [tv4](https://github.com/geraintluff/tv4)
101+
* [z-schema](https://github.com/zaggino/z-schema)
102+
103+
### .NET ###
104+
105+
* [Newtonsoft.Json.Schema](https://github.com/JamesNK/Newtonsoft.Json.Schema)
106+
107+
### PHP ###
108+
109+
* [json-schema](https://github.com/justinrainbow/json-schema)
110+
111+
### Python ###
112+
113+
* [jsonschema](https://github.com/Julian/jsonschema)
114+
115+
### Ruby ###
116+
117+
* [json-schema](https://github.com/hoxworth/json-schema)
118+
119+
### Rust ###
120+
121+
* [valico](https://github.com/rustless/valico)
122+
123+
### Swift ###
124+
125+
* [JSONSchema](https://github.com/kylef/JSONSchema.swift)
80126

81127
If you use it as well, please fork and send a pull request adding yourself to
82128
the list :).

json/tests/draft3/additionalProperties.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,25 @@
5555
}
5656
]
5757
},
58+
{
59+
"description":
60+
"additionalProperties can exist by itself",
61+
"schema": {
62+
"additionalProperties": {"type": "boolean"}
63+
},
64+
"tests": [
65+
{
66+
"description": "an additional valid property is valid",
67+
"data": {"foo" : true},
68+
"valid": true
69+
},
70+
{
71+
"description": "an additional invalid property is invalid",
72+
"data": {"foo" : 1},
73+
"valid": false
74+
}
75+
]
76+
},
5877
{
5978
"description": "additionalProperties are allowed by default",
6079
"schema": {"properties": {"foo": {}, "bar": {}}},

json/tests/draft4/additionalProperties.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,25 @@
5555
}
5656
]
5757
},
58+
{
59+
"description":
60+
"additionalProperties can exist by itself",
61+
"schema": {
62+
"additionalProperties": {"type": "boolean"}
63+
},
64+
"tests": [
65+
{
66+
"description": "an additional valid property is valid",
67+
"data": {"foo" : true},
68+
"valid": true
69+
},
70+
{
71+
"description": "an additional invalid property is invalid",
72+
"data": {"foo" : 1},
73+
"valid": false
74+
}
75+
]
76+
},
5877
{
5978
"description": "additionalProperties are allowed by default",
6079
"schema": {"properties": {"foo": {}, "bar": {}}},

0 commit comments

Comments
 (0)