json_schemer 0.2.9 → 0.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +3 -9
  3. data/Gemfile.lock +6 -6
  4. data/json_schemer.gemspec +2 -2
  5. data/lib/json_schemer.rb +2 -0
  6. data/lib/json_schemer/errors.rb +31 -0
  7. data/lib/json_schemer/schema/base.rb +13 -16
  8. data/lib/json_schemer/version.rb +1 -1
  9. metadata +5 -234
  10. data/JSON-Schema-Test-Suite/.gitignore +0 -1
  11. data/JSON-Schema-Test-Suite/.travis.yml +0 -8
  12. data/JSON-Schema-Test-Suite/LICENSE +0 -19
  13. data/JSON-Schema-Test-Suite/README.md +0 -181
  14. data/JSON-Schema-Test-Suite/bin/jsonschema_suite +0 -298
  15. data/JSON-Schema-Test-Suite/index.js +0 -45
  16. data/JSON-Schema-Test-Suite/package.json +0 -28
  17. data/JSON-Schema-Test-Suite/remotes/folder/folderInteger.json +0 -3
  18. data/JSON-Schema-Test-Suite/remotes/integer.json +0 -3
  19. data/JSON-Schema-Test-Suite/remotes/name-defs.json +0 -15
  20. data/JSON-Schema-Test-Suite/remotes/name.json +0 -15
  21. data/JSON-Schema-Test-Suite/remotes/subSchemas.json +0 -8
  22. data/JSON-Schema-Test-Suite/test-schema.json +0 -59
  23. data/JSON-Schema-Test-Suite/tests/draft2019-09/additionalItems.json +0 -87
  24. data/JSON-Schema-Test-Suite/tests/draft2019-09/additionalProperties.json +0 -133
  25. data/JSON-Schema-Test-Suite/tests/draft2019-09/allOf.json +0 -218
  26. data/JSON-Schema-Test-Suite/tests/draft2019-09/anchor.json +0 -87
  27. data/JSON-Schema-Test-Suite/tests/draft2019-09/anyOf.json +0 -189
  28. data/JSON-Schema-Test-Suite/tests/draft2019-09/boolean_schema.json +0 -104
  29. data/JSON-Schema-Test-Suite/tests/draft2019-09/const.json +0 -170
  30. data/JSON-Schema-Test-Suite/tests/draft2019-09/contains.json +0 -95
  31. data/JSON-Schema-Test-Suite/tests/draft2019-09/default.json +0 -49
  32. data/JSON-Schema-Test-Suite/tests/draft2019-09/defs.json +0 -24
  33. data/JSON-Schema-Test-Suite/tests/draft2019-09/dependencies.json +0 -268
  34. data/JSON-Schema-Test-Suite/tests/draft2019-09/enum.json +0 -179
  35. data/JSON-Schema-Test-Suite/tests/draft2019-09/exclusiveMaximum.json +0 -30
  36. data/JSON-Schema-Test-Suite/tests/draft2019-09/exclusiveMinimum.json +0 -30
  37. data/JSON-Schema-Test-Suite/tests/draft2019-09/format.json +0 -614
  38. data/JSON-Schema-Test-Suite/tests/draft2019-09/if-then-else.json +0 -188
  39. data/JSON-Schema-Test-Suite/tests/draft2019-09/items.json +0 -250
  40. data/JSON-Schema-Test-Suite/tests/draft2019-09/maxItems.json +0 -28
  41. data/JSON-Schema-Test-Suite/tests/draft2019-09/maxLength.json +0 -33
  42. data/JSON-Schema-Test-Suite/tests/draft2019-09/maxProperties.json +0 -38
  43. data/JSON-Schema-Test-Suite/tests/draft2019-09/maximum.json +0 -28
  44. data/JSON-Schema-Test-Suite/tests/draft2019-09/minItems.json +0 -28
  45. data/JSON-Schema-Test-Suite/tests/draft2019-09/minLength.json +0 -33
  46. data/JSON-Schema-Test-Suite/tests/draft2019-09/minProperties.json +0 -38
  47. data/JSON-Schema-Test-Suite/tests/draft2019-09/minimum.json +0 -59
  48. data/JSON-Schema-Test-Suite/tests/draft2019-09/multipleOf.json +0 -60
  49. data/JSON-Schema-Test-Suite/tests/draft2019-09/not.json +0 -117
  50. data/JSON-Schema-Test-Suite/tests/draft2019-09/oneOf.json +0 -206
  51. data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/bignum.json +0 -105
  52. data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/content.json +0 -77
  53. data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/ecmascript-regex.json +0 -213
  54. data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/date-time.json +0 -53
  55. data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/date.json +0 -23
  56. data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/email.json +0 -18
  57. data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/hostname.json +0 -33
  58. data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/idn-email.json +0 -18
  59. data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/idn-hostname.json +0 -28
  60. data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/ipv4.json +0 -33
  61. data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/ipv6.json +0 -28
  62. data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/iri-reference.json +0 -43
  63. data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/iri.json +0 -53
  64. data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/json-pointer.json +0 -168
  65. data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/regex.json +0 -18
  66. data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/relative-json-pointer.json +0 -33
  67. data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/time.json +0 -23
  68. data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/uri-reference.json +0 -43
  69. data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/uri-template.json +0 -28
  70. data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/uri.json +0 -103
  71. data/JSON-Schema-Test-Suite/tests/draft2019-09/optional/zeroTerminatedFloats.json +0 -15
  72. data/JSON-Schema-Test-Suite/tests/draft2019-09/pattern.json +0 -34
  73. data/JSON-Schema-Test-Suite/tests/draft2019-09/patternProperties.json +0 -151
  74. data/JSON-Schema-Test-Suite/tests/draft2019-09/properties.json +0 -167
  75. data/JSON-Schema-Test-Suite/tests/draft2019-09/propertyNames.json +0 -78
  76. data/JSON-Schema-Test-Suite/tests/draft2019-09/ref.json +0 -359
  77. data/JSON-Schema-Test-Suite/tests/draft2019-09/refRemote.json +0 -167
  78. data/JSON-Schema-Test-Suite/tests/draft2019-09/required.json +0 -105
  79. data/JSON-Schema-Test-Suite/tests/draft2019-09/type.json +0 -464
  80. data/JSON-Schema-Test-Suite/tests/draft2019-09/uniqueItems.json +0 -173
  81. data/JSON-Schema-Test-Suite/tests/draft3/additionalItems.json +0 -82
  82. data/JSON-Schema-Test-Suite/tests/draft3/additionalProperties.json +0 -133
  83. data/JSON-Schema-Test-Suite/tests/draft3/default.json +0 -49
  84. data/JSON-Schema-Test-Suite/tests/draft3/dependencies.json +0 -118
  85. data/JSON-Schema-Test-Suite/tests/draft3/disallow.json +0 -80
  86. data/JSON-Schema-Test-Suite/tests/draft3/divisibleBy.json +0 -60
  87. data/JSON-Schema-Test-Suite/tests/draft3/enum.json +0 -71
  88. data/JSON-Schema-Test-Suite/tests/draft3/extends.json +0 -94
  89. data/JSON-Schema-Test-Suite/tests/draft3/format.json +0 -362
  90. data/JSON-Schema-Test-Suite/tests/draft3/items.json +0 -46
  91. data/JSON-Schema-Test-Suite/tests/draft3/maxItems.json +0 -28
  92. data/JSON-Schema-Test-Suite/tests/draft3/maxLength.json +0 -33
  93. data/JSON-Schema-Test-Suite/tests/draft3/maximum.json +0 -42
  94. data/JSON-Schema-Test-Suite/tests/draft3/minItems.json +0 -28
  95. data/JSON-Schema-Test-Suite/tests/draft3/minLength.json +0 -33
  96. data/JSON-Schema-Test-Suite/tests/draft3/minimum.json +0 -73
  97. data/JSON-Schema-Test-Suite/tests/draft3/optional/bignum.json +0 -107
  98. data/JSON-Schema-Test-Suite/tests/draft3/optional/ecmascript-regex.json +0 -18
  99. data/JSON-Schema-Test-Suite/tests/draft3/optional/format.json +0 -227
  100. data/JSON-Schema-Test-Suite/tests/draft3/optional/zeroTerminatedFloats.json +0 -15
  101. data/JSON-Schema-Test-Suite/tests/draft3/pattern.json +0 -34
  102. data/JSON-Schema-Test-Suite/tests/draft3/patternProperties.json +0 -115
  103. data/JSON-Schema-Test-Suite/tests/draft3/properties.json +0 -97
  104. data/JSON-Schema-Test-Suite/tests/draft3/ref.json +0 -192
  105. data/JSON-Schema-Test-Suite/tests/draft3/refRemote.json +0 -74
  106. data/JSON-Schema-Test-Suite/tests/draft3/required.json +0 -53
  107. data/JSON-Schema-Test-Suite/tests/draft3/type.json +0 -489
  108. data/JSON-Schema-Test-Suite/tests/draft3/uniqueItems.json +0 -163
  109. data/JSON-Schema-Test-Suite/tests/draft4/additionalItems.json +0 -87
  110. data/JSON-Schema-Test-Suite/tests/draft4/additionalProperties.json +0 -133
  111. data/JSON-Schema-Test-Suite/tests/draft4/allOf.json +0 -185
  112. data/JSON-Schema-Test-Suite/tests/draft4/anyOf.json +0 -156
  113. data/JSON-Schema-Test-Suite/tests/draft4/default.json +0 -49
  114. data/JSON-Schema-Test-Suite/tests/draft4/definitions.json +0 -32
  115. data/JSON-Schema-Test-Suite/tests/draft4/dependencies.json +0 -194
  116. data/JSON-Schema-Test-Suite/tests/draft4/enum.json +0 -179
  117. data/JSON-Schema-Test-Suite/tests/draft4/format.json +0 -218
  118. data/JSON-Schema-Test-Suite/tests/draft4/items.json +0 -195
  119. data/JSON-Schema-Test-Suite/tests/draft4/maxItems.json +0 -28
  120. data/JSON-Schema-Test-Suite/tests/draft4/maxLength.json +0 -33
  121. data/JSON-Schema-Test-Suite/tests/draft4/maxProperties.json +0 -38
  122. data/JSON-Schema-Test-Suite/tests/draft4/maximum.json +0 -73
  123. data/JSON-Schema-Test-Suite/tests/draft4/minItems.json +0 -28
  124. data/JSON-Schema-Test-Suite/tests/draft4/minLength.json +0 -33
  125. data/JSON-Schema-Test-Suite/tests/draft4/minProperties.json +0 -38
  126. data/JSON-Schema-Test-Suite/tests/draft4/minimum.json +0 -104
  127. data/JSON-Schema-Test-Suite/tests/draft4/multipleOf.json +0 -60
  128. data/JSON-Schema-Test-Suite/tests/draft4/not.json +0 -96
  129. data/JSON-Schema-Test-Suite/tests/draft4/oneOf.json +0 -162
  130. data/JSON-Schema-Test-Suite/tests/draft4/optional/bignum.json +0 -107
  131. data/JSON-Schema-Test-Suite/tests/draft4/optional/ecmascript-regex.json +0 -213
  132. data/JSON-Schema-Test-Suite/tests/draft4/optional/format.json +0 -253
  133. data/JSON-Schema-Test-Suite/tests/draft4/optional/zeroTerminatedFloats.json +0 -15
  134. data/JSON-Schema-Test-Suite/tests/draft4/pattern.json +0 -34
  135. data/JSON-Schema-Test-Suite/tests/draft4/patternProperties.json +0 -120
  136. data/JSON-Schema-Test-Suite/tests/draft4/properties.json +0 -136
  137. data/JSON-Schema-Test-Suite/tests/draft4/ref.json +0 -411
  138. data/JSON-Schema-Test-Suite/tests/draft4/refRemote.json +0 -171
  139. data/JSON-Schema-Test-Suite/tests/draft4/required.json +0 -89
  140. data/JSON-Schema-Test-Suite/tests/draft4/type.json +0 -464
  141. data/JSON-Schema-Test-Suite/tests/draft4/uniqueItems.json +0 -173
  142. data/JSON-Schema-Test-Suite/tests/draft6/additionalItems.json +0 -87
  143. data/JSON-Schema-Test-Suite/tests/draft6/additionalProperties.json +0 -133
  144. data/JSON-Schema-Test-Suite/tests/draft6/allOf.json +0 -218
  145. data/JSON-Schema-Test-Suite/tests/draft6/anyOf.json +0 -189
  146. data/JSON-Schema-Test-Suite/tests/draft6/boolean_schema.json +0 -104
  147. data/JSON-Schema-Test-Suite/tests/draft6/const.json +0 -170
  148. data/JSON-Schema-Test-Suite/tests/draft6/contains.json +0 -100
  149. data/JSON-Schema-Test-Suite/tests/draft6/default.json +0 -49
  150. data/JSON-Schema-Test-Suite/tests/draft6/definitions.json +0 -32
  151. data/JSON-Schema-Test-Suite/tests/draft6/dependencies.json +0 -268
  152. data/JSON-Schema-Test-Suite/tests/draft6/enum.json +0 -179
  153. data/JSON-Schema-Test-Suite/tests/draft6/exclusiveMaximum.json +0 -30
  154. data/JSON-Schema-Test-Suite/tests/draft6/exclusiveMinimum.json +0 -30
  155. data/JSON-Schema-Test-Suite/tests/draft6/format.json +0 -326
  156. data/JSON-Schema-Test-Suite/tests/draft6/items.json +0 -250
  157. data/JSON-Schema-Test-Suite/tests/draft6/maxItems.json +0 -28
  158. data/JSON-Schema-Test-Suite/tests/draft6/maxLength.json +0 -33
  159. data/JSON-Schema-Test-Suite/tests/draft6/maxProperties.json +0 -38
  160. data/JSON-Schema-Test-Suite/tests/draft6/maximum.json +0 -28
  161. data/JSON-Schema-Test-Suite/tests/draft6/minItems.json +0 -28
  162. data/JSON-Schema-Test-Suite/tests/draft6/minLength.json +0 -33
  163. data/JSON-Schema-Test-Suite/tests/draft6/minProperties.json +0 -38
  164. data/JSON-Schema-Test-Suite/tests/draft6/minimum.json +0 -59
  165. data/JSON-Schema-Test-Suite/tests/draft6/multipleOf.json +0 -60
  166. data/JSON-Schema-Test-Suite/tests/draft6/not.json +0 -117
  167. data/JSON-Schema-Test-Suite/tests/draft6/oneOf.json +0 -206
  168. data/JSON-Schema-Test-Suite/tests/draft6/optional/bignum.json +0 -105
  169. data/JSON-Schema-Test-Suite/tests/draft6/optional/ecmascript-regex.json +0 -213
  170. data/JSON-Schema-Test-Suite/tests/draft6/optional/format.json +0 -491
  171. data/JSON-Schema-Test-Suite/tests/draft6/optional/zeroTerminatedFloats.json +0 -15
  172. data/JSON-Schema-Test-Suite/tests/draft6/pattern.json +0 -34
  173. data/JSON-Schema-Test-Suite/tests/draft6/patternProperties.json +0 -151
  174. data/JSON-Schema-Test-Suite/tests/draft6/properties.json +0 -167
  175. data/JSON-Schema-Test-Suite/tests/draft6/propertyNames.json +0 -78
  176. data/JSON-Schema-Test-Suite/tests/draft6/ref.json +0 -443
  177. data/JSON-Schema-Test-Suite/tests/draft6/refRemote.json +0 -171
  178. data/JSON-Schema-Test-Suite/tests/draft6/required.json +0 -105
  179. data/JSON-Schema-Test-Suite/tests/draft6/type.json +0 -464
  180. data/JSON-Schema-Test-Suite/tests/draft6/uniqueItems.json +0 -173
  181. data/JSON-Schema-Test-Suite/tests/draft7/additionalItems.json +0 -87
  182. data/JSON-Schema-Test-Suite/tests/draft7/additionalProperties.json +0 -133
  183. data/JSON-Schema-Test-Suite/tests/draft7/allOf.json +0 -218
  184. data/JSON-Schema-Test-Suite/tests/draft7/anyOf.json +0 -189
  185. data/JSON-Schema-Test-Suite/tests/draft7/boolean_schema.json +0 -104
  186. data/JSON-Schema-Test-Suite/tests/draft7/const.json +0 -170
  187. data/JSON-Schema-Test-Suite/tests/draft7/contains.json +0 -100
  188. data/JSON-Schema-Test-Suite/tests/draft7/default.json +0 -49
  189. data/JSON-Schema-Test-Suite/tests/draft7/definitions.json +0 -32
  190. data/JSON-Schema-Test-Suite/tests/draft7/dependencies.json +0 -268
  191. data/JSON-Schema-Test-Suite/tests/draft7/enum.json +0 -179
  192. data/JSON-Schema-Test-Suite/tests/draft7/exclusiveMaximum.json +0 -30
  193. data/JSON-Schema-Test-Suite/tests/draft7/exclusiveMinimum.json +0 -30
  194. data/JSON-Schema-Test-Suite/tests/draft7/format.json +0 -614
  195. data/JSON-Schema-Test-Suite/tests/draft7/if-then-else.json +0 -188
  196. data/JSON-Schema-Test-Suite/tests/draft7/items.json +0 -250
  197. data/JSON-Schema-Test-Suite/tests/draft7/maxItems.json +0 -28
  198. data/JSON-Schema-Test-Suite/tests/draft7/maxLength.json +0 -33
  199. data/JSON-Schema-Test-Suite/tests/draft7/maxProperties.json +0 -38
  200. data/JSON-Schema-Test-Suite/tests/draft7/maximum.json +0 -28
  201. data/JSON-Schema-Test-Suite/tests/draft7/minItems.json +0 -28
  202. data/JSON-Schema-Test-Suite/tests/draft7/minLength.json +0 -33
  203. data/JSON-Schema-Test-Suite/tests/draft7/minProperties.json +0 -38
  204. data/JSON-Schema-Test-Suite/tests/draft7/minimum.json +0 -59
  205. data/JSON-Schema-Test-Suite/tests/draft7/multipleOf.json +0 -60
  206. data/JSON-Schema-Test-Suite/tests/draft7/not.json +0 -117
  207. data/JSON-Schema-Test-Suite/tests/draft7/oneOf.json +0 -206
  208. data/JSON-Schema-Test-Suite/tests/draft7/optional/bignum.json +0 -105
  209. data/JSON-Schema-Test-Suite/tests/draft7/optional/content.json +0 -77
  210. data/JSON-Schema-Test-Suite/tests/draft7/optional/ecmascript-regex.json +0 -213
  211. data/JSON-Schema-Test-Suite/tests/draft7/optional/format/date-time.json +0 -53
  212. data/JSON-Schema-Test-Suite/tests/draft7/optional/format/date.json +0 -23
  213. data/JSON-Schema-Test-Suite/tests/draft7/optional/format/email.json +0 -18
  214. data/JSON-Schema-Test-Suite/tests/draft7/optional/format/hostname.json +0 -33
  215. data/JSON-Schema-Test-Suite/tests/draft7/optional/format/idn-email.json +0 -18
  216. data/JSON-Schema-Test-Suite/tests/draft7/optional/format/idn-hostname.json +0 -28
  217. data/JSON-Schema-Test-Suite/tests/draft7/optional/format/ipv4.json +0 -33
  218. data/JSON-Schema-Test-Suite/tests/draft7/optional/format/ipv6.json +0 -28
  219. data/JSON-Schema-Test-Suite/tests/draft7/optional/format/iri-reference.json +0 -43
  220. data/JSON-Schema-Test-Suite/tests/draft7/optional/format/iri.json +0 -53
  221. data/JSON-Schema-Test-Suite/tests/draft7/optional/format/json-pointer.json +0 -168
  222. data/JSON-Schema-Test-Suite/tests/draft7/optional/format/regex.json +0 -18
  223. data/JSON-Schema-Test-Suite/tests/draft7/optional/format/relative-json-pointer.json +0 -33
  224. data/JSON-Schema-Test-Suite/tests/draft7/optional/format/time.json +0 -23
  225. data/JSON-Schema-Test-Suite/tests/draft7/optional/format/uri-reference.json +0 -43
  226. data/JSON-Schema-Test-Suite/tests/draft7/optional/format/uri-template.json +0 -28
  227. data/JSON-Schema-Test-Suite/tests/draft7/optional/format/uri.json +0 -103
  228. data/JSON-Schema-Test-Suite/tests/draft7/optional/zeroTerminatedFloats.json +0 -15
  229. data/JSON-Schema-Test-Suite/tests/draft7/pattern.json +0 -34
  230. data/JSON-Schema-Test-Suite/tests/draft7/patternProperties.json +0 -151
  231. data/JSON-Schema-Test-Suite/tests/draft7/properties.json +0 -167
  232. data/JSON-Schema-Test-Suite/tests/draft7/propertyNames.json +0 -78
  233. data/JSON-Schema-Test-Suite/tests/draft7/ref.json +0 -443
  234. data/JSON-Schema-Test-Suite/tests/draft7/refRemote.json +0 -171
  235. data/JSON-Schema-Test-Suite/tests/draft7/required.json +0 -105
  236. data/JSON-Schema-Test-Suite/tests/draft7/type.json +0 -464
  237. data/JSON-Schema-Test-Suite/tests/draft7/uniqueItems.json +0 -173
  238. data/JSON-Schema-Test-Suite/tests/latest +0 -1
  239. data/JSON-Schema-Test-Suite/tox.ini +0 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6849b76f5d056da509ff2cf6961f8727d84fd00e4f0dd8c8e843cb4efaa5dbb1
