Debian Codegraph @

mysql-test/suite/x/r/admin_collection_metaschema_validation.result

raw
1 create schema xtest default charset 'utf8mb4';
2
3
4 ## I. Test validation of a user provided schema encoded as
5 ## protobuf.string and a Datatypes.Object
6 #
7 # 1. Unknown property.
8 # 2. Mismatch "id" property type.
9 # 3. Mismatch "schema" property type.
10 # 4. Mismatch "title" property type.
11 # 5. Mismatch "description" property type.
12 # 6. Mismatch "multipleOf" property type.
13 # 7. Wrong "multipleOf" property value.
14 # 8. Mismatch "maximum" property type.
15 # 9. Mismatch "exclusiveMaximum" property type.
16 # 10. Mismatch "minimum" property type.
17 # 11. Mismatch "exclusiveminimum" property type.
18 # 12. Mismatch "maxLength" property type.
19 # 13. Wrong "maxLength" property value.
20 # 14. Mismatch "minLength" property type.
21 # 15. Wrong "minLength" property value.
22 # 16. Mismatch "pattern" property type.
23 # 17. Mismatch "additionalItems" property type.
24 # 18. Invalid schema contained in the "additionalItems" property.
25 # 19. Empty "items" properties array.
26 # 20. "items" properties containing invalid schema.
27 # 21. "items" properties array containing invalid schema.
28 # 22. Mismatch "maxItems" properties type.
29 # 23. Wrong "maxItems" properties value.
30 # 24. Mismatch "minItems" properties type.
31 # 25. Wrong "minItems" properties value.
32 # 26. Mismatch "uniqueItems" properties type.
33 # 27. Mismatch "maxProperties" properties type.
34 # 28. Wrong "maxProperties" properties value.
35 # 29. Mismatch "minProperties" properties type.
36 # 30. Wrong "minProperties" properties value.
37 # 31. Mismatch "required" properties type.
38 # 32. Empty "required" property field.
39 # 33. "required" property field containing an array of invalid types.
40 # 34. "required" properties array containing non-unique items.
41 # 35. Mismatch "additionalProperties" property type.
42 # 36. Invalid schema in the "additionalProperties" property field.
43 # 37. Mismatch "definitions" property type.
44 # 38. "definitions" property containing an invalid schema.
45 # 39. Mismatch "properties" property type.
46 # 40. "properties" property containing an invalid schema.
47 # 41. Mismatch "patternProperties" property type.
48 # 42. "patternProperties" property containing an invalid schema.
49 # 43. Mismatch "dependencies" property type.
50 # 44. "dependencies" properties containing an invalid schema.
51 # 45. "dependencies" properties containing an empty array.
52 # 46. "dependencies" properties containing an array of invalid types.
53 # 47. "dependencies" properties containing an array of a non-unique types.
54 # 48. Mismatch "enum" property type.
55 # 49. Empty "enum" properties array.
56 # 50. Non-unique values in the "enum" property array.
57 # 51. Mismatch "type" property type.
58 # 52. Invalid type in "type" properties array.
59 # 53. Empty "type" properties array.
60 # 54. Non-unique "type" properties array.
61 # 55. Mismatch "format" property type.
62 # 56. Mismatch "allOf" property type.
63 # 57. Empty "allOf" properties array.
64 # 58. Invalid schema in the "allOf" properties array.
65 # 59. Mismatch "anyOf" property type.
66 # 60. Empty "anyOf" properties array.
67 # 61. Invalid schema in the "anyOf" properties array.
68 # 62. Mismatch "oneOf" property type.
69 # 63. Empty "oneOf" properties array.
70 # 64. Invalid schema in the "oneOf" properties array.
71 # 65. Invalid schema as the "not" property value.
72
73 #
74 # I.1
75 Got expected error: JSON validation schema location #/unknown failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
76 Got expected error: JSON validation schema location #/unknown failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
77
78 #
79 # I.2
80 Got expected error: JSON validation schema location #/id failed requirement: 'type' at meta schema location '#/properties/id' (code 5182)
81 Got expected error: JSON validation schema location #/id failed requirement: 'type' at meta schema location '#/properties/id' (code 5182)
82
83 #
84 # I.3
85 Got expected error: JSON validation schema location #/%24schema failed requirement: 'type' at meta schema location '#/properties/%24schema' (code 5182)
86 Got expected error: JSON validation schema location #/%24schema failed requirement: 'type' at meta schema location '#/properties/%24schema' (code 5182)
87
88 #
89 # I.4
90 Got expected error: JSON validation schema location #/title failed requirement: 'type' at meta schema location '#/properties/title' (code 5182)
91 Got expected error: JSON validation schema location #/title failed requirement: 'type' at meta schema location '#/properties/title' (code 5182)
92
93 #
94 # I.5
95 Got expected error: JSON validation schema location #/description failed requirement: 'type' at meta schema location '#/properties/description' (code 5182)
96 Got expected error: JSON validation schema location #/description failed requirement: 'type' at meta schema location '#/properties/description' (code 5182)
97
98 #
99 # I.6
100 Got expected error: JSON validation schema location #/multipleOf failed requirement: 'type' at meta schema location '#/properties/multipleOf' (code 5182)
101 Got expected error: JSON validation schema location #/multipleOf failed requirement: 'type' at meta schema location '#/properties/multipleOf' (code 5182)
102
103 #
104 # I.7
105 Got expected error: JSON validation schema location #/multipleOf failed requirement: 'minimum' at meta schema location '#/properties/multipleOf' (code 5182)
106 Got expected error: JSON validation schema location #/multipleOf failed requirement: 'minimum' at meta schema location '#/properties/multipleOf' (code 5182)
107
108 #
109 # I.8
110 Got expected error: JSON validation schema location #/maximum failed requirement: 'type' at meta schema location '#/properties/maximum' (code 5182)
111 Got expected error: JSON validation schema location #/maximum failed requirement: 'type' at meta schema location '#/properties/maximum' (code 5182)
112
113 #
114 # I.9
115 Got expected error: JSON validation schema location #/exclusiveMaximum failed requirement: 'type' at meta schema location '#/properties/exclusiveMaximum' (code 5182)
116 Got expected error: JSON validation schema location #/exclusiveMaximum failed requirement: 'type' at meta schema location '#/properties/exclusiveMaximum' (code 5182)
117
118 #
119 # I.10
120 Got expected error: JSON validation schema location #/minimum failed requirement: 'type' at meta schema location '#/properties/minimum' (code 5182)
121 Got expected error: JSON validation schema location #/minimum failed requirement: 'type' at meta schema location '#/properties/minimum' (code 5182)
122
123 #
124 # I.11
125 Got expected error: JSON validation schema location #/exclusiveMinimum failed requirement: 'type' at meta schema location '#/properties/exclusiveMinimum' (code 5182)
126 Got expected error: JSON validation schema location #/exclusiveMinimum failed requirement: 'type' at meta schema location '#/properties/exclusiveMinimum' (code 5182)
127
128 #
129 # I.12
130 Got expected error: JSON validation schema location #/maxLength failed requirement: 'type' at meta schema location '#/definitions/positiveInteger' (code 5182)
131 Got expected error: JSON validation schema location #/maxLength failed requirement: 'type' at meta schema location '#/definitions/positiveInteger' (code 5182)
132
133 #
134 # I.13
135 Got expected error: JSON validation schema location #/maxLength failed requirement: 'minimum' at meta schema location '#/definitions/positiveInteger' (code 5182)
136 Got expected error: JSON validation schema location #/maxLength failed requirement: 'minimum' at meta schema location '#/definitions/positiveInteger' (code 5182)
137
138 #
139 # I.14
140 Got expected error: JSON validation schema location #/minLength failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
141 Got expected error: JSON validation schema location #/minLength failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
142
143 #
144 # I.15
145 Got expected error: JSON validation schema location #/minLength failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
146 Got expected error: JSON validation schema location #/minLength failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
147
148 #
149 # I.16
150 Got expected error: JSON validation schema location #/pattern failed requirement: 'type' at meta schema location '#/properties/pattern' (code 5182)
151 Got expected error: JSON validation schema location #/pattern failed requirement: 'type' at meta schema location '#/properties/pattern' (code 5182)
152
153 #
154 # I.17
155 Got expected error: JSON validation schema location #/additionalItems failed requirement: 'anyOf' at meta schema location '#/properties/additionalItems' (code 5182)
156 Got expected error: JSON validation schema location #/additionalItems failed requirement: 'anyOf' at meta schema location '#/properties/additionalItems' (code 5182)
157
158 #
159 # I.18
160 Got expected error: JSON validation schema location #/additionalItems failed requirement: 'anyOf' at meta schema location '#/properties/additionalItems' (code 5182)
161 Got expected error: JSON validation schema location #/additionalItems failed requirement: 'anyOf' at meta schema location '#/properties/additionalItems' (code 5182)
162
163 #
164 # I.19
165 Got expected error: JSON validation schema location #/items failed requirement: 'anyOf' at meta schema location '#/properties/items' (code 5182)
166 Got expected error: JSON validation schema location #/items failed requirement: 'anyOf' at meta schema location '#/properties/items' (code 5182)
167
168 #
169 # I.20
170 Got expected error: JSON validation schema location #/items failed requirement: 'anyOf' at meta schema location '#/properties/items' (code 5182)
171 Got expected error: JSON validation schema location #/items failed requirement: 'anyOf' at meta schema location '#/properties/items' (code 5182)
172
173 #
174 # I.21
175 Got expected error: JSON validation schema location #/items failed requirement: 'anyOf' at meta schema location '#/properties/items' (code 5182)
176 Got expected error: JSON validation schema location #/items failed requirement: 'anyOf' at meta schema location '#/properties/items' (code 5182)
177
178 #
179 # I.22
180 Got expected error: JSON validation schema location #/maxItems failed requirement: 'type' at meta schema location '#/definitions/positiveInteger' (code 5182)
181 Got expected error: JSON validation schema location #/maxItems failed requirement: 'type' at meta schema location '#/definitions/positiveInteger' (code 5182)
182
183 #
184 # I.23
185 Got expected error: JSON validation schema location #/maxItems failed requirement: 'minimum' at meta schema location '#/definitions/positiveInteger' (code 5182)
186 Got expected error: JSON validation schema location #/maxItems failed requirement: 'minimum' at meta schema location '#/definitions/positiveInteger' (code 5182)
187
188 #
189 # I.24
190 Got expected error: JSON validation schema location #/minItems failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
191 Got expected error: JSON validation schema location #/minItems failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
192
193 #
194 # I.25
195 Got expected error: JSON validation schema location #/minItems failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
196 Got expected error: JSON validation schema location #/minItems failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
197
198 #
199 # I.26
200 Got expected error: JSON validation schema location #/uniqueItems failed requirement: 'type' at meta schema location '#/properties/uniqueItems' (code 5182)
201 Got expected error: JSON validation schema location #/uniqueItems failed requirement: 'type' at meta schema location '#/properties/uniqueItems' (code 5182)
202
203 #
204 # I.27
205 Got expected error: JSON validation schema location #/maxProperties failed requirement: 'type' at meta schema location '#/definitions/positiveInteger' (code 5182)
206 Got expected error: JSON validation schema location #/maxProperties failed requirement: 'type' at meta schema location '#/definitions/positiveInteger' (code 5182)
207
208 #
209 # I.28
210 Got expected error: JSON validation schema location #/maxProperties failed requirement: 'minimum' at meta schema location '#/definitions/positiveInteger' (code 5182)
211 Got expected error: JSON validation schema location #/maxProperties failed requirement: 'minimum' at meta schema location '#/definitions/positiveInteger' (code 5182)
212
213 #
214 # I.29
215 Got expected error: JSON validation schema location #/minProperties failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
216 Got expected error: JSON validation schema location #/minProperties failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
217
218 #
219 # I.30
220 Got expected error: JSON validation schema location #/minProperties failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
221 Got expected error: JSON validation schema location #/minProperties failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
222
223 #
224 # I.31
225 Got expected error: JSON validation schema location #/required failed requirement: 'type' at meta schema location '#/definitions/stringArray' (code 5182)
226 Got expected error: JSON validation schema location #/required failed requirement: 'type' at meta schema location '#/definitions/stringArray' (code 5182)
227
228 #
229 # I.32
230 Got expected error: JSON validation schema location #/required failed requirement: 'minItems' at meta schema location '#/definitions/stringArray' (code 5182)
231 Got expected error: JSON validation schema location #/required failed requirement: 'minItems' at meta schema location '#/definitions/stringArray' (code 5182)
232
233 #
234 # I.33
235 Got expected error: JSON validation schema location #/required/0 failed requirement: 'type' at meta schema location '#/definitions/stringArray/items' (code 5182)
236 Got expected error: JSON validation schema location #/required/0 failed requirement: 'type' at meta schema location '#/definitions/stringArray/items' (code 5182)
237
238 #
239 # I.34
240 Got expected error: JSON validation schema location #/required/1 failed requirement: 'uniqueItems' at meta schema location '#/definitions/stringArray' (code 5182)
241 Got expected error: JSON validation schema location #/required/1 failed requirement: 'uniqueItems' at meta schema location '#/definitions/stringArray' (code 5182)
242
243 #
244 # I.35
245 Got expected error: JSON validation schema location #/additionalProperties failed requirement: 'anyOf' at meta schema location '#/properties/additionalProperties' (code 5182)
246 Got expected error: JSON validation schema location #/additionalProperties failed requirement: 'anyOf' at meta schema location '#/properties/additionalProperties' (code 5182)
247
248 #
249 # I.36
250 Got expected error: JSON validation schema location #/additionalProperties failed requirement: 'anyOf' at meta schema location '#/properties/additionalProperties' (code 5182)
251 Got expected error: JSON validation schema location #/additionalProperties failed requirement: 'anyOf' at meta schema location '#/properties/additionalProperties' (code 5182)
252
253 #
254 # I.37
255 Got expected error: JSON validation schema location #/definitions failed requirement: 'type' at meta schema location '#/properties/definitions' (code 5182)
256 Got expected error: JSON validation schema location #/definitions failed requirement: 'type' at meta schema location '#/properties/definitions' (code 5182)
257
258 #
259 # I.38
260 Got expected error: JSON validation schema location #/definitions/def/invalid failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
261 Got expected error: JSON validation schema location #/definitions/def/invalid failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
262
263 #
264 # I.39
265 Got expected error: JSON validation schema location #/properties failed requirement: 'type' at meta schema location '#/properties/properties' (code 5182)
266 Got expected error: JSON validation schema location #/properties failed requirement: 'type' at meta schema location '#/properties/properties' (code 5182)
267
268 #
269 # I.40
270 Got expected error: JSON validation schema location #/properties/def/invalid failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
271 Got expected error: JSON validation schema location #/properties/def/invalid failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
272
273 #
274 # I.41
275 Got expected error: JSON validation schema location #/patternProperties failed requirement: 'type' at meta schema location '#/properties/patternProperties' (code 5182)
276 Got expected error: JSON validation schema location #/patternProperties failed requirement: 'type' at meta schema location '#/properties/patternProperties' (code 5182)
277
278 #
279 # I.42
280 Got expected error: JSON validation schema location #/patternProperties/def/invalid failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
281 Got expected error: JSON validation schema location #/patternProperties/def/invalid failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
282
283 #
284 # I.43
285 Got expected error: JSON validation schema location #/dependencies failed requirement: 'type' at meta schema location '#/properties/dependencies' (code 5182)
286 Got expected error: JSON validation schema location #/dependencies failed requirement: 'type' at meta schema location '#/properties/dependencies' (code 5182)
287
288 #
289 # I.44
290 Got expected error: JSON validation schema location #/dependencies/unknown failed requirement: 'anyOf' at meta schema location '#/properties/dependencies/additionalProperties' (code 5182)
291 Got expected error: JSON validation schema location #/dependencies/unknown failed requirement: 'anyOf' at meta schema location '#/properties/dependencies/additionalProperties' (code 5182)
292
293 #
294 # I.45
295 Got expected error: JSON validation schema location #/dependencies failed requirement: 'type' at meta schema location '#/properties/dependencies' (code 5182)
296 Got expected error: JSON validation schema location #/dependencies failed requirement: 'type' at meta schema location '#/properties/dependencies' (code 5182)
297
298 #
299 # I.46
300 Got expected error: JSON validation schema location #/dependencies failed requirement: 'type' at meta schema location '#/properties/dependencies' (code 5182)
301 Got expected error: JSON validation schema location #/dependencies failed requirement: 'type' at meta schema location '#/properties/dependencies' (code 5182)
302
303 #
304 # I.47
305 Got expected error: JSON validation schema location #/dependencies failed requirement: 'type' at meta schema location '#/properties/dependencies' (code 5182)
306 Got expected error: JSON validation schema location #/dependencies failed requirement: 'type' at meta schema location '#/properties/dependencies' (code 5182)
307
308 #
309 # I.48
310 Got expected error: JSON validation schema location #/enum failed requirement: 'type' at meta schema location '#/properties/enum' (code 5182)
311 Got expected error: JSON validation schema location #/enum failed requirement: 'type' at meta schema location '#/properties/enum' (code 5182)
312
313 #
314 # I.49
315 Got expected error: JSON validation schema location #/enum failed requirement: 'minItems' at meta schema location '#/properties/enum' (code 5182)
316 Got expected error: JSON validation schema location #/enum failed requirement: 'minItems' at meta schema location '#/properties/enum' (code 5182)
317
318 #
319 # I.50
320 Got expected error: JSON validation schema location #/enum/1 failed requirement: 'uniqueItems' at meta schema location '#/properties/enum' (code 5182)
321 Got expected error: JSON validation schema location #/enum/1 failed requirement: 'uniqueItems' at meta schema location '#/properties/enum' (code 5182)
322
323 #
324 # I.51
325 Got expected error: JSON validation schema location #/type failed requirement: 'anyOf' at meta schema location '#/properties/type' (code 5182)
326 Got expected error: JSON validation schema location #/type failed requirement: 'anyOf' at meta schema location '#/properties/type' (code 5182)
327
328 #
329 # I.52
330 Got expected error: JSON validation schema location #/type failed requirement: 'anyOf' at meta schema location '#/properties/type' (code 5182)
331 Got expected error: JSON validation schema location #/type failed requirement: 'anyOf' at meta schema location '#/properties/type' (code 5182)
332
333 #
334 # I.53
335 Got expected error: JSON validation schema location #/type failed requirement: 'anyOf' at meta schema location '#/properties/type' (code 5182)
336 Got expected error: JSON validation schema location #/type failed requirement: 'anyOf' at meta schema location '#/properties/type' (code 5182)
337
338 #
339 # I.54
340 Got expected error: JSON validation schema location #/type failed requirement: 'anyOf' at meta schema location '#/properties/type' (code 5182)
341 Got expected error: JSON validation schema location #/type failed requirement: 'anyOf' at meta schema location '#/properties/type' (code 5182)
342
343 #
344 # I.55
345 Got expected error: JSON validation schema location #/format failed requirement: 'type' at meta schema location '#/properties/format' (code 5182)
346 Got expected error: JSON validation schema location #/format failed requirement: 'type' at meta schema location '#/properties/format' (code 5182)
347
348 #
349 # I.56
350 Got expected error: JSON validation schema location #/allOf failed requirement: 'type' at meta schema location '#/definitions/schemaArray' (code 5182)
351 Got expected error: JSON validation schema location #/allOf failed requirement: 'type' at meta schema location '#/definitions/schemaArray' (code 5182)
352
353 #
354 # I.57
355 Got expected error: JSON validation schema location #/allOf failed requirement: 'minItems' at meta schema location '#/definitions/schemaArray' (code 5182)
356 Got expected error: JSON validation schema location #/allOf failed requirement: 'minItems' at meta schema location '#/definitions/schemaArray' (code 5182)
357
358 #
359 # I.58
360 Got expected error: JSON validation schema location #/allOf/0/unknown failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
361 Got expected error: JSON validation schema location #/allOf/0/unknown failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
362
363 #
364 # I.59
365 Got expected error: JSON validation schema location #/anyOf failed requirement: 'type' at meta schema location '#/definitions/schemaArray' (code 5182)
366 Got expected error: JSON validation schema location #/anyOf failed requirement: 'type' at meta schema location '#/definitions/schemaArray' (code 5182)
367
368 #
369 # I.60
370 Got expected error: JSON validation schema location #/anyOf failed requirement: 'minItems' at meta schema location '#/definitions/schemaArray' (code 5182)
371 Got expected error: JSON validation schema location #/anyOf failed requirement: 'minItems' at meta schema location '#/definitions/schemaArray' (code 5182)
372
373 #
374 # I.61
375 Got expected error: JSON validation schema location #/anyOf/0/unknown failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
376 Got expected error: JSON validation schema location #/anyOf/0/unknown failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
377
378 #
379 # I.62
380 Got expected error: JSON validation schema location #/oneOf failed requirement: 'type' at meta schema location '#/definitions/schemaArray' (code 5182)
381 Got expected error: JSON validation schema location #/oneOf failed requirement: 'type' at meta schema location '#/definitions/schemaArray' (code 5182)
382
383 #
384 # I.63
385 Got expected error: JSON validation schema location #/oneOf failed requirement: 'minItems' at meta schema location '#/definitions/schemaArray' (code 5182)
386 Got expected error: JSON validation schema location #/oneOf failed requirement: 'minItems' at meta schema location '#/definitions/schemaArray' (code 5182)
387
388 #
389 # I.64
390 Got expected error: JSON validation schema location #/oneOf/0/unknown failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
391 Got expected error: JSON validation schema location #/oneOf/0/unknown failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
392
393 #
394 # I.65
395 Got expected error: JSON validation schema location #/not failed requirement: 'type' at meta schema location '#' (code 5182)
396 Got expected error: JSON validation schema location #/not failed requirement: 'type' at meta schema location '#' (code 5182)
397 Mysqlx.Ok {
398 msg: "bye!"
399 }
400 ok
401
402
403 ## I. Test validation of a user provided schema encoded as
404 ## protobuf.string and a Datatypes.Object
405 #
406 # 1. Unknown property.
407 # 2. Mismatch "id" property type.
408 # 3. Mismatch "schema" property type.
409 # 4. Mismatch "title" property type.
410 # 5. Mismatch "description" property type.
411 # 6. Mismatch "multipleOf" property type.
412 # 7. Wrong "multipleOf" property value.
413 # 8. Mismatch "maximum" property type.
414 # 9. Mismatch "exclusiveMaximum" property type.
415 # 10. Mismatch "minimum" property type.
416 # 11. Mismatch "exclusiveminimum" property type.
417 # 12. Mismatch "maxLength" property type.
418 # 13. Wrong "maxLength" property value.
419 # 14. Mismatch "minLength" property type.
420 # 15. Wrong "minLength" property value.
421 # 16. Mismatch "pattern" property type.
422 # 17. Mismatch "additionalItems" property type.
423 # 18. Invalid schema contained in the "additionalItems" property.
424 # 19. Empty "items" properties array.
425 # 20. "items" properties containing invalid schema.
426 # 21. "items" properties array containing invalid schema.
427 # 22. Mismatch "maxItems" properties type.
428 # 23. Wrong "maxItems" properties value.
429 # 24. Mismatch "minItems" properties type.
430 # 25. Wrong "minItems" properties value.
431 # 26. Mismatch "uniqueItems" properties type.
432 # 27. Mismatch "maxProperties" properties type.
433 # 28. Wrong "maxProperties" properties value.
434 # 29. Mismatch "minProperties" properties type.
435 # 30. Wrong "minProperties" properties value.
436 # 31. Mismatch "required" properties type.
437 # 32. Empty "required" property field.
438 # 33. "required" property field containing an array of invalid types.
439 # 34. "required" properties array containing non-unique items.
440 # 35. Mismatch "additionalProperties" property type.
441 # 36. Invalid schema in the "additionalProperties" property field.
442 # 37. Mismatch "definitions" property type.
443 # 38. "definitions" property containing an invalid schema.
444 # 39. Mismatch "properties" property type.
445 # 40. "properties" property containing an invalid schema.
446 # 41. Mismatch "patternProperties" property type.
447 # 42. "patternProperties" property containing an invalid schema.
448 # 43. Mismatch "dependencies" property type.
449 # 44. "dependencies" properties containing an invalid schema.
450 # 45. "dependencies" properties containing an empty array.
451 # 46. "dependencies" properties containing an array of invalid types.
452 # 47. "dependencies" properties containing an array of a non-unique types.
453 # 48. Mismatch "enum" property type.
454 # 49. Empty "enum" properties array.
455 # 50. Non-unique values in the "enum" property array.
456 # 51. Mismatch "type" property type.
457 # 52. Invalid type in "type" properties array.
458 # 53. Empty "type" properties array.
459 # 54. Non-unique "type" properties array.
460 # 55. Mismatch "format" property type.
461 # 56. Mismatch "allOf" property type.
462 # 57. Empty "allOf" properties array.
463 # 58. Invalid schema in the "allOf" properties array.
464 # 59. Mismatch "anyOf" property type.
465 # 60. Empty "anyOf" properties array.
466 # 61. Invalid schema in the "anyOf" properties array.
467 # 62. Mismatch "oneOf" property type.
468 # 63. Empty "oneOf" properties array.
469 # 64. Invalid schema in the "oneOf" properties array.
470 # 65. Invalid schema as the "not" property value.
471
472 #
473 # I.1
474 Got expected error: JSON validation schema location #/unknown failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
475 Got expected error: JSON validation schema location #/unknown failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
476
477 #
478 # I.2
479 Got expected error: JSON validation schema location #/id failed requirement: 'type' at meta schema location '#/properties/id' (code 5182)
480 Got expected error: JSON validation schema location #/id failed requirement: 'type' at meta schema location '#/properties/id' (code 5182)
481
482 #
483 # I.3
484 Got expected error: JSON validation schema location #/%24schema failed requirement: 'type' at meta schema location '#/properties/%24schema' (code 5182)
485 Got expected error: JSON validation schema location #/%24schema failed requirement: 'type' at meta schema location '#/properties/%24schema' (code 5182)
486
487 #
488 # I.4
489 Got expected error: JSON validation schema location #/title failed requirement: 'type' at meta schema location '#/properties/title' (code 5182)
490 Got expected error: JSON validation schema location #/title failed requirement: 'type' at meta schema location '#/properties/title' (code 5182)
491
492 #
493 # I.5
494 Got expected error: JSON validation schema location #/description failed requirement: 'type' at meta schema location '#/properties/description' (code 5182)
495 Got expected error: JSON validation schema location #/description failed requirement: 'type' at meta schema location '#/properties/description' (code 5182)
496
497 #
498 # I.6
499 Got expected error: JSON validation schema location #/multipleOf failed requirement: 'type' at meta schema location '#/properties/multipleOf' (code 5182)
500 Got expected error: JSON validation schema location #/multipleOf failed requirement: 'type' at meta schema location '#/properties/multipleOf' (code 5182)
501
502 #
503 # I.7
504 Got expected error: JSON validation schema location #/multipleOf failed requirement: 'minimum' at meta schema location '#/properties/multipleOf' (code 5182)
505 Got expected error: JSON validation schema location #/multipleOf failed requirement: 'minimum' at meta schema location '#/properties/multipleOf' (code 5182)
506
507 #
508 # I.8
509 Got expected error: JSON validation schema location #/maximum failed requirement: 'type' at meta schema location '#/properties/maximum' (code 5182)
510 Got expected error: JSON validation schema location #/maximum failed requirement: 'type' at meta schema location '#/properties/maximum' (code 5182)
511
512 #
513 # I.9
514 Got expected error: JSON validation schema location #/exclusiveMaximum failed requirement: 'type' at meta schema location '#/properties/exclusiveMaximum' (code 5182)
515 Got expected error: JSON validation schema location #/exclusiveMaximum failed requirement: 'type' at meta schema location '#/properties/exclusiveMaximum' (code 5182)
516
517 #
518 # I.10
519 Got expected error: JSON validation schema location #/minimum failed requirement: 'type' at meta schema location '#/properties/minimum' (code 5182)
520 Got expected error: JSON validation schema location #/minimum failed requirement: 'type' at meta schema location '#/properties/minimum' (code 5182)
521
522 #
523 # I.11
524 Got expected error: JSON validation schema location #/exclusiveMinimum failed requirement: 'type' at meta schema location '#/properties/exclusiveMinimum' (code 5182)
525 Got expected error: JSON validation schema location #/exclusiveMinimum failed requirement: 'type' at meta schema location '#/properties/exclusiveMinimum' (code 5182)
526
527 #
528 # I.12
529 Got expected error: JSON validation schema location #/maxLength failed requirement: 'type' at meta schema location '#/definitions/positiveInteger' (code 5182)
530 Got expected error: JSON validation schema location #/maxLength failed requirement: 'type' at meta schema location '#/definitions/positiveInteger' (code 5182)
531
532 #
533 # I.13
534 Got expected error: JSON validation schema location #/maxLength failed requirement: 'minimum' at meta schema location '#/definitions/positiveInteger' (code 5182)
535 Got expected error: JSON validation schema location #/maxLength failed requirement: 'minimum' at meta schema location '#/definitions/positiveInteger' (code 5182)
536
537 #
538 # I.14
539 Got expected error: JSON validation schema location #/minLength failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
540 Got expected error: JSON validation schema location #/minLength failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
541
542 #
543 # I.15
544 Got expected error: JSON validation schema location #/minLength failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
545 Got expected error: JSON validation schema location #/minLength failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
546
547 #
548 # I.16
549 Got expected error: JSON validation schema location #/pattern failed requirement: 'type' at meta schema location '#/properties/pattern' (code 5182)
550 Got expected error: JSON validation schema location #/pattern failed requirement: 'type' at meta schema location '#/properties/pattern' (code 5182)
551
552 #
553 # I.17
554 Got expected error: JSON validation schema location #/additionalItems failed requirement: 'anyOf' at meta schema location '#/properties/additionalItems' (code 5182)
555 Got expected error: JSON validation schema location #/additionalItems failed requirement: 'anyOf' at meta schema location '#/properties/additionalItems' (code 5182)
556
557 #
558 # I.18
559 Got expected error: JSON validation schema location #/additionalItems failed requirement: 'anyOf' at meta schema location '#/properties/additionalItems' (code 5182)
560 Got expected error: JSON validation schema location #/additionalItems failed requirement: 'anyOf' at meta schema location '#/properties/additionalItems' (code 5182)
561
562 #
563 # I.19
564 Got expected error: JSON validation schema location #/items failed requirement: 'anyOf' at meta schema location '#/properties/items' (code 5182)
565 Got expected error: JSON validation schema location #/items failed requirement: 'anyOf' at meta schema location '#/properties/items' (code 5182)
566
567 #
568 # I.20
569 Got expected error: JSON validation schema location #/items failed requirement: 'anyOf' at meta schema location '#/properties/items' (code 5182)
570 Got expected error: JSON validation schema location #/items failed requirement: 'anyOf' at meta schema location '#/properties/items' (code 5182)
571
572 #
573 # I.21
574 Got expected error: JSON validation schema location #/items failed requirement: 'anyOf' at meta schema location '#/properties/items' (code 5182)
575 Got expected error: JSON validation schema location #/items failed requirement: 'anyOf' at meta schema location '#/properties/items' (code 5182)
576
577 #
578 # I.22
579 Got expected error: JSON validation schema location #/maxItems failed requirement: 'type' at meta schema location '#/definitions/positiveInteger' (code 5182)
580 Got expected error: JSON validation schema location #/maxItems failed requirement: 'type' at meta schema location '#/definitions/positiveInteger' (code 5182)
581
582 #
583 # I.23
584 Got expected error: JSON validation schema location #/maxItems failed requirement: 'minimum' at meta schema location '#/definitions/positiveInteger' (code 5182)
585 Got expected error: JSON validation schema location #/maxItems failed requirement: 'minimum' at meta schema location '#/definitions/positiveInteger' (code 5182)
586
587 #
588 # I.24
589 Got expected error: JSON validation schema location #/minItems failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
590 Got expected error: JSON validation schema location #/minItems failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
591
592 #
593 # I.25
594 Got expected error: JSON validation schema location #/minItems failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
595 Got expected error: JSON validation schema location #/minItems failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
596
597 #
598 # I.26
599 Got expected error: JSON validation schema location #/uniqueItems failed requirement: 'type' at meta schema location '#/properties/uniqueItems' (code 5182)
600 Got expected error: JSON validation schema location #/uniqueItems failed requirement: 'type' at meta schema location '#/properties/uniqueItems' (code 5182)
601
602 #
603 # I.27
604 Got expected error: JSON validation schema location #/maxProperties failed requirement: 'type' at meta schema location '#/definitions/positiveInteger' (code 5182)
605 Got expected error: JSON validation schema location #/maxProperties failed requirement: 'type' at meta schema location '#/definitions/positiveInteger' (code 5182)
606
607 #
608 # I.28
609 Got expected error: JSON validation schema location #/maxProperties failed requirement: 'minimum' at meta schema location '#/definitions/positiveInteger' (code 5182)
610 Got expected error: JSON validation schema location #/maxProperties failed requirement: 'minimum' at meta schema location '#/definitions/positiveInteger' (code 5182)
611
612 #
613 # I.29
614 Got expected error: JSON validation schema location #/minProperties failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
615 Got expected error: JSON validation schema location #/minProperties failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
616
617 #
618 # I.30
619 Got expected error: JSON validation schema location #/minProperties failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
620 Got expected error: JSON validation schema location #/minProperties failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
621
622 #
623 # I.31
624 Got expected error: JSON validation schema location #/required failed requirement: 'type' at meta schema location '#/definitions/stringArray' (code 5182)
625 Got expected error: JSON validation schema location #/required failed requirement: 'type' at meta schema location '#/definitions/stringArray' (code 5182)
626
627 #
628 # I.32
629 Got expected error: JSON validation schema location #/required failed requirement: 'minItems' at meta schema location '#/definitions/stringArray' (code 5182)
630 Got expected error: JSON validation schema location #/required failed requirement: 'minItems' at meta schema location '#/definitions/stringArray' (code 5182)
631
632 #
633 # I.33
634 Got expected error: JSON validation schema location #/required/0 failed requirement: 'type' at meta schema location '#/definitions/stringArray/items' (code 5182)
635 Got expected error: JSON validation schema location #/required/0 failed requirement: 'type' at meta schema location '#/definitions/stringArray/items' (code 5182)
636
637 #
638 # I.34
639 Got expected error: JSON validation schema location #/required/1 failed requirement: 'uniqueItems' at meta schema location '#/definitions/stringArray' (code 5182)
640 Got expected error: JSON validation schema location #/required/1 failed requirement: 'uniqueItems' at meta schema location '#/definitions/stringArray' (code 5182)
641
642 #
643 # I.35
644 Got expected error: JSON validation schema location #/additionalProperties failed requirement: 'anyOf' at meta schema location '#/properties/additionalProperties' (code 5182)
645 Got expected error: JSON validation schema location #/additionalProperties failed requirement: 'anyOf' at meta schema location '#/properties/additionalProperties' (code 5182)
646
647 #
648 # I.36
649 Got expected error: JSON validation schema location #/additionalProperties failed requirement: 'anyOf' at meta schema location '#/properties/additionalProperties' (code 5182)
650 Got expected error: JSON validation schema location #/additionalProperties failed requirement: 'anyOf' at meta schema location '#/properties/additionalProperties' (code 5182)
651
652 #
653 # I.37
654 Got expected error: JSON validation schema location #/definitions failed requirement: 'type' at meta schema location '#/properties/definitions' (code 5182)
655 Got expected error: JSON validation schema location #/definitions failed requirement: 'type' at meta schema location '#/properties/definitions' (code 5182)
656
657 #
658 # I.38
659 Got expected error: JSON validation schema location #/definitions/def/invalid failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
660 Got expected error: JSON validation schema location #/definitions/def/invalid failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
661
662 #
663 # I.39
664 Got expected error: JSON validation schema location #/properties failed requirement: 'type' at meta schema location '#/properties/properties' (code 5182)
665 Got expected error: JSON validation schema location #/properties failed requirement: 'type' at meta schema location '#/properties/properties' (code 5182)
666
667 #
668 # I.40
669 Got expected error: JSON validation schema location #/properties/def/invalid failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
670 Got expected error: JSON validation schema location #/properties/def/invalid failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
671
672 #
673 # I.41
674 Got expected error: JSON validation schema location #/patternProperties failed requirement: 'type' at meta schema location '#/properties/patternProperties' (code 5182)
675 Got expected error: JSON validation schema location #/patternProperties failed requirement: 'type' at meta schema location '#/properties/patternProperties' (code 5182)
676
677 #
678 # I.42
679 Got expected error: JSON validation schema location #/patternProperties/def/invalid failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
680 Got expected error: JSON validation schema location #/patternProperties/def/invalid failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
681
682 #
683 # I.43
684 Got expected error: JSON validation schema location #/dependencies failed requirement: 'type' at meta schema location '#/properties/dependencies' (code 5182)
685 Got expected error: JSON validation schema location #/dependencies failed requirement: 'type' at meta schema location '#/properties/dependencies' (code 5182)
686
687 #
688 # I.44
689 Got expected error: JSON validation schema location #/dependencies/unknown failed requirement: 'anyOf' at meta schema location '#/properties/dependencies/additionalProperties' (code 5182)
690 Got expected error: JSON validation schema location #/dependencies/unknown failed requirement: 'anyOf' at meta schema location '#/properties/dependencies/additionalProperties' (code 5182)
691
692 #
693 # I.45
694 Got expected error: JSON validation schema location #/dependencies failed requirement: 'type' at meta schema location '#/properties/dependencies' (code 5182)
695 Got expected error: JSON validation schema location #/dependencies failed requirement: 'type' at meta schema location '#/properties/dependencies' (code 5182)
696
697 #
698 # I.46
699 Got expected error: JSON validation schema location #/dependencies failed requirement: 'type' at meta schema location '#/properties/dependencies' (code 5182)
700 Got expected error: JSON validation schema location #/dependencies failed requirement: 'type' at meta schema location '#/properties/dependencies' (code 5182)
701
702 #
703 # I.47
704 Got expected error: JSON validation schema location #/dependencies failed requirement: 'type' at meta schema location '#/properties/dependencies' (code 5182)
705 Got expected error: JSON validation schema location #/dependencies failed requirement: 'type' at meta schema location '#/properties/dependencies' (code 5182)
706
707 #
708 # I.48
709 Got expected error: JSON validation schema location #/enum failed requirement: 'type' at meta schema location '#/properties/enum' (code 5182)
710 Got expected error: JSON validation schema location #/enum failed requirement: 'type' at meta schema location '#/properties/enum' (code 5182)
711
712 #
713 # I.49
714 Got expected error: JSON validation schema location #/enum failed requirement: 'minItems' at meta schema location '#/properties/enum' (code 5182)
715 Got expected error: JSON validation schema location #/enum failed requirement: 'minItems' at meta schema location '#/properties/enum' (code 5182)
716
717 #
718 # I.50
719 Got expected error: JSON validation schema location #/enum/1 failed requirement: 'uniqueItems' at meta schema location '#/properties/enum' (code 5182)
720 Got expected error: JSON validation schema location #/enum/1 failed requirement: 'uniqueItems' at meta schema location '#/properties/enum' (code 5182)
721
722 #
723 # I.51
724 Got expected error: JSON validation schema location #/type failed requirement: 'anyOf' at meta schema location '#/properties/type' (code 5182)
725 Got expected error: JSON validation schema location #/type failed requirement: 'anyOf' at meta schema location '#/properties/type' (code 5182)
726
727 #
728 # I.52
729 Got expected error: JSON validation schema location #/type failed requirement: 'anyOf' at meta schema location '#/properties/type' (code 5182)
730 Got expected error: JSON validation schema location #/type failed requirement: 'anyOf' at meta schema location '#/properties/type' (code 5182)
731
732 #
733 # I.53
734 Got expected error: JSON validation schema location #/type failed requirement: 'anyOf' at meta schema location '#/properties/type' (code 5182)
735 Got expected error: JSON validation schema location #/type failed requirement: 'anyOf' at meta schema location '#/properties/type' (code 5182)
736
737 #
738 # I.54
739 Got expected error: JSON validation schema location #/type failed requirement: 'anyOf' at meta schema location '#/properties/type' (code 5182)
740 Got expected error: JSON validation schema location #/type failed requirement: 'anyOf' at meta schema location '#/properties/type' (code 5182)
741
742 #
743 # I.55
744 Got expected error: JSON validation schema location #/format failed requirement: 'type' at meta schema location '#/properties/format' (code 5182)
745 Got expected error: JSON validation schema location #/format failed requirement: 'type' at meta schema location '#/properties/format' (code 5182)
746
747 #
748 # I.56
749 Got expected error: JSON validation schema location #/allOf failed requirement: 'type' at meta schema location '#/definitions/schemaArray' (code 5182)
750 Got expected error: JSON validation schema location #/allOf failed requirement: 'type' at meta schema location '#/definitions/schemaArray' (code 5182)
751
752 #
753 # I.57
754 Got expected error: JSON validation schema location #/allOf failed requirement: 'minItems' at meta schema location '#/definitions/schemaArray' (code 5182)
755 Got expected error: JSON validation schema location #/allOf failed requirement: 'minItems' at meta schema location '#/definitions/schemaArray' (code 5182)
756
757 #
758 # I.58
759 Got expected error: JSON validation schema location #/allOf/0/unknown failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
760 Got expected error: JSON validation schema location #/allOf/0/unknown failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
761
762 #
763 # I.59
764 Got expected error: JSON validation schema location #/anyOf failed requirement: 'type' at meta schema location '#/definitions/schemaArray' (code 5182)
765 Got expected error: JSON validation schema location #/anyOf failed requirement: 'type' at meta schema location '#/definitions/schemaArray' (code 5182)
766
767 #
768 # I.60
769 Got expected error: JSON validation schema location #/anyOf failed requirement: 'minItems' at meta schema location '#/definitions/schemaArray' (code 5182)
770 Got expected error: JSON validation schema location #/anyOf failed requirement: 'minItems' at meta schema location '#/definitions/schemaArray' (code 5182)
771
772 #
773 # I.61
774 Got expected error: JSON validation schema location #/anyOf/0/unknown failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
775 Got expected error: JSON validation schema location #/anyOf/0/unknown failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
776
777 #
778 # I.62
779 Got expected error: JSON validation schema location #/oneOf failed requirement: 'type' at meta schema location '#/definitions/schemaArray' (code 5182)
780 Got expected error: JSON validation schema location #/oneOf failed requirement: 'type' at meta schema location '#/definitions/schemaArray' (code 5182)
781
782 #
783 # I.63
784 Got expected error: JSON validation schema location #/oneOf failed requirement: 'minItems' at meta schema location '#/definitions/schemaArray' (code 5182)
785 Got expected error: JSON validation schema location #/oneOf failed requirement: 'minItems' at meta schema location '#/definitions/schemaArray' (code 5182)
786
787 #
788 # I.64
789 Got expected error: JSON validation schema location #/oneOf/0/unknown failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
790 Got expected error: JSON validation schema location #/oneOf/0/unknown failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
791
792 #
793 # I.65
794 Got expected error: JSON validation schema location #/not failed requirement: 'type' at meta schema location '#' (code 5182)
795 Got expected error: JSON validation schema location #/not failed requirement: 'type' at meta schema location '#' (code 5182)
796 Mysqlx.Ok {
797 msg: "bye!"
798 }
799 ok
800
801
802 ## I. Test validation of a user provided schema encoded as
803 ## protobuf.string and a Datatypes.Object
804 #
805 # 1. Unknown property.
806 # 2. Mismatch "id" property type.
807 # 3. Mismatch "schema" property type.
808 # 4. Mismatch "title" property type.
809 # 5. Mismatch "description" property type.
810 # 6. Mismatch "multipleOf" property type.
811 # 7. Wrong "multipleOf" property value.
812 # 8. Mismatch "maximum" property type.
813 # 9. Mismatch "exclusiveMaximum" property type.
814 # 10. Mismatch "minimum" property type.
815 # 11. Mismatch "exclusiveminimum" property type.
816 # 12. Mismatch "maxLength" property type.
817 # 13. Wrong "maxLength" property value.
818 # 14. Mismatch "minLength" property type.
819 # 15. Wrong "minLength" property value.
820 # 16. Mismatch "pattern" property type.
821 # 17. Mismatch "additionalItems" property type.
822 # 18. Invalid schema contained in the "additionalItems" property.
823 # 19. Empty "items" properties array.
824 # 20. "items" properties containing invalid schema.
825 # 21. "items" properties array containing invalid schema.
826 # 22. Mismatch "maxItems" properties type.
827 # 23. Wrong "maxItems" properties value.
828 # 24. Mismatch "minItems" properties type.
829 # 25. Wrong "minItems" properties value.
830 # 26. Mismatch "uniqueItems" properties type.
831 # 27. Mismatch "maxProperties" properties type.
832 # 28. Wrong "maxProperties" properties value.
833 # 29. Mismatch "minProperties" properties type.
834 # 30. Wrong "minProperties" properties value.
835 # 31. Mismatch "required" properties type.
836 # 32. Empty "required" property field.
837 # 33. "required" property field containing an array of invalid types.
838 # 34. "required" properties array containing non-unique items.
839 # 35. Mismatch "additionalProperties" property type.
840 # 36. Invalid schema in the "additionalProperties" property field.
841 # 37. Mismatch "definitions" property type.
842 # 38. "definitions" property containing an invalid schema.
843 # 39. Mismatch "properties" property type.
844 # 40. "properties" property containing an invalid schema.
845 # 41. Mismatch "patternProperties" property type.
846 # 42. "patternProperties" property containing an invalid schema.
847 # 43. Mismatch "dependencies" property type.
848 # 44. "dependencies" properties containing an invalid schema.
849 # 45. "dependencies" properties containing an empty array.
850 # 46. "dependencies" properties containing an array of invalid types.
851 # 47. "dependencies" properties containing an array of a non-unique types.
852 # 48. Mismatch "enum" property type.
853 # 49. Empty "enum" properties array.
854 # 50. Non-unique values in the "enum" property array.
855 # 51. Mismatch "type" property type.
856 # 52. Invalid type in "type" properties array.
857 # 53. Empty "type" properties array.
858 # 54. Non-unique "type" properties array.
859 # 55. Mismatch "format" property type.
860 # 56. Mismatch "allOf" property type.
861 # 57. Empty "allOf" properties array.
862 # 58. Invalid schema in the "allOf" properties array.
863 # 59. Mismatch "anyOf" property type.
864 # 60. Empty "anyOf" properties array.
865 # 61. Invalid schema in the "anyOf" properties array.
866 # 62. Mismatch "oneOf" property type.
867 # 63. Empty "oneOf" properties array.
868 # 64. Invalid schema in the "oneOf" properties array.
869 # 65. Invalid schema as the "not" property value.
870
871 #
872 # I.1
873 Got expected error: JSON validation schema location #/unknown failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
874 Got expected error: JSON validation schema location #/unknown failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
875
876 #
877 # I.2
878 Got expected error: JSON validation schema location #/id failed requirement: 'type' at meta schema location '#/properties/id' (code 5182)
879 Got expected error: JSON validation schema location #/id failed requirement: 'type' at meta schema location '#/properties/id' (code 5182)
880
881 #
882 # I.3
883 Got expected error: JSON validation schema location #/%24schema failed requirement: 'type' at meta schema location '#/properties/%24schema' (code 5182)
884 Got expected error: JSON validation schema location #/%24schema failed requirement: 'type' at meta schema location '#/properties/%24schema' (code 5182)
885
886 #
887 # I.4
888 Got expected error: JSON validation schema location #/title failed requirement: 'type' at meta schema location '#/properties/title' (code 5182)
889 Got expected error: JSON validation schema location #/title failed requirement: 'type' at meta schema location '#/properties/title' (code 5182)
890
891 #
892 # I.5
893 Got expected error: JSON validation schema location #/description failed requirement: 'type' at meta schema location '#/properties/description' (code 5182)
894 Got expected error: JSON validation schema location #/description failed requirement: 'type' at meta schema location '#/properties/description' (code 5182)
895
896 #
897 # I.6
898 Got expected error: JSON validation schema location #/multipleOf failed requirement: 'type' at meta schema location '#/properties/multipleOf' (code 5182)
899 Got expected error: JSON validation schema location #/multipleOf failed requirement: 'type' at meta schema location '#/properties/multipleOf' (code 5182)
900
901 #
902 # I.7
903 Got expected error: JSON validation schema location #/multipleOf failed requirement: 'minimum' at meta schema location '#/properties/multipleOf' (code 5182)
904 Got expected error: JSON validation schema location #/multipleOf failed requirement: 'minimum' at meta schema location '#/properties/multipleOf' (code 5182)
905
906 #
907 # I.8
908 Got expected error: JSON validation schema location #/maximum failed requirement: 'type' at meta schema location '#/properties/maximum' (code 5182)
909 Got expected error: JSON validation schema location #/maximum failed requirement: 'type' at meta schema location '#/properties/maximum' (code 5182)
910
911 #
912 # I.9
913 Got expected error: JSON validation schema location #/exclusiveMaximum failed requirement: 'type' at meta schema location '#/properties/exclusiveMaximum' (code 5182)
914 Got expected error: JSON validation schema location #/exclusiveMaximum failed requirement: 'type' at meta schema location '#/properties/exclusiveMaximum' (code 5182)
915
916 #
917 # I.10
918 Got expected error: JSON validation schema location #/minimum failed requirement: 'type' at meta schema location '#/properties/minimum' (code 5182)
919 Got expected error: JSON validation schema location #/minimum failed requirement: 'type' at meta schema location '#/properties/minimum' (code 5182)
920
921 #
922 # I.11
923 Got expected error: JSON validation schema location #/exclusiveMinimum failed requirement: 'type' at meta schema location '#/properties/exclusiveMinimum' (code 5182)
924 Got expected error: JSON validation schema location #/exclusiveMinimum failed requirement: 'type' at meta schema location '#/properties/exclusiveMinimum' (code 5182)
925
926 #
927 # I.12
928 Got expected error: JSON validation schema location #/maxLength failed requirement: 'type' at meta schema location '#/definitions/positiveInteger' (code 5182)
929 Got expected error: JSON validation schema location #/maxLength failed requirement: 'type' at meta schema location '#/definitions/positiveInteger' (code 5182)
930
931 #
932 # I.13
933 Got expected error: JSON validation schema location #/maxLength failed requirement: 'minimum' at meta schema location '#/definitions/positiveInteger' (code 5182)
934 Got expected error: JSON validation schema location #/maxLength failed requirement: 'minimum' at meta schema location '#/definitions/positiveInteger' (code 5182)
935
936 #
937 # I.14
938 Got expected error: JSON validation schema location #/minLength failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
939 Got expected error: JSON validation schema location #/minLength failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
940
941 #
942 # I.15
943 Got expected error: JSON validation schema location #/minLength failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
944 Got expected error: JSON validation schema location #/minLength failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
945
946 #
947 # I.16
948 Got expected error: JSON validation schema location #/pattern failed requirement: 'type' at meta schema location '#/properties/pattern' (code 5182)
949 Got expected error: JSON validation schema location #/pattern failed requirement: 'type' at meta schema location '#/properties/pattern' (code 5182)
950
951 #
952 # I.17
953 Got expected error: JSON validation schema location #/additionalItems failed requirement: 'anyOf' at meta schema location '#/properties/additionalItems' (code 5182)
954 Got expected error: JSON validation schema location #/additionalItems failed requirement: 'anyOf' at meta schema location '#/properties/additionalItems' (code 5182)
955
956 #
957 # I.18
958 Got expected error: JSON validation schema location #/additionalItems failed requirement: 'anyOf' at meta schema location '#/properties/additionalItems' (code 5182)
959 Got expected error: JSON validation schema location #/additionalItems failed requirement: 'anyOf' at meta schema location '#/properties/additionalItems' (code 5182)
960
961 #
962 # I.19
963 Got expected error: JSON validation schema location #/items failed requirement: 'anyOf' at meta schema location '#/properties/items' (code 5182)
964 Got expected error: JSON validation schema location #/items failed requirement: 'anyOf' at meta schema location '#/properties/items' (code 5182)
965
966 #
967 # I.20
968 Got expected error: JSON validation schema location #/items failed requirement: 'anyOf' at meta schema location '#/properties/items' (code 5182)
969 Got expected error: JSON validation schema location #/items failed requirement: 'anyOf' at meta schema location '#/properties/items' (code 5182)
970
971 #
972 # I.21
973 Got expected error: JSON validation schema location #/items failed requirement: 'anyOf' at meta schema location '#/properties/items' (code 5182)
974 Got expected error: JSON validation schema location #/items failed requirement: 'anyOf' at meta schema location '#/properties/items' (code 5182)
975
976 #
977 # I.22
978 Got expected error: JSON validation schema location #/maxItems failed requirement: 'type' at meta schema location '#/definitions/positiveInteger' (code 5182)
979 Got expected error: JSON validation schema location #/maxItems failed requirement: 'type' at meta schema location '#/definitions/positiveInteger' (code 5182)
980
981 #
982 # I.23
983 Got expected error: JSON validation schema location #/maxItems failed requirement: 'minimum' at meta schema location '#/definitions/positiveInteger' (code 5182)
984 Got expected error: JSON validation schema location #/maxItems failed requirement: 'minimum' at meta schema location '#/definitions/positiveInteger' (code 5182)
985
986 #
987 # I.24
988 Got expected error: JSON validation schema location #/minItems failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
989 Got expected error: JSON validation schema location #/minItems failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
990
991 #
992 # I.25
993 Got expected error: JSON validation schema location #/minItems failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
994 Got expected error: JSON validation schema location #/minItems failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
995
996 #
997 # I.26
998 Got expected error: JSON validation schema location #/uniqueItems failed requirement: 'type' at meta schema location '#/properties/uniqueItems' (code 5182)
999 Got expected error: JSON validation schema location #/uniqueItems failed requirement: 'type' at meta schema location '#/properties/uniqueItems' (code 5182)
1000
1001 #
1002 # I.27
1003 Got expected error: JSON validation schema location #/maxProperties failed requirement: 'type' at meta schema location '#/definitions/positiveInteger' (code 5182)
1004 Got expected error: JSON validation schema location #/maxProperties failed requirement: 'type' at meta schema location '#/definitions/positiveInteger' (code 5182)
1005
1006 #
1007 # I.28
1008 Got expected error: JSON validation schema location #/maxProperties failed requirement: 'minimum' at meta schema location '#/definitions/positiveInteger' (code 5182)
1009 Got expected error: JSON validation schema location #/maxProperties failed requirement: 'minimum' at meta schema location '#/definitions/positiveInteger' (code 5182)
1010
1011 #
1012 # I.29
1013 Got expected error: JSON validation schema location #/minProperties failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
1014 Got expected error: JSON validation schema location #/minProperties failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
1015
1016 #
1017 # I.30
1018 Got expected error: JSON validation schema location #/minProperties failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
1019 Got expected error: JSON validation schema location #/minProperties failed requirement: 'allOf' at meta schema location '#/definitions/positiveIntegerDefault0' (code 5182)
1020
1021 #
1022 # I.31
1023 Got expected error: JSON validation schema location #/required failed requirement: 'type' at meta schema location '#/definitions/stringArray' (code 5182)
1024 Got expected error: JSON validation schema location #/required failed requirement: 'type' at meta schema location '#/definitions/stringArray' (code 5182)
1025
1026 #
1027 # I.32
1028 Got expected error: JSON validation schema location #/required failed requirement: 'minItems' at meta schema location '#/definitions/stringArray' (code 5182)
1029 Got expected error: JSON validation schema location #/required failed requirement: 'minItems' at meta schema location '#/definitions/stringArray' (code 5182)
1030
1031 #
1032 # I.33
1033 Got expected error: JSON validation schema location #/required/0 failed requirement: 'type' at meta schema location '#/definitions/stringArray/items' (code 5182)
1034 Got expected error: JSON validation schema location #/required/0 failed requirement: 'type' at meta schema location '#/definitions/stringArray/items' (code 5182)
1035
1036 #
1037 # I.34
1038 Got expected error: JSON validation schema location #/required/1 failed requirement: 'uniqueItems' at meta schema location '#/definitions/stringArray' (code 5182)
1039 Got expected error: JSON validation schema location #/required/1 failed requirement: 'uniqueItems' at meta schema location '#/definitions/stringArray' (code 5182)
1040
1041 #
1042 # I.35
1043 Got expected error: JSON validation schema location #/additionalProperties failed requirement: 'anyOf' at meta schema location '#/properties/additionalProperties' (code 5182)
1044 Got expected error: JSON validation schema location #/additionalProperties failed requirement: 'anyOf' at meta schema location '#/properties/additionalProperties' (code 5182)
1045
1046 #
1047 # I.36
1048 Got expected error: JSON validation schema location #/additionalProperties failed requirement: 'anyOf' at meta schema location '#/properties/additionalProperties' (code 5182)
1049 Got expected error: JSON validation schema location #/additionalProperties failed requirement: 'anyOf' at meta schema location '#/properties/additionalProperties' (code 5182)
1050
1051 #
1052 # I.37
1053 Got expected error: JSON validation schema location #/definitions failed requirement: 'type' at meta schema location '#/properties/definitions' (code 5182)
1054 Got expected error: JSON validation schema location #/definitions failed requirement: 'type' at meta schema location '#/properties/definitions' (code 5182)
1055
1056 #
1057 # I.38
1058 Got expected error: JSON validation schema location #/definitions/def/invalid failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
1059 Got expected error: JSON validation schema location #/definitions/def/invalid failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
1060
1061 #
1062 # I.39
1063 Got expected error: JSON validation schema location #/properties failed requirement: 'type' at meta schema location '#/properties/properties' (code 5182)
1064 Got expected error: JSON validation schema location #/properties failed requirement: 'type' at meta schema location '#/properties/properties' (code 5182)
1065
1066 #
1067 # I.40
1068 Got expected error: JSON validation schema location #/properties/def/invalid failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
1069 Got expected error: JSON validation schema location #/properties/def/invalid failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
1070
1071 #
1072 # I.41
1073 Got expected error: JSON validation schema location #/patternProperties failed requirement: 'type' at meta schema location '#/properties/patternProperties' (code 5182)
1074 Got expected error: JSON validation schema location #/patternProperties failed requirement: 'type' at meta schema location '#/properties/patternProperties' (code 5182)
1075
1076 #
1077 # I.42
1078 Got expected error: JSON validation schema location #/patternProperties/def/invalid failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
1079 Got expected error: JSON validation schema location #/patternProperties/def/invalid failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
1080
1081 #
1082 # I.43
1083 Got expected error: JSON validation schema location #/dependencies failed requirement: 'type' at meta schema location '#/properties/dependencies' (code 5182)
1084 Got expected error: JSON validation schema location #/dependencies failed requirement: 'type' at meta schema location '#/properties/dependencies' (code 5182)
1085
1086 #
1087 # I.44
1088 Got expected error: JSON validation schema location #/dependencies/unknown failed requirement: 'anyOf' at meta schema location '#/properties/dependencies/additionalProperties' (code 5182)
1089 Got expected error: JSON validation schema location #/dependencies/unknown failed requirement: 'anyOf' at meta schema location '#/properties/dependencies/additionalProperties' (code 5182)
1090
1091 #
1092 # I.45
1093 Got expected error: JSON validation schema location #/dependencies failed requirement: 'type' at meta schema location '#/properties/dependencies' (code 5182)
1094 Got expected error: JSON validation schema location #/dependencies failed requirement: 'type' at meta schema location '#/properties/dependencies' (code 5182)
1095
1096 #
1097 # I.46
1098 Got expected error: JSON validation schema location #/dependencies failed requirement: 'type' at meta schema location '#/properties/dependencies' (code 5182)
1099 Got expected error: JSON validation schema location #/dependencies failed requirement: 'type' at meta schema location '#/properties/dependencies' (code 5182)
1100
1101 #
1102 # I.47
1103 Got expected error: JSON validation schema location #/dependencies failed requirement: 'type' at meta schema location '#/properties/dependencies' (code 5182)
1104 Got expected error: JSON validation schema location #/dependencies failed requirement: 'type' at meta schema location '#/properties/dependencies' (code 5182)
1105
1106 #
1107 # I.48
1108 Got expected error: JSON validation schema location #/enum failed requirement: 'type' at meta schema location '#/properties/enum' (code 5182)
1109 Got expected error: JSON validation schema location #/enum failed requirement: 'type' at meta schema location '#/properties/enum' (code 5182)
1110
1111 #
1112 # I.49
1113 Got expected error: JSON validation schema location #/enum failed requirement: 'minItems' at meta schema location '#/properties/enum' (code 5182)
1114 Got expected error: JSON validation schema location #/enum failed requirement: 'minItems' at meta schema location '#/properties/enum' (code 5182)
1115
1116 #
1117 # I.50
1118 Got expected error: JSON validation schema location #/enum/1 failed requirement: 'uniqueItems' at meta schema location '#/properties/enum' (code 5182)
1119 Got expected error: JSON validation schema location #/enum/1 failed requirement: 'uniqueItems' at meta schema location '#/properties/enum' (code 5182)
1120
1121 #
1122 # I.51
1123 Got expected error: JSON validation schema location #/type failed requirement: 'anyOf' at meta schema location '#/properties/type' (code 5182)
1124 Got expected error: JSON validation schema location #/type failed requirement: 'anyOf' at meta schema location '#/properties/type' (code 5182)
1125
1126 #
1127 # I.52
1128 Got expected error: JSON validation schema location #/type failed requirement: 'anyOf' at meta schema location '#/properties/type' (code 5182)
1129 Got expected error: JSON validation schema location #/type failed requirement: 'anyOf' at meta schema location '#/properties/type' (code 5182)
1130
1131 #
1132 # I.53
1133 Got expected error: JSON validation schema location #/type failed requirement: 'anyOf' at meta schema location '#/properties/type' (code 5182)
1134 Got expected error: JSON validation schema location #/type failed requirement: 'anyOf' at meta schema location '#/properties/type' (code 5182)
1135
1136 #
1137 # I.54
1138 Got expected error: JSON validation schema location #/type failed requirement: 'anyOf' at meta schema location '#/properties/type' (code 5182)
1139 Got expected error: JSON validation schema location #/type failed requirement: 'anyOf' at meta schema location '#/properties/type' (code 5182)
1140
1141 #
1142 # I.55
1143 Got expected error: JSON validation schema location #/format failed requirement: 'type' at meta schema location '#/properties/format' (code 5182)
1144 Got expected error: JSON validation schema location #/format failed requirement: 'type' at meta schema location '#/properties/format' (code 5182)
1145
1146 #
1147 # I.56
1148 Got expected error: JSON validation schema location #/allOf failed requirement: 'type' at meta schema location '#/definitions/schemaArray' (code 5182)
1149 Got expected error: JSON validation schema location #/allOf failed requirement: 'type' at meta schema location '#/definitions/schemaArray' (code 5182)
1150
1151 #
1152 # I.57
1153 Got expected error: JSON validation schema location #/allOf failed requirement: 'minItems' at meta schema location '#/definitions/schemaArray' (code 5182)
1154 Got expected error: JSON validation schema location #/allOf failed requirement: 'minItems' at meta schema location '#/definitions/schemaArray' (code 5182)
1155
1156 #
1157 # I.58
1158 Got expected error: JSON validation schema location #/allOf/0/unknown failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
1159 Got expected error: JSON validation schema location #/allOf/0/unknown failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
1160
1161 #
1162 # I.59
1163 Got expected error: JSON validation schema location #/anyOf failed requirement: 'type' at meta schema location '#/definitions/schemaArray' (code 5182)
1164 Got expected error: JSON validation schema location #/anyOf failed requirement: 'type' at meta schema location '#/definitions/schemaArray' (code 5182)
1165
1166 #
1167 # I.60
1168 Got expected error: JSON validation schema location #/anyOf failed requirement: 'minItems' at meta schema location '#/definitions/schemaArray' (code 5182)
1169 Got expected error: JSON validation schema location #/anyOf failed requirement: 'minItems' at meta schema location '#/definitions/schemaArray' (code 5182)
1170
1171 #
1172 # I.61
1173 Got expected error: JSON validation schema location #/anyOf/0/unknown failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
1174 Got expected error: JSON validation schema location #/anyOf/0/unknown failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
1175
1176 #
1177 # I.62
1178 Got expected error: JSON validation schema location #/oneOf failed requirement: 'type' at meta schema location '#/definitions/schemaArray' (code 5182)
1179 Got expected error: JSON validation schema location #/oneOf failed requirement: 'type' at meta schema location '#/definitions/schemaArray' (code 5182)
1180
1181 #
1182 # I.63
1183 Got expected error: JSON validation schema location #/oneOf failed requirement: 'minItems' at meta schema location '#/definitions/schemaArray' (code 5182)
1184 Got expected error: JSON validation schema location #/oneOf failed requirement: 'minItems' at meta schema location '#/definitions/schemaArray' (code 5182)
1185
1186 #
1187 # I.64
1188 Got expected error: JSON validation schema location #/oneOf/0/unknown failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
1189 Got expected error: JSON validation schema location #/oneOf/0/unknown failed requirement: 'additionalProperties' at meta schema location '#' (code 5182)
1190
1191 #
1192 # I.65
1193 Got expected error: JSON validation schema location #/not failed requirement: 'type' at meta schema location '#' (code 5182)
1194 Got expected error: JSON validation schema location #/not failed requirement: 'type' at meta schema location '#' (code 5182)
1195 Mysqlx.Ok {
1196 msg: "bye!"
1197 }
1198 ok