json_schemer 0.2.9 → 0.2.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/json_schemer.gemspec +1 -1
- data/lib/json_schemer/version.rb +1 -1
- metadata +3 -234
- data/JSON-Schema-Test-Suite/.gitignore +0 -1
- data/JSON-Schema-Test-Suite/.travis.yml +0 -8
- data/JSON-Schema-Test-Suite/LICENSE +0 -19
- data/JSON-Schema-Test-Suite/README.md +0 -181
- data/JSON-Schema-Test-Suite/bin/jsonschema_suite +0 -298
- data/JSON-Schema-Test-Suite/index.js +0 -45
- data/JSON-Schema-Test-Suite/package.json +0 -28
- data/JSON-Schema-Test-Suite/remotes/folder/folderInteger.json +0 -3
- data/JSON-Schema-Test-Suite/remotes/integer.json +0 -3
- data/JSON-Schema-Test-Suite/remotes/name-defs.json +0 -15
- data/JSON-Schema-Test-Suite/remotes/name.json +0 -15
- data/JSON-Schema-Test-Suite/remotes/subSchemas.json +0 -8
- data/JSON-Schema-Test-Suite/test-schema.json +0 -59
- data/JSON-Schema-Test-Suite/tests/draft2019-09/additionalItems.json +0 -87
- data/JSON-Schema-Test-Suite/tests/draft2019-09/additionalProperties.json +0 -133
- data/JSON-Schema-Test-Suite/tests/draft2019-09/allOf.json +0 -218
- data/JSON-Schema-Test-Suite/tests/draft2019-09/anchor.json +0 -87
- data/JSON-Schema-Test-Suite/tests/draft2019-09/anyOf.json +0 -189
- data/JSON-Schema-Test-Suite/tests/draft2019-09/boolean_schema.json +0 -104
- data/JSON-Schema-Test-Suite/tests/draft2019-09/const.json +0 -170
- data/JSON-Schema-Test-Suite/tests/draft2019-09/contains.json +0 -95
- data/JSON-Schema-Test-Suite/tests/draft2019-09/default.json +0 -49
- data/JSON-Schema-Test-Suite/tests/draft2019-09/defs.json +0 -24
- data/JSON-Schema-Test-Suite/tests/draft2019-09/dependencies.json +0 -268
- data/JSON-Schema-Test-Suite/tests/draft2019-09/enum.json +0 -179
- data/JSON-Schema-Test-Suite/tests/draft2019-09/exclusiveMaximum.json +0 -30
- data/JSON-Schema-Test-Suite/tests/draft2019-09/exclusiveMinimum.json +0 -30
- data/JSON-Schema-Test-Suite/tests/draft2019-09/format.json +0 -614
- data/JSON-Schema-Test-Suite/tests/draft2019-09/if-then-else.json +0 -188
- data/JSON-Schema-Test-Suite/tests/draft2019-09/items.json +0 -250
- data/JSON-Schema-Test-Suite/tests/draft2019-09/maxItems.json +0 -28
- data/JSON-Schema-Test-Suite/tests/draft2019-09/maxLength.json +0 -33
- data/JSON-Schema-Test-Suite/tests/draft2019-09/maxProperties.json +0 -38
- data/JSON-Schema-Test-Suite/tests/draft2019-09/maximum.json +0 -28
- data/JSON-Schema-Test-Suite/tests/draft2019-09/minItems.json +0 -28
- data/JSON-Schema-Test-Suite/tests/draft2019-09/minLength.json +0 -33
- data/JSON-Schema-Test-Suite/tests/draft2019-09/minProperties.json +0 -38
- data/JSON-Schema-Test-Suite/tests/draft2019-09/minimum.json +0 -59
- data/JSON-Schema-Test-Suite/tests/draft2019-09/multipleOf.json +0 -60
- data/JSON-Schema-Test-Suite/tests/draft2019-09/not.json +0 -117
- data/JSON-Schema-Test-Suite/tests/draft2019-09/oneOf.json +0 -206
- data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/bignum.json +0 -105
- data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/content.json +0 -77
- data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/ecmascript-regex.json +0 -213
- data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/date-time.json +0 -53
- data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/date.json +0 -23
- data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/email.json +0 -18
- data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/hostname.json +0 -33
- data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/idn-email.json +0 -18
- data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/idn-hostname.json +0 -28
- data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/ipv4.json +0 -33
- data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/ipv6.json +0 -28
- data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/iri-reference.json +0 -43
- data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/iri.json +0 -53
- data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/json-pointer.json +0 -168
- data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/regex.json +0 -18
- data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/relative-json-pointer.json +0 -33
- data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/time.json +0 -23
- data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/uri-reference.json +0 -43
- data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/uri-template.json +0 -28
- data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/uri.json +0 -103
- data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/zeroTerminatedFloats.json +0 -15
- data/JSON-Schema-Test-Suite/tests/draft2019-09/pattern.json +0 -34
- data/JSON-Schema-Test-Suite/tests/draft2019-09/patternProperties.json +0 -151
- data/JSON-Schema-Test-Suite/tests/draft2019-09/properties.json +0 -167
- data/JSON-Schema-Test-Suite/tests/draft2019-09/propertyNames.json +0 -78
- data/JSON-Schema-Test-Suite/tests/draft2019-09/ref.json +0 -359
- data/JSON-Schema-Test-Suite/tests/draft2019-09/refRemote.json +0 -167
- data/JSON-Schema-Test-Suite/tests/draft2019-09/required.json +0 -105
- data/JSON-Schema-Test-Suite/tests/draft2019-09/type.json +0 -464
- data/JSON-Schema-Test-Suite/tests/draft2019-09/uniqueItems.json +0 -173
- data/JSON-Schema-Test-Suite/tests/draft3/additionalItems.json +0 -82
- data/JSON-Schema-Test-Suite/tests/draft3/additionalProperties.json +0 -133
- data/JSON-Schema-Test-Suite/tests/draft3/default.json +0 -49
- data/JSON-Schema-Test-Suite/tests/draft3/dependencies.json +0 -118
- data/JSON-Schema-Test-Suite/tests/draft3/disallow.json +0 -80
- data/JSON-Schema-Test-Suite/tests/draft3/divisibleBy.json +0 -60
- data/JSON-Schema-Test-Suite/tests/draft3/enum.json +0 -71
- data/JSON-Schema-Test-Suite/tests/draft3/extends.json +0 -94
- data/JSON-Schema-Test-Suite/tests/draft3/format.json +0 -362
- data/JSON-Schema-Test-Suite/tests/draft3/items.json +0 -46
- data/JSON-Schema-Test-Suite/tests/draft3/maxItems.json +0 -28
- data/JSON-Schema-Test-Suite/tests/draft3/maxLength.json +0 -33
- data/JSON-Schema-Test-Suite/tests/draft3/maximum.json +0 -42
- data/JSON-Schema-Test-Suite/tests/draft3/minItems.json +0 -28
- data/JSON-Schema-Test-Suite/tests/draft3/minLength.json +0 -33
- data/JSON-Schema-Test-Suite/tests/draft3/minimum.json +0 -73
- data/JSON-Schema-Test-Suite/tests/draft3/optional/bignum.json +0 -107
- data/JSON-Schema-Test-Suite/tests/draft3/optional/ecmascript-regex.json +0 -18
- data/JSON-Schema-Test-Suite/tests/draft3/optional/format.json +0 -227
- data/JSON-Schema-Test-Suite/tests/draft3/optional/zeroTerminatedFloats.json +0 -15
- data/JSON-Schema-Test-Suite/tests/draft3/pattern.json +0 -34
- data/JSON-Schema-Test-Suite/tests/draft3/patternProperties.json +0 -115
- data/JSON-Schema-Test-Suite/tests/draft3/properties.json +0 -97
- data/JSON-Schema-Test-Suite/tests/draft3/ref.json +0 -192
- data/JSON-Schema-Test-Suite/tests/draft3/refRemote.json +0 -74
- data/JSON-Schema-Test-Suite/tests/draft3/required.json +0 -53
- data/JSON-Schema-Test-Suite/tests/draft3/type.json +0 -489
- data/JSON-Schema-Test-Suite/tests/draft3/uniqueItems.json +0 -163
- data/JSON-Schema-Test-Suite/tests/draft4/additionalItems.json +0 -87
- data/JSON-Schema-Test-Suite/tests/draft4/additionalProperties.json +0 -133
- data/JSON-Schema-Test-Suite/tests/draft4/allOf.json +0 -185
- data/JSON-Schema-Test-Suite/tests/draft4/anyOf.json +0 -156
- data/JSON-Schema-Test-Suite/tests/draft4/default.json +0 -49
- data/JSON-Schema-Test-Suite/tests/draft4/definitions.json +0 -32
- data/JSON-Schema-Test-Suite/tests/draft4/dependencies.json +0 -194
- data/JSON-Schema-Test-Suite/tests/draft4/enum.json +0 -179
- data/JSON-Schema-Test-Suite/tests/draft4/format.json +0 -218
- data/JSON-Schema-Test-Suite/tests/draft4/items.json +0 -195
- data/JSON-Schema-Test-Suite/tests/draft4/maxItems.json +0 -28
- data/JSON-Schema-Test-Suite/tests/draft4/maxLength.json +0 -33
- data/JSON-Schema-Test-Suite/tests/draft4/maxProperties.json +0 -38
- data/JSON-Schema-Test-Suite/tests/draft4/maximum.json +0 -73
- data/JSON-Schema-Test-Suite/tests/draft4/minItems.json +0 -28
- data/JSON-Schema-Test-Suite/tests/draft4/minLength.json +0 -33
- data/JSON-Schema-Test-Suite/tests/draft4/minProperties.json +0 -38
- data/JSON-Schema-Test-Suite/tests/draft4/minimum.json +0 -104
- data/JSON-Schema-Test-Suite/tests/draft4/multipleOf.json +0 -60
- data/JSON-Schema-Test-Suite/tests/draft4/not.json +0 -96
- data/JSON-Schema-Test-Suite/tests/draft4/oneOf.json +0 -162
- data/JSON-Schema-Test-Suite/tests/draft4/optional/bignum.json +0 -107
- data/JSON-Schema-Test-Suite/tests/draft4/optional/ecmascript-regex.json +0 -213
- data/JSON-Schema-Test-Suite/tests/draft4/optional/format.json +0 -253
- data/JSON-Schema-Test-Suite/tests/draft4/optional/zeroTerminatedFloats.json +0 -15
- data/JSON-Schema-Test-Suite/tests/draft4/pattern.json +0 -34
- data/JSON-Schema-Test-Suite/tests/draft4/patternProperties.json +0 -120
- data/JSON-Schema-Test-Suite/tests/draft4/properties.json +0 -136
- data/JSON-Schema-Test-Suite/tests/draft4/ref.json +0 -411
- data/JSON-Schema-Test-Suite/tests/draft4/refRemote.json +0 -171
- data/JSON-Schema-Test-Suite/tests/draft4/required.json +0 -89
- data/JSON-Schema-Test-Suite/tests/draft4/type.json +0 -464
- data/JSON-Schema-Test-Suite/tests/draft4/uniqueItems.json +0 -173
- data/JSON-Schema-Test-Suite/tests/draft6/additionalItems.json +0 -87
- data/JSON-Schema-Test-Suite/tests/draft6/additionalProperties.json +0 -133
- data/JSON-Schema-Test-Suite/tests/draft6/allOf.json +0 -218
- data/JSON-Schema-Test-Suite/tests/draft6/anyOf.json +0 -189
- data/JSON-Schema-Test-Suite/tests/draft6/boolean_schema.json +0 -104
- data/JSON-Schema-Test-Suite/tests/draft6/const.json +0 -170
- data/JSON-Schema-Test-Suite/tests/draft6/contains.json +0 -100
- data/JSON-Schema-Test-Suite/tests/draft6/default.json +0 -49
- data/JSON-Schema-Test-Suite/tests/draft6/definitions.json +0 -32
- data/JSON-Schema-Test-Suite/tests/draft6/dependencies.json +0 -268
- data/JSON-Schema-Test-Suite/tests/draft6/enum.json +0 -179
- data/JSON-Schema-Test-Suite/tests/draft6/exclusiveMaximum.json +0 -30
- data/JSON-Schema-Test-Suite/tests/draft6/exclusiveMinimum.json +0 -30
- data/JSON-Schema-Test-Suite/tests/draft6/format.json +0 -326
- data/JSON-Schema-Test-Suite/tests/draft6/items.json +0 -250
- data/JSON-Schema-Test-Suite/tests/draft6/maxItems.json +0 -28
- data/JSON-Schema-Test-Suite/tests/draft6/maxLength.json +0 -33
- data/JSON-Schema-Test-Suite/tests/draft6/maxProperties.json +0 -38
- data/JSON-Schema-Test-Suite/tests/draft6/maximum.json +0 -28
- data/JSON-Schema-Test-Suite/tests/draft6/minItems.json +0 -28
- data/JSON-Schema-Test-Suite/tests/draft6/minLength.json +0 -33
- data/JSON-Schema-Test-Suite/tests/draft6/minProperties.json +0 -38
- data/JSON-Schema-Test-Suite/tests/draft6/minimum.json +0 -59
- data/JSON-Schema-Test-Suite/tests/draft6/multipleOf.json +0 -60
- data/JSON-Schema-Test-Suite/tests/draft6/not.json +0 -117
- data/JSON-Schema-Test-Suite/tests/draft6/oneOf.json +0 -206
- data/JSON-Schema-Test-Suite/tests/draft6/optional/bignum.json +0 -105
- data/JSON-Schema-Test-Suite/tests/draft6/optional/ecmascript-regex.json +0 -213
- data/JSON-Schema-Test-Suite/tests/draft6/optional/format.json +0 -491
- data/JSON-Schema-Test-Suite/tests/draft6/optional/zeroTerminatedFloats.json +0 -15
- data/JSON-Schema-Test-Suite/tests/draft6/pattern.json +0 -34
- data/JSON-Schema-Test-Suite/tests/draft6/patternProperties.json +0 -151
- data/JSON-Schema-Test-Suite/tests/draft6/properties.json +0 -167
- data/JSON-Schema-Test-Suite/tests/draft6/propertyNames.json +0 -78
- data/JSON-Schema-Test-Suite/tests/draft6/ref.json +0 -443
- data/JSON-Schema-Test-Suite/tests/draft6/refRemote.json +0 -171
- data/JSON-Schema-Test-Suite/tests/draft6/required.json +0 -105
- data/JSON-Schema-Test-Suite/tests/draft6/type.json +0 -464
- data/JSON-Schema-Test-Suite/tests/draft6/uniqueItems.json +0 -173
- data/JSON-Schema-Test-Suite/tests/draft7/additionalItems.json +0 -87
- data/JSON-Schema-Test-Suite/tests/draft7/additionalProperties.json +0 -133
- data/JSON-Schema-Test-Suite/tests/draft7/allOf.json +0 -218
- data/JSON-Schema-Test-Suite/tests/draft7/anyOf.json +0 -189
- data/JSON-Schema-Test-Suite/tests/draft7/boolean_schema.json +0 -104
- data/JSON-Schema-Test-Suite/tests/draft7/const.json +0 -170
- data/JSON-Schema-Test-Suite/tests/draft7/contains.json +0 -100
- data/JSON-Schema-Test-Suite/tests/draft7/default.json +0 -49
- data/JSON-Schema-Test-Suite/tests/draft7/definitions.json +0 -32
- data/JSON-Schema-Test-Suite/tests/draft7/dependencies.json +0 -268
- data/JSON-Schema-Test-Suite/tests/draft7/enum.json +0 -179
- data/JSON-Schema-Test-Suite/tests/draft7/exclusiveMaximum.json +0 -30
- data/JSON-Schema-Test-Suite/tests/draft7/exclusiveMinimum.json +0 -30
- data/JSON-Schema-Test-Suite/tests/draft7/format.json +0 -614
- data/JSON-Schema-Test-Suite/tests/draft7/if-then-else.json +0 -188
- data/JSON-Schema-Test-Suite/tests/draft7/items.json +0 -250
- data/JSON-Schema-Test-Suite/tests/draft7/maxItems.json +0 -28
- data/JSON-Schema-Test-Suite/tests/draft7/maxLength.json +0 -33
- data/JSON-Schema-Test-Suite/tests/draft7/maxProperties.json +0 -38
- data/JSON-Schema-Test-Suite/tests/draft7/maximum.json +0 -28
- data/JSON-Schema-Test-Suite/tests/draft7/minItems.json +0 -28
- data/JSON-Schema-Test-Suite/tests/draft7/minLength.json +0 -33
- data/JSON-Schema-Test-Suite/tests/draft7/minProperties.json +0 -38
- data/JSON-Schema-Test-Suite/tests/draft7/minimum.json +0 -59
- data/JSON-Schema-Test-Suite/tests/draft7/multipleOf.json +0 -60
- data/JSON-Schema-Test-Suite/tests/draft7/not.json +0 -117
- data/JSON-Schema-Test-Suite/tests/draft7/oneOf.json +0 -206
- data/JSON-Schema-Test-Suite/tests/draft7/optional/bignum.json +0 -105
- data/JSON-Schema-Test-Suite/tests/draft7/optional/content.json +0 -77
- data/JSON-Schema-Test-Suite/tests/draft7/optional/ecmascript-regex.json +0 -213
- data/JSON-Schema-Test-Suite/tests/draft7/optional/format/date-time.json +0 -53
- data/JSON-Schema-Test-Suite/tests/draft7/optional/format/date.json +0 -23
- data/JSON-Schema-Test-Suite/tests/draft7/optional/format/email.json +0 -18
- data/JSON-Schema-Test-Suite/tests/draft7/optional/format/hostname.json +0 -33
- data/JSON-Schema-Test-Suite/tests/draft7/optional/format/idn-email.json +0 -18
- data/JSON-Schema-Test-Suite/tests/draft7/optional/format/idn-hostname.json +0 -28
- data/JSON-Schema-Test-Suite/tests/draft7/optional/format/ipv4.json +0 -33
- data/JSON-Schema-Test-Suite/tests/draft7/optional/format/ipv6.json +0 -28
- data/JSON-Schema-Test-Suite/tests/draft7/optional/format/iri-reference.json +0 -43
- data/JSON-Schema-Test-Suite/tests/draft7/optional/format/iri.json +0 -53
- data/JSON-Schema-Test-Suite/tests/draft7/optional/format/json-pointer.json +0 -168
- data/JSON-Schema-Test-Suite/tests/draft7/optional/format/regex.json +0 -18
- data/JSON-Schema-Test-Suite/tests/draft7/optional/format/relative-json-pointer.json +0 -33
- data/JSON-Schema-Test-Suite/tests/draft7/optional/format/time.json +0 -23
- data/JSON-Schema-Test-Suite/tests/draft7/optional/format/uri-reference.json +0 -43
- data/JSON-Schema-Test-Suite/tests/draft7/optional/format/uri-template.json +0 -28
- data/JSON-Schema-Test-Suite/tests/draft7/optional/format/uri.json +0 -103
- data/JSON-Schema-Test-Suite/tests/draft7/optional/zeroTerminatedFloats.json +0 -15
- data/JSON-Schema-Test-Suite/tests/draft7/pattern.json +0 -34
- data/JSON-Schema-Test-Suite/tests/draft7/patternProperties.json +0 -151
- data/JSON-Schema-Test-Suite/tests/draft7/properties.json +0 -167
- data/JSON-Schema-Test-Suite/tests/draft7/propertyNames.json +0 -78
- data/JSON-Schema-Test-Suite/tests/draft7/ref.json +0 -443
- data/JSON-Schema-Test-Suite/tests/draft7/refRemote.json +0 -171
- data/JSON-Schema-Test-Suite/tests/draft7/required.json +0 -105
- data/JSON-Schema-Test-Suite/tests/draft7/type.json +0 -464
- data/JSON-Schema-Test-Suite/tests/draft7/uniqueItems.json +0 -173
- data/JSON-Schema-Test-Suite/tests/latest +0 -1
- data/JSON-Schema-Test-Suite/tox.ini +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf65b652bb728979d855beb43ca825f5bdfc2f9cbd05ed71e721900edb5ca478
|
4
|
+
data.tar.gz: 9b2a5bb41e365da48e6fe18fadb36d690397026f79ca5a0d00e05a89b82add77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 652cda34ebb49e94b9e725e3143c7f7ed18329cdcb046aa55b1ef1f49f0b4722154389e49d13ce8d4182cb640c1b1b418107fa8b01b54572505207e930b34e51
|
7
|
+
data.tar.gz: 1f922f37d0540c33f7d2238cf9bfc2bf03f2231c07668e94a6216c576bbd1db0f74db6f10456e7a96ae3bb3ed034ad9eb062c327dade08c64ec16a6cf09f1172
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
json_schemer (0.2.
|
4
|
+
json_schemer (0.2.10)
|
5
5
|
ecma-re-validator (~> 0.2)
|
6
6
|
hana (~> 1.3)
|
7
7
|
regexp_parser (~> 1.5)
|
@@ -15,7 +15,7 @@ GEM
|
|
15
15
|
hana (1.3.5)
|
16
16
|
minitest (5.11.3)
|
17
17
|
rake (10.5.0)
|
18
|
-
regexp_parser (1.
|
18
|
+
regexp_parser (1.7.0)
|
19
19
|
uri_template (0.7.0)
|
20
20
|
|
21
21
|
PLATFORMS
|
data/json_schemer.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
17
|
-
f.match(%r{^(test|spec|features)/})
|
17
|
+
f.match(%r{^(test|spec|features|JSON-Schema-Test-Suite)/})
|
18
18
|
end
|
19
19
|
spec.bindir = "exe"
|
20
20
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
data/lib/json_schemer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: json_schemer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Harsha
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02-
|
11
|
+
date: 2020-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -119,236 +119,6 @@ files:
|
|
119
119
|
- ".gitignore"
|
120
120
|
- Gemfile
|
121
121
|
- Gemfile.lock
|
122
|
-
- JSON-Schema-Test-Suite/.gitignore
|
123
|
-
- JSON-Schema-Test-Suite/.travis.yml
|
124
|
-
- JSON-Schema-Test-Suite/LICENSE
|
125
|
-
- JSON-Schema-Test-Suite/README.md
|
126
|
-
- JSON-Schema-Test-Suite/bin/jsonschema_suite
|
127
|
-
- JSON-Schema-Test-Suite/index.js
|
128
|
-
- JSON-Schema-Test-Suite/package.json
|
129
|
-
- JSON-Schema-Test-Suite/remotes/folder/folderInteger.json
|
130
|
-
- JSON-Schema-Test-Suite/remotes/integer.json
|
131
|
-
- JSON-Schema-Test-Suite/remotes/name-defs.json
|
132
|
-
- JSON-Schema-Test-Suite/remotes/name.json
|
133
|
-
- JSON-Schema-Test-Suite/remotes/subSchemas.json
|
134
|
-
- JSON-Schema-Test-Suite/test-schema.json
|
135
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/additionalItems.json
|
136
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/additionalProperties.json
|
137
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/allOf.json
|
138
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/anchor.json
|
139
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/anyOf.json
|
140
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/boolean_schema.json
|
141
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/const.json
|
142
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/contains.json
|
143
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/default.json
|
144
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/defs.json
|
145
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/dependencies.json
|
146
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/enum.json
|
147
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/exclusiveMaximum.json
|
148
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/exclusiveMinimum.json
|
149
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/format.json
|
150
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/if-then-else.json
|
151
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/items.json
|
152
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/maxItems.json
|
153
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/maxLength.json
|
154
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/maxProperties.json
|
155
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/maximum.json
|
156
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/minItems.json
|
157
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/minLength.json
|
158
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/minProperties.json
|
159
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/minimum.json
|
160
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/multipleOf.json
|
161
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/not.json
|
162
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/oneOf.json
|
163
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/optional/bignum.json
|
164
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/optional/content.json
|
165
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/optional/ecmascript-regex.json
|
166
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/date-time.json
|
167
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/date.json
|
168
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/email.json
|
169
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/hostname.json
|
170
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/idn-email.json
|
171
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/idn-hostname.json
|
172
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/ipv4.json
|
173
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/ipv6.json
|
174
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/iri-reference.json
|
175
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/iri.json
|
176
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/json-pointer.json
|
177
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/regex.json
|
178
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/relative-json-pointer.json
|
179
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/time.json
|
180
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/uri-reference.json
|
181
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/uri-template.json
|
182
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/uri.json
|
183
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/optional/zeroTerminatedFloats.json
|
184
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/pattern.json
|
185
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/patternProperties.json
|
186
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/properties.json
|
187
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/propertyNames.json
|
188
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/ref.json
|
189
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/refRemote.json
|
190
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/required.json
|
191
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/type.json
|
192
|
-
- JSON-Schema-Test-Suite/tests/draft2019-09/uniqueItems.json
|
193
|
-
- JSON-Schema-Test-Suite/tests/draft3/additionalItems.json
|
194
|
-
- JSON-Schema-Test-Suite/tests/draft3/additionalProperties.json
|
195
|
-
- JSON-Schema-Test-Suite/tests/draft3/default.json
|
196
|
-
- JSON-Schema-Test-Suite/tests/draft3/dependencies.json
|
197
|
-
- JSON-Schema-Test-Suite/tests/draft3/disallow.json
|
198
|
-
- JSON-Schema-Test-Suite/tests/draft3/divisibleBy.json
|
199
|
-
- JSON-Schema-Test-Suite/tests/draft3/enum.json
|
200
|
-
- JSON-Schema-Test-Suite/tests/draft3/extends.json
|
201
|
-
- JSON-Schema-Test-Suite/tests/draft3/format.json
|
202
|
-
- JSON-Schema-Test-Suite/tests/draft3/items.json
|
203
|
-
- JSON-Schema-Test-Suite/tests/draft3/maxItems.json
|
204
|
-
- JSON-Schema-Test-Suite/tests/draft3/maxLength.json
|
205
|
-
- JSON-Schema-Test-Suite/tests/draft3/maximum.json
|
206
|
-
- JSON-Schema-Test-Suite/tests/draft3/minItems.json
|
207
|
-
- JSON-Schema-Test-Suite/tests/draft3/minLength.json
|
208
|
-
- JSON-Schema-Test-Suite/tests/draft3/minimum.json
|
209
|
-
- JSON-Schema-Test-Suite/tests/draft3/optional/bignum.json
|
210
|
-
- JSON-Schema-Test-Suite/tests/draft3/optional/ecmascript-regex.json
|
211
|
-
- JSON-Schema-Test-Suite/tests/draft3/optional/format.json
|
212
|
-
- JSON-Schema-Test-Suite/tests/draft3/optional/zeroTerminatedFloats.json
|
213
|
-
- JSON-Schema-Test-Suite/tests/draft3/pattern.json
|
214
|
-
- JSON-Schema-Test-Suite/tests/draft3/patternProperties.json
|
215
|
-
- JSON-Schema-Test-Suite/tests/draft3/properties.json
|
216
|
-
- JSON-Schema-Test-Suite/tests/draft3/ref.json
|
217
|
-
- JSON-Schema-Test-Suite/tests/draft3/refRemote.json
|
218
|
-
- JSON-Schema-Test-Suite/tests/draft3/required.json
|
219
|
-
- JSON-Schema-Test-Suite/tests/draft3/type.json
|
220
|
-
- JSON-Schema-Test-Suite/tests/draft3/uniqueItems.json
|
221
|
-
- JSON-Schema-Test-Suite/tests/draft4/additionalItems.json
|
222
|
-
- JSON-Schema-Test-Suite/tests/draft4/additionalProperties.json
|
223
|
-
- JSON-Schema-Test-Suite/tests/draft4/allOf.json
|
224
|
-
- JSON-Schema-Test-Suite/tests/draft4/anyOf.json
|
225
|
-
- JSON-Schema-Test-Suite/tests/draft4/default.json
|
226
|
-
- JSON-Schema-Test-Suite/tests/draft4/definitions.json
|
227
|
-
- JSON-Schema-Test-Suite/tests/draft4/dependencies.json
|
228
|
-
- JSON-Schema-Test-Suite/tests/draft4/enum.json
|
229
|
-
- JSON-Schema-Test-Suite/tests/draft4/format.json
|
230
|
-
- JSON-Schema-Test-Suite/tests/draft4/items.json
|
231
|
-
- JSON-Schema-Test-Suite/tests/draft4/maxItems.json
|
232
|
-
- JSON-Schema-Test-Suite/tests/draft4/maxLength.json
|
233
|
-
- JSON-Schema-Test-Suite/tests/draft4/maxProperties.json
|
234
|
-
- JSON-Schema-Test-Suite/tests/draft4/maximum.json
|
235
|
-
- JSON-Schema-Test-Suite/tests/draft4/minItems.json
|
236
|
-
- JSON-Schema-Test-Suite/tests/draft4/minLength.json
|
237
|
-
- JSON-Schema-Test-Suite/tests/draft4/minProperties.json
|
238
|
-
- JSON-Schema-Test-Suite/tests/draft4/minimum.json
|
239
|
-
- JSON-Schema-Test-Suite/tests/draft4/multipleOf.json
|
240
|
-
- JSON-Schema-Test-Suite/tests/draft4/not.json
|
241
|
-
- JSON-Schema-Test-Suite/tests/draft4/oneOf.json
|
242
|
-
- JSON-Schema-Test-Suite/tests/draft4/optional/bignum.json
|
243
|
-
- JSON-Schema-Test-Suite/tests/draft4/optional/ecmascript-regex.json
|
244
|
-
- JSON-Schema-Test-Suite/tests/draft4/optional/format.json
|
245
|
-
- JSON-Schema-Test-Suite/tests/draft4/optional/zeroTerminatedFloats.json
|
246
|
-
- JSON-Schema-Test-Suite/tests/draft4/pattern.json
|
247
|
-
- JSON-Schema-Test-Suite/tests/draft4/patternProperties.json
|
248
|
-
- JSON-Schema-Test-Suite/tests/draft4/properties.json
|
249
|
-
- JSON-Schema-Test-Suite/tests/draft4/ref.json
|
250
|
-
- JSON-Schema-Test-Suite/tests/draft4/refRemote.json
|
251
|
-
- JSON-Schema-Test-Suite/tests/draft4/required.json
|
252
|
-
- JSON-Schema-Test-Suite/tests/draft4/type.json
|
253
|
-
- JSON-Schema-Test-Suite/tests/draft4/uniqueItems.json
|
254
|
-
- JSON-Schema-Test-Suite/tests/draft6/additionalItems.json
|
255
|
-
- JSON-Schema-Test-Suite/tests/draft6/additionalProperties.json
|
256
|
-
- JSON-Schema-Test-Suite/tests/draft6/allOf.json
|
257
|
-
- JSON-Schema-Test-Suite/tests/draft6/anyOf.json
|
258
|
-
- JSON-Schema-Test-Suite/tests/draft6/boolean_schema.json
|
259
|
-
- JSON-Schema-Test-Suite/tests/draft6/const.json
|
260
|
-
- JSON-Schema-Test-Suite/tests/draft6/contains.json
|
261
|
-
- JSON-Schema-Test-Suite/tests/draft6/default.json
|
262
|
-
- JSON-Schema-Test-Suite/tests/draft6/definitions.json
|
263
|
-
- JSON-Schema-Test-Suite/tests/draft6/dependencies.json
|
264
|
-
- JSON-Schema-Test-Suite/tests/draft6/enum.json
|
265
|
-
- JSON-Schema-Test-Suite/tests/draft6/exclusiveMaximum.json
|
266
|
-
- JSON-Schema-Test-Suite/tests/draft6/exclusiveMinimum.json
|
267
|
-
- JSON-Schema-Test-Suite/tests/draft6/format.json
|
268
|
-
- JSON-Schema-Test-Suite/tests/draft6/items.json
|
269
|
-
- JSON-Schema-Test-Suite/tests/draft6/maxItems.json
|
270
|
-
- JSON-Schema-Test-Suite/tests/draft6/maxLength.json
|
271
|
-
- JSON-Schema-Test-Suite/tests/draft6/maxProperties.json
|
272
|
-
- JSON-Schema-Test-Suite/tests/draft6/maximum.json
|
273
|
-
- JSON-Schema-Test-Suite/tests/draft6/minItems.json
|
274
|
-
- JSON-Schema-Test-Suite/tests/draft6/minLength.json
|
275
|
-
- JSON-Schema-Test-Suite/tests/draft6/minProperties.json
|
276
|
-
- JSON-Schema-Test-Suite/tests/draft6/minimum.json
|
277
|
-
- JSON-Schema-Test-Suite/tests/draft6/multipleOf.json
|
278
|
-
- JSON-Schema-Test-Suite/tests/draft6/not.json
|
279
|
-
- JSON-Schema-Test-Suite/tests/draft6/oneOf.json
|
280
|
-
- JSON-Schema-Test-Suite/tests/draft6/optional/bignum.json
|
281
|
-
- JSON-Schema-Test-Suite/tests/draft6/optional/ecmascript-regex.json
|
282
|
-
- JSON-Schema-Test-Suite/tests/draft6/optional/format.json
|
283
|
-
- JSON-Schema-Test-Suite/tests/draft6/optional/zeroTerminatedFloats.json
|
284
|
-
- JSON-Schema-Test-Suite/tests/draft6/pattern.json
|
285
|
-
- JSON-Schema-Test-Suite/tests/draft6/patternProperties.json
|
286
|
-
- JSON-Schema-Test-Suite/tests/draft6/properties.json
|
287
|
-
- JSON-Schema-Test-Suite/tests/draft6/propertyNames.json
|
288
|
-
- JSON-Schema-Test-Suite/tests/draft6/ref.json
|
289
|
-
- JSON-Schema-Test-Suite/tests/draft6/refRemote.json
|
290
|
-
- JSON-Schema-Test-Suite/tests/draft6/required.json
|
291
|
-
- JSON-Schema-Test-Suite/tests/draft6/type.json
|
292
|
-
- JSON-Schema-Test-Suite/tests/draft6/uniqueItems.json
|
293
|
-
- JSON-Schema-Test-Suite/tests/draft7/additionalItems.json
|
294
|
-
- JSON-Schema-Test-Suite/tests/draft7/additionalProperties.json
|
295
|
-
- JSON-Schema-Test-Suite/tests/draft7/allOf.json
|
296
|
-
- JSON-Schema-Test-Suite/tests/draft7/anyOf.json
|
297
|
-
- JSON-Schema-Test-Suite/tests/draft7/boolean_schema.json
|
298
|
-
- JSON-Schema-Test-Suite/tests/draft7/const.json
|
299
|
-
- JSON-Schema-Test-Suite/tests/draft7/contains.json
|
300
|
-
- JSON-Schema-Test-Suite/tests/draft7/default.json
|
301
|
-
- JSON-Schema-Test-Suite/tests/draft7/definitions.json
|
302
|
-
- JSON-Schema-Test-Suite/tests/draft7/dependencies.json
|
303
|
-
- JSON-Schema-Test-Suite/tests/draft7/enum.json
|
304
|
-
- JSON-Schema-Test-Suite/tests/draft7/exclusiveMaximum.json
|
305
|
-
- JSON-Schema-Test-Suite/tests/draft7/exclusiveMinimum.json
|
306
|
-
- JSON-Schema-Test-Suite/tests/draft7/format.json
|
307
|
-
- JSON-Schema-Test-Suite/tests/draft7/if-then-else.json
|
308
|
-
- JSON-Schema-Test-Suite/tests/draft7/items.json
|
309
|
-
- JSON-Schema-Test-Suite/tests/draft7/maxItems.json
|
310
|
-
- JSON-Schema-Test-Suite/tests/draft7/maxLength.json
|
311
|
-
- JSON-Schema-Test-Suite/tests/draft7/maxProperties.json
|
312
|
-
- JSON-Schema-Test-Suite/tests/draft7/maximum.json
|
313
|
-
- JSON-Schema-Test-Suite/tests/draft7/minItems.json
|
314
|
-
- JSON-Schema-Test-Suite/tests/draft7/minLength.json
|
315
|
-
- JSON-Schema-Test-Suite/tests/draft7/minProperties.json
|
316
|
-
- JSON-Schema-Test-Suite/tests/draft7/minimum.json
|
317
|
-
- JSON-Schema-Test-Suite/tests/draft7/multipleOf.json
|
318
|
-
- JSON-Schema-Test-Suite/tests/draft7/not.json
|
319
|
-
- JSON-Schema-Test-Suite/tests/draft7/oneOf.json
|
320
|
-
- JSON-Schema-Test-Suite/tests/draft7/optional/bignum.json
|
321
|
-
- JSON-Schema-Test-Suite/tests/draft7/optional/content.json
|
322
|
-
- JSON-Schema-Test-Suite/tests/draft7/optional/ecmascript-regex.json
|
323
|
-
- JSON-Schema-Test-Suite/tests/draft7/optional/format/date-time.json
|
324
|
-
- JSON-Schema-Test-Suite/tests/draft7/optional/format/date.json
|
325
|
-
- JSON-Schema-Test-Suite/tests/draft7/optional/format/email.json
|
326
|
-
- JSON-Schema-Test-Suite/tests/draft7/optional/format/hostname.json
|
327
|
-
- JSON-Schema-Test-Suite/tests/draft7/optional/format/idn-email.json
|
328
|
-
- JSON-Schema-Test-Suite/tests/draft7/optional/format/idn-hostname.json
|
329
|
-
- JSON-Schema-Test-Suite/tests/draft7/optional/format/ipv4.json
|
330
|
-
- JSON-Schema-Test-Suite/tests/draft7/optional/format/ipv6.json
|
331
|
-
- JSON-Schema-Test-Suite/tests/draft7/optional/format/iri-reference.json
|
332
|
-
- JSON-Schema-Test-Suite/tests/draft7/optional/format/iri.json
|
333
|
-
- JSON-Schema-Test-Suite/tests/draft7/optional/format/json-pointer.json
|
334
|
-
- JSON-Schema-Test-Suite/tests/draft7/optional/format/regex.json
|
335
|
-
- JSON-Schema-Test-Suite/tests/draft7/optional/format/relative-json-pointer.json
|
336
|
-
- JSON-Schema-Test-Suite/tests/draft7/optional/format/time.json
|
337
|
-
- JSON-Schema-Test-Suite/tests/draft7/optional/format/uri-reference.json
|
338
|
-
- JSON-Schema-Test-Suite/tests/draft7/optional/format/uri-template.json
|
339
|
-
- JSON-Schema-Test-Suite/tests/draft7/optional/format/uri.json
|
340
|
-
- JSON-Schema-Test-Suite/tests/draft7/optional/zeroTerminatedFloats.json
|
341
|
-
- JSON-Schema-Test-Suite/tests/draft7/pattern.json
|
342
|
-
- JSON-Schema-Test-Suite/tests/draft7/patternProperties.json
|
343
|
-
- JSON-Schema-Test-Suite/tests/draft7/properties.json
|
344
|
-
- JSON-Schema-Test-Suite/tests/draft7/propertyNames.json
|
345
|
-
- JSON-Schema-Test-Suite/tests/draft7/ref.json
|
346
|
-
- JSON-Schema-Test-Suite/tests/draft7/refRemote.json
|
347
|
-
- JSON-Schema-Test-Suite/tests/draft7/required.json
|
348
|
-
- JSON-Schema-Test-Suite/tests/draft7/type.json
|
349
|
-
- JSON-Schema-Test-Suite/tests/draft7/uniqueItems.json
|
350
|
-
- JSON-Schema-Test-Suite/tests/latest
|
351
|
-
- JSON-Schema-Test-Suite/tox.ini
|
352
122
|
- LICENSE.txt
|
353
123
|
- README.md
|
354
124
|
- Rakefile
|
@@ -382,8 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
382
152
|
- !ruby/object:Gem::Version
|
383
153
|
version: '0'
|
384
154
|
requirements: []
|
385
|
-
|
386
|
-
rubygems_version: 2.7.6
|
155
|
+
rubygems_version: 3.0.3
|
387
156
|
signing_key:
|
388
157
|
specification_version: 4
|
389
158
|
summary: JSON Schema validator. Supports drafts 4, 6, and 7.
|
@@ -1 +0,0 @@
|
|
1
|
-
TODO
|
@@ -1,19 +0,0 @@
|
|
1
|
-
Copyright (c) 2012 Julian Berman
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
-
of this software and associated documentation files (the "Software"), to deal
|
5
|
-
in the Software without restriction, including without limitation the rights
|
6
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
-
copies of the Software, and to permit persons to whom the Software is
|
8
|
-
furnished to do so, subject to the following conditions:
|
9
|
-
|
10
|
-
The above copyright notice and this permission notice shall be included in
|
11
|
-
all copies or substantial portions of the Software.
|
12
|
-
|
13
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
|
-
THE SOFTWARE.
|
@@ -1,181 +0,0 @@
|
|
1
|
-
JSON Schema Test Suite [![Build Status](https://travis-ci.org/json-schema-org/JSON-Schema-Test-Suite.svg?branch=master)](https://travis-ci.org/json-schema-org/JSON-Schema-Test-Suite)
|
2
|
-
======================
|
3
|
-
|
4
|
-
This repository contains a set of JSON objects that implementors of JSON Schema
|
5
|
-
validation libraries can use to test their validators.
|
6
|
-
|
7
|
-
It is meant to be language agnostic and should require only a JSON parser.
|
8
|
-
|
9
|
-
The conversion of the JSON objects into tests within your test framework of
|
10
|
-
choice is still the job of the validator implementor.
|
11
|
-
|
12
|
-
Structure of a Test
|
13
|
-
-------------------
|
14
|
-
|
15
|
-
If you're going to use this suite, you need to know how tests are laid out. The
|
16
|
-
tests are contained in the `tests` directory at the root of this repository.
|
17
|
-
|
18
|
-
Inside that directory is a subdirectory for each draft or version of the
|
19
|
-
schema.
|
20
|
-
|
21
|
-
If you look inside the draft directory, there are a number of `.json` files,
|
22
|
-
which logically group a set of test cases together. Often the grouping is by
|
23
|
-
property under test, but not always, especially within optional test files
|
24
|
-
(discussed below).
|
25
|
-
|
26
|
-
Inside each `.json` file is a single array containing objects. It's easiest to
|
27
|
-
illustrate the structure of these with an example:
|
28
|
-
|
29
|
-
```json
|
30
|
-
{
|
31
|
-
"description": "the description of the test case",
|
32
|
-
"schema": {"the schema that should" : "be validated against"},
|
33
|
-
"tests": [
|
34
|
-
{
|
35
|
-
"description": "a specific test of a valid instance",
|
36
|
-
"data": "the instance",
|
37
|
-
"valid": true
|
38
|
-
},
|
39
|
-
{
|
40
|
-
"description": "another specific test this time, invalid",
|
41
|
-
"data": 15,
|
42
|
-
"valid": false
|
43
|
-
}
|
44
|
-
]
|
45
|
-
}
|
46
|
-
```
|
47
|
-
|
48
|
-
So a description, a schema, and some tests, where tests is an array containing
|
49
|
-
one or more objects with descriptions, data, and a boolean indicating whether
|
50
|
-
they should be valid or invalid.
|
51
|
-
|
52
|
-
Coverage
|
53
|
-
--------
|
54
|
-
|
55
|
-
Drafts 03, 04, 06, and 07 should have full coverage, with drafts 06 and 07
|
56
|
-
being considered current and actively supported. Bug fixes will be made as
|
57
|
-
needed for draft-04 as it is still the most widely used, while draft-03
|
58
|
-
is long since deprecated.
|
59
|
-
|
60
|
-
If you see anything missing from the current supported drafts, or incorrect
|
61
|
-
on any draft still accepting bug fixes, please file an issue or submit a PR.
|
62
|
-
|
63
|
-
Who Uses the Test Suite
|
64
|
-
-----------------------
|
65
|
-
|
66
|
-
This suite is being used by:
|
67
|
-
|
68
|
-
### Clojure ###
|
69
|
-
|
70
|
-
* [jinx](https://github.com/juxt/jinx)
|
71
|
-
* [json-schema](https://github.com/tatut/json-schema)
|
72
|
-
|
73
|
-
### Coffeescript ###
|
74
|
-
|
75
|
-
* [jsck](https://github.com/pandastrike/jsck)
|
76
|
-
|
77
|
-
### C++ ###
|
78
|
-
|
79
|
-
* [Modern C++ JSON schema validator](https://github.com/pboettch/json-schema-validator)
|
80
|
-
|
81
|
-
### Dart ###
|
82
|
-
|
83
|
-
* [json_schema](https://github.com/patefacio/json_schema)
|
84
|
-
|
85
|
-
### Elixir ###
|
86
|
-
|
87
|
-
* [ex_json_schema](https://github.com/jonasschmidt/ex_json_schema)
|
88
|
-
|
89
|
-
### Erlang ###
|
90
|
-
|
91
|
-
* [jesse](https://github.com/for-GET/jesse)
|
92
|
-
|
93
|
-
### Go ###
|
94
|
-
|
95
|
-
* [gojsonschema](https://github.com/sigu-399/gojsonschema)
|
96
|
-
* [validate-json](https://github.com/cesanta/validate-json)
|
97
|
-
|
98
|
-
### Haskell ###
|
99
|
-
|
100
|
-
* [aeson-schema](https://github.com/timjb/aeson-schema)
|
101
|
-
* [hjsonschema](https://github.com/seagreen/hjsonschema)
|
102
|
-
|
103
|
-
### Java ###
|
104
|
-
|
105
|
-
* [json-schema-validator](https://github.com/daveclayton/json-schema-validator)
|
106
|
-
* [everit-org/json-schema](https://github.com/everit-org/json-schema)
|
107
|
-
* [networknt/json-schema-validator](https://github.com/networknt/json-schema-validator)
|
108
|
-
* [Justify](https://github.com/leadpony/justify)
|
109
|
-
|
110
|
-
### JavaScript ###
|
111
|
-
|
112
|
-
* [json-schema-benchmark](https://github.com/Muscula/json-schema-benchmark)
|
113
|
-
* [direct-schema](https://github.com/IreneKnapp/direct-schema)
|
114
|
-
* [is-my-json-valid](https://github.com/mafintosh/is-my-json-valid)
|
115
|
-
* [jassi](https://github.com/iclanzan/jassi)
|
116
|
-
* [JaySchema](https://github.com/natesilva/jayschema)
|
117
|
-
* [json-schema-valid](https://github.com/ericgj/json-schema-valid)
|
118
|
-
* [Jsonary](https://github.com/jsonary-js/jsonary)
|
119
|
-
* [jsonschema](https://github.com/tdegrunt/jsonschema)
|
120
|
-
* [request-validator](https://github.com/bugventure/request-validator)
|
121
|
-
* [skeemas](https://github.com/Prestaul/skeemas)
|
122
|
-
* [tv4](https://github.com/geraintluff/tv4)
|
123
|
-
* [z-schema](https://github.com/zaggino/z-schema)
|
124
|
-
* [jsen](https://github.com/bugventure/jsen)
|
125
|
-
* [ajv](https://github.com/epoberezkin/ajv)
|
126
|
-
* [djv](https://github.com/korzio/djv)
|
127
|
-
|
128
|
-
### Node.js ###
|
129
|
-
|
130
|
-
For node.js developers, the suite is also available as an
|
131
|
-
[npm](https://www.npmjs.com/package/@json-schema-org/tests) package.
|
132
|
-
|
133
|
-
Node-specific support is maintained in a [separate
|
134
|
-
repository](https://github.com/json-schema-org/json-schema-test-suite-npm)
|
135
|
-
which also welcomes your contributions!
|
136
|
-
|
137
|
-
### .NET ###
|
138
|
-
|
139
|
-
* [Newtonsoft.Json.Schema](https://github.com/JamesNK/Newtonsoft.Json.Schema)
|
140
|
-
* [Manatee.Json](https://github.com/gregsdennis/Manatee.Json)
|
141
|
-
|
142
|
-
### PHP ###
|
143
|
-
|
144
|
-
* [json-schema](https://github.com/justinrainbow/json-schema)
|
145
|
-
* [json-guard](https://github.com/thephpleague/json-guard)
|
146
|
-
|
147
|
-
### PostgreSQL ###
|
148
|
-
|
149
|
-
* [postgres-json-schema](https://github.com/gavinwahl/postgres-json-schema)
|
150
|
-
* [is_jsonb_valid](https://github.com/furstenheim/is_jsonb_valid)
|
151
|
-
|
152
|
-
### Python ###
|
153
|
-
|
154
|
-
* [jsonschema](https://github.com/Julian/jsonschema)
|
155
|
-
* [fastjsonschema](https://github.com/seznam/python-fastjsonschema)
|
156
|
-
* [hypothesis-jsonschema](https://github.com/Zac-HD/hypothesis-jsonschema)
|
157
|
-
|
158
|
-
### Ruby ###
|
159
|
-
|
160
|
-
* [json-schema](https://github.com/hoxworth/json-schema)
|
161
|
-
* [json_schemer](https://github.com/davishmcclurg/json_schemer)
|
162
|
-
|
163
|
-
### Rust ###
|
164
|
-
|
165
|
-
* [valico](https://github.com/rustless/valico)
|
166
|
-
|
167
|
-
### Swift ###
|
168
|
-
|
169
|
-
* [JSONSchema](https://github.com/kylef/JSONSchema.swift)
|
170
|
-
|
171
|
-
If you use it as well, please fork and send a pull request adding yourself to
|
172
|
-
the list :).
|
173
|
-
|
174
|
-
Contributing
|
175
|
-
------------
|
176
|
-
|
177
|
-
If you see something missing or incorrect, a pull request is most welcome!
|
178
|
-
|
179
|
-
There are some sanity checks in place for testing the test suite. You can run
|
180
|
-
them with `bin/jsonschema_suite check && npm test` or `tox && npm test`. They will be run automatically by
|
181
|
-
[Travis CI](https://travis-ci.org/) as well.
|