4
- data.tar.gz: 28a1573883545ffe2cf48cf5d80f0ea76c357556d9373e286a92d545f3f50afe
3
+ metadata.gz: 7cecb91727873d8e1a7ff2351c3405bbe888d609830f2223eb1e4d33073c0831
4
+ data.tar.gz: a363562768cac825d339c9cb188d49f60ff0dc325f4e21cc84ee5384d2b1244a
5
5
  SHA512:
6
- metadata.gz: 19a38974481d9f13512bb9d2df317b0529cd25171e298019eeb6ab216e535b1c4ab15f196f8ab94b86825818df87d2b5d5498dc92077658a3920e30398d44003
7
- data.tar.gz: 0bbebb72912b7ce4686699941b4ade4f734f1b728cb94a20a8a320f4b23a0950d047b7068ebcdc61ee81304e534989eb91113ed35e378a6f49426444e15b0517
6
+ metadata.gz: 6d0a060a13b5c2596d7c60f6c701f46d5cdb9c9e545737e76486f5228945544b2c6b5e01a47f826c9c508993df801e1314ee330c8a3cf6d7f701f7f6b2c526d6
7
+ data.tar.gz: d49827287d183c83ade04e2fc817687445c1754d60a101cec79e97c26780b513994c47ca097bcfb4b05daf2b82c706200200272e45f3f30b66f06cb19e73e00e
@@ -4,19 +4,13 @@ jobs:
4
4
  ruby:
