Debian Codegraph @

t/additional-tests-draft7/keyword-independence.json

raw
1 [
2 {
3 "description" : "contains + exclusiveMaximum",
4 "schema" : {
5 "contains" : true,
6 "exclusiveMaximum" : 2
7 },
8 "tests" : [
9 {
10 "data" : [],
11 "description" : "array, contains invalid",
12 "valid" : false
13 },
14 {
15 "data" : [
16 1
17 ],
18 "description" : "array, contains valid",
19 "valid" : true
20 },
21 {
22 "data" : 2,
23 "description" : "number, exclusiveMaximum invalid",
24 "valid" : false
25 },
26 {
27 "data" : 1,
28 "description" : "number, exclusiveMaximum valid",
29 "valid" : true
30 }
31 ]
32 },
33 {
34 "description" : "contains + exclusiveMinimum",
35 "schema" : {
36 "contains" : true,
37 "exclusiveMinimum" : 2
38 },
39 "tests" : [
40 {
41 "data" : [],
42 "description" : "array, contains invalid",
43 "valid" : false
44 },
45 {
46 "data" : [
47 1
48 ],
49 "description" : "array, contains valid",
50 "valid" : true
51 },
52 {
53 "data" : 2,
54 "description" : "number, exclusiveMinimum invalid",
55 "valid" : false
56 },
57 {
58 "data" : 3,
59 "description" : "number, exclusiveMinimum valid",
60 "valid" : true
61 }
62 ]
63 },
64 {
65 "description" : "contains + maximum",
66 "schema" : {
67 "contains" : true,
68 "maximum" : 2
69 },
70 "tests" : [
71 {
72 "data" : [],
73 "description" : "array, contains invalid",
74 "valid" : false
75 },
76 {
77 "data" : [
78 1
79 ],
80 "description" : "array, contains valid",
81 "valid" : true
82 },
83 {
84 "data" : 3,
85 "description" : "number, maximum invalid",
86 "valid" : false
87 },
88 {
89 "data" : 2,
90 "description" : "number, maximum valid",
91 "valid" : true
92 }
93 ]
94 },
95 {
96 "description" : "contains + minimum",
97 "schema" : {
98 "contains" : true,
99 "minimum" : 2
100 },
101 "tests" : [
102 {
103 "data" : [],
104 "description" : "array, contains invalid",
105 "valid" : false
106 },
107 {
108 "data" : [
109 1
110 ],
111 "description" : "array, contains valid",
112 "valid" : true
113 },
114 {
115 "data" : 1,
116 "description" : "number, minimum invalid",
117 "valid" : false
118 },
119 {
120 "data" : 2,
121 "description" : "number, minimum valid",
122 "valid" : true
123 }
124 ]
125 },
126 {
127 "description" : "contains + multipleOf",
128 "schema" : {
129 "contains" : true,
130 "multipleOf" : 2
131 },
132 "tests" : [
133 {
134 "data" : [],
135 "description" : "array, contains invalid",
136 "valid" : false
137 },
138 {
139 "data" : [
140 1
141 ],
142 "description" : "array, contains valid",
143 "valid" : true
144 },
145 {
146 "data" : 1,
147 "description" : "number, multipleOf invalid",
148 "valid" : false
149 },
150 {
151 "data" : 2,
152 "description" : "number, multipleOf valid",
153 "valid" : true
154 }
155 ]
156 },
157 {
158 "description" : "exclusiveMaximum + items",
159 "schema" : {
160 "exclusiveMaximum" : 2,
161 "items" : [
162 false
163 ]
164 },
165 "tests" : [
166 {
167 "data" : [
168 1
169 ],
170 "description" : "array, items invalid",
171 "valid" : false
172 },
173 {
174 "data" : [],
175 "description" : "array, items valid",
176 "valid" : true
177 },
178 {
179 "data" : 2,
180 "description" : "number, exclusiveMaximum invalid",
181 "valid" : false
182 },
183 {
184 "data" : 1,
185 "description" : "number, exclusiveMaximum valid",
186 "valid" : true
187 }
188 ]
189 },
190 {
191 "description" : "exclusiveMinimum + items",
192 "schema" : {
193 "exclusiveMinimum" : 2,
194 "items" : [
195 false
196 ]
197 },
198 "tests" : [
199 {
200 "data" : [
201 1
202 ],
203 "description" : "array, items invalid",
204 "valid" : false
205 },
206 {
207 "data" : [],
208 "description" : "array, items valid",
209 "valid" : true
210 },
211 {
212 "data" : 2,
213 "description" : "number, exclusiveMinimum invalid",
214 "valid" : false
215 },
216 {
217 "data" : 3,
218 "description" : "number, exclusiveMinimum valid",
219 "valid" : true
220 }
221 ]
222 },
223 {
224 "description" : "items + maximum",
225 "schema" : {
226 "items" : [
227 false
228 ],
229 "maximum" : 2
230 },
231 "tests" : [
232 {
233 "data" : [
234 1
235 ],
236 "description" : "array, items invalid",
237 "valid" : false
238 },
239 {
240 "data" : [],
241 "description" : "array, items valid",
242 "valid" : true
243 },
244 {
245 "data" : 3,
246 "description" : "number, maximum invalid",
247 "valid" : false
248 },
249 {
250 "data" : 2,
251 "description" : "number, maximum valid",
252 "valid" : true
253 }
254 ]
255 },
256 {
257 "description" : "items + minimum",
258 "schema" : {
259 "items" : [
260 false
261 ],
262 "minimum" : 2
263 },
264 "tests" : [
265 {
266 "data" : [
267 1
268 ],
269 "description" : "array, items invalid",
270 "valid" : false
271 },
272 {
273 "data" : [],
274 "description" : "array, items valid",
275 "valid" : true
276 },
277 {
278 "data" : 1,
279 "description" : "number, minimum invalid",
280 "valid" : false
281 },
282 {
283 "data" : 2,
284 "description" : "number, minimum valid",
285 "valid" : true
286 }
287 ]
288 },
289 {
290 "description" : "items + multipleOf",
291 "schema" : {
292 "items" : [
293 false
294 ],
295 "multipleOf" : 2
296 },
297 "tests" : [
298 {
299 "data" : [
300 1
301 ],
302 "description" : "array, items invalid",
303 "valid" : false
304 },
305 {
306 "data" : [],
307 "description" : "array, items valid",
308 "valid" : true
309 },
310 {
311 "data" : 1,
312 "description" : "number, multipleOf invalid",
313 "valid" : false
314 },
315 {
316 "data" : 2,
317 "description" : "number, multipleOf valid",
318 "valid" : true
319 }
320 ]
321 },
322 {
323 "description" : "exclusiveMaximum + maxItems",
324 "schema" : {
325 "exclusiveMaximum" : 2,
326 "maxItems" : 1
327 },
328 "tests" : [
329 {
330 "data" : [
331 1,
332 2
333 ],
334 "description" : "array, maxItems invalid",
335 "valid" : false
336 },
337 {
338 "data" : [
339 1
340 ],
341 "description" : "array, maxItems valid",
342 "valid" : true
343 },
344 {
345 "data" : 2,
346 "description" : "number, exclusiveMaximum invalid",
347 "valid" : false
348 },
349 {
350 "data" : 1,
351 "description" : "number, exclusiveMaximum valid",
352 "valid" : true
353 }
354 ]
355 },
356 {
357 "description" : "exclusiveMinimum + maxItems",
358 "schema" : {
359 "exclusiveMinimum" : 2,
360 "maxItems" : 1
361 },
362 "tests" : [
363 {
364 "data" : [
365 1,
366 2
367 ],
368 "description" : "array, maxItems invalid",
369 "valid" : false
370 },
371 {
372 "data" : [
373 1
374 ],
375 "description" : "array, maxItems valid",
376 "valid" : true
377 },
378 {
379 "data" : 2,
380 "description" : "number, exclusiveMinimum invalid",
381 "valid" : false
382 },
383 {
384 "data" : 3,
385 "description" : "number, exclusiveMinimum valid",
386 "valid" : true
387 }
388 ]
389 },
390 {
391 "description" : "maxItems + maximum",
392 "schema" : {
393 "maxItems" : 1,
394 "maximum" : 2
395 },
396 "tests" : [
397 {
398 "data" : [
399 1,
400 2
401 ],
402 "description" : "array, maxItems invalid",
403 "valid" : false
404 },
405 {
406 "data" : [
407 1
408 ],
409 "description" : "array, maxItems valid",
410 "valid" : true
411 },
412 {
413 "data" : 3,
414 "description" : "number, maximum invalid",
415 "valid" : false
416 },
417 {
418 "data" : 2,
419 "description" : "number, maximum valid",
420 "valid" : true
421 }
422 ]
423 },
424 {
425 "description" : "maxItems + minimum",
426 "schema" : {
427 "maxItems" : 1,
428 "minimum" : 2
429 },
430 "tests" : [
431 {
432 "data" : [
433 1,
434 2
435 ],
436 "description" : "array, maxItems invalid",
437 "valid" : false
438 },
439 {
440 "data" : [
441 1
442 ],
443 "description" : "array, maxItems valid",
444 "valid" : true
445 },
446 {
447 "data" : 1,
448 "description" : "number, minimum invalid",
449 "valid" : false
450 },
451 {
452 "data" : 2,
453 "description" : "number, minimum valid",
454 "valid" : true
455 }
456 ]
457 },
458 {
459 "description" : "maxItems + multipleOf",
460 "schema" : {
461 "maxItems" : 1,
462 "multipleOf" : 2
463 },
464 "tests" : [
465 {
466 "data" : [
467 1,
468 2
469 ],
470 "description" : "array, maxItems invalid",
471 "valid" : false
472 },
473 {
474 "data" : [
475 1
476 ],
477 "description" : "array, maxItems valid",
478 "valid" : true
479 },
480 {
481 "data" : 1,
482 "description" : "number, multipleOf invalid",
483 "valid" : false
484 },
485 {
486 "data" : 2,
487 "description" : "number, multipleOf valid",
488 "valid" : true
489 }
490 ]
491 },
492 {
493 "description" : "exclusiveMaximum + minItems",
494 "schema" : {
495 "exclusiveMaximum" : 2,
496 "minItems" : 2
497 },
498 "tests" : [
499 {
500 "data" : [
501 1
502 ],
503 "description" : "array, minItems invalid",
504 "valid" : false
505 },
506 {
507 "data" : [
508 1,
509 2
510 ],
511 "description" : "array, minItems valid",
512 "valid" : true
513 },
514 {
515 "data" : 2,
516 "description" : "number, exclusiveMaximum invalid",
517 "valid" : false
518 },
519 {
520 "data" : 1,
521 "description" : "number, exclusiveMaximum valid",
522 "valid" : true
523 }
524 ]
525 },
526 {
527 "description" : "exclusiveMinimum + minItems",
528 "schema" : {
529 "exclusiveMinimum" : 2,
530 "minItems" : 2
531 },
532 "tests" : [
533 {
534 "data" : [
535 1
536 ],
537 "description" : "array, minItems invalid",
538 "valid" : false
539 },
540 {
541 "data" : [
542 1,
543 2
544 ],
545 "description" : "array, minItems valid",
546 "valid" : true
547 },
548 {
549 "data" : 2,
550 "description" : "number, exclusiveMinimum invalid",
551 "valid" : false
552 },
553 {
554 "data" : 3,
555 "description" : "number, exclusiveMinimum valid",
556 "valid" : true
557 }
558 ]
559 },
560 {
561 "description" : "maximum + minItems",
562 "schema" : {
563 "maximum" : 2,
564 "minItems" : 2
565 },
566 "tests" : [
567 {
568 "data" : [
569 1
570 ],
571 "description" : "array, minItems invalid",
572 "valid" : false
573 },
574 {
575 "data" : [
576 1,
577 2
578 ],
579 "description" : "array, minItems valid",
580 "valid" : true
581 },
582 {
583 "data" : 3,
584 "description" : "number, maximum invalid",
585 "valid" : false
586 },
587 {
588 "data" : 2,
589 "description" : "number, maximum valid",
590 "valid" : true
591 }
592 ]
593 },
594 {
595 "description" : "minItems + minimum",
596 "schema" : {
597 "minItems" : 2,
598 "minimum" : 2
599 },
600 "tests" : [
601 {
602 "data" : [
603 1
604 ],
605 "description" : "array, minItems invalid",
606 "valid" : false
607 },
608 {
609 "data" : [
610 1,
611 2
612 ],
613 "description" : "array, minItems valid",
614 "valid" : true
615 },
616 {
617 "data" : 1,
618 "description" : "number, minimum invalid",
619 "valid" : false
620 },
621 {
622 "data" : 2,
623 "description" : "number, minimum valid",
624 "valid" : true
625 }
626 ]
627 },
628 {
629 "description" : "minItems + multipleOf",
630 "schema" : {
631 "minItems" : 2,
632 "multipleOf" : 2
633 },
634 "tests" : [
635 {
636 "data" : [
637 1
638 ],
639 "description" : "array, minItems invalid",
640 "valid" : false
641 },
642 {
643 "data" : [
644 1,
645 2
646 ],
647 "description" : "array, minItems valid",
648 "valid" : true
649 },
650 {
651 "data" : 1,
652 "description" : "number, multipleOf invalid",
653 "valid" : false
654 },
655 {
656 "data" : 2,
657 "description" : "number, multipleOf valid",
658 "valid" : true
659 }
660 ]
661 },
662 {
663 "description" : "exclusiveMaximum + uniqueItems",
664 "schema" : {
665 "exclusiveMaximum" : 2,
666 "uniqueItems" : true
667 },
668 "tests" : [
669 {
670 "data" : [
671 1,
672 1
673 ],
674 "description" : "array, uniqueItems invalid",
675 "valid" : false
676 },
677 {
678 "data" : [
679 1
680 ],
681 "description" : "array, uniqueItems valid",
682 "valid" : true
683 },
684 {
685 "data" : 2,
686 "description" : "number, exclusiveMaximum invalid",
687 "valid" : false
688 },
689 {
690 "data" : 1,
691 "description" : "number, exclusiveMaximum valid",
692 "valid" : true
693 }
694 ]
695 },
696 {
697 "description" : "exclusiveMinimum + uniqueItems",
698 "schema" : {
699 "exclusiveMinimum" : 2,
700 "uniqueItems" : true
701 },
702 "tests" : [
703 {
704 "data" : [
705 1,
706 1
707 ],
708 "description" : "array, uniqueItems invalid",
709 "valid" : false
710 },
711 {
712 "data" : [
713 1
714 ],
715 "description" : "array, uniqueItems valid",
716 "valid" : true
717 },
718 {
719 "data" : 2,
720 "description" : "number, exclusiveMinimum invalid",
721 "valid" : false
722 },
723 {
724 "data" : 3,
725 "description" : "number, exclusiveMinimum valid",
726 "valid" : true
727 }
728 ]
729 },
730 {
731 "description" : "maximum + uniqueItems",
732 "schema" : {
733 "maximum" : 2,
734 "uniqueItems" : true
735 },
736 "tests" : [
737 {
738 "data" : [
739 1,
740 1
741 ],
742 "description" : "array, uniqueItems invalid",
743 "valid" : false
744 },
745 {
746 "data" : [
747 1
748 ],
749 "description" : "array, uniqueItems valid",
750 "valid" : true
751 },
752 {
753 "data" : 3,
754 "description" : "number, maximum invalid",
755 "valid" : false
756 },
757 {
758 "data" : 2,
759 "description" : "number, maximum valid",
760 "valid" : true
761 }
762 ]
763 },
764 {
765 "description" : "minimum + uniqueItems",
766 "schema" : {
767 "minimum" : 2,
768 "uniqueItems" : true
769 },
770 "tests" : [
771 {
772 "data" : [
773 1,
774 1
775 ],
776 "description" : "array, uniqueItems invalid",
777 "valid" : false
778 },
779 {
780 "data" : [
781 1
782 ],
783 "description" : "array, uniqueItems valid",
784 "valid" : true
785 },
786 {
787 "data" : 1,
788 "description" : "number, minimum invalid",
789 "valid" : false
790 },
791 {
792 "data" : 2,
793 "description" : "number, minimum valid",
794 "valid" : true
795 }
796 ]
797 },
798 {
799 "description" : "multipleOf + uniqueItems",
800 "schema" : {
801 "multipleOf" : 2,
802 "uniqueItems" : true
803 },
804 "tests" : [
805 {
806 "data" : [
807 1,
808 1
809 ],
810 "description" : "array, uniqueItems invalid",
811 "valid" : false
812 },
813 {
814 "data" : [
815 1
816 ],
817 "description" : "array, uniqueItems valid",
818 "valid" : true
819 },
820 {
821 "data" : 1,
822 "description" : "number, multipleOf invalid",
823 "valid" : false
824 },
825 {
826 "data" : 2,
827 "description" : "number, multipleOf valid",
828 "valid" : true
829 }
830 ]
831 },
832 {
833 "description" : "additionalProperties + contains",
834 "schema" : {
835 "additionalProperties" : false,
836 "contains" : true
837 },
838 "tests" : [
839 {
840 "data" : [],
841 "description" : "array, contains invalid",
842 "valid" : false
843 },
844 {
845 "data" : [
846 1
847 ],
848 "description" : "array, contains valid",
849 "valid" : true
850 },
851 {
852 "data" : {
853 "x" : 1
854 },
855 "description" : "object, additionalProperties invalid",
856 "valid" : false
857 },
858 {
859 "data" : {},
860 "description" : "object, additionalProperties valid",
861 "valid" : true
862 }
863 ]
864 },
865 {
866 "description" : "contains + dependencies",
867 "schema" : {
868 "contains" : true,
869 "dependencies" : {
870 "x" : false
871 }
872 },
873 "tests" : [
874 {
875 "data" : [],
876 "description" : "array, contains invalid",
877 "valid" : false
878 },
879 {
880 "data" : [
881 1
882 ],
883 "description" : "array, contains valid",
884 "valid" : true
885 },
886 {
887 "data" : {
888 "x" : 1
889 },
890 "description" : "object, dependencies invalid",
891 "valid" : false
892 },
893 {
894 "data" : {},
895 "description" : "object, dependencies valid",
896 "valid" : true
897 }
898 ]
899 },
900 {
901 "description" : "contains + maxProperties",
902 "schema" : {
903 "contains" : true,
904 "maxProperties" : 1
905 },
906 "tests" : [
907 {
908 "data" : [],
909 "description" : "array, contains invalid",
910 "valid" : false
911 },
912 {
913 "data" : [
914 1
915 ],
916 "description" : "array, contains valid",
917 "valid" : true
918 },
919 {
920 "data" : {
921 "x" : 1,
922 "y" : 2
923 },
924 "description" : "object, maxProperties invalid",
925 "valid" : false
926 },
927 {
928 "data" : {
929 "x" : 1
930 },
931 "description" : "object, maxProperties valid",
932 "valid" : true
933 }
934 ]
935 },
936 {
937 "description" : "contains + minProperties",
938 "schema" : {
939 "contains" : true,
940 "minProperties" : 1
941 },
942 "tests" : [
943 {
944 "data" : [],
945 "description" : "array, contains invalid",
946 "valid" : false
947 },
948 {
949 "data" : [
950 1
951 ],
952 "description" : "array, contains valid",
953 "valid" : true
954 },
955 {
956 "data" : {},
957 "description" : "object, minProperties invalid",
958 "valid" : false
959 },
960 {
961 "data" : {
962 "x" : 1
963 },
964 "description" : "object, minProperties valid",
965 "valid" : true
966 }
967 ]
968 },
969 {
970 "description" : "contains + patternProperties",
971 "schema" : {
972 "contains" : true,
973 "patternProperties" : {
974 "no" : false,
975 "yes" : true
976 }
977 },
978 "tests" : [
979 {
980 "data" : [],
981 "description" : "array, contains invalid",
982 "valid" : false
983 },
984 {
985 "data" : [
986 1
987 ],
988 "description" : "array, contains valid",
989 "valid" : true
990 },
991 {
992 "data" : {
993 "no" : 1
994 },
995 "description" : "object, patternProperties invalid",
996 "valid" : false
997 },
998 {
999 "data" : {
1000 "yes" : 1
1001 },
1002 "description" : "object, patternProperties valid",
1003 "valid" : true
1004 }
1005 ]
1006 },
1007 {
1008 "description" : "contains + properties",
1009 "schema" : {
1010 "contains" : true,
1011 "properties" : {
1012 "x" : false
1013 }
1014 },
1015 "tests" : [
1016 {
1017 "data" : [],
1018 "description" : "array, contains invalid",
1019 "valid" : false
1020 },
1021 {
1022 "data" : [
1023 1
1024 ],
1025 "description" : "array, contains valid",
1026 "valid" : true
1027 },
1028 {
1029 "data" : {
1030 "x" : 1
1031 },
1032 "description" : "object, properties invalid",
1033 "valid" : false
1034 },
1035 {
1036 "data" : {},
1037 "description" : "object, properties valid",
1038 "valid" : true
1039 }
1040 ]
1041 },
1042 {
1043 "description" : "contains + propertyNames",
1044 "schema" : {
1045 "contains" : true,
1046 "propertyNames" : false
1047 },
1048 "tests" : [
1049 {
1050 "data" : [],
1051 "description" : "array, contains invalid",
1052 "valid" : false
1053 },
1054 {
1055 "data" : [
1056 1
1057 ],
1058 "description" : "array, contains valid",
1059 "valid" : true
1060 },
1061 {
1062 "data" : {
1063 "x" : 1
1064 },
1065 "description" : "object, propertyNames invalid",
1066 "valid" : false
1067 },
1068 {
1069 "data" : {},
1070 "description" : "object, propertyNames valid",
1071 "valid" : true
1072 }
1073 ]
1074 },
1075 {
1076 "description" : "contains + required",
1077 "schema" : {
1078 "contains" : true,
1079 "required" : [
1080 "x"
1081 ]
1082 },
1083 "tests" : [
1084 {
1085 "data" : [],
1086 "description" : "array, contains invalid",
1087 "valid" : false
1088 },
1089 {
1090 "data" : [
1091 1
1092 ],
1093 "description" : "array, contains valid",
1094 "valid" : true
1095 },
1096 {
1097 "data" : {},
1098 "description" : "object, required invalid",
1099 "valid" : false
1100 },
1101 {
1102 "data" : {
1103 "x" : 1
1104 },
1105 "description" : "object, required valid",
1106 "valid" : true
1107 }
1108 ]
1109 },
1110 {
1111 "description" : "additionalProperties + items",
1112 "schema" : {
1113 "additionalProperties" : false,
1114 "items" : [
1115 false
1116 ]
1117 },
1118 "tests" : [
1119 {
1120 "data" : [
1121 1
1122 ],
1123 "description" : "array, items invalid",
1124 "valid" : false
1125 },
1126 {
1127 "data" : [],
1128 "description" : "array, items valid",
1129 "valid" : true
1130 },
1131 {
1132 "data" : {
1133 "x" : 1
1134 },
1135 "description" : "object, additionalProperties invalid",
1136 "valid" : false
1137 },
1138 {
1139 "data" : {},
1140 "description" : "object, additionalProperties valid",
1141 "valid" : true
1142 }
1143 ]
1144 },
1145 {
1146 "description" : "dependencies + items",
1147 "schema" : {
1148 "dependencies" : {
1149 "x" : false
1150 },
1151 "items" : [
1152 false
1153 ]
1154 },
1155 "tests" : [
1156 {
1157 "data" : [
1158 1
1159 ],
1160 "description" : "array, items invalid",
1161 "valid" : false
1162 },
1163 {
1164 "data" : [],
1165 "description" : "array, items valid",
1166 "valid" : true
1167 },
1168 {
1169 "data" : {
1170 "x" : 1
1171 },
1172 "description" : "object, dependencies invalid",
1173 "valid" : false
1174 },
1175 {
1176 "data" : {},
1177 "description" : "object, dependencies valid",
1178 "valid" : true
1179 }
1180 ]
1181 },
1182 {
1183 "description" : "items + maxProperties",
1184 "schema" : {
1185 "items" : [
1186 false
1187 ],
1188 "maxProperties" : 1
1189 },
1190 "tests" : [
1191 {
1192 "data" : [
1193 1
1194 ],
1195 "description" : "array, items invalid",
1196 "valid" : false
1197 },
1198 {
1199 "data" : [],
1200 "description" : "array, items valid",
1201 "valid" : true
1202 },
1203 {
1204 "data" : {
1205 "x" : 1,
1206 "y" : 2
1207 },
1208 "description" : "object, maxProperties invalid",
1209 "valid" : false
1210 },
1211 {
1212 "data" : {
1213 "x" : 1
1214 },
1215 "description" : "object, maxProperties valid",
1216 "valid" : true
1217 }
1218 ]
1219 },
1220 {
1221 "description" : "items + minProperties",
1222 "schema" : {
1223 "items" : [
1224 false
1225 ],
1226 "minProperties" : 1
1227 },
1228 "tests" : [
1229 {
1230 "data" : [
1231 1
1232 ],
1233 "description" : "array, items invalid",
1234 "valid" : false
1235 },
1236 {
1237 "data" : [],
1238 "description" : "array, items valid",
1239 "valid" : true
1240 },
1241 {
1242 "data" : {},
1243 "description" : "object, minProperties invalid",
1244 "valid" : false
1245 },
1246 {
1247 "data" : {
1248 "x" : 1
1249 },
1250 "description" : "object, minProperties valid",
1251 "valid" : true
1252 }
1253 ]
1254 },
1255 {
1256 "description" : "items + patternProperties",
1257 "schema" : {
1258 "items" : [
1259 false
1260 ],
1261 "patternProperties" : {
1262 "no" : false,
1263 "yes" : true
1264 }
1265 },
1266 "tests" : [
1267 {
1268 "data" : [
1269 1
1270 ],
1271 "description" : "array, items invalid",
1272 "valid" : false
1273 },
1274 {
1275 "data" : [],
1276 "description" : "array, items valid",
1277 "valid" : true
1278 },
1279 {
1280 "data" : {
1281 "no" : 1
1282 },
1283 "description" : "object, patternProperties invalid",
1284 "valid" : false
1285 },
1286 {
1287 "data" : {
1288 "yes" : 1
1289 },
1290 "description" : "object, patternProperties valid",
1291 "valid" : true
1292 }
1293 ]
1294 },
1295 {
1296 "description" : "items + properties",
1297 "schema" : {
1298 "items" : [
1299 false
1300 ],
1301 "properties" : {
1302 "x" : false
1303 }
1304 },
1305 "tests" : [
1306 {
1307 "data" : [
1308 1
1309 ],
1310 "description" : "array, items invalid",
1311 "valid" : false
1312 },
1313 {
1314 "data" : [],
1315 "description" : "array, items valid",
1316 "valid" : true
1317 },
1318 {
1319 "data" : {
1320 "x" : 1
1321 },
1322 "description" : "object, properties invalid",
1323 "valid" : false
1324 },
1325 {
1326 "data" : {},
1327 "description" : "object, properties valid",
1328 "valid" : true
1329 }
1330 ]
1331 },
1332 {
1333 "description" : "items + propertyNames",
1334 "schema" : {
1335 "items" : [
1336 false
1337 ],
1338 "propertyNames" : false
1339 },
1340 "tests" : [
1341 {
1342 "data" : [
1343 1
1344 ],
1345 "description" : "array, items invalid",
1346 "valid" : false
1347 },
1348 {
1349 "data" : [],
1350 "description" : "array, items valid",
1351 "valid" : true
1352 },
1353 {
1354 "data" : {
1355 "x" : 1
1356 },
1357 "description" : "object, propertyNames invalid",
1358 "valid" : false
1359 },
1360 {
1361 "data" : {},
1362 "description" : "object, propertyNames valid",
1363 "valid" : true
1364 }
1365 ]
1366 },
1367 {
1368 "description" : "items + required",
1369 "schema" : {
1370 "items" : [
1371 false
1372 ],
1373 "required" : [
1374 "x"
1375 ]
1376 },
1377 "tests" : [
1378 {
1379 "data" : [
1380 1
1381 ],
1382 "description" : "array, items invalid",
1383 "valid" : false
1384 },
1385 {
1386 "data" : [],
1387 "description" : "array, items valid",
1388 "valid" : true
1389 },
1390 {
1391 "data" : {},
1392 "description" : "object, required invalid",
1393 "valid" : false
1394 },
1395 {
1396 "data" : {
1397 "x" : 1
1398 },
1399 "description" : "object, required valid",
1400 "valid" : true
1401 }
1402 ]
1403 },
1404 {
1405 "description" : "additionalProperties + maxItems",
1406 "schema" : {
1407 "additionalProperties" : false,
1408 "maxItems" : 1
1409 },
1410 "tests" : [
1411 {
1412 "data" : [
1413 1,
1414 2
1415 ],
1416 "description" : "array, maxItems invalid",
1417 "valid" : false
1418 },
1419 {
1420 "data" : [
1421 1
1422 ],
1423 "description" : "array, maxItems valid",
1424 "valid" : true
1425 },
1426 {
1427 "data" : {
1428 "x" : 1
1429 },
1430 "description" : "object, additionalProperties invalid",
1431 "valid" : false
1432 },
1433 {
1434 "data" : {},
1435 "description" : "object, additionalProperties valid",
1436 "valid" : true
1437 }
1438 ]
1439 },
1440 {
1441 "description" : "dependencies + maxItems",
1442 "schema" : {
1443 "dependencies" : {
1444 "x" : false
1445 },
1446 "maxItems" : 1
1447 },
1448 "tests" : [
1449 {
1450 "data" : [
1451 1,
1452 2
1453 ],
1454 "description" : "array, maxItems invalid",
1455 "valid" : false
1456 },
1457 {
1458 "data" : [
1459 1
1460 ],
1461 "description" : "array, maxItems valid",
1462 "valid" : true
1463 },
1464 {
1465 "data" : {
1466 "x" : 1
1467 },
1468 "description" : "object, dependencies invalid",
1469 "valid" : false
1470 },
1471 {
1472 "data" : {},
1473 "description" : "object, dependencies valid",
1474 "valid" : true
1475 }
1476 ]
1477 },
1478 {
1479 "description" : "maxItems + maxProperties",
1480 "schema" : {
1481 "maxItems" : 1,
1482 "maxProperties" : 1
1483 },
1484 "tests" : [
1485 {
1486 "data" : [
1487 1,
1488 2
1489 ],
1490 "description" : "array, maxItems invalid",
1491 "valid" : false
1492 },
1493 {
1494 "data" : [
1495 1
1496 ],
1497 "description" : "array, maxItems valid",
1498 "valid" : true
1499 },
1500 {
1501 "data" : {
1502 "x" : 1,
1503 "y" : 2
1504 },
1505 "description" : "object, maxProperties invalid",
1506 "valid" : false
1507 },
1508 {
1509 "data" : {
1510 "x" : 1
1511 },
1512 "description" : "object, maxProperties valid",
1513 "valid" : true
1514 }
1515 ]
1516 },
1517 {
1518 "description" : "maxItems + minProperties",
1519 "schema" : {
1520 "maxItems" : 1,
1521 "minProperties" : 1
1522 },
1523 "tests" : [
1524 {
1525 "data" : [
1526 1,
1527 2
1528 ],
1529 "description" : "array, maxItems invalid",
1530 "valid" : false
1531 },
1532 {
1533 "data" : [
1534 1
1535 ],
1536 "description" : "array, maxItems valid",
1537 "valid" : true
1538 },
1539 {
1540 "data" : {},
1541 "description" : "object, minProperties invalid",
1542 "valid" : false
1543 },
1544 {
1545 "data" : {
1546 "x" : 1
1547 },
1548 "description" : "object, minProperties valid",
1549 "valid" : true
1550 }
1551 ]
1552 },
1553 {
1554 "description" : "maxItems + patternProperties",
1555 "schema" : {
1556 "maxItems" : 1,
1557 "patternProperties" : {
1558 "no" : false,
1559 "yes" : true
1560 }
1561 },
1562 "tests" : [
1563 {
1564 "data" : [
1565 1,
1566 2
1567 ],
1568 "description" : "array, maxItems invalid",
1569 "valid" : false
1570 },
1571 {
1572 "data" : [
1573 1
1574 ],
1575 "description" : "array, maxItems valid",
1576 "valid" : true
1577 },
1578 {
1579 "data" : {
1580 "no" : 1
1581 },
1582 "description" : "object, patternProperties invalid",
1583 "valid" : false
1584 },
1585 {
1586 "data" : {
1587 "yes" : 1
1588 },
1589 "description" : "object, patternProperties valid",
1590 "valid" : true
1591 }
1592 ]
1593 },
1594 {
1595 "description" : "maxItems + properties",
1596 "schema" : {
1597 "maxItems" : 1,
1598 "properties" : {
1599 "x" : false
1600 }
1601 },
1602 "tests" : [
1603 {
1604 "data" : [
1605 1,
1606 2
1607 ],
1608 "description" : "array, maxItems invalid",
1609 "valid" : false
1610 },
1611 {
1612 "data" : [
1613 1
1614 ],
1615 "description" : "array, maxItems valid",
1616 "valid" : true
1617 },
1618 {
1619 "data" : {
1620 "x" : 1
1621 },
1622 "description" : "object, properties invalid",
1623 "valid" : false
1624 },
1625 {
1626 "data" : {},
1627 "description" : "object, properties valid",
1628 "valid" : true
1629 }
1630 ]
1631 },
1632 {
1633 "description" : "maxItems + propertyNames",
1634 "schema" : {
1635 "maxItems" : 1,
1636 "propertyNames" : false
1637 },
1638 "tests" : [
1639 {
1640 "data" : [
1641 1,
1642 2
1643 ],
1644 "description" : "array, maxItems invalid",
1645 "valid" : false
1646 },
1647 {
1648 "data" : [
1649 1
1650 ],
1651 "description" : "array, maxItems valid",
1652 "valid" : true
1653 },
1654 {
1655 "data" : {
1656 "x" : 1
1657 },
1658 "description" : "object, propertyNames invalid",
1659 "valid" : false
1660 },
1661 {
1662 "data" : {},
1663 "description" : "object, propertyNames valid",
1664 "valid" : true
1665 }
1666 ]
1667 },
1668 {
1669 "description" : "maxItems + required",
1670 "schema" : {
1671 "maxItems" : 1,
1672 "required" : [
1673 "x"
1674 ]
1675 },
1676 "tests" : [
1677 {
1678 "data" : [
1679 1,
1680 2
1681 ],
1682 "description" : "array, maxItems invalid",
1683 "valid" : false
1684 },
1685 {
1686 "data" : [
1687 1
1688 ],
1689 "description" : "array, maxItems valid",
1690 "valid" : true
1691 },
1692 {
1693 "data" : {},
1694 "description" : "object, required invalid",
1695 "valid" : false
1696 },
1697 {
1698 "data" : {
1699 "x" : 1
1700 },
1701 "description" : "object, required valid",
1702 "valid" : true
1703 }
1704 ]
1705 },
1706 {
1707 "description" : "additionalProperties + minItems",
1708 "schema" : {
1709 "additionalProperties" : false,
1710 "minItems" : 2
1711 },
1712 "tests" : [
1713 {
1714 "data" : [
1715 1
1716 ],
1717 "description" : "array, minItems invalid",
1718 "valid" : false
1719 },
1720 {
1721 "data" : [
1722 1,
1723 2
1724 ],
1725 "description" : "array, minItems valid",
1726 "valid" : true
1727 },
1728 {
1729 "data" : {
1730 "x" : 1
1731 },
1732 "description" : "object, additionalProperties invalid",
1733 "valid" : false
1734 },
1735 {
1736 "data" : {},
1737 "description" : "object, additionalProperties valid",
1738 "valid" : true
1739 }
1740 ]
1741 },
1742 {
1743 "description" : "dependencies + minItems",
1744 "schema" : {
1745 "dependencies" : {
1746 "x" : false
1747 },
1748 "minItems" : 2
1749 },
1750 "tests" : [
1751 {
1752 "data" : [
1753 1
1754 ],
1755 "description" : "array, minItems invalid",
1756 "valid" : false
1757 },
1758 {
1759 "data" : [
1760 1,
1761 2
1762 ],
1763 "description" : "array, minItems valid",
1764 "valid" : true
1765 },
1766 {
1767 "data" : {
1768 "x" : 1
1769 },
1770 "description" : "object, dependencies invalid",
1771 "valid" : false
1772 },
1773 {
1774 "data" : {},
1775 "description" : "object, dependencies valid",
1776 "valid" : true
1777 }
1778 ]
1779 },
1780 {
1781 "description" : "maxProperties + minItems",
1782 "schema" : {
1783 "maxProperties" : 1,
1784 "minItems" : 2
1785 },
1786 "tests" : [
1787 {
1788 "data" : [
1789 1
1790 ],
1791 "description" : "array, minItems invalid",
1792 "valid" : false
1793 },
1794 {
1795 "data" : [
1796 1,
1797 2
1798 ],
1799 "description" : "array, minItems valid",
1800 "valid" : true
1801 },
1802 {
1803 "data" : {
1804 "x" : 1,
1805 "y" : 2
1806 },
1807 "description" : "object, maxProperties invalid",
1808 "valid" : false
1809 },
1810 {
1811 "data" : {
1812 "x" : 1
1813 },
1814 "description" : "object, maxProperties valid",
1815 "valid" : true
1816 }
1817 ]
1818 },
1819 {
1820 "description" : "minItems + minProperties",
1821 "schema" : {
1822 "minItems" : 2,
1823 "minProperties" : 1
1824 },
1825 "tests" : [
1826 {
1827 "data" : [
1828 1
1829 ],
1830 "description" : "array, minItems invalid",
1831 "valid" : false
1832 },
1833 {
1834 "data" : [
1835 1,
1836 2
1837 ],
1838 "description" : "array, minItems valid",
1839 "valid" : true
1840 },
1841 {
1842 "data" : {},
1843 "description" : "object, minProperties invalid",
1844 "valid" : false
1845 },
1846 {
1847 "data" : {
1848 "x" : 1
1849 },
1850 "description" : "object, minProperties valid",
1851 "valid" : true
1852 }
1853 ]
1854 },
1855 {
1856 "description" : "minItems + patternProperties",
1857 "schema" : {
1858 "minItems" : 2,
1859 "patternProperties" : {
1860 "no" : false,
1861 "yes" : true
1862 }
1863 },
1864 "tests" : [
1865 {
1866 "data" : [
1867 1
1868 ],
1869 "description" : "array, minItems invalid",
1870 "valid" : false
1871 },
1872 {
1873 "data" : [
1874 1,
1875 2
1876 ],
1877 "description" : "array, minItems valid",
1878 "valid" : true
1879 },
1880 {
1881 "data" : {
1882 "no" : 1
1883 },
1884 "description" : "object, patternProperties invalid",
1885 "valid" : false
1886 },
1887 {
1888 "data" : {
1889 "yes" : 1
1890 },
1891 "description" : "object, patternProperties valid",
1892 "valid" : true
1893 }
1894 ]
1895 },
1896 {
1897 "description" : "minItems + properties",
1898 "schema" : {
1899 "minItems" : 2,
1900 "properties" : {
1901 "x" : false
1902 }
1903 },
1904 "tests" : [
1905 {
1906 "data" : [
1907 1
1908 ],
1909 "description" : "array, minItems invalid",
1910 "valid" : false
1911 },
1912 {
1913 "data" : [
1914 1,
1915 2
1916 ],
1917 "description" : "array, minItems valid",
1918 "valid" : true
1919 },
1920 {
1921 "data" : {
1922 "x" : 1
1923 },
1924 "description" : "object, properties invalid",
1925 "valid" : false
1926 },
1927 {
1928 "data" : {},
1929 "description" : "object, properties valid",
1930 "valid" : true
1931 }
1932 ]
1933 },
1934 {
1935 "description" : "minItems + propertyNames",
1936 "schema" : {
1937 "minItems" : 2,
1938 "propertyNames" : false
1939 },
1940 "tests" : [
1941 {
1942 "data" : [
1943 1
1944 ],
1945 "description" : "array, minItems invalid",
1946 "valid" : false
1947 },
1948 {
1949 "data" : [
1950 1,
1951 2
1952 ],
1953 "description" : "array, minItems valid",
1954 "valid" : true
1955 },
1956 {
1957 "data" : {
1958 "x" : 1
1959 },
1960 "description" : "object, propertyNames invalid",
1961 "valid" : false
1962 },
1963 {
1964 "data" : {},
1965 "description" : "object, propertyNames valid",
1966 "valid" : true
1967 }
1968 ]
1969 },
1970 {
1971 "description" : "minItems + required",
1972 "schema" : {
1973 "minItems" : 2,
1974 "required" : [
1975 "x"
1976 ]
1977 },
1978 "tests" : [
1979 {
1980 "data" : [
1981 1
1982 ],
1983 "description" : "array, minItems invalid",
1984 "valid" : false
1985 },
1986 {
1987 "data" : [
1988 1,
1989 2
1990 ],
1991 "description" : "array, minItems valid",
1992 "valid" : true
1993 },
1994 {
1995 "data" : {},
1996 "description" : "object, required invalid",
1997 "valid" : false
1998 },
1999 {
2000 "data" : {
2001 "x" : 1
2002 },
2003 "description" : "object, required valid",
2004 "valid" : true
2005 }
2006 ]
2007 },
2008 {
2009 "description" : "additionalProperties + uniqueItems",
2010 "schema" : {
2011 "additionalProperties" : false,
2012 "uniqueItems" : true
2013 },
2014 "tests" : [
2015 {
2016 "data" : [
2017 1,
2018 1
2019 ],
2020 "description" : "array, uniqueItems invalid",
2021 "valid" : false
2022 },
2023 {
2024 "data" : [
2025 1
2026 ],
2027 "description" : "array, uniqueItems valid",
2028 "valid" : true
2029 },
2030 {
2031 "data" : {
2032 "x" : 1
2033 },
2034 "description" : "object, additionalProperties invalid",
2035 "valid" : false
2036 },
2037 {
2038 "data" : {},
2039 "description" : "object, additionalProperties valid",
2040 "valid" : true
2041 }
2042 ]
2043 },
2044 {
2045 "description" : "dependencies + uniqueItems",
2046 "schema" : {
2047 "dependencies" : {
2048 "x" : false
2049 },
2050 "uniqueItems" : true
2051 },
2052 "tests" : [
2053 {
2054 "data" : [
2055 1,
2056 1
2057 ],
2058 "description" : "array, uniqueItems invalid",
2059 "valid" : false
2060 },
2061 {
2062 "data" : [
2063 1
2064 ],
2065 "description" : "array, uniqueItems valid",
2066 "valid" : true
2067 },
2068 {
2069 "data" : {
2070 "x" : 1
2071 },
2072 "description" : "object, dependencies invalid",
2073 "valid" : false
2074 },
2075 {
2076 "data" : {},
2077 "description" : "object, dependencies valid",
2078 "valid" : true
2079 }
2080 ]
2081 },
2082 {
2083 "description" : "maxProperties + uniqueItems",
2084 "schema" : {
2085 "maxProperties" : 1,
2086 "uniqueItems" : true
2087 },
2088 "tests" : [
2089 {
2090 "data" : [
2091 1,
2092 1
2093 ],
2094 "description" : "array, uniqueItems invalid",
2095 "valid" : false
2096 },
2097 {
2098 "data" : [
2099 1
2100 ],
2101 "description" : "array, uniqueItems valid",
2102 "valid" : true
2103 },
2104 {
2105 "data" : {
2106 "x" : 1,
2107 "y" : 2
2108 },
2109 "description" : "object, maxProperties invalid",
2110 "valid" : false
2111 },
2112 {
2113 "data" : {
2114 "x" : 1
2115 },
2116 "description" : "object, maxProperties valid",
2117 "valid" : true
2118 }
2119 ]
2120 },
2121 {
2122 "description" : "minProperties + uniqueItems",
2123 "schema" : {
2124 "minProperties" : 1,
2125 "uniqueItems" : true
2126 },
2127 "tests" : [
2128 {
2129 "data" : [
2130 1,
2131 1
2132 ],
2133 "description" : "array, uniqueItems invalid",
2134 "valid" : false
2135 },
2136 {
2137 "data" : [
2138 1
2139 ],
2140 "description" : "array, uniqueItems valid",
2141 "valid" : true
2142 },
2143 {
2144 "data" : {},
2145 "description" : "object, minProperties invalid",
2146 "valid" : false
2147 },
2148 {
2149 "data" : {
2150 "x" : 1
2151 },
2152 "description" : "object, minProperties valid",
2153 "valid" : true
2154 }
2155 ]
2156 },
2157 {
2158 "description" : "patternProperties + uniqueItems",
2159 "schema" : {
2160 "patternProperties" : {
2161 "no" : false,
2162 "yes" : true
2163 },
2164 "uniqueItems" : true
2165 },
2166 "tests" : [
2167 {
2168 "data" : [
2169 1,
2170 1
2171 ],
2172 "description" : "array, uniqueItems invalid",
2173 "valid" : false
2174 },
2175 {
2176 "data" : [
2177 1
2178 ],
2179 "description" : "array, uniqueItems valid",
2180 "valid" : true
2181 },
2182 {
2183 "data" : {
2184 "no" : 1
2185 },
2186 "description" : "object, patternProperties invalid",
2187 "valid" : false
2188 },
2189 {
2190 "data" : {
2191 "yes" : 1
2192 },
2193 "description" : "object, patternProperties valid",
2194 "valid" : true
2195 }
2196 ]
2197 },
2198 {
2199 "description" : "properties + uniqueItems",
2200 "schema" : {
2201 "properties" : {
2202 "x" : false
2203 },
2204 "uniqueItems" : true
2205 },
2206 "tests" : [
2207 {
2208 "data" : [
2209 1,
2210 1
2211 ],
2212 "description" : "array, uniqueItems invalid",
2213 "valid" : false
2214 },
2215 {
2216 "data" : [
2217 1
2218 ],
2219 "description" : "array, uniqueItems valid",
2220 "valid" : true
2221 },
2222 {
2223 "data" : {
2224 "x" : 1
2225 },
2226 "description" : "object, properties invalid",
2227 "valid" : false
2228 },
2229 {
2230 "data" : {},
2231 "description" : "object, properties valid",
2232 "valid" : true
2233 }
2234 ]
2235 },
2236 {
2237 "description" : "propertyNames + uniqueItems",
2238 "schema" : {
2239 "propertyNames" : false,
2240 "uniqueItems" : true
2241 },
2242 "tests" : [
2243 {
2244 "data" : [
2245 1,
2246 1
2247 ],
2248 "description" : "array, uniqueItems invalid",
2249 "valid" : false
2250 },
2251 {
2252 "data" : [
2253 1
2254 ],
2255 "description" : "array, uniqueItems valid",
2256 "valid" : true
2257 },
2258 {
2259 "data" : {
2260 "x" : 1
2261 },
2262 "description" : "object, propertyNames invalid",
2263 "valid" : false
2264 },
2265 {
2266 "data" : {},
2267 "description" : "object, propertyNames valid",
2268 "valid" : true
2269 }
2270 ]
2271 },
2272 {
2273 "description" : "required + uniqueItems",
2274 "schema" : {
2275 "required" : [
2276 "x"
2277 ],
2278 "uniqueItems" : true
2279 },
2280 "tests" : [
2281 {
2282 "data" : [
2283 1,
2284 1
2285 ],
2286 "description" : "array, uniqueItems invalid",
2287 "valid" : false
2288 },
2289 {
2290 "data" : [
2291 1
2292 ],
2293 "description" : "array, uniqueItems valid",
2294 "valid" : true
2295 },
2296 {
2297 "data" : {},
2298 "description" : "object, required invalid",
2299 "valid" : false
2300 },
2301 {
2302 "data" : {
2303 "x" : 1
2304 },
2305 "description" : "object, required valid",
2306 "valid" : true
2307 }
2308 ]
2309 },
2310 {
2311 "description" : "contains + maxLength",
2312 "schema" : {
2313 "contains" : true,
2314 "maxLength" : 2
2315 },
2316 "tests" : [
2317 {
2318 "data" : [],
2319 "description" : "array, contains invalid",
2320 "valid" : false
2321 },
2322 {
2323 "data" : [
2324 1
2325 ],
2326 "description" : "array, contains valid",
2327 "valid" : true
2328 },
2329 {
2330 "data" : "hello",
2331 "description" : "string, maxLength invalid",
2332 "valid" : false
2333 },
2334 {
2335 "data" : "hi",
2336 "description" : "string, maxLength valid",
2337 "valid" : true
2338 }
2339 ]
2340 },
2341 {
2342 "description" : "contains + minLength",
2343 "schema" : {
2344 "contains" : true,
2345 "minLength" : 2
2346 },
2347 "tests" : [
2348 {
2349 "data" : [],
2350 "description" : "array, contains invalid",
2351 "valid" : false
2352 },
2353 {
2354 "data" : [
2355 1
2356 ],
2357 "description" : "array, contains valid",
2358 "valid" : true
2359 },
2360 {
2361 "data" : "x",
2362 "description" : "string, minLength invalid",
2363 "valid" : false
2364 },
2365 {
2366 "data" : "hi",
2367 "description" : "string, minLength valid",
2368 "valid" : true
2369 }
2370 ]
2371 },
2372 {
2373 "description" : "contains + pattern",
2374 "schema" : {
2375 "contains" : true,
2376 "pattern" : "hi"
2377 },
2378 "tests" : [
2379 {
2380 "data" : [],
2381 "description" : "array, contains invalid",
2382 "valid" : false
2383 },
2384 {
2385 "data" : [
2386 1
2387 ],
2388 "description" : "array, contains valid",
2389 "valid" : true
2390 },
2391 {
2392 "data" : "hello",
2393 "description" : "string, pattern invalid",
2394 "valid" : false
2395 },
2396 {
2397 "data" : "hihi",
2398 "description" : "string, pattern valid",
2399 "valid" : true
2400 }
2401 ]
2402 },
2403 {
2404 "description" : "items + maxLength",
2405 "schema" : {
2406 "items" : [
2407 false
2408 ],
2409 "maxLength" : 2
2410 },
2411 "tests" : [
2412 {
2413 "data" : [
2414 1
2415 ],
2416 "description" : "array, items invalid",
2417 "valid" : false
2418 },
2419 {
2420 "data" : [],
2421 "description" : "array, items valid",
2422 "valid" : true
2423 },
2424 {
2425 "data" : "hello",
2426 "description" : "string, maxLength invalid",
2427 "valid" : false
2428 },
2429 {
2430 "data" : "hi",
2431 "description" : "string, maxLength valid",
2432 "valid" : true
2433 }
2434 ]
2435 },
2436 {
2437 "description" : "items + minLength",
2438 "schema" : {
2439 "items" : [
2440 false
2441 ],
2442 "minLength" : 2
2443 },
2444 "tests" : [
2445 {
2446 "data" : [
2447 1
2448 ],
2449 "description" : "array, items invalid",
2450 "valid" : false
2451 },
2452 {
2453 "data" : [],
2454 "description" : "array, items valid",
2455 "valid" : true
2456 },
2457 {
2458 "data" : "x",
2459 "description" : "string, minLength invalid",
2460 "valid" : false
2461 },
2462 {
2463 "data" : "hi",
2464 "description" : "string, minLength valid",
2465 "valid" : true
2466 }
2467 ]
2468 },
2469 {
2470 "description" : "items + pattern",
2471 "schema" : {
2472 "items" : [
2473 false
2474 ],
2475 "pattern" : "hi"
2476 },
2477 "tests" : [
2478 {
2479 "data" : [
2480 1
2481 ],
2482 "description" : "array, items invalid",
2483 "valid" : false
2484 },
2485 {
2486 "data" : [],
2487 "description" : "array, items valid",
2488 "valid" : true
2489 },
2490 {
2491 "data" : "hello",
2492 "description" : "string, pattern invalid",
2493 "valid" : false
2494 },
2495 {
2496 "data" : "hihi",
2497 "description" : "string, pattern valid",
2498 "valid" : true
2499 }
2500 ]
2501 },
2502 {
2503 "description" : "maxItems + maxLength",
2504 "schema" : {
2505 "maxItems" : 1,
2506 "maxLength" : 2
2507 },
2508 "tests" : [
2509 {
2510 "data" : [
2511 1,
2512 2
2513 ],
2514 "description" : "array, maxItems invalid",
2515 "valid" : false
2516 },
2517 {
2518 "data" : [
2519 1
2520 ],
2521 "description" : "array, maxItems valid",
2522 "valid" : true
2523 },
2524 {
2525 "data" : "hello",
2526 "description" : "string, maxLength invalid",
2527 "valid" : false
2528 },
2529 {
2530 "data" : "hi",
2531 "description" : "string, maxLength valid",
2532 "valid" : true
2533 }
2534 ]
2535 },
2536 {
2537 "description" : "maxItems + minLength",
2538 "schema" : {
2539 "maxItems" : 1,
2540 "minLength" : 2
2541 },
2542 "tests" : [
2543 {
2544 "data" : [
2545 1,
2546 2
2547 ],
2548 "description" : "array, maxItems invalid",
2549 "valid" : false
2550 },
2551 {
2552 "data" : [
2553 1
2554 ],
2555 "description" : "array, maxItems valid",
2556 "valid" : true
2557 },
2558 {
2559 "data" : "x",
2560 "description" : "string, minLength invalid",
2561 "valid" : false
2562 },
2563 {
2564 "data" : "hi",
2565 "description" : "string, minLength valid",
2566 "valid" : true
2567 }
2568 ]
2569 },
2570 {
2571 "description" : "maxItems + pattern",
2572 "schema" : {
2573 "maxItems" : 1,
2574 "pattern" : "hi"
2575 },
2576 "tests" : [
2577 {
2578 "data" : [
2579 1,
2580 2
2581 ],
2582 "description" : "array, maxItems invalid",
2583 "valid" : false
2584 },
2585 {
2586 "data" : [
2587 1
2588 ],
2589 "description" : "array, maxItems valid",
2590 "valid" : true
2591 },
2592 {
2593 "data" : "hello",
2594 "description" : "string, pattern invalid",
2595 "valid" : false
2596 },
2597 {
2598 "data" : "hihi",
2599 "description" : "string, pattern valid",
2600 "valid" : true
2601 }
2602 ]
2603 },
2604 {
2605 "description" : "maxLength + minItems",
2606 "schema" : {
2607 "maxLength" : 2,
2608 "minItems" : 2
2609 },
2610 "tests" : [
2611 {
2612 "data" : [
2613 1
2614 ],
2615 "description" : "array, minItems invalid",
2616 "valid" : false
2617 },
2618 {
2619 "data" : [
2620 1,
2621 2
2622 ],
2623 "description" : "array, minItems valid",
2624 "valid" : true
2625 },
2626 {
2627 "data" : "hello",
2628 "description" : "string, maxLength invalid",
2629 "valid" : false
2630 },
2631 {
2632 "data" : "hi",
2633 "description" : "string, maxLength valid",
2634 "valid" : true
2635 }
2636 ]
2637 },
2638 {
2639 "description" : "minItems + minLength",
2640 "schema" : {
2641 "minItems" : 2,
2642 "minLength" : 2
2643 },
2644 "tests" : [
2645 {
2646 "data" : [
2647 1
2648 ],
2649 "description" : "array, minItems invalid",
2650 "valid" : false
2651 },
2652 {
2653 "data" : [
2654 1,
2655 2
2656 ],
2657 "description" : "array, minItems valid",
2658 "valid" : true
2659 },
2660 {
2661 "data" : "x",
2662 "description" : "string, minLength invalid",
2663 "valid" : false
2664 },
2665 {
2666 "data" : "hi",
2667 "description" : "string, minLength valid",
2668 "valid" : true
2669 }
2670 ]
2671 },
2672 {
2673 "description" : "minItems + pattern",
2674 "schema" : {
2675 "minItems" : 2,
2676 "pattern" : "hi"
2677 },
2678 "tests" : [
2679 {
2680 "data" : [
2681 1
2682 ],
2683 "description" : "array, minItems invalid",
2684 "valid" : false
2685 },
2686 {
2687 "data" : [
2688 1,
2689 2
2690 ],
2691 "description" : "array, minItems valid",
2692 "valid" : true
2693 },
2694 {
2695 "data" : "hello",
2696 "description" : "string, pattern invalid",
2697 "valid" : false
2698 },
2699 {
2700 "data" : "hihi",
2701 "description" : "string, pattern valid",
2702 "valid" : true
2703 }
2704 ]
2705 },
2706 {
2707 "description" : "maxLength + uniqueItems",
2708 "schema" : {
2709 "maxLength" : 2,
2710 "uniqueItems" : true
2711 },
2712 "tests" : [
2713 {
2714 "data" : [
2715 1,
2716 1
2717 ],
2718 "description" : "array, uniqueItems invalid",
2719 "valid" : false
2720 },
2721 {
2722 "data" : [
2723 1
2724 ],
2725 "description" : "array, uniqueItems valid",
2726 "valid" : true
2727 },
2728 {
2729 "data" : "hello",
2730 "description" : "string, maxLength invalid",
2731 "valid" : false
2732 },
2733 {
2734 "data" : "hi",
2735 "description" : "string, maxLength valid",
2736 "valid" : true
2737 }
2738 ]
2739 },
2740 {
2741 "description" : "minLength + uniqueItems",
2742 "schema" : {
2743 "minLength" : 2,
2744 "uniqueItems" : true
2745 },
2746 "tests" : [
2747 {
2748 "data" : [
2749 1,
2750 1
2751 ],
2752 "description" : "array, uniqueItems invalid",
2753 "valid" : false
2754 },
2755 {
2756 "data" : [
2757 1
2758 ],
2759 "description" : "array, uniqueItems valid",
2760 "valid" : true
2761 },
2762 {
2763 "data" : "x",
2764 "description" : "string, minLength invalid",
2765 "valid" : false
2766 },
2767 {
2768 "data" : "hi",
2769 "description" : "string, minLength valid",
2770 "valid" : true
2771 }
2772 ]
2773 },
2774 {
2775 "description" : "pattern + uniqueItems",
2776 "schema" : {
2777 "pattern" : "hi",
2778 "uniqueItems" : true
2779 },
2780 "tests" : [
2781 {
2782 "data" : [
2783 1,
2784 1
2785 ],
2786 "description" : "array, uniqueItems invalid",
2787 "valid" : false
2788 },
2789 {
2790 "data" : [
2791 1
2792 ],
2793 "description" : "array, uniqueItems valid",
2794 "valid" : true
2795 },
2796 {
2797 "data" : "hello",
2798 "description" : "string, pattern invalid",
2799 "valid" : false
2800 },
2801 {
2802 "data" : "hihi",
2803 "description" : "string, pattern valid",
2804 "valid" : true
2805 }
2806 ]
2807 },
2808 {
2809 "description" : "additionalProperties + exclusiveMaximum",
2810 "schema" : {
2811 "additionalProperties" : false,
2812 "exclusiveMaximum" : 2
2813 },
2814 "tests" : [
2815 {
2816 "data" : 2,
2817 "description" : "number, exclusiveMaximum invalid",
2818 "valid" : false
2819 },
2820 {
2821 "data" : 1,
2822 "description" : "number, exclusiveMaximum valid",
2823 "valid" : true
2824 },
2825 {
2826 "data" : {
2827 "x" : 1
2828 },
2829 "description" : "object, additionalProperties invalid",
2830 "valid" : false
2831 },
2832 {
2833 "data" : {},
2834 "description" : "object, additionalProperties valid",
2835 "valid" : true
2836 }
2837 ]
2838 },
2839 {
2840 "description" : "dependencies + exclusiveMaximum",
2841 "schema" : {
2842 "dependencies" : {
2843 "x" : false
2844 },
2845 "exclusiveMaximum" : 2
2846 },
2847 "tests" : [
2848 {
2849 "data" : 2,
2850 "description" : "number, exclusiveMaximum invalid",
2851 "valid" : false
2852 },
2853 {
2854 "data" : 1,
2855 "description" : "number, exclusiveMaximum valid",
2856 "valid" : true
2857 },
2858 {
2859 "data" : {
2860 "x" : 1
2861 },
2862 "description" : "object, dependencies invalid",
2863 "valid" : false
2864 },
2865 {
2866 "data" : {},
2867 "description" : "object, dependencies valid",
2868 "valid" : true
2869 }
2870 ]
2871 },
2872 {
2873 "description" : "exclusiveMaximum + maxProperties",
2874 "schema" : {
2875 "exclusiveMaximum" : 2,
2876 "maxProperties" : 1
2877 },
2878 "tests" : [
2879 {
2880 "data" : 2,
2881 "description" : "number, exclusiveMaximum invalid",
2882 "valid" : false
2883 },
2884 {
2885 "data" : 1,
2886 "description" : "number, exclusiveMaximum valid",
2887 "valid" : true
2888 },
2889 {
2890 "data" : {
2891 "x" : 1,
2892 "y" : 2
2893 },
2894 "description" : "object, maxProperties invalid",
2895 "valid" : false
2896 },
2897 {
2898 "data" : {
2899 "x" : 1
2900 },
2901 "description" : "object, maxProperties valid",
2902 "valid" : true
2903 }
2904 ]
2905 },
2906 {
2907 "description" : "exclusiveMaximum + minProperties",
2908 "schema" : {
2909 "exclusiveMaximum" : 2,
2910 "minProperties" : 1
2911 },
2912 "tests" : [
2913 {
2914 "data" : 2,
2915 "description" : "number, exclusiveMaximum invalid",
2916 "valid" : false
2917 },
2918 {
2919 "data" : 1,
2920 "description" : "number, exclusiveMaximum valid",
2921 "valid" : true
2922 },
2923 {
2924 "data" : {},
2925 "description" : "object, minProperties invalid",
2926 "valid" : false
2927 },
2928 {
2929 "data" : {
2930 "x" : 1
2931 },
2932 "description" : "object, minProperties valid",
2933 "valid" : true
2934 }
2935 ]
2936 },
2937 {
2938 "description" : "exclusiveMaximum + patternProperties",
2939 "schema" : {
2940 "exclusiveMaximum" : 2,
2941 "patternProperties" : {
2942 "no" : false,
2943 "yes" : true
2944 }
2945 },
2946 "tests" : [
2947 {
2948 "data" : 2,
2949 "description" : "number, exclusiveMaximum invalid",
2950 "valid" : false
2951 },
2952 {
2953 "data" : 1,
2954 "description" : "number, exclusiveMaximum valid",
2955 "valid" : true
2956 },
2957 {
2958 "data" : {
2959 "no" : 1
2960 },
2961 "description" : "object, patternProperties invalid",
2962 "valid" : false
2963 },
2964 {
2965 "data" : {
2966 "yes" : 1
2967 },
2968 "description" : "object, patternProperties valid",
2969 "valid" : true
2970 }
2971 ]
2972 },
2973 {
2974 "description" : "exclusiveMaximum + properties",
2975 "schema" : {
2976 "exclusiveMaximum" : 2,
2977 "properties" : {
2978 "x" : false
2979 }
2980 },
2981 "tests" : [
2982 {
2983 "data" : 2,
2984 "description" : "number, exclusiveMaximum invalid",
2985 "valid" : false
2986 },
2987 {
2988 "data" : 1,
2989 "description" : "number, exclusiveMaximum valid",
2990 "valid" : true
2991 },
2992 {
2993 "data" : {
2994 "x" : 1
2995 },
2996 "description" : "object, properties invalid",
2997 "valid" : false
2998 },
2999 {
3000 "data" : {},
3001 "description" : "object, properties valid",
3002 "valid" : true
3003 }
3004 ]
3005 },
3006 {
3007 "description" : "exclusiveMaximum + propertyNames",
3008 "schema" : {
3009 "exclusiveMaximum" : 2,
3010 "propertyNames" : false
3011 },
3012 "tests" : [
3013 {
3014 "data" : 2,
3015 "description" : "number, exclusiveMaximum invalid",
3016 "valid" : false
3017 },
3018 {
3019 "data" : 1,
3020 "description" : "number, exclusiveMaximum valid",
3021 "valid" : true
3022 },
3023 {
3024 "data" : {
3025 "x" : 1
3026 },
3027 "description" : "object, propertyNames invalid",
3028 "valid" : false
3029 },
3030 {
3031 "data" : {},
3032 "description" : "object, propertyNames valid",
3033 "valid" : true
3034 }
3035 ]
3036 },
3037 {
3038 "description" : "exclusiveMaximum + required",
3039 "schema" : {
3040 "exclusiveMaximum" : 2,
3041 "required" : [
3042 "x"
3043 ]
3044 },
3045 "tests" : [
3046 {
3047 "data" : 2,
3048 "description" : "number, exclusiveMaximum invalid",
3049 "valid" : false
3050 },
3051 {
3052 "data" : 1,
3053 "description" : "number, exclusiveMaximum valid",
3054 "valid" : true
3055 },
3056 {
3057 "data" : {},
3058 "description" : "object, required invalid",
3059 "valid" : false
3060 },
3061 {
3062 "data" : {
3063 "x" : 1
3064 },
3065 "description" : "object, required valid",
3066 "valid" : true
3067 }
3068 ]
3069 },
3070 {
3071 "description" : "additionalProperties + exclusiveMinimum",
3072 "schema" : {
3073 "additionalProperties" : false,
3074 "exclusiveMinimum" : 2
3075 },
3076 "tests" : [
3077 {
3078 "data" : 2,
3079 "description" : "number, exclusiveMinimum invalid",
3080 "valid" : false
3081 },
3082 {
3083 "data" : 3,
3084 "description" : "number, exclusiveMinimum valid",
3085 "valid" : true
3086 },
3087 {
3088 "data" : {
3089 "x" : 1
3090 },
3091 "description" : "object, additionalProperties invalid",
3092 "valid" : false
3093 },
3094 {
3095 "data" : {},
3096 "description" : "object, additionalProperties valid",
3097 "valid" : true
3098 }
3099 ]
3100 },
3101 {
3102 "description" : "dependencies + exclusiveMinimum",
3103 "schema" : {
3104 "dependencies" : {
3105 "x" : false
3106 },
3107 "exclusiveMinimum" : 2
3108 },
3109 "tests" : [
3110 {
3111 "data" : 2,
3112 "description" : "number, exclusiveMinimum invalid",
3113 "valid" : false
3114 },
3115 {
3116 "data" : 3,
3117 "description" : "number, exclusiveMinimum valid",
3118 "valid" : true
3119 },
3120 {
3121 "data" : {
3122 "x" : 1
3123 },
3124 "description" : "object, dependencies invalid",
3125 "valid" : false
3126 },
3127 {
3128 "data" : {},
3129 "description" : "object, dependencies valid",
3130 "valid" : true
3131 }
3132 ]
3133 },
3134 {
3135 "description" : "exclusiveMinimum + maxProperties",
3136 "schema" : {
3137 "exclusiveMinimum" : 2,
3138 "maxProperties" : 1
3139 },
3140 "tests" : [
3141 {
3142 "data" : 2,
3143 "description" : "number, exclusiveMinimum invalid",
3144 "valid" : false
3145 },
3146 {
3147 "data" : 3,
3148 "description" : "number, exclusiveMinimum valid",
3149 "valid" : true
3150 },
3151 {
3152 "data" : {
3153 "x" : 1,
3154 "y" : 2
3155 },
3156 "description" : "object, maxProperties invalid",
3157 "valid" : false
3158 },
3159 {
3160 "data" : {
3161 "x" : 1
3162 },
3163 "description" : "object, maxProperties valid",
3164 "valid" : true
3165 }
3166 ]
3167 },
3168 {
3169 "description" : "exclusiveMinimum + minProperties",
3170 "schema" : {
3171 "exclusiveMinimum" : 2,
3172 "minProperties" : 1
3173 },
3174 "tests" : [
3175 {
3176 "data" : 2,
3177 "description" : "number, exclusiveMinimum invalid",
3178 "valid" : false
3179 },
3180 {
3181 "data" : 3,
3182 "description" : "number, exclusiveMinimum valid",
3183 "valid" : true
3184 },
3185 {
3186 "data" : {},
3187 "description" : "object, minProperties invalid",
3188 "valid" : false
3189 },
3190 {
3191 "data" : {
3192 "x" : 1
3193 },
3194 "description" : "object, minProperties valid",
3195 "valid" : true
3196 }
3197 ]
3198 },
3199 {
3200 "description" : "exclusiveMinimum + patternProperties",
3201 "schema" : {
3202 "exclusiveMinimum" : 2,
3203 "patternProperties" : {
3204 "no" : false,
3205 "yes" : true
3206 }
3207 },
3208 "tests" : [
3209 {
3210 "data" : 2,
3211 "description" : "number, exclusiveMinimum invalid",
3212 "valid" : false
3213 },
3214 {
3215 "data" : 3,
3216 "description" : "number, exclusiveMinimum valid",
3217 "valid" : true
3218 },
3219 {
3220 "data" : {
3221 "no" : 1
3222 },
3223 "description" : "object, patternProperties invalid",
3224 "valid" : false
3225 },
3226 {
3227 "data" : {
3228 "yes" : 1
3229 },
3230 "description" : "object, patternProperties valid",
3231 "valid" : true
3232 }
3233 ]
3234 },
3235 {
3236 "description" : "exclusiveMinimum + properties",
3237 "schema" : {
3238 "exclusiveMinimum" : 2,
3239 "properties" : {
3240 "x" : false
3241 }
3242 },
3243 "tests" : [
3244 {
3245 "data" : 2,
3246 "description" : "number, exclusiveMinimum invalid",
3247 "valid" : false
3248 },
3249 {
3250 "data" : 3,
3251 "description" : "number, exclusiveMinimum valid",
3252 "valid" : true
3253 },
3254 {
3255 "data" : {
3256 "x" : 1
3257 },
3258 "description" : "object, properties invalid",
3259 "valid" : false
3260 },
3261 {
3262 "data" : {},
3263 "description" : "object, properties valid",
3264 "valid" : true
3265 }
3266 ]
3267 },
3268 {
3269 "description" : "exclusiveMinimum + propertyNames",
3270 "schema" : {
3271 "exclusiveMinimum" : 2,
3272 "propertyNames" : false
3273 },
3274 "tests" : [
3275 {
3276 "data" : 2,
3277 "description" : "number, exclusiveMinimum invalid",
3278 "valid" : false
3279 },
3280 {
3281 "data" : 3,
3282 "description" : "number, exclusiveMinimum valid",
3283 "valid" : true
3284 },
3285 {
3286 "data" : {
3287 "x" : 1
3288 },
3289 "description" : "object, propertyNames invalid",
3290 "valid" : false
3291 },
3292 {
3293 "data" : {},
3294 "description" : "object, propertyNames valid",
3295 "valid" : true
3296 }
3297 ]
3298 },
3299 {
3300 "description" : "exclusiveMinimum + required",
3301 "schema" : {
3302 "exclusiveMinimum" : 2,
3303 "required" : [
3304 "x"
3305 ]
3306 },
3307 "tests" : [
3308 {
3309 "data" : 2,
3310 "description" : "number, exclusiveMinimum invalid",
3311 "valid" : false
3312 },
3313 {
3314 "data" : 3,
3315 "description" : "number, exclusiveMinimum valid",
3316 "valid" : true
3317 },
3318 {
3319 "data" : {},
3320 "description" : "object, required invalid",
3321 "valid" : false
3322 },
3323 {
3324 "data" : {
3325 "x" : 1
3326 },
3327 "description" : "object, required valid",
3328 "valid" : true
3329 }
3330 ]
3331 },
3332 {
3333 "description" : "additionalProperties + maximum",
3334 "schema" : {
3335 "additionalProperties" : false,
3336 "maximum" : 2
3337 },
3338 "tests" : [
3339 {
3340 "data" : 3,
3341 "description" : "number, maximum invalid",
3342 "valid" : false
3343 },
3344 {
3345 "data" : 2,
3346 "description" : "number, maximum valid",
3347 "valid" : true
3348 },
3349 {
3350 "data" : {
3351 "x" : 1
3352 },
3353 "description" : "object, additionalProperties invalid",
3354 "valid" : false
3355 },
3356 {
3357 "data" : {},
3358 "description" : "object, additionalProperties valid",
3359 "valid" : true
3360 }
3361 ]
3362 },
3363 {
3364 "description" : "dependencies + maximum",
3365 "schema" : {
3366 "dependencies" : {
3367 "x" : false
3368 },
3369 "maximum" : 2
3370 },
3371 "tests" : [
3372 {
3373 "data" : 3,
3374 "description" : "number, maximum invalid",
3375 "valid" : false
3376 },
3377 {
3378 "data" : 2,
3379 "description" : "number, maximum valid",
3380 "valid" : true
3381 },
3382 {
3383 "data" : {
3384 "x" : 1
3385 },
3386 "description" : "object, dependencies invalid",
3387 "valid" : false
3388 },
3389 {
3390 "data" : {},
3391 "description" : "object, dependencies valid",
3392 "valid" : true
3393 }
3394 ]
3395 },
3396 {
3397 "description" : "maxProperties + maximum",
3398 "schema" : {
3399 "maxProperties" : 1,
3400 "maximum" : 2
3401 },
3402 "tests" : [
3403 {
3404 "data" : 3,
3405 "description" : "number, maximum invalid",
3406 "valid" : false
3407 },
3408 {
3409 "data" : 2,
3410 "description" : "number, maximum valid",
3411 "valid" : true
3412 },
3413 {
3414 "data" : {
3415 "x" : 1,
3416 "y" : 2
3417 },
3418 "description" : "object, maxProperties invalid",
3419 "valid" : false
3420 },
3421 {
3422 "data" : {
3423 "x" : 1
3424 },
3425 "description" : "object, maxProperties valid",
3426 "valid" : true
3427 }
3428 ]
3429 },
3430 {
3431 "description" : "maximum + minProperties",
3432 "schema" : {
3433 "maximum" : 2,
3434 "minProperties" : 1
3435 },
3436 "tests" : [
3437 {
3438 "data" : 3,
3439 "description" : "number, maximum invalid",
3440 "valid" : false
3441 },
3442 {
3443 "data" : 2,
3444 "description" : "number, maximum valid",
3445 "valid" : true
3446 },
3447 {
3448 "data" : {},
3449 "description" : "object, minProperties invalid",
3450 "valid" : false
3451 },
3452 {
3453 "data" : {
3454 "x" : 1
3455 },
3456 "description" : "object, minProperties valid",
3457 "valid" : true
3458 }
3459 ]
3460 },
3461 {
3462 "description" : "maximum + patternProperties",
3463 "schema" : {
3464 "maximum" : 2,
3465 "patternProperties" : {
3466 "no" : false,
3467 "yes" : true
3468 }
3469 },
3470 "tests" : [
3471 {
3472 "data" : 3,
3473 "description" : "number, maximum invalid",
3474 "valid" : false
3475 },
3476 {
3477 "data" : 2,
3478 "description" : "number, maximum valid",
3479 "valid" : true
3480 },
3481 {
3482 "data" : {
3483 "no" : 1
3484 },
3485 "description" : "object, patternProperties invalid",
3486 "valid" : false
3487 },
3488 {
3489 "data" : {
3490 "yes" : 1
3491 },
3492 "description" : "object, patternProperties valid",
3493 "valid" : true
3494 }
3495 ]
3496 },
3497 {
3498 "description" : "maximum + properties",
3499 "schema" : {
3500 "maximum" : 2,
3501 "properties" : {
3502 "x" : false
3503 }
3504 },
3505 "tests" : [
3506 {
3507 "data" : 3,
3508 "description" : "number, maximum invalid",
3509 "valid" : false
3510 },
3511 {
3512 "data" : 2,
3513 "description" : "number, maximum valid",
3514 "valid" : true
3515 },
3516 {
3517 "data" : {
3518 "x" : 1
3519 },
3520 "description" : "object, properties invalid",
3521 "valid" : false
3522 },
3523 {
3524 "data" : {},
3525 "description" : "object, properties valid",
3526 "valid" : true
3527 }
3528 ]
3529 },
3530 {
3531 "description" : "maximum + propertyNames",
3532 "schema" : {
3533 "maximum" : 2,
3534 "propertyNames" : false
3535 },
3536 "tests" : [
3537 {
3538 "data" : 3,
3539 "description" : "number, maximum invalid",
3540 "valid" : false
3541 },
3542 {
3543 "data" : 2,
3544 "description" : "number, maximum valid",
3545 "valid" : true
3546 },
3547 {
3548 "data" : {
3549 "x" : 1
3550 },
3551 "description" : "object, propertyNames invalid",
3552 "valid" : false
3553 },
3554 {
3555 "data" : {},
3556 "description" : "object, propertyNames valid",
3557 "valid" : true
3558 }
3559 ]
3560 },
3561 {
3562 "description" : "maximum + required",
3563 "schema" : {
3564 "maximum" : 2,
3565 "required" : [
3566 "x"
3567 ]
3568 },
3569 "tests" : [
3570 {
3571 "data" : 3,
3572 "description" : "number, maximum invalid",
3573 "valid" : false
3574 },
3575 {
3576 "data" : 2,
3577 "description" : "number, maximum valid",
3578 "valid" : true
3579 },
3580 {
3581 "data" : {},
3582 "description" : "object, required invalid",
3583 "valid" : false
3584 },
3585 {
3586 "data" : {
3587 "x" : 1
3588 },
3589 "description" : "object, required valid",
3590 "valid" : true
3591 }
3592 ]
3593 },
3594 {
3595 "description" : "additionalProperties + minimum",
3596 "schema" : {
3597 "additionalProperties" : false,
3598 "minimum" : 2
3599 },
3600 "tests" : [
3601 {
3602 "data" : 1,
3603 "description" : "number, minimum invalid",
3604 "valid" : false
3605 },
3606 {
3607 "data" : 2,
3608 "description" : "number, minimum valid",
3609 "valid" : true
3610 },
3611 {
3612 "data" : {
3613 "x" : 1
3614 },
3615 "description" : "object, additionalProperties invalid",
3616 "valid" : false
3617 },
3618 {
3619 "data" : {},
3620 "description" : "object, additionalProperties valid",
3621 "valid" : true
3622 }
3623 ]
3624 },
3625 {
3626 "description" : "dependencies + minimum",
3627 "schema" : {
3628 "dependencies" : {
3629 "x" : false
3630 },
3631 "minimum" : 2
3632 },
3633 "tests" : [
3634 {
3635 "data" : 1,
3636 "description" : "number, minimum invalid",
3637 "valid" : false
3638 },
3639 {
3640 "data" : 2,
3641 "description" : "number, minimum valid",
3642 "valid" : true
3643 },
3644 {
3645 "data" : {
3646 "x" : 1
3647 },
3648 "description" : "object, dependencies invalid",
3649 "valid" : false
3650 },
3651 {
3652 "data" : {},
3653 "description" : "object, dependencies valid",
3654 "valid" : true
3655 }
3656 ]
3657 },
3658 {
3659 "description" : "maxProperties + minimum",
3660 "schema" : {
3661 "maxProperties" : 1,
3662 "minimum" : 2
3663 },
3664 "tests" : [
3665 {
3666 "data" : 1,
3667 "description" : "number, minimum invalid",
3668 "valid" : false
3669 },
3670 {
3671 "data" : 2,
3672 "description" : "number, minimum valid",
3673 "valid" : true
3674 },
3675 {
3676 "data" : {
3677 "x" : 1,
3678 "y" : 2
3679 },
3680 "description" : "object, maxProperties invalid",
3681 "valid" : false
3682 },
3683 {
3684 "data" : {
3685 "x" : 1
3686 },
3687 "description" : "object, maxProperties valid",
3688 "valid" : true
3689 }
3690 ]
3691 },
3692 {
3693 "description" : "minProperties + minimum",
3694 "schema" : {
3695 "minProperties" : 1,
3696 "minimum" : 2
3697 },
3698 "tests" : [
3699 {
3700 "data" : 1,
3701 "description" : "number, minimum invalid",
3702 "valid" : false
3703 },
3704 {
3705 "data" : 2,
3706 "description" : "number, minimum valid",
3707 "valid" : true
3708 },
3709 {
3710 "data" : {},
3711 "description" : "object, minProperties invalid",
3712 "valid" : false
3713 },
3714 {
3715 "data" : {
3716 "x" : 1
3717 },
3718 "description" : "object, minProperties valid",
3719 "valid" : true
3720 }
3721 ]
3722 },
3723 {
3724 "description" : "minimum + patternProperties",
3725 "schema" : {
3726 "minimum" : 2,
3727 "patternProperties" : {
3728 "no" : false,
3729 "yes" : true
3730 }
3731 },
3732 "tests" : [
3733 {
3734 "data" : 1,
3735 "description" : "number, minimum invalid",
3736 "valid" : false
3737 },
3738 {
3739 "data" : 2,
3740 "description" : "number, minimum valid",
3741 "valid" : true
3742 },
3743 {
3744 "data" : {
3745 "no" : 1
3746 },
3747 "description" : "object, patternProperties invalid",
3748 "valid" : false
3749 },
3750 {
3751 "data" : {
3752 "yes" : 1
3753 },
3754 "description" : "object, patternProperties valid",
3755 "valid" : true
3756 }
3757 ]
3758 },
3759 {
3760 "description" : "minimum + properties",
3761 "schema" : {
3762 "minimum" : 2,
3763 "properties" : {
3764 "x" : false
3765 }
3766 },
3767 "tests" : [
3768 {
3769 "data" : 1,
3770 "description" : "number, minimum invalid",
3771 "valid" : false
3772 },
3773 {
3774 "data" : 2,
3775 "description" : "number, minimum valid",
3776 "valid" : true
3777 },
3778 {
3779 "data" : {
3780 "x" : 1
3781 },
3782 "description" : "object, properties invalid",
3783 "valid" : false
3784 },
3785 {
3786 "data" : {},
3787 "description" : "object, properties valid",
3788 "valid" : true
3789 }
3790 ]
3791 },
3792 {
3793 "description" : "minimum + propertyNames",
3794 "schema" : {
3795 "minimum" : 2,
3796 "propertyNames" : false
3797 },
3798 "tests" : [
3799 {
3800 "data" : 1,
3801 "description" : "number, minimum invalid",
3802 "valid" : false
3803 },
3804 {
3805 "data" : 2,
3806 "description" : "number, minimum valid",
3807 "valid" : true
3808 },
3809 {
3810 "data" : {
3811 "x" : 1
3812 },
3813 "description" : "object, propertyNames invalid",
3814 "valid" : false
3815 },
3816 {
3817 "data" : {},
3818 "description" : "object, propertyNames valid",
3819 "valid" : true
3820 }
3821 ]
3822 },
3823 {
3824 "description" : "minimum + required",
3825 "schema" : {
3826 "minimum" : 2,
3827 "required" : [
3828 "x"
3829 ]
3830 },
3831 "tests" : [
3832 {
3833 "data" : 1,
3834 "description" : "number, minimum invalid",
3835 "valid" : false
3836 },
3837 {
3838 "data" : 2,
3839 "description" : "number, minimum valid",
3840 "valid" : true
3841 },
3842 {
3843 "data" : {},
3844 "description" : "object, required invalid",
3845 "valid" : false
3846 },
3847 {
3848 "data" : {
3849 "x" : 1
3850 },
3851 "description" : "object, required valid",
3852 "valid" : true
3853 }
3854 ]
3855 },
3856 {
3857 "description" : "additionalProperties + multipleOf",
3858 "schema" : {
3859 "additionalProperties" : false,
3860 "multipleOf" : 2
3861 },
3862 "tests" : [
3863 {
3864 "data" : 1,
3865 "description" : "number, multipleOf invalid",
3866 "valid" : false
3867 },
3868 {
3869 "data" : 2,
3870 "description" : "number, multipleOf valid",
3871 "valid" : true
3872 },
3873 {
3874 "data" : {
3875 "x" : 1
3876 },
3877 "description" : "object, additionalProperties invalid",
3878 "valid" : false
3879 },
3880 {
3881 "data" : {},
3882 "description" : "object, additionalProperties valid",
3883 "valid" : true
3884 }
3885 ]
3886 },
3887 {
3888 "description" : "dependencies + multipleOf",
3889 "schema" : {
3890 "dependencies" : {
3891 "x" : false
3892 },
3893 "multipleOf" : 2
3894 },
3895 "tests" : [
3896 {
3897 "data" : 1,
3898 "description" : "number, multipleOf invalid",
3899 "valid" : false
3900 },
3901 {
3902 "data" : 2,
3903 "description" : "number, multipleOf valid",
3904 "valid" : true
3905 },
3906 {
3907 "data" : {
3908 "x" : 1
3909 },
3910 "description" : "object, dependencies invalid",
3911 "valid" : false
3912 },
3913 {
3914 "data" : {},
3915 "description" : "object, dependencies valid",
3916 "valid" : true
3917 }
3918 ]
3919 },
3920 {
3921 "description" : "maxProperties + multipleOf",
3922 "schema" : {
3923 "maxProperties" : 1,
3924 "multipleOf" : 2
3925 },
3926 "tests" : [
3927 {
3928 "data" : 1,
3929 "description" : "number, multipleOf invalid",
3930 "valid" : false
3931 },
3932 {
3933 "data" : 2,
3934 "description" : "number, multipleOf valid",
3935 "valid" : true
3936 },
3937 {
3938 "data" : {
3939 "x" : 1,
3940 "y" : 2
3941 },
3942 "description" : "object, maxProperties invalid",
3943 "valid" : false
3944 },
3945 {
3946 "data" : {
3947 "x" : 1
3948 },
3949 "description" : "object, maxProperties valid",
3950 "valid" : true
3951 }
3952 ]
3953 },
3954 {
3955 "description" : "minProperties + multipleOf",
3956 "schema" : {
3957 "minProperties" : 1,
3958 "multipleOf" : 2
3959 },
3960 "tests" : [
3961 {
3962 "data" : 1,
3963 "description" : "number, multipleOf invalid",
3964 "valid" : false
3965 },
3966 {
3967 "data" : 2,
3968 "description" : "number, multipleOf valid",
3969 "valid" : true
3970 },
3971 {
3972 "data" : {},
3973 "description" : "object, minProperties invalid",
3974 "valid" : false
3975 },
3976 {
3977 "data" : {
3978 "x" : 1
3979 },
3980 "description" : "object, minProperties valid",
3981 "valid" : true
3982 }
3983 ]
3984 },
3985 {
3986 "description" : "multipleOf + patternProperties",
3987 "schema" : {
3988 "multipleOf" : 2,
3989 "patternProperties" : {
3990 "no" : false,
3991 "yes" : true
3992 }
3993 },
3994 "tests" : [
3995 {
3996 "data" : 1,
3997 "description" : "number, multipleOf invalid",
3998 "valid" : false
3999 },
4000 {
4001 "data" : 2,
4002 "description" : "number, multipleOf valid",
4003 "valid" : true
4004 },
4005 {
4006 "data" : {
4007 "no" : 1
4008 },
4009 "description" : "object, patternProperties invalid",
4010 "valid" : false
4011 },
4012 {
4013 "data" : {
4014 "yes" : 1
4015 },
4016 "description" : "object, patternProperties valid",
4017 "valid" : true
4018 }
4019 ]
4020 },
4021 {
4022 "description" : "multipleOf + properties",
4023 "schema" : {
4024 "multipleOf" : 2,
4025 "properties" : {
4026 "x" : false
4027 }
4028 },
4029 "tests" : [
4030 {
4031 "data" : 1,
4032 "description" : "number, multipleOf invalid",
4033 "valid" : false
4034 },
4035 {
4036 "data" : 2,
4037 "description" : "number, multipleOf valid",
4038 "valid" : true
4039 },
4040 {
4041 "data" : {
4042 "x" : 1
4043 },
4044 "description" : "object, properties invalid",
4045 "valid" : false
4046 },
4047 {
4048 "data" : {},
4049 "description" : "object, properties valid",
4050 "valid" : true
4051 }
4052 ]
4053 },
4054 {
4055 "description" : "multipleOf + propertyNames",
4056 "schema" : {
4057 "multipleOf" : 2,
4058 "propertyNames" : false
4059 },
4060 "tests" : [
4061 {
4062 "data" : 1,
4063 "description" : "number, multipleOf invalid",
4064 "valid" : false
4065 },
4066 {
4067 "data" : 2,
4068 "description" : "number, multipleOf valid",
4069 "valid" : true
4070 },
4071 {
4072 "data" : {
4073 "x" : 1
4074 },
4075 "description" : "object, propertyNames invalid",
4076 "valid" : false
4077 },
4078 {
4079 "data" : {},
4080 "description" : "object, propertyNames valid",
4081 "valid" : true
4082 }
4083 ]
4084 },
4085 {
4086 "description" : "multipleOf + required",
4087 "schema" : {
4088 "multipleOf" : 2,
4089 "required" : [
4090 "x"
4091 ]
4092 },
4093 "tests" : [
4094 {
4095 "data" : 1,
4096 "description" : "number, multipleOf invalid",
4097 "valid" : false
4098 },
4099 {
4100 "data" : 2,
4101 "description" : "number, multipleOf valid",
4102 "valid" : true
4103 },
4104 {
4105 "data" : {},
4106 "description" : "object, required invalid",
4107 "valid" : false
4108 },
4109 {
4110 "data" : {
4111 "x" : 1
4112 },
4113 "description" : "object, required valid",
4114 "valid" : true
4115 }
4116 ]
4117 },
4118 {
4119 "description" : "exclusiveMaximum + maxLength",
4120 "schema" : {
4121 "exclusiveMaximum" : 2,
4122 "maxLength" : 2
4123 },
4124 "tests" : [
4125 {
4126 "data" : 2,
4127 "description" : "number, exclusiveMaximum invalid",
4128 "valid" : false
4129 },
4130 {
4131 "data" : 1,
4132 "description" : "number, exclusiveMaximum valid",
4133 "valid" : true
4134 },
4135 {
4136 "data" : "hello",
4137 "description" : "string, maxLength invalid",
4138 "valid" : false
4139 },
4140 {
4141 "data" : "hi",
4142 "description" : "string, maxLength valid",
4143 "valid" : true
4144 }
4145 ]
4146 },
4147 {
4148 "description" : "exclusiveMaximum + minLength",
4149 "schema" : {
4150 "exclusiveMaximum" : 2,
4151 "minLength" : 2
4152 },
4153 "tests" : [
4154 {
4155 "data" : 2,
4156 "description" : "number, exclusiveMaximum invalid",
4157 "valid" : false
4158 },
4159 {
4160 "data" : 1,
4161 "description" : "number, exclusiveMaximum valid",
4162 "valid" : true
4163 },
4164 {
4165 "data" : "x",
4166 "description" : "string, minLength invalid",
4167 "valid" : false
4168 },
4169 {
4170 "data" : "hi",
4171 "description" : "string, minLength valid",
4172 "valid" : true
4173 }
4174 ]
4175 },
4176 {
4177 "description" : "exclusiveMaximum + pattern",
4178 "schema" : {
4179 "exclusiveMaximum" : 2,
4180 "pattern" : "hi"
4181 },
4182 "tests" : [
4183 {
4184 "data" : 2,
4185 "description" : "number, exclusiveMaximum invalid",
4186 "valid" : false
4187 },
4188 {
4189 "data" : 1,
4190 "description" : "number, exclusiveMaximum valid",
4191 "valid" : true
4192 },
4193 {
4194 "data" : "hello",
4195 "description" : "string, pattern invalid",
4196 "valid" : false
4197 },
4198 {
4199 "data" : "hihi",
4200 "description" : "string, pattern valid",
4201 "valid" : true
4202 }
4203 ]
4204 },
4205 {
4206 "description" : "exclusiveMinimum + maxLength",
4207 "schema" : {
4208 "exclusiveMinimum" : 2,
4209 "maxLength" : 2
4210 },
4211 "tests" : [
4212 {
4213 "data" : 2,
4214 "description" : "number, exclusiveMinimum invalid",
4215 "valid" : false
4216 },
4217 {
4218 "data" : 3,
4219 "description" : "number, exclusiveMinimum valid",
4220 "valid" : true
4221 },
4222 {
4223 "data" : "hello",
4224 "description" : "string, maxLength invalid",
4225 "valid" : false
4226 },
4227 {
4228 "data" : "hi",
4229 "description" : "string, maxLength valid",
4230 "valid" : true
4231 }
4232 ]
4233 },
4234 {
4235 "description" : "exclusiveMinimum + minLength",
4236 "schema" : {
4237 "exclusiveMinimum" : 2,
4238 "minLength" : 2
4239 },
4240 "tests" : [
4241 {
4242 "data" : 2,
4243 "description" : "number, exclusiveMinimum invalid",
4244 "valid" : false
4245 },
4246 {
4247 "data" : 3,
4248 "description" : "number, exclusiveMinimum valid",
4249 "valid" : true
4250 },
4251 {
4252 "data" : "x",
4253 "description" : "string, minLength invalid",
4254 "valid" : false
4255 },
4256 {
4257 "data" : "hi",
4258 "description" : "string, minLength valid",
4259 "valid" : true
4260 }
4261 ]
4262 },
4263 {
4264 "description" : "exclusiveMinimum + pattern",
4265 "schema" : {
4266 "exclusiveMinimum" : 2,
4267 "pattern" : "hi"
4268 },
4269 "tests" : [
4270 {
4271 "data" : 2,
4272 "description" : "number, exclusiveMinimum invalid",
4273 "valid" : false
4274 },
4275 {
4276 "data" : 3,
4277 "description" : "number, exclusiveMinimum valid",
4278 "valid" : true
4279 },
4280 {
4281 "data" : "hello",
4282 "description" : "string, pattern invalid",
4283 "valid" : false
4284 },
4285 {
4286 "data" : "hihi",
4287 "description" : "string, pattern valid",
4288 "valid" : true
4289 }
4290 ]
4291 },
4292 {
4293 "description" : "maxLength + maximum",
4294 "schema" : {
4295 "maxLength" : 2,
4296 "maximum" : 2
4297 },
4298 "tests" : [
4299 {
4300 "data" : 3,
4301 "description" : "number, maximum invalid",
4302 "valid" : false
4303 },
4304 {
4305 "data" : 2,
4306 "description" : "number, maximum valid",
4307 "valid" : true
4308 },
4309 {
4310 "data" : "hello",
4311 "description" : "string, maxLength invalid",
4312 "valid" : false
4313 },
4314 {
4315 "data" : "hi",
4316 "description" : "string, maxLength valid",
4317 "valid" : true
4318 }
4319 ]
4320 },
4321 {
4322 "description" : "maximum + minLength",
4323 "schema" : {
4324 "maximum" : 2,
4325 "minLength" : 2
4326 },
4327 "tests" : [
4328 {
4329 "data" : 3,
4330 "description" : "number, maximum invalid",
4331 "valid" : false
4332 },
4333 {
4334 "data" : 2,
4335 "description" : "number, maximum valid",
4336 "valid" : true
4337 },
4338 {
4339 "data" : "x",
4340 "description" : "string, minLength invalid",
4341 "valid" : false
4342 },
4343 {
4344 "data" : "hi",
4345 "description" : "string, minLength valid",
4346 "valid" : true
4347 }
4348 ]
4349 },
4350 {
4351 "description" : "maximum + pattern",
4352 "schema" : {
4353 "maximum" : 2,
4354 "pattern" : "hi"
4355 },
4356 "tests" : [
4357 {
4358 "data" : 3,
4359 "description" : "number, maximum invalid",
4360 "valid" : false
4361 },
4362 {
4363 "data" : 2,
4364 "description" : "number, maximum valid",
4365 "valid" : true
4366 },
4367 {
4368 "data" : "hello",
4369 "description" : "string, pattern invalid",
4370 "valid" : false
4371 },
4372 {
4373 "data" : "hihi",
4374 "description" : "string, pattern valid",
4375 "valid" : true
4376 }
4377 ]
4378 },
4379 {
4380 "description" : "maxLength + minimum",
4381 "schema" : {
4382 "maxLength" : 2,
4383 "minimum" : 2
4384 },
4385 "tests" : [
4386 {
4387 "data" : 1,
4388 "description" : "number, minimum invalid",
4389 "valid" : false
4390 },
4391 {
4392 "data" : 2,
4393 "description" : "number, minimum valid",
4394 "valid" : true
4395 },
4396 {
4397 "data" : "hello",
4398 "description" : "string, maxLength invalid",
4399 "valid" : false
4400 },
4401 {
4402 "data" : "hi",
4403 "description" : "string, maxLength valid",
4404 "valid" : true
4405 }
4406 ]
4407 },
4408 {
4409 "description" : "minLength + minimum",
4410 "schema" : {
4411 "minLength" : 2,
4412 "minimum" : 2
4413 },
4414 "tests" : [
4415 {
4416 "data" : 1,
4417 "description" : "number, minimum invalid",
4418 "valid" : false
4419 },
4420 {
4421 "data" : 2,
4422 "description" : "number, minimum valid",
4423 "valid" : true
4424 },
4425 {
4426 "data" : "x",
4427 "description" : "string, minLength invalid",
4428 "valid" : false
4429 },
4430 {
4431 "data" : "hi",
4432 "description" : "string, minLength valid",
4433 "valid" : true
4434 }
4435 ]
4436 },
4437 {
4438 "description" : "minimum + pattern",
4439 "schema" : {
4440 "minimum" : 2,
4441 "pattern" : "hi"
4442 },
4443 "tests" : [
4444 {
4445 "data" : 1,
4446 "description" : "number, minimum invalid",
4447 "valid" : false
4448 },
4449 {
4450 "data" : 2,
4451 "description" : "number, minimum valid",
4452 "valid" : true
4453 },
4454 {
4455 "data" : "hello",
4456 "description" : "string, pattern invalid",
4457 "valid" : false
4458 },
4459 {
4460 "data" : "hihi",
4461 "description" : "string, pattern valid",
4462 "valid" : true
4463 }
4464 ]
4465 },
4466 {
4467 "description" : "maxLength + multipleOf",
4468 "schema" : {
4469 "maxLength" : 2,
4470 "multipleOf" : 2
4471 },
4472 "tests" : [
4473 {
4474 "data" : 1,
4475 "description" : "number, multipleOf invalid",
4476 "valid" : false
4477 },
4478 {
4479 "data" : 2,
4480 "description" : "number, multipleOf valid",
4481 "valid" : true
4482 },
4483 {
4484 "data" : "hello",
4485 "description" : "string, maxLength invalid",
4486 "valid" : false
4487 },
4488 {
4489 "data" : "hi",
4490 "description" : "string, maxLength valid",
4491 "valid" : true
4492 }
4493 ]
4494 },
4495 {
4496 "description" : "minLength + multipleOf",
4497 "schema" : {
4498 "minLength" : 2,
4499 "multipleOf" : 2
4500 },
4501 "tests" : [
4502 {
4503 "data" : 1,
4504 "description" : "number, multipleOf invalid",
4505 "valid" : false
4506 },
4507 {
4508 "data" : 2,
4509 "description" : "number, multipleOf valid",
4510 "valid" : true
4511 },
4512 {
4513 "data" : "x",
4514 "description" : "string, minLength invalid",
4515 "valid" : false
4516 },
4517 {
4518 "data" : "hi",
4519 "description" : "string, minLength valid",
4520 "valid" : true
4521 }
4522 ]
4523 },
4524 {
4525 "description" : "multipleOf + pattern",
4526 "schema" : {
4527 "multipleOf" : 2,
4528 "pattern" : "hi"
4529 },
4530 "tests" : [
4531 {
4532 "data" : 1,
4533 "description" : "number, multipleOf invalid",
4534 "valid" : false
4535 },
4536 {
4537 "data" : 2,
4538 "description" : "number, multipleOf valid",
4539 "valid" : true
4540 },
4541 {
4542 "data" : "hello",
4543 "description" : "string, pattern invalid",
4544 "valid" : false
4545 },
4546 {
4547 "data" : "hihi",
4548 "description" : "string, pattern valid",
4549 "valid" : true
4550 }
4551 ]
4552 },
4553 {
4554 "description" : "additionalProperties + maxLength",
4555 "schema" : {
4556 "additionalProperties" : false,
4557 "maxLength" : 2
4558 },
4559 "tests" : [
4560 {
4561 "data" : {
4562 "x" : 1
4563 },
4564 "description" : "object, additionalProperties invalid",
4565 "valid" : false
4566 },
4567 {
4568 "data" : {},
4569 "description" : "object, additionalProperties valid",
4570 "valid" : true
4571 },
4572 {
4573 "data" : "hello",
4574 "description" : "string, maxLength invalid",
4575 "valid" : false
4576 },
4577 {
4578 "data" : "hi",
4579 "description" : "string, maxLength valid",
4580 "valid" : true
4581 }
4582 ]
4583 },
4584 {
4585 "description" : "additionalProperties + minLength",
4586 "schema" : {
4587 "additionalProperties" : false,
4588 "minLength" : 2
4589 },
4590 "tests" : [
4591 {
4592 "data" : {
4593 "x" : 1
4594 },
4595 "description" : "object, additionalProperties invalid",
4596 "valid" : false
4597 },
4598 {
4599 "data" : {},
4600 "description" : "object, additionalProperties valid",
4601 "valid" : true
4602 },
4603 {
4604 "data" : "x",
4605 "description" : "string, minLength invalid",
4606 "valid" : false
4607 },
4608 {
4609 "data" : "hi",
4610 "description" : "string, minLength valid",
4611 "valid" : true
4612 }
4613 ]
4614 },
4615 {
4616 "description" : "additionalProperties + pattern",
4617 "schema" : {
4618 "additionalProperties" : false,
4619 "pattern" : "hi"
4620 },
4621 "tests" : [
4622 {
4623 "data" : {
4624 "x" : 1
4625 },
4626 "description" : "object, additionalProperties invalid",
4627 "valid" : false
4628 },
4629 {
4630 "data" : {},
4631 "description" : "object, additionalProperties valid",
4632 "valid" : true
4633 },
4634 {
4635 "data" : "hello",
4636 "description" : "string, pattern invalid",
4637 "valid" : false
4638 },
4639 {
4640 "data" : "hihi",
4641 "description" : "string, pattern valid",
4642 "valid" : true
4643 }
4644 ]
4645 },
4646 {
4647 "description" : "dependencies + maxLength",
4648 "schema" : {
4649 "dependencies" : {
4650 "x" : false
4651 },
4652 "maxLength" : 2
4653 },
4654 "tests" : [
4655 {
4656 "data" : {
4657 "x" : 1
4658 },
4659 "description" : "object, dependencies invalid",
4660 "valid" : false
4661 },
4662 {
4663 "data" : {},
4664 "description" : "object, dependencies valid",
4665 "valid" : true
4666 },
4667 {
4668 "data" : "hello",
4669 "description" : "string, maxLength invalid",
4670 "valid" : false
4671 },
4672 {
4673 "data" : "hi",
4674 "description" : "string, maxLength valid",
4675 "valid" : true
4676 }
4677 ]
4678 },
4679 {
4680 "description" : "dependencies + minLength",
4681 "schema" : {
4682 "dependencies" : {
4683 "x" : false
4684 },
4685 "minLength" : 2
4686 },
4687 "tests" : [
4688 {
4689 "data" : {
4690 "x" : 1
4691 },
4692 "description" : "object, dependencies invalid",
4693 "valid" : false
4694 },
4695 {
4696 "data" : {},
4697 "description" : "object, dependencies valid",
4698 "valid" : true
4699 },
4700 {
4701 "data" : "x",
4702 "description" : "string, minLength invalid",
4703 "valid" : false
4704 },
4705 {
4706 "data" : "hi",
4707 "description" : "string, minLength valid",
4708 "valid" : true
4709 }
4710 ]
4711 },
4712 {
4713 "description" : "dependencies + pattern",
4714 "schema" : {
4715 "dependencies" : {
4716 "x" : false
4717 },
4718 "pattern" : "hi"
4719 },
4720 "tests" : [
4721 {
4722 "data" : {
4723 "x" : 1
4724 },
4725 "description" : "object, dependencies invalid",
4726 "valid" : false
4727 },
4728 {
4729 "data" : {},
4730 "description" : "object, dependencies valid",
4731 "valid" : true
4732 },
4733 {
4734 "data" : "hello",
4735 "description" : "string, pattern invalid",
4736 "valid" : false
4737 },
4738 {
4739 "data" : "hihi",
4740 "description" : "string, pattern valid",
4741 "valid" : true
4742 }
4743 ]
4744 },
4745 {
4746 "description" : "maxLength + maxProperties",
4747 "schema" : {
4748 "maxLength" : 2,
4749 "maxProperties" : 1
4750 },
4751 "tests" : [
4752 {
4753 "data" : {
4754 "x" : 1,
4755 "y" : 2
4756 },
4757 "description" : "object, maxProperties invalid",
4758 "valid" : false
4759 },
4760 {
4761 "data" : {
4762 "x" : 1
4763 },
4764 "description" : "object, maxProperties valid",
4765 "valid" : true
4766 },
4767 {
4768 "data" : "hello",
4769 "description" : "string, maxLength invalid",
4770 "valid" : false
4771 },
4772 {
4773 "data" : "hi",
4774 "description" : "string, maxLength valid",
4775 "valid" : true
4776 }
4777 ]
4778 },
4779 {
4780 "description" : "maxProperties + minLength",
4781 "schema" : {
4782 "maxProperties" : 1,
4783 "minLength" : 2
4784 },
4785 "tests" : [
4786 {
4787 "data" : {
4788 "x" : 1,
4789 "y" : 2
4790 },
4791 "description" : "object, maxProperties invalid",
4792 "valid" : false
4793 },
4794 {
4795 "data" : {
4796 "x" : 1
4797 },
4798 "description" : "object, maxProperties valid",
4799 "valid" : true
4800 },
4801 {
4802 "data" : "x",
4803 "description" : "string, minLength invalid",
4804 "valid" : false
4805 },
4806 {
4807 "data" : "hi",
4808 "description" : "string, minLength valid",
4809 "valid" : true
4810 }
4811 ]
4812 },
4813 {
4814 "description" : "maxProperties + pattern",
4815 "schema" : {
4816 "maxProperties" : 1,
4817 "pattern" : "hi"
4818 },
4819 "tests" : [
4820 {
4821 "data" : {
4822 "x" : 1,
4823 "y" : 2
4824 },
4825 "description" : "object, maxProperties invalid",
4826 "valid" : false
4827 },
4828 {
4829 "data" : {
4830 "x" : 1
4831 },
4832 "description" : "object, maxProperties valid",
4833 "valid" : true
4834 },
4835 {
4836 "data" : "hello",
4837 "description" : "string, pattern invalid",
4838 "valid" : false
4839 },
4840 {
4841 "data" : "hihi",
4842 "description" : "string, pattern valid",
4843 "valid" : true
4844 }
4845 ]
4846 },
4847 {
4848 "description" : "maxLength + minProperties",
4849 "schema" : {
4850 "maxLength" : 2,
4851 "minProperties" : 1
4852 },
4853 "tests" : [
4854 {
4855 "data" : {},
4856 "description" : "object, minProperties invalid",
4857 "valid" : false
4858 },
4859 {
4860 "data" : {
4861 "x" : 1
4862 },
4863 "description" : "object, minProperties valid",
4864 "valid" : true
4865 },
4866 {
4867 "data" : "hello",
4868 "description" : "string, maxLength invalid",
4869 "valid" : false
4870 },
4871 {
4872 "data" : "hi",
4873 "description" : "string, maxLength valid",
4874 "valid" : true
4875 }
4876 ]
4877 },
4878 {
4879 "description" : "minLength + minProperties",
4880 "schema" : {
4881 "minLength" : 2,
4882 "minProperties" : 1
4883 },
4884 "tests" : [
4885 {
4886 "data" : {},
4887 "description" : "object, minProperties invalid",
4888 "valid" : false
4889 },
4890 {
4891 "data" : {
4892 "x" : 1
4893 },
4894 "description" : "object, minProperties valid",
4895 "valid" : true
4896 },
4897 {
4898 "data" : "x",
4899 "description" : "string, minLength invalid",
4900 "valid" : false
4901 },
4902 {
4903 "data" : "hi",
4904 "description" : "string, minLength valid",
4905 "valid" : true
4906 }
4907 ]
4908 },
4909 {
4910 "description" : "minProperties + pattern",
4911 "schema" : {
4912 "minProperties" : 1,
4913 "pattern" : "hi"
4914 },
4915 "tests" : [
4916 {
4917 "data" : {},
4918 "description" : "object, minProperties invalid",
4919 "valid" : false
4920 },
4921 {
4922 "data" : {
4923 "x" : 1
4924 },
4925 "description" : "object, minProperties valid",
4926 "valid" : true
4927 },
4928 {
4929 "data" : "hello",
4930 "description" : "string, pattern invalid",
4931 "valid" : false
4932 },
4933 {
4934 "data" : "hihi",
4935 "description" : "string, pattern valid",
4936 "valid" : true
4937 }
4938 ]
4939 },
4940 {
4941 "description" : "maxLength + patternProperties",
4942 "schema" : {
4943 "maxLength" : 2,
4944 "patternProperties" : {
4945 "no" : false,
4946 "yes" : true
4947 }
4948 },
4949 "tests" : [
4950 {
4951 "data" : {
4952 "no" : 1
4953 },
4954 "description" : "object, patternProperties invalid",
4955 "valid" : false
4956 },
4957 {
4958 "data" : {
4959 "yes" : 1
4960 },
4961 "description" : "object, patternProperties valid",
4962 "valid" : true
4963 },
4964 {
4965 "data" : "hello",
4966 "description" : "string, maxLength invalid",
4967 "valid" : false
4968 },
4969 {
4970 "data" : "hi",
4971 "description" : "string, maxLength valid",
4972 "valid" : true
4973 }
4974 ]
4975 },
4976 {
4977 "description" : "minLength + patternProperties",
4978 "schema" : {
4979 "minLength" : 2,
4980 "patternProperties" : {
4981 "no" : false,
4982 "yes" : true
4983 }
4984 },
4985 "tests" : [
4986 {
4987 "data" : {
4988 "no" : 1
4989 },
4990 "description" : "object, patternProperties invalid",
4991 "valid" : false
4992 },
4993 {
4994 "data" : {
4995 "yes" : 1
4996 },
4997 "description" : "object, patternProperties valid",
4998 "valid" : true
4999 },
5000 {
5001 "data" : "x",
5002 "description" : "string, minLength invalid",
5003 "valid" : false
5004 },
5005 {
5006 "data" : "hi",
5007 "description" : "string, minLength valid",
5008 "valid" : true
5009 }
5010 ]
5011 },
5012 {
5013 "description" : "pattern + patternProperties",
5014 "schema" : {
5015 "pattern" : "hi",
5016 "patternProperties" : {
5017 "no" : false,
5018 "yes" : true
5019 }
5020 },
5021 "tests" : [
5022 {
5023 "data" : {
5024 "no" : 1
5025 },
5026 "description" : "object, patternProperties invalid",
5027 "valid" : false
5028 },
5029 {
5030 "data" : {
5031 "yes" : 1
5032 },
5033 "description" : "object, patternProperties valid",
5034 "valid" : true
5035 },
5036 {
5037 "data" : "hello",
5038 "description" : "string, pattern invalid",
5039 "valid" : false
5040 },
5041 {
5042 "data" : "hihi",
5043 "description" : "string, pattern valid",
5044 "valid" : true
5045 }
5046 ]
5047 },
5048 {
5049 "description" : "maxLength + properties",
5050 "schema" : {
5051 "maxLength" : 2,
5052 "properties" : {
5053 "x" : false
5054 }
5055 },
5056 "tests" : [
5057 {
5058 "data" : {
5059 "x" : 1
5060 },
5061 "description" : "object, properties invalid",
5062 "valid" : false
5063 },
5064 {
5065 "data" : {},
5066 "description" : "object, properties valid",
5067 "valid" : true
5068 },
5069 {
5070 "data" : "hello",
5071 "description" : "string, maxLength invalid",
5072 "valid" : false
5073 },
5074 {
5075 "data" : "hi",
5076 "description" : "string, maxLength valid",
5077 "valid" : true
5078 }
5079 ]
5080 },
5081 {
5082 "description" : "minLength + properties",
5083 "schema" : {
5084 "minLength" : 2,
5085 "properties" : {
5086 "x" : false
5087 }
5088 },
5089 "tests" : [
5090 {
5091 "data" : {
5092 "x" : 1
5093 },
5094 "description" : "object, properties invalid",
5095 "valid" : false
5096 },
5097 {
5098 "data" : {},
5099 "description" : "object, properties valid",
5100 "valid" : true
5101 },
5102 {
5103 "data" : "x",
5104 "description" : "string, minLength invalid",
5105 "valid" : false
5106 },
5107 {
5108 "data" : "hi",
5109 "description" : "string, minLength valid",
5110 "valid" : true
5111 }
5112 ]
5113 },
5114 {
5115 "description" : "pattern + properties",
5116 "schema" : {
5117 "pattern" : "hi",
5118 "properties" : {
5119 "x" : false
5120 }
5121 },
5122 "tests" : [
5123 {
5124 "data" : {
5125 "x" : 1
5126 },
5127 "description" : "object, properties invalid",
5128 "valid" : false
5129 },
5130 {
5131 "data" : {},
5132 "description" : "object, properties valid",
5133 "valid" : true
5134 },
5135 {
5136 "data" : "hello",
5137 "description" : "string, pattern invalid",
5138 "valid" : false
5139 },
5140 {
5141 "data" : "hihi",
5142 "description" : "string, pattern valid",
5143 "valid" : true
5144 }
5145 ]
5146 },
5147 {
5148 "description" : "maxLength + propertyNames",
5149 "schema" : {
5150 "maxLength" : 2,
5151 "propertyNames" : false
5152 },
5153 "tests" : [
5154 {
5155 "data" : {
5156 "x" : 1
5157 },
5158 "description" : "object, propertyNames invalid",
5159 "valid" : false
5160 },
5161 {
5162 "data" : {},
5163 "description" : "object, propertyNames valid",
5164 "valid" : true
5165 },
5166 {
5167 "data" : "hello",
5168 "description" : "string, maxLength invalid",
5169 "valid" : false
5170 },
5171 {
5172 "data" : "hi",
5173 "description" : "string, maxLength valid",
5174 "valid" : true
5175 }
5176 ]
5177 },
5178 {
5179 "description" : "minLength + propertyNames",
5180 "schema" : {
5181 "minLength" : 2,
5182 "propertyNames" : false
5183 },
5184 "tests" : [
5185 {
5186 "data" : {
5187 "x" : 1
5188 },
5189 "description" : "object, propertyNames invalid",
5190 "valid" : false
5191 },
5192 {
5193 "data" : {},
5194 "description" : "object, propertyNames valid",
5195 "valid" : true
5196 },
5197 {
5198 "data" : "x",
5199 "description" : "string, minLength invalid",
5200 "valid" : false
5201 },
5202 {
5203 "data" : "hi",
5204 "description" : "string, minLength valid",
5205 "valid" : true
5206 }
5207 ]
5208 },
5209 {
5210 "description" : "pattern + propertyNames",
5211 "schema" : {
5212 "pattern" : "hi",
5213 "propertyNames" : false
5214 },
5215 "tests" : [
5216 {
5217 "data" : {
5218 "x" : 1
5219 },
5220 "description" : "object, propertyNames invalid",
5221 "valid" : false
5222 },
5223 {
5224 "data" : {},
5225 "description" : "object, propertyNames valid",
5226 "valid" : true
5227 },
5228 {
5229 "data" : "hello",
5230 "description" : "string, pattern invalid",
5231 "valid" : false
5232 },
5233 {
5234 "data" : "hihi",
5235 "description" : "string, pattern valid",
5236 "valid" : true
5237 }
5238 ]
5239 },
5240 {
5241 "description" : "maxLength + required",
5242 "schema" : {
5243 "maxLength" : 2,
5244 "required" : [
5245 "x"
5246 ]
5247 },
5248 "tests" : [
5249 {
5250 "data" : {},
5251 "description" : "object, required invalid",
5252 "valid" : false
5253 },
5254 {
5255 "data" : {
5256 "x" : 1
5257 },
5258 "description" : "object, required valid",
5259 "valid" : true
5260 },
5261 {
5262 "data" : "hello",
5263 "description" : "string, maxLength invalid",
5264 "valid" : false
5265 },
5266 {
5267 "data" : "hi",
5268 "description" : "string, maxLength valid",
5269 "valid" : true
5270 }
5271 ]
5272 },
5273 {
5274 "description" : "minLength + required",
5275 "schema" : {
5276 "minLength" : 2,
5277 "required" : [
5278 "x"
5279 ]
5280 },
5281 "tests" : [
5282 {
5283 "data" : {},
5284 "description" : "object, required invalid",
5285 "valid" : false
5286 },
5287 {
5288 "data" : {
5289 "x" : 1
5290 },
5291 "description" : "object, required valid",
5292 "valid" : true
5293 },
5294 {
5295 "data" : "x",
5296 "description" : "string, minLength invalid",
5297 "valid" : false
5298 },
5299 {
5300 "data" : "hi",
5301 "description" : "string, minLength valid",
5302 "valid" : true
5303 }
5304 ]
5305 },
5306 {
5307 "description" : "pattern + required",
5308 "schema" : {
5309 "pattern" : "hi",
5310 "required" : [
5311 "x"
5312 ]
5313 },
5314 "tests" : [
5315 {
5316 "data" : {},
5317 "description" : "object, required invalid",
5318 "valid" : false
5319 },
5320 {
5321 "data" : {
5322 "x" : 1
5323 },
5324 "description" : "object, required valid",
5325 "valid" : true
5326 },
5327 {
5328 "data" : "hello",
5329 "description" : "string, pattern invalid",
5330 "valid" : false
5331 },
5332 {
5333 "data" : "hihi",
5334 "description" : "string, pattern valid",
5335 "valid" : true
5336 }
5337 ]
5338 }
5339 ]