Skip to content

Commit e886fd2

Browse files
committed
Squashed 'json/' changes from 9208016..0b657e8
0b657e8 Merge pull request #86 from kylef/patch-1 1bd4151 [README] JSONSchema.swift uses these tests too 8f86716 Revert "Add jon, JSON parser for the fishshell." db9c629 Merge pull request #82 from bucaran/patch-1 875fa42 Add jon, JSON parser for the fishshell. 64c556c Merge pull request #81 from s-panferov/patch-1 43105d4 Add new Rust library to the list aa4d927 Merge pull request #80 from seagreen/implementations 20ef067 Add new haskell implementation. 1274070 Merge pull request #79 from Muscula/json-schema-benchmark 6d8cf45 Merge pull request #78 from JamesNK/patch-1 55c4992 Add json-schema-benchmark to list of users of this test suite 645623d Added Newtonsoft.Json.Schema implementation a7944d1 Merge pull request #76 from Prestaul/patch-1 5729cdf Added skeemas to list of suite users 4600fe3 Make the implementation list a bit less unwieldy now that it's so long (hooray!) 11d6905 Merge remote-tracking branch 'mafintosh/patch-1' into develop 689b80f Merge pull request #74 from bugventure/develop c36f888 Add request-validator as a user of the test suite 41876b1 Update README.md aabcb34 Merge pull request #71 from seagreen/additionalproperties b3d160b Add tests for additionalProperties by itself. git-subtree-dir: json git-subtree-split: 0b657e8b0d21a4099d3ce378ba7208073a9295e6
1 parent 45cf1fb commit e886fd2

File tree

3 files changed

+101
-17
lines changed

3 files changed

+101
-17
lines changed

README.md

+63-17
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 :).

tests/draft3/additionalProperties.json

+19
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": {}}},

tests/draft4/additionalProperties.json

+19
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)