5
5
  strategy:
6
6
  matrix:
7
- ruby: [2.4.x, 2.5.x, 2.6.x]
7
+ ruby: [2.4, 2.5, 2.6, 2.7, truffleruby-head]
8
8
  runs-on: ubuntu-latest
9
9
  steps:
10
- - uses: actions/checkout@v1
11
- - uses: actions/setup-ruby@v1
10
+ - uses: actions/checkout@v2
11
+ - uses: ruby/setup-ruby@v1
12
12
  with:
13
13
  ruby-version: ${{ matrix.ruby }}
14
- - uses: actions/setup-python@v1
15
- with:
16
- python-version: 3.x
17
14
  - run: |
18
- pip install --user Flask
19
- ./JSON-Schema-Test-Suite/bin/jsonschema_suite serve &
20
- gem install bundler
21
15
  bundle install
22
16
  bundle exec rake test
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- json_schemer (0.2.9)
4
+ json_schemer (0.2.14)
5
5
  ecma-re-validator (~> 0.2)
6
6
  hana (~> 1.3)
7
7
  regexp_parser (~> 1.5)
@@ -10,12 +10,12 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- ecma-re-validator (0.2.0)
13
+ ecma-re-validator (0.2.1)
14
14
  regexp_parser (~> 1.2)
15
- hana (1.3.5)
15
+ hana (1.3.6)
16
16
  minitest (5.11.3)
17
- rake (10.5.0)
18
- regexp_parser (1.6.0)
17
+ rake (13.0.1)
18
+ regexp_parser (1.8.1)
19
19
  uri_template (0.7.0)
20
20
 
21
21
  PLATFORMS
@@ -25,7 +25,7 @@ DEPENDENCIES
25
25
  bundler (~> 2.0)
26
26
  json_schemer!
27
27
  minitest (~> 5.0)
28
- rake (~> 10.0)
28
+ rake (~> 13.0)
29
29
 
30
30
  BUNDLED WITH
31
31
  2.1.4
@@ -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) }
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.required_ruby_version = '~> 2.4'
24
24
 
25
25
  spec.add_development_dependency "bundler", "~> 2.0"
26
- spec.add_development_dependency "rake", "~> 10.0"
26
+ spec.add_development_dependency "rake", "~> 13.0"
27
27
  spec.add_development_dependency "minitest", "~> 5.0"
28
28
 
29
29
  # spec.add_development_dependency "benchmark-ips", "~> 2.7.2"
@@ -14,6 +14,7 @@ require 'uri_template'
14
14
 
15
15
  require 'json_schemer/version'
16
16
  require 'json_schemer/format'
17
+ require 'json_schemer/errors'
17
18
  require 'json_schemer/cached_ref_resolver'
18
19
  require 'json_schemer/schema/base'
19
20
  require 'json_schemer/schema/draft4'
@@ -28,6 +29,7 @@ module JSONSchemer
28
29
  class InvalidSymbolKey < StandardError; end
29
30
 
30
31
  DRAFT_CLASS_BY_META_SCHEMA = {
32
+ 'http://json-schema.org/schema#' => Schema::Draft4, # Version-less $schema deprecated after Draft 4
31
33
  'http://json-schema.org/draft-04/schema#' => Schema::Draft4,
32
34
  'http://json-schema.org/draft-06/schema#' => Schema::Draft6,
33
35
  'http://json-schema.org/draft-07/schema#' => Schema::Draft7
@@ -0,0 +1,31 @@
1
+ # Based on code from @robacarp found in issue 48:
2
+ # https://github.com/davishmcclurg/json_schemer/issues/48
3
+ #
4
+ module JSONSchemer
5
+ module Errors
6
+ class << self
7
+ def pretty(error)
8
+ data_pointer, type, schema = error.values_at('data_pointer', 'type', 'schema')
9
+ location = data_pointer.empty? ? 'root' : "property '#{data_pointer}'"
10
+
11
+ case type
12
+ when 'required'
13
+ keys = error.fetch('details').fetch('missing_keys').join(', ')
14
+ "#{location} is missing required keys: #{keys}"
15
+ when 'null', 'string', 'boolean', 'integer', 'number', 'array', 'object'
16
+ "#{location} is not of type: #{type}"
17
+ when 'pattern'
18
+ "#{location} does not match pattern: #{schema.fetch('pattern')}"
19
+ when 'format'
20
+ "#{location} does not match format: #{schema.fetch('format')}"
21
+ when 'const'
22
+ "#{location} is not: #{schema.fetch('const').inspect}"
23
+ when 'enum'
24
+ "#{location} is not one of: #{schema.fetch('enum')}"
25
+ else
26
+ "#{location} is invalid: error_type=#{type}"
27
+ end
28
+ end
29
+ end
30
+ end
31
+ end
@@ -568,12 +568,10 @@ module JSONSchemer
568
568
  end
569
569
 
570
570
  def safe_strict_decode64(data)
571
- begin
572
- Base64.strict_decode64(data)
573
- rescue ArgumentError => e
574
- raise e unless e.message == 'invalid base64'
575
- nil
576
- end
571
+ Base64.strict_decode64(data)
572
+ rescue ArgumentError => e
573
+ raise e unless e.message == 'invalid base64'
574
+ nil
577
575
  end
578
576
 
579
577
  def ecma_262_regex(pattern)
@@ -615,16 +613,15 @@ module JSONSchemer
615
613
  if schema.is_a?(Array)
616
614
  schema.each_with_index { |subschema, index| resolve_ids(subschema, ids, parent_uri, "#{pointer}/#{index}") }
617
615
  elsif schema.is_a?(Hash)
618
- id = schema[id_keyword]
619
- uri = join_uri(parent_uri, id)
620
- unless uri == parent_uri
621
- ids[uri.to_s] = {
622
- schema: schema,
623
- pointer: pointer
624
- }
625
- end
626
- if definitions = schema['definitions']
627
- definitions.each { |key, subschema| resolve_ids(subschema, ids, uri, "#{pointer}/definitions/#{key}") }
616
+ uri = join_uri(parent_uri, schema[id_keyword])
617
+ schema.each do |key, value|
618
+ if key == id_keyword && uri != parent_uri
619
+ ids[uri.to_s] = {
620
+ schema: schema,
621
+ pointer: pointer
622
+ }
623
+ end
624
+ resolve_ids(value, ids, uri, "#{pointer}/#{key}")
628
625
  end
629
626
  end
630
627
  ids
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module JSONSchemer
3
- VERSION = '0.2.9'
3
+ VERSION = '0.2.14'
4
4
  end
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.9
4
+ version: 0.2.14
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-01 00:00:00.000000000 Z
11
+ date: 2020-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '13.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '13.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -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
@@ -357,6 +127,7 @@ files:
357
127
  - json_schemer.gemspec
358
128
  - lib/json_schemer.rb
359
129
  - lib/json_schemer/cached_ref_resolver.rb
130
+ - lib/json_schemer/errors.rb
360
131
  - lib/json_schemer/format.rb
361
132
  - lib/json_schemer/schema/base.rb
362
133
  - lib/json_schemer/schema/draft4.rb