UNPKG

127 kBJSONView Raw
1{
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "additionalProperties": false,
4 "definitions": {
5 "Field": {
6 "anyOf": [
7 {
8 "additionalProperties": false,
9 "properties": {
10 "defaultValue": {
11 "type": "boolean"
12 },
13 "hidden": {
14 "type": "boolean"
15 },
16 "index": {
17 "type": "boolean"
18 },
19 "input": {
20 "enum": [
21 "checkbox",
22 "toggle"
23 ],
24 "type": "string"
25 },
26 "label": {
27 "type": "string"
28 },
29 "required": {
30 "type": "boolean"
31 },
32 "type": {
33 "enum": [
34 "boolean"
35 ],
36 "type": "string"
37 }
38 },
39 "type": "object"
40 },
41 {
42 "additionalProperties": false,
43 "properties": {
44 "hidden": {
45 "type": "boolean"
46 },
47 "index": {
48 "type": "boolean"
49 },
50 "label": {
51 "type": "string"
52 },
53 "max": {
54 "type": "number"
55 },
56 "min": {
57 "type": "number"
58 },
59 "placeholder": {
60 "type": "string"
61 },
62 "required": {
63 "type": "boolean"
64 },
65 "search": {
66 "type": "boolean"
67 },
68 "type": {
69 "enum": [
70 "number"
71 ],
72 "type": "string"
73 }
74 },
75 "type": "object"
76 },
77 {
78 "additionalProperties": false,
79 "properties": {
80 "formats": {
81 "anyOf": [
82 {
83 "items": {
84 "type": "string"
85 },
86 "type": "array"
87 },
88 {
89 "items": {
90 "items": {
91 },
92 "type": "array"
93 },
94 "type": "array"
95 }
96 ]
97 },
98 "hidden": {
99 "type": "boolean"
100 },
101 "index": {
102 "type": "boolean"
103 },
104 "label": {
105 "type": "string"
106 },
107 "modules": {
108 "additionalProperties": {
109 },
110 "type": "object"
111 },
112 "required": {
113 "type": "boolean"
114 },
115 "search": {
116 "type": "boolean"
117 },
118 "type": {
119 "enum": [
120 "richtext"
121 ],
122 "type": "string"
123 }
124 },
125 "type": "object"
126 },
127 {
128 "additionalProperties": false,
129 "properties": {
130 "hidden": {
131 "type": "boolean"
132 },
133 "index": {
134 "type": "boolean"
135 },
136 "label": {
137 "type": "string"
138 },
139 "maxLength": {
140 "type": "number"
141 },
142 "placeholder": {
143 "type": "string"
144 },
145 "readOnly": {
146 "type": "boolean"
147 },
148 "regexError": {
149 "type": "string"
150 },
151 "required": {
152 "type": "boolean"
153 },
154 "search": {
155 "type": "boolean"
156 },
157 "type": {
158 "enum": [
159 "string"
160 ],
161 "type": "string"
162 },
163 "validationRegex": {
164 "type": "string"
165 }
166 },
167 "type": "object"
168 },
169 {
170 "additionalProperties": false,
171 "properties": {
172 "hidden": {
173 "type": "boolean"
174 },
175 "index": {
176 "type": "boolean"
177 },
178 "input": {
179 "enum": [
180 "textarea"
181 ],
182 "type": "string"
183 },
184 "label": {
185 "type": "string"
186 },
187 "maxLength": {
188 "type": "number"
189 },
190 "maxRows": {
191 "type": "number"
192 },
193 "minRows": {
194 "type": "number"
195 },
196 "placeholder": {
197 "type": "string"
198 },
199 "readOnly": {
200 "type": "boolean"
201 },
202 "required": {
203 "type": "boolean"
204 },
205 "search": {
206 "type": "boolean"
207 },
208 "type": {
209 "enum": [
210 "string"
211 ],
212 "type": "string"
213 }
214 },
215 "type": "object"
216 },
217 {
218 "additionalProperties": false,
219 "properties": {
220 "hidden": {
221 "type": "boolean"
222 },
223 "index": {
224 "type": "boolean"
225 },
226 "input": {
227 "enum": [
228 "slug"
229 ],
230 "type": "string"
231 },
232 "label": {
233 "type": "string"
234 },
235 "required": {
236 "type": "boolean"
237 },
238 "search": {
239 "type": "boolean"
240 },
241 "type": {
242 "enum": [
243 "string"
244 ],
245 "type": "string"
246 }
247 },
248 "type": "object"
249 },
250 {
251 "additionalProperties": false,
252 "properties": {
253 "defaultValue": {
254 "type": "string"
255 },
256 "hidden": {
257 "type": "boolean"
258 },
259 "index": {
260 "type": "boolean"
261 },
262 "input": {
263 "enum": [
264 "date"
265 ],
266 "type": "string"
267 },
268 "label": {
269 "type": "string"
270 },
271 "placeholder": {
272 "type": "string"
273 },
274 "required": {
275 "type": "boolean"
276 },
277 "search": {
278 "type": "boolean"
279 },
280 "type": {
281 "enum": [
282 "string"
283 ],
284 "type": "string"
285 }
286 },
287 "type": "object"
288 },
289 {
290 "additionalProperties": false,
291 "properties": {
292 "fetch": {
293 "type": "string"
294 },
295 "hidden": {
296 "type": "boolean"
297 },
298 "index": {
299 "type": "boolean"
300 },
301 "input": {
302 "enum": [
303 "select"
304 ],
305 "type": "string"
306 },
307 "label": {
308 "type": "string"
309 },
310 "nullLabel": {
311 "type": "string"
312 },
313 "required": {
314 "type": "boolean"
315 },
316 "search": {
317 "type": "boolean"
318 },
319 "type": {
320 "enum": [
321 "string"
322 ],
323 "type": "string"
324 },
325 "values": {
326 "items": {
327 "anyOf": [
328 {
329 "additionalProperties": false,
330 "properties": {
331 "label": {
332 "type": "string"
333 },
334 "value": {
335 "type": [
336 "string",
337 "number"
338 ]
339 }
340 },
341 "type": "object"
342 },
343 {
344 "type": "string"
345 }
346 ]
347 },
348 "type": "array"
349 }
350 },
351 "type": "object"
352 },
353 {
354 "additionalProperties": false,
355 "properties": {
356 "index": {
357 "type": "boolean"
358 },
359 "label": {
360 "type": "string"
361 },
362 "type": {
363 "enum": [
364 "position"
365 ],
366 "type": "string"
367 }
368 },
369 "type": "object"
370 },
371 {
372 "additionalProperties": false,
373 "properties": {
374 "fieldName": {
375 "type": "string"
376 },
377 "label": {
378 "type": "string"
379 },
380 "model": {
381 "type": "string"
382 },
383 "type": {
384 "enum": [
385 "references"
386 ],
387 "type": "string"
388 }
389 },
390 "type": "object"
391 },
392 {
393 "additionalProperties": false,
394 "properties": {
395 "hidden": {
396 "type": "boolean"
397 },
398 "label": {
399 "type": "string"
400 },
401 "maxSize": {
402 "type": "number"
403 },
404 "mediaType": {
405 "enum": [
406 "all"
407 ],
408 "type": "string"
409 },
410 "mimeType": {
411 "type": "string"
412 },
413 "required": {
414 "type": "boolean"
415 },
416 "type": {
417 "enum": [
418 "media"
419 ],
420 "type": "string"
421 },
422 "withExternal": {
423 "type": "boolean"
424 }
425 },
426 "type": "object"
427 },
428 {
429 "additionalProperties": false,
430 "properties": {
431 "hidden": {
432 "type": "boolean"
433 },
434 "label": {
435 "type": "string"
436 },
437 "maxHeight": {
438 "type": "number"
439 },
440 "maxSize": {
441 "type": "number"
442 },
443 "maxWidth": {
444 "type": "number"
445 },
446 "mediaType": {
447 "enum": [
448 "image"
449 ],
450 "type": "string"
451 },
452 "minHeight": {
453 "type": "number"
454 },
455 "minWidth": {
456 "type": "number"
457 },
458 "required": {
459 "type": "boolean"
460 },
461 "type": {
462 "enum": [
463 "media"
464 ],
465 "type": "string"
466 },
467 "withExternal": {
468 "type": "boolean"
469 }
470 },
471 "type": "object"
472 },
473 {
474 "additionalProperties": false,
475 "properties": {
476 "hidden": {
477 "type": "boolean"
478 },
479 "label": {
480 "type": "string"
481 },
482 "maxSize": {
483 "type": "number"
484 },
485 "mediaType": {
486 "enum": [
487 "video"
488 ],
489 "type": "string"
490 },
491 "required": {
492 "type": "boolean"
493 },
494 "type": {
495 "enum": [
496 "media"
497 ],
498 "type": "string"
499 },
500 "withExternal": {
501 "type": "boolean"
502 }
503 },
504 "type": "object"
505 },
506 {
507 "additionalProperties": false,
508 "properties": {
509 "hidden": {
510 "type": "boolean"
511 },
512 "label": {
513 "type": "string"
514 },
515 "maxSize": {
516 "type": "number"
517 },
518 "mediaType": {
519 "enum": [
520 "pdf"
521 ],
522 "type": "string"
523 },
524 "required": {
525 "type": "boolean"
526 },
527 "type": {
528 "enum": [
529 "media"
530 ],
531 "type": "string"
532 },
533 "withExternal": {
534 "type": "boolean"
535 }
536 },
537 "type": "object"
538 },
539 {
540 "additionalProperties": false,
541 "properties": {
542 "label": {
543 "type": "string"
544 },
545 "model": {
546 "type": "string"
547 },
548 "required": {
549 "type": "boolean"
550 },
551 "type": {
552 "enum": [
553 "settings"
554 ],
555 "type": "string"
556 }
557 },
558 "type": "object"
559 },
560 {
561 "additionalProperties": false,
562 "properties": {
563 "fields": {
564 "$ref": "#/definitions/Fields"
565 },
566 "label": {
567 "type": "string"
568 },
569 "layout": {
570 "enum": [
571 "horizontal",
572 "inline",
573 "vertical"
574 ],
575 "type": "string"
576 },
577 "modalView": {
578 "type": "boolean"
579 },
580 "type": {
581 "enum": [
582 "object"
583 ],
584 "type": "string"
585 }
586 },
587 "type": "object"
588 },
589 {
590 "additionalProperties": false,
591 "properties": {
592 "keys": {
593 "additionalProperties": false,
594 "properties": {
595 "fetch": {
596 "type": "string"
597 },
598 "values": {
599 "items": {
600 "type": "string"
601 },
602 "type": "array"
603 }
604 },
605 "type": "object"
606 },
607 "label": {
608 "type": "string"
609 },
610 "type": {
611 "enum": [
612 "map"
613 ],
614 "type": "string"
615 },
616 "values": {
617 "$ref": "#/definitions/Type"
618 }
619 },
620 "type": "object"
621 },
622 {
623 "additionalProperties": false,
624 "properties": {
625 "addLabel": {
626 "type": "string"
627 },
628 "hidden": {
629 "type": "boolean"
630 },
631 "item": {
632 "$ref": "#/definitions/Field"
633 },
634 "label": {
635 "type": "string"
636 },
637 "layout": {
638 "enum": [
639 "block",
640 "inline"
641 ],
642 "type": "string"
643 },
644 "maxLength": {
645 "type": "number"
646 },
647 "minLength": {
648 "type": "number"
649 },
650 "required": {
651 "type": "boolean"
652 },
653 "schedule": {
654 "type": "boolean"
655 },
656 "sortable": {
657 "type": "boolean"
658 },
659 "type": {
660 "enum": [
661 "list"
662 ],
663 "type": "string"
664 }
665 },
666 "type": "object"
667 },
668 {
669 "additionalProperties": false,
670 "properties": {
671 "label": {
672 "type": "string"
673 },
674 "required": {
675 "type": "boolean"
676 },
677 "type": {
678 "enum": [
679 "union"
680 ],
681 "type": "string"
682 },
683 "types": {
684 "$ref": "#/definitions/UnionTypeTypes"
685 }
686 },
687 "type": "object"
688 },
689 {
690 "additionalProperties": false,
691 "properties": {
692 "allowAbsoluteRefs": {
693 "type": "boolean"
694 },
695 "hidden": {
696 "type": "boolean"
697 },
698 "index": {
699 "type": "boolean"
700 },
701 "label": {
702 "type": "string"
703 },
704 "model": {
705 "type": "string"
706 },
707 "models": {
708 "items": {
709 "type": "string"
710 },
711 "type": "array"
712 },
713 "required": {
714 "type": "boolean"
715 },
716 "type": {
717 "enum": [
718 "content",
719 "external",
720 "settings"
721 ],
722 "type": "string"
723 }
724 },
725 "type": "object"
726 },
727 {
728 "additionalProperties": false,
729 "properties": {
730 "child": {
731 "$ref": "#/definitions/Field"
732 },
733 "label": {
734 "type": "string"
735 },
736 "type": {
737 "enum": [
738 "immutable"
739 ],
740 "type": "string"
741 }
742 },
743 "type": "object"
744 }
745 ]
746 },
747 "Fields": {
748 "$ref": "#/definitions/__type"
749 },
750 "Type": {
751 "anyOf": [
752 {
753 "additionalProperties": false,
754 "properties": {
755 "defaultValue": {
756 "type": "boolean"
757 },
758 "hidden": {
759 "type": "boolean"
760 },
761 "index": {
762 "type": "boolean"
763 },
764 "input": {
765 "enum": [
766 "checkbox",
767 "toggle"
768 ],
769 "type": "string"
770 },
771 "required": {
772 "type": "boolean"
773 },
774 "type": {
775 "enum": [
776 "boolean"
777 ],
778 "type": "string"
779 }
780 },
781 "type": "object"
782 },
783 {
784 "additionalProperties": false,
785 "properties": {
786 "hidden": {
787 "type": "boolean"
788 },
789 "index": {
790 "type": "boolean"
791 },
792 "max": {
793 "type": "number"
794 },
795 "min": {
796 "type": "number"
797 },
798 "placeholder": {
799 "type": "string"
800 },
801 "required": {
802 "type": "boolean"
803 },
804 "search": {
805 "type": "boolean"
806 },
807 "type": {
808 "enum": [
809 "number"
810 ],
811 "type": "string"
812 }
813 },
814 "type": "object"
815 },
816 {
817 "additionalProperties": false,
818 "properties": {
819 "formats": {
820 "anyOf": [
821 {
822 "items": {
823 "type": "string"
824 },
825 "type": "array"
826 },
827 {
828 "items": {
829 "items": {
830 },
831 "type": "array"
832 },
833 "type": "array"
834 }
835 ]
836 },
837 "hidden": {
838 "type": "boolean"
839 },
840 "index": {
841 "type": "boolean"
842 },
843 "modules": {
844 "additionalProperties": {
845 },
846 "type": "object"
847 },
848 "required": {
849 "type": "boolean"
850 },
851 "search": {
852 "type": "boolean"
853 },
854 "type": {
855 "enum": [
856 "richtext"
857 ],
858 "type": "string"
859 }
860 },
861 "type": "object"
862 },
863 {
864 "additionalProperties": false,
865 "properties": {
866 "hidden": {
867 "type": "boolean"
868 },
869 "index": {
870 "type": "boolean"
871 },
872 "maxLength": {
873 "type": "number"
874 },
875 "placeholder": {
876 "type": "string"
877 },
878 "readOnly": {
879 "type": "boolean"
880 },
881 "regexError": {
882 "type": "string"
883 },
884 "required": {
885 "type": "boolean"
886 },
887 "search": {
888 "type": "boolean"
889 },
890 "type": {
891 "enum": [
892 "string"
893 ],
894 "type": "string"
895 },
896 "validationRegex": {
897 "type": "string"
898 }
899 },
900 "type": "object"
901 },
902 {
903 "additionalProperties": false,
904 "properties": {
905 "hidden": {
906 "type": "boolean"
907 },
908 "index": {
909 "type": "boolean"
910 },
911 "input": {
912 "enum": [
913 "textarea"
914 ],
915 "type": "string"
916 },
917 "maxLength": {
918 "type": "number"
919 },
920 "maxRows": {
921 "type": "number"
922 },
923 "minRows": {
924 "type": "number"
925 },
926 "placeholder": {
927 "type": "string"
928 },
929 "readOnly": {
930 "type": "boolean"
931 },
932 "required": {
933 "type": "boolean"
934 },
935 "search": {
936 "type": "boolean"
937 },
938 "type": {
939 "enum": [
940 "string"
941 ],
942 "type": "string"
943 }
944 },
945 "type": "object"
946 },
947 {
948 "additionalProperties": false,
949 "properties": {
950 "hidden": {
951 "type": "boolean"
952 },
953 "index": {
954 "type": "boolean"
955 },
956 "input": {
957 "enum": [
958 "slug"
959 ],
960 "type": "string"
961 },
962 "required": {
963 "type": "boolean"
964 },
965 "search": {
966 "type": "boolean"
967 },
968 "type": {
969 "enum": [
970 "string"
971 ],
972 "type": "string"
973 }
974 },
975 "type": "object"
976 },
977 {
978 "additionalProperties": false,
979 "properties": {
980 "defaultValue": {
981 "type": "string"
982 },
983 "hidden": {
984 "type": "boolean"
985 },
986 "index": {
987 "type": "boolean"
988 },
989 "input": {
990 "enum": [
991 "date"
992 ],
993 "type": "string"
994 },
995 "placeholder": {
996 "type": "string"
997 },
998 "required": {
999 "type": "boolean"
1000 },
1001 "search": {
1002 "type": "boolean"
1003 },
1004 "type": {
1005 "enum": [
1006 "string"
1007 ],
1008 "type": "string"
1009 }
1010 },
1011 "type": "object"
1012 },
1013 {
1014 "additionalProperties": false,
1015 "properties": {
1016 "fetch": {
1017 "type": "string"
1018 },
1019 "hidden": {
1020 "type": "boolean"
1021 },
1022 "index": {
1023 "type": "boolean"
1024 },
1025 "input": {
1026 "enum": [
1027 "select"
1028 ],
1029 "type": "string"
1030 },
1031 "nullLabel": {
1032 "type": "string"
1033 },
1034 "required": {
1035 "type": "boolean"
1036 },
1037 "search": {
1038 "type": "boolean"
1039 },
1040 "type": {
1041 "enum": [
1042 "string"
1043 ],
1044 "type": "string"
1045 },
1046 "values": {
1047 "items": {
1048 "anyOf": [
1049 {
1050 "additionalProperties": false,
1051 "properties": {
1052 "label": {
1053 "type": "string"
1054 },
1055 "value": {
1056 "type": [
1057 "string",
1058 "number"
1059 ]
1060 }
1061 },
1062 "type": "object"
1063 },
1064 {
1065 "type": "string"
1066 }
1067 ]
1068 },
1069 "type": "array"
1070 }
1071 },
1072 "type": "object"
1073 },
1074 {
1075 "additionalProperties": false,
1076 "properties": {
1077 "index": {
1078 "type": "boolean"
1079 },
1080 "type": {
1081 "enum": [
1082 "position"
1083 ],
1084 "type": "string"
1085 }
1086 },
1087 "type": "object"
1088 },
1089 {
1090 "additionalProperties": false,
1091 "properties": {
1092 "fieldName": {
1093 "type": "string"
1094 },
1095 "model": {
1096 "type": "string"
1097 },
1098 "type": {
1099 "enum": [
1100 "references"
1101 ],
1102 "type": "string"
1103 }
1104 },
1105 "type": "object"
1106 },
1107 {
1108 "additionalProperties": false,
1109 "properties": {
1110 "hidden": {
1111 "type": "boolean"
1112 },
1113 "maxSize": {
1114 "type": "number"
1115 },
1116 "mediaType": {
1117 "enum": [
1118 "all"
1119 ],
1120 "type": "string"
1121 },
1122 "mimeType": {
1123 "type": "string"
1124 },
1125 "required": {
1126 "type": "boolean"
1127 },
1128 "type": {
1129 "enum": [
1130 "media"
1131 ],
1132 "type": "string"
1133 },
1134 "withExternal": {
1135 "type": "boolean"
1136 }
1137 },
1138 "type": "object"
1139 },
1140 {
1141 "additionalProperties": false,
1142 "properties": {
1143 "hidden": {
1144 "type": "boolean"
1145 },
1146 "maxHeight": {
1147 "type": "number"
1148 },
1149 "maxSize": {
1150 "type": "number"
1151 },
1152 "maxWidth": {
1153 "type": "number"
1154 },
1155 "mediaType": {
1156 "enum": [
1157 "image"
1158 ],
1159 "type": "string"
1160 },
1161 "minHeight": {
1162 "type": "number"
1163 },
1164 "minWidth": {
1165 "type": "number"
1166 },
1167 "required": {
1168 "type": "boolean"
1169 },
1170 "type": {
1171 "enum": [
1172 "media"
1173 ],
1174 "type": "string"
1175 },
1176 "withExternal": {
1177 "type": "boolean"
1178 }
1179 },
1180 "type": "object"
1181 },
1182 {
1183 "additionalProperties": false,
1184 "properties": {
1185 "hidden": {
1186 "type": "boolean"
1187 },
1188 "maxSize": {
1189 "type": "number"
1190 },
1191 "mediaType": {
1192 "enum": [
1193 "video"
1194 ],
1195 "type": "string"
1196 },
1197 "required": {
1198 "type": "boolean"
1199 },
1200 "type": {
1201 "enum": [
1202 "media"
1203 ],
1204 "type": "string"
1205 },
1206 "withExternal": {
1207 "type": "boolean"
1208 }
1209 },
1210 "type": "object"
1211 },
1212 {
1213 "additionalProperties": false,
1214 "properties": {
1215 "hidden": {
1216 "type": "boolean"
1217 },
1218 "maxSize": {
1219 "type": "number"
1220 },
1221 "mediaType": {
1222 "enum": [
1223 "pdf"
1224 ],
1225 "type": "string"
1226 },
1227 "required": {
1228 "type": "boolean"
1229 },
1230 "type": {
1231 "enum": [
1232 "media"
1233 ],
1234 "type": "string"
1235 },
1236 "withExternal": {
1237 "type": "boolean"
1238 }
1239 },
1240 "type": "object"
1241 },
1242 {
1243 "additionalProperties": false,
1244 "properties": {
1245 "model": {
1246 "type": "string"
1247 },
1248 "required": {
1249 "type": "boolean"
1250 },
1251 "type": {
1252 "enum": [
1253 "settings"
1254 ],
1255 "type": "string"
1256 }
1257 },
1258 "type": "object"
1259 },
1260 {
1261 "additionalProperties": false,
1262 "properties": {
1263 "fields": {
1264 "$ref": "#/definitions/Fields"
1265 },
1266 "layout": {
1267 "enum": [
1268 "horizontal",
1269 "inline",
1270 "vertical"
1271 ],
1272 "type": "string"
1273 },
1274 "modalView": {
1275 "type": "boolean"
1276 },
1277 "type": {
1278 "enum": [
1279 "object"
1280 ],
1281 "type": "string"
1282 }
1283 },
1284 "type": "object"
1285 },
1286 {
1287 "additionalProperties": false,
1288 "properties": {
1289 "keys": {
1290 "additionalProperties": false,
1291 "properties": {
1292 "fetch": {
1293 "type": "string"
1294 },
1295 "values": {
1296 "items": {
1297 "type": "string"
1298 },
1299 "type": "array"
1300 }
1301 },
1302 "type": "object"
1303 },
1304 "type": {
1305 "enum": [
1306 "map"
1307 ],
1308 "type": "string"
1309 },
1310 "values": {
1311 "$ref": "#/definitions/Type"
1312 }
1313 },
1314 "type": "object"
1315 },
1316 {
1317 "additionalProperties": false,
1318 "properties": {
1319 "addLabel": {
1320 "type": "string"
1321 },
1322 "hidden": {
1323 "type": "boolean"
1324 },
1325 "item": {
1326 "$ref": "#/definitions/Field"
1327 },
1328 "layout": {
1329 "enum": [
1330 "block",
1331 "inline"
1332 ],
1333 "type": "string"
1334 },
1335 "maxLength": {
1336 "type": "number"
1337 },
1338 "minLength": {
1339 "type": "number"
1340 },
1341 "required": {
1342 "type": "boolean"
1343 },
1344 "schedule": {
1345 "type": "boolean"
1346 },
1347 "sortable": {
1348 "type": "boolean"
1349 },
1350 "type": {
1351 "enum": [
1352 "list"
1353 ],
1354 "type": "string"
1355 }
1356 },
1357 "type": "object"
1358 },
1359 {
1360 "additionalProperties": false,
1361 "properties": {
1362 "required": {
1363 "type": "boolean"
1364 },
1365 "type": {
1366 "enum": [
1367 "union"
1368 ],
1369 "type": "string"
1370 },
1371 "types": {
1372 "$ref": "#/definitions/UnionTypeTypes"
1373 }
1374 },
1375 "type": "object"
1376 },
1377 {
1378 "additionalProperties": false,
1379 "properties": {
1380 "allowAbsoluteRefs": {
1381 "type": "boolean"
1382 },
1383 "hidden": {
1384 "type": "boolean"
1385 },
1386 "index": {
1387 "type": "boolean"
1388 },
1389 "model": {
1390 "type": "string"
1391 },
1392 "models": {
1393 "items": {
1394 "type": "string"
1395 },
1396 "type": "array"
1397 },
1398 "required": {
1399 "type": "boolean"
1400 },
1401 "type": {
1402 "enum": [
1403 "content",
1404 "external",
1405 "settings"
1406 ],
1407 "type": "string"
1408 }
1409 },
1410 "type": "object"
1411 },
1412 {
1413 "additionalProperties": false,
1414 "properties": {
1415 "child": {
1416 "$ref": "#/definitions/Field"
1417 },
1418 "type": {
1419 "enum": [
1420 "immutable"
1421 ],
1422 "type": "string"
1423 }
1424 },
1425 "type": "object"
1426 }
1427 ]
1428 },
1429 "UnionTypeTypes": {
1430 "$ref": "#/definitions/__type_1"
1431 },
1432 "__type": {
1433 "additionalProperties": {
1434 "anyOf": [
1435 {
1436 "additionalProperties": false,
1437 "properties": {
1438 "defaultValue": {
1439 "type": "boolean"
1440 },
1441 "hidden": {
1442 "type": "boolean"
1443 },
1444 "index": {
1445 "type": "boolean"
1446 },
1447 "input": {
1448 "enum": [
1449 "checkbox",
1450 "toggle"
1451 ],
1452 "type": "string"
1453 },
1454 "label": {
1455 "type": "string"
1456 },
1457 "required": {
1458 "type": "boolean"
1459 },
1460 "type": {
1461 "enum": [
1462 "boolean"
1463 ],
1464 "type": "string"
1465 }
1466 },
1467 "type": "object"
1468 },
1469 {
1470 "additionalProperties": false,
1471 "properties": {
1472 "hidden": {
1473 "type": "boolean"
1474 },
1475 "index": {
1476 "type": "boolean"
1477 },
1478 "label": {
1479 "type": "string"
1480 },
1481 "max": {
1482 "type": "number"
1483 },
1484 "min": {
1485 "type": "number"
1486 },
1487 "placeholder": {
1488 "type": "string"
1489 },
1490 "required": {
1491 "type": "boolean"
1492 },
1493 "search": {
1494 "type": "boolean"
1495 },
1496 "type": {
1497 "enum": [
1498 "number"
1499 ],
1500 "type": "string"
1501 }
1502 },
1503 "type": "object"
1504 },
1505 {
1506 "additionalProperties": false,
1507 "properties": {
1508 "formats": {
1509 "anyOf": [
1510 {
1511 "items": {
1512 "type": "string"
1513 },
1514 "type": "array"
1515 },
1516 {
1517 "items": {
1518 "items": {
1519 },
1520 "type": "array"
1521 },
1522 "type": "array"
1523 }
1524 ]
1525 },
1526 "hidden": {
1527 "type": "boolean"
1528 },
1529 "index": {
1530 "type": "boolean"
1531 },
1532 "label": {
1533 "type": "string"
1534 },
1535 "modules": {
1536 "additionalProperties": {
1537 },
1538 "type": "object"
1539 },
1540 "required": {
1541 "type": "boolean"
1542 },
1543 "search": {
1544 "type": "boolean"
1545 },
1546 "type": {
1547 "enum": [
1548 "richtext"
1549 ],
1550 "type": "string"
1551 }
1552 },
1553 "type": "object"
1554 },
1555 {
1556 "additionalProperties": false,
1557 "properties": {
1558 "hidden": {
1559 "type": "boolean"
1560 },
1561 "index": {
1562 "type": "boolean"
1563 },
1564 "label": {
1565 "type": "string"
1566 },
1567 "maxLength": {
1568 "type": "number"
1569 },
1570 "placeholder": {
1571 "type": "string"
1572 },
1573 "readOnly": {
1574 "type": "boolean"
1575 },
1576 "regexError": {
1577 "type": "string"
1578 },
1579 "required": {
1580 "type": "boolean"
1581 },
1582 "search": {
1583 "type": "boolean"
1584 },
1585 "type": {
1586 "enum": [
1587 "string"
1588 ],
1589 "type": "string"
1590 },
1591 "validationRegex": {
1592 "type": "string"
1593 }
1594 },
1595 "type": "object"
1596 },
1597 {
1598 "additionalProperties": false,
1599 "properties": {
1600 "hidden": {
1601 "type": "boolean"
1602 },
1603 "index": {
1604 "type": "boolean"
1605 },
1606 "input": {
1607 "enum": [
1608 "textarea"
1609 ],
1610 "type": "string"
1611 },
1612 "label": {
1613 "type": "string"
1614 },
1615 "maxLength": {
1616 "type": "number"
1617 },
1618 "maxRows": {
1619 "type": "number"
1620 },
1621 "minRows": {
1622 "type": "number"
1623 },
1624 "placeholder": {
1625 "type": "string"
1626 },
1627 "readOnly": {
1628 "type": "boolean"
1629 },
1630 "required": {
1631 "type": "boolean"
1632 },
1633 "search": {
1634 "type": "boolean"
1635 },
1636 "type": {
1637 "enum": [
1638 "string"
1639 ],
1640 "type": "string"
1641 }
1642 },
1643 "type": "object"
1644 },
1645 {
1646 "additionalProperties": false,
1647 "properties": {
1648 "hidden": {
1649 "type": "boolean"
1650 },
1651 "index": {
1652 "type": "boolean"
1653 },
1654 "input": {
1655 "enum": [
1656 "slug"
1657 ],
1658 "type": "string"
1659 },
1660 "label": {
1661 "type": "string"
1662 },
1663 "required": {
1664 "type": "boolean"
1665 },
1666 "search": {
1667 "type": "boolean"
1668 },
1669 "type": {
1670 "enum": [
1671 "string"
1672 ],
1673 "type": "string"
1674 }
1675 },
1676 "type": "object"
1677 },
1678 {
1679 "additionalProperties": false,
1680 "properties": {
1681 "defaultValue": {
1682 "type": "string"
1683 },
1684 "hidden": {
1685 "type": "boolean"
1686 },
1687 "index": {
1688 "type": "boolean"
1689 },
1690 "input": {
1691 "enum": [
1692 "date"
1693 ],
1694 "type": "string"
1695 },
1696 "label": {
1697 "type": "string"
1698 },
1699 "placeholder": {
1700 "type": "string"
1701 },
1702 "required": {
1703 "type": "boolean"
1704 },
1705 "search": {
1706 "type": "boolean"
1707 },
1708 "type": {
1709 "enum": [
1710 "string"
1711 ],
1712 "type": "string"
1713 }
1714 },
1715 "type": "object"
1716 },
1717 {
1718 "additionalProperties": false,
1719 "properties": {
1720 "fetch": {
1721 "type": "string"
1722 },
1723 "hidden": {
1724 "type": "boolean"
1725 },
1726 "index": {
1727 "type": "boolean"
1728 },
1729 "input": {
1730 "enum": [
1731 "select"
1732 ],
1733 "type": "string"
1734 },
1735 "label": {
1736 "type": "string"
1737 },
1738 "nullLabel": {
1739 "type": "string"
1740 },
1741 "required": {
1742 "type": "boolean"
1743 },
1744 "search": {
1745 "type": "boolean"
1746 },
1747 "type": {
1748 "enum": [
1749 "string"
1750 ],
1751 "type": "string"
1752 },
1753 "values": {
1754 "items": {
1755 "anyOf": [
1756 {
1757 "additionalProperties": false,
1758 "properties": {
1759 "label": {
1760 "type": "string"
1761 },
1762 "value": {
1763 "type": [
1764 "string",
1765 "number"
1766 ]
1767 }
1768 },
1769 "type": "object"
1770 },
1771 {
1772 "type": "string"
1773 }
1774 ]
1775 },
1776 "type": "array"
1777 }
1778 },
1779 "type": "object"
1780 },
1781 {
1782 "additionalProperties": false,
1783 "properties": {
1784 "index": {
1785 "type": "boolean"
1786 },
1787 "label": {
1788 "type": "string"
1789 },
1790 "type": {
1791 "enum": [
1792 "position"
1793 ],
1794 "type": "string"
1795 }
1796 },
1797 "type": "object"
1798 },
1799 {
1800 "additionalProperties": false,
1801 "properties": {
1802 "fieldName": {
1803 "type": "string"
1804 },
1805 "label": {
1806 "type": "string"
1807 },
1808 "model": {
1809 "type": "string"
1810 },
1811 "type": {
1812 "enum": [
1813 "references"
1814 ],
1815 "type": "string"
1816 }
1817 },
1818 "type": "object"
1819 },
1820 {
1821 "additionalProperties": false,
1822 "properties": {
1823 "hidden": {
1824 "type": "boolean"
1825 },
1826 "label": {
1827 "type": "string"
1828 },
1829 "maxSize": {
1830 "type": "number"
1831 },
1832 "mediaType": {
1833 "enum": [
1834 "all"
1835 ],
1836 "type": "string"
1837 },
1838 "mimeType": {
1839 "type": "string"
1840 },
1841 "required": {
1842 "type": "boolean"
1843 },
1844 "type": {
1845 "enum": [
1846 "media"
1847 ],
1848 "type": "string"
1849 },
1850 "withExternal": {
1851 "type": "boolean"
1852 }
1853 },
1854 "type": "object"
1855 },
1856 {
1857 "additionalProperties": false,
1858 "properties": {
1859 "hidden": {
1860 "type": "boolean"
1861 },
1862 "label": {
1863 "type": "string"
1864 },
1865 "maxHeight": {
1866 "type": "number"
1867 },
1868 "maxSize": {
1869 "type": "number"
1870 },
1871 "maxWidth": {
1872 "type": "number"
1873 },
1874 "mediaType": {
1875 "enum": [
1876 "image"
1877 ],
1878 "type": "string"
1879 },
1880 "minHeight": {
1881 "type": "number"
1882 },
1883 "minWidth": {
1884 "type": "number"
1885 },
1886 "required": {
1887 "type": "boolean"
1888 },
1889 "type": {
1890 "enum": [
1891 "media"
1892 ],
1893 "type": "string"
1894 },
1895 "withExternal": {
1896 "type": "boolean"
1897 }
1898 },
1899 "type": "object"
1900 },
1901 {
1902 "additionalProperties": false,
1903 "properties": {
1904 "hidden": {
1905 "type": "boolean"
1906 },
1907 "label": {
1908 "type": "string"
1909 },
1910 "maxSize": {
1911 "type": "number"
1912 },
1913 "mediaType": {
1914 "enum": [
1915 "video"
1916 ],
1917 "type": "string"
1918 },
1919 "required": {
1920 "type": "boolean"
1921 },
1922 "type": {
1923 "enum": [
1924 "media"
1925 ],
1926 "type": "string"
1927 },
1928 "withExternal": {
1929 "type": "boolean"
1930 }
1931 },
1932 "type": "object"
1933 },
1934 {
1935 "additionalProperties": false,
1936 "properties": {
1937 "hidden": {
1938 "type": "boolean"
1939 },
1940 "label": {
1941 "type": "string"
1942 },
1943 "maxSize": {
1944 "type": "number"
1945 },
1946 "mediaType": {
1947 "enum": [
1948 "pdf"
1949 ],
1950 "type": "string"
1951 },
1952 "required": {
1953 "type": "boolean"
1954 },
1955 "type": {
1956 "enum": [
1957 "media"
1958 ],
1959 "type": "string"
1960 },
1961 "withExternal": {
1962 "type": "boolean"
1963 }
1964 },
1965 "type": "object"
1966 },
1967 {
1968 "additionalProperties": false,
1969 "properties": {
1970 "label": {
1971 "type": "string"
1972 },
1973 "model": {
1974 "type": "string"
1975 },
1976 "required": {
1977 "type": "boolean"
1978 },
1979 "type": {
1980 "enum": [
1981 "settings"
1982 ],
1983 "type": "string"
1984 }
1985 },
1986 "type": "object"
1987 },
1988 {
1989 "additionalProperties": false,
1990 "properties": {
1991 "fields": {
1992 "$ref": "#/definitions/Fields"
1993 },
1994 "label": {
1995 "type": "string"
1996 },
1997 "layout": {
1998 "enum": [
1999 "horizontal",
2000 "inline",
2001 "vertical"
2002 ],
2003 "type": "string"
2004 },
2005 "modalView": {
2006 "type": "boolean"
2007 },
2008 "type": {
2009 "enum": [
2010 "object"
2011 ],
2012 "type": "string"
2013 }
2014 },
2015 "type": "object"
2016 },
2017 {
2018 "additionalProperties": false,
2019 "properties": {
2020 "keys": {
2021 "additionalProperties": false,
2022 "properties": {
2023 "fetch": {
2024 "type": "string"
2025 },
2026 "values": {
2027 "items": {
2028 "type": "string"
2029 },
2030 "type": "array"
2031 }
2032 },
2033 "type": "object"
2034 },
2035 "label": {
2036 "type": "string"
2037 },
2038 "type": {
2039 "enum": [
2040 "map"
2041 ],
2042 "type": "string"
2043 },
2044 "values": {
2045 "$ref": "#/definitions/Type"
2046 }
2047 },
2048 "type": "object"
2049 },
2050 {
2051 "additionalProperties": false,
2052 "properties": {
2053 "addLabel": {
2054 "type": "string"
2055 },
2056 "hidden": {
2057 "type": "boolean"
2058 },
2059 "item": {
2060 "$ref": "#/definitions/Field"
2061 },
2062 "label": {
2063 "type": "string"
2064 },
2065 "layout": {
2066 "enum": [
2067 "block",
2068 "inline"
2069 ],
2070 "type": "string"
2071 },
2072 "maxLength": {
2073 "type": "number"
2074 },
2075 "minLength": {
2076 "type": "number"
2077 },
2078 "required": {
2079 "type": "boolean"
2080 },
2081 "schedule": {
2082 "type": "boolean"
2083 },
2084 "sortable": {
2085 "type": "boolean"
2086 },
2087 "type": {
2088 "enum": [
2089 "list"
2090 ],
2091 "type": "string"
2092 }
2093 },
2094 "type": "object"
2095 },
2096 {
2097 "additionalProperties": false,
2098 "properties": {
2099 "label": {
2100 "type": "string"
2101 },
2102 "required": {
2103 "type": "boolean"
2104 },
2105 "type": {
2106 "enum": [
2107 "union"
2108 ],
2109 "type": "string"
2110 },
2111 "types": {
2112 "$ref": "#/definitions/UnionTypeTypes"
2113 }
2114 },
2115 "type": "object"
2116 },
2117 {
2118 "additionalProperties": false,
2119 "properties": {
2120 "allowAbsoluteRefs": {
2121 "type": "boolean"
2122 },
2123 "hidden": {
2124 "type": "boolean"
2125 },
2126 "index": {
2127 "type": "boolean"
2128 },
2129 "label": {
2130 "type": "string"
2131 },
2132 "model": {
2133 "type": "string"
2134 },
2135 "models": {
2136 "items": {
2137 "type": "string"
2138 },
2139 "type": "array"
2140 },
2141 "required": {
2142 "type": "boolean"
2143 },
2144 "type": {
2145 "enum": [
2146 "content",
2147 "external",
2148 "settings"
2149 ],
2150 "type": "string"
2151 }
2152 },
2153 "type": "object"
2154 },
2155 {
2156 "additionalProperties": false,
2157 "properties": {
2158 "child": {
2159 "$ref": "#/definitions/Field"
2160 },
2161 "label": {
2162 "type": "string"
2163 },
2164 "type": {
2165 "enum": [
2166 "immutable"
2167 ],
2168 "type": "string"
2169 }
2170 },
2171 "type": "object"
2172 }
2173 ]
2174 },
2175 "type": "object"
2176 },
2177 "__type_1": {
2178 "additionalProperties": {
2179 "additionalProperties": false,
2180 "properties": {
2181 "fields": {
2182 "$ref": "#/definitions/Fields"
2183 },
2184 "icon": {
2185 "type": "string"
2186 },
2187 "label": {
2188 "type": "string"
2189 },
2190 "layout": {
2191 "enum": [
2192 "horizontal",
2193 "inline",
2194 "vertical"
2195 ],
2196 "type": "string"
2197 },
2198 "modalView": {
2199 "type": "boolean"
2200 },
2201 "type": {
2202 "enum": [
2203 "object"
2204 ],
2205 "type": "string"
2206 }
2207 },
2208 "type": "object"
2209 },
2210 "type": "object"
2211 }
2212 },
2213 "properties": {
2214 "$schema": {
2215 "type": "string"
2216 },
2217 "models": {
2218 "items": {
2219 "additionalProperties": false,
2220 "properties": {
2221 "collection": {
2222 "enum": [
2223 "list",
2224 "none",
2225 "singleton"
2226 ],
2227 "type": "string"
2228 },
2229 "customQuery": {
2230 "additionalProperties": {
2231 "type": "string"
2232 },
2233 "type": "object"
2234 },
2235 "fields": {
2236 "additionalProperties": {
2237 "anyOf": [
2238 {
2239 "additionalProperties": false,
2240 "properties": {
2241 "defaultValue": {
2242 "type": "boolean"
2243 },
2244 "hidden": {
2245 "type": "boolean"
2246 },
2247 "index": {
2248 "type": "boolean"
2249 },
2250 "input": {
2251 "enum": [
2252 "checkbox",
2253 "toggle"
2254 ],
2255 "type": "string"
2256 },
2257 "label": {
2258 "type": "string"
2259 },
2260 "required": {
2261 "type": "boolean"
2262 },
2263 "type": {
2264 "enum": [
2265 "boolean"
2266 ],
2267 "type": "string"
2268 },
2269 "unique": {
2270 "type": "boolean"
2271 }
2272 },
2273 "type": "object"
2274 },
2275 {
2276 "additionalProperties": false,
2277 "properties": {
2278 "hidden": {
2279 "type": "boolean"
2280 },
2281 "index": {
2282 "type": "boolean"
2283 },
2284 "label": {
2285 "type": "string"
2286 },
2287 "max": {
2288 "type": "number"
2289 },
2290 "min": {
2291 "type": "number"
2292 },
2293 "placeholder": {
2294 "type": "string"
2295 },
2296 "required": {
2297 "type": "boolean"
2298 },
2299 "search": {
2300 "type": "boolean"
2301 },
2302 "type": {
2303 "enum": [
2304 "number"
2305 ],
2306 "type": "string"
2307 },
2308 "unique": {
2309 "type": "boolean"
2310 }
2311 },
2312 "type": "object"
2313 },
2314 {
2315 "additionalProperties": false,
2316 "properties": {
2317 "formats": {
2318 "anyOf": [
2319 {
2320 "items": {
2321 "type": "string"
2322 },
2323 "type": "array"
2324 },
2325 {
2326 "items": {
2327 "items": {
2328 },
2329 "type": "array"
2330 },
2331 "type": "array"
2332 }
2333 ]
2334 },
2335 "hidden": {
2336 "type": "boolean"
2337 },
2338 "index": {
2339 "type": "boolean"
2340 },
2341 "label": {
2342 "type": "string"
2343 },
2344 "modules": {
2345 "additionalProperties": {
2346 },
2347 "type": "object"
2348 },
2349 "required": {
2350 "type": "boolean"
2351 },
2352 "search": {
2353 "type": "boolean"
2354 },
2355 "type": {
2356 "enum": [
2357 "richtext"
2358 ],
2359 "type": "string"
2360 },
2361 "unique": {
2362 "type": "boolean"
2363 }
2364 },
2365 "type": "object"
2366 },
2367 {
2368 "additionalProperties": false,
2369 "properties": {
2370 "hidden": {
2371 "type": "boolean"
2372 },
2373 "index": {
2374 "type": "boolean"
2375 },
2376 "label": {
2377 "type": "string"
2378 },
2379 "maxLength": {
2380 "type": "number"
2381 },
2382 "placeholder": {
2383 "type": "string"
2384 },
2385 "readOnly": {
2386 "type": "boolean"
2387 },
2388 "regexError": {
2389 "type": "string"
2390 },
2391 "required": {
2392 "type": "boolean"
2393 },
2394 "search": {
2395 "type": "boolean"
2396 },
2397 "type": {
2398 "enum": [
2399 "string"
2400 ],
2401 "type": "string"
2402 },
2403 "unique": {
2404 "type": "boolean"
2405 },
2406 "validationRegex": {
2407 "type": "string"
2408 }
2409 },
2410 "type": "object"
2411 },
2412 {
2413 "additionalProperties": false,
2414 "properties": {
2415 "hidden": {
2416 "type": "boolean"
2417 },
2418 "index": {
2419 "type": "boolean"
2420 },
2421 "input": {
2422 "enum": [
2423 "textarea"
2424 ],
2425 "type": "string"
2426 },
2427 "label": {
2428 "type": "string"
2429 },
2430 "maxLength": {
2431 "type": "number"
2432 },
2433 "maxRows": {
2434 "type": "number"
2435 },
2436 "minRows": {
2437 "type": "number"
2438 },
2439 "placeholder": {
2440 "type": "string"
2441 },
2442 "readOnly": {
2443 "type": "boolean"
2444 },
2445 "required": {
2446 "type": "boolean"
2447 },
2448 "search": {
2449 "type": "boolean"
2450 },
2451 "type": {
2452 "enum": [
2453 "string"
2454 ],
2455 "type": "string"
2456 },
2457 "unique": {
2458 "type": "boolean"
2459 }
2460 },
2461 "type": "object"
2462 },
2463 {
2464 "additionalProperties": false,
2465 "properties": {
2466 "hidden": {
2467 "type": "boolean"
2468 },
2469 "index": {
2470 "type": "boolean"
2471 },
2472 "input": {
2473 "enum": [
2474 "slug"
2475 ],
2476 "type": "string"
2477 },
2478 "label": {
2479 "type": "string"
2480 },
2481 "required": {
2482 "type": "boolean"
2483 },
2484 "search": {
2485 "type": "boolean"
2486 },
2487 "type": {
2488 "enum": [
2489 "string"
2490 ],
2491 "type": "string"
2492 },
2493 "unique": {
2494 "type": "boolean"
2495 }
2496 },
2497 "type": "object"
2498 },
2499 {
2500 "additionalProperties": false,
2501 "properties": {
2502 "defaultValue": {
2503 "type": "string"
2504 },
2505 "hidden": {
2506 "type": "boolean"
2507 },
2508 "index": {
2509 "type": "boolean"
2510 },
2511 "input": {
2512 "enum": [
2513 "date"
2514 ],
2515 "type": "string"
2516 },
2517 "label": {
2518 "type": "string"
2519 },
2520 "placeholder": {
2521 "type": "string"
2522 },
2523 "required": {
2524 "type": "boolean"
2525 },
2526 "search": {
2527 "type": "boolean"
2528 },
2529 "type": {
2530 "enum": [
2531 "string"
2532 ],
2533 "type": "string"
2534 },
2535 "unique": {
2536 "type": "boolean"
2537 }
2538 },
2539 "type": "object"
2540 },
2541 {
2542 "additionalProperties": false,
2543 "properties": {
2544 "fetch": {
2545 "type": "string"
2546 },
2547 "hidden": {
2548 "type": "boolean"
2549 },
2550 "index": {
2551 "type": "boolean"
2552 },
2553 "input": {
2554 "enum": [
2555 "select"
2556 ],
2557 "type": "string"
2558 },
2559 "label": {
2560 "type": "string"
2561 },
2562 "nullLabel": {
2563 "type": "string"
2564 },
2565 "required": {
2566 "type": "boolean"
2567 },
2568 "search": {
2569 "type": "boolean"
2570 },
2571 "type": {
2572 "enum": [
2573 "string"
2574 ],
2575 "type": "string"
2576 },
2577 "unique": {
2578 "type": "boolean"
2579 },
2580 "values": {
2581 "items": {
2582 "anyOf": [
2583 {
2584 "additionalProperties": false,
2585 "properties": {
2586 "label": {
2587 "type": "string"
2588 },
2589 "value": {
2590 "type": [
2591 "string",
2592 "number"
2593 ]
2594 }
2595 },
2596 "type": "object"
2597 },
2598 {
2599 "type": "string"
2600 }
2601 ]
2602 },
2603 "type": "array"
2604 }
2605 },
2606 "type": "object"
2607 },
2608 {
2609 "additionalProperties": false,
2610 "properties": {
2611 "index": {
2612 "type": "boolean"
2613 },
2614 "label": {
2615 "type": "string"
2616 },
2617 "type": {
2618 "enum": [
2619 "position"
2620 ],
2621 "type": "string"
2622 },
2623 "unique": {
2624 "type": "boolean"
2625 }
2626 },
2627 "type": "object"
2628 },
2629 {
2630 "additionalProperties": false,
2631 "properties": {
2632 "fieldName": {
2633 "type": "string"
2634 },
2635 "label": {
2636 "type": "string"
2637 },
2638 "model": {
2639 "type": "string"
2640 },
2641 "type": {
2642 "enum": [
2643 "references"
2644 ],
2645 "type": "string"
2646 },
2647 "unique": {
2648 "type": "boolean"
2649 }
2650 },
2651 "type": "object"
2652 },
2653 {
2654 "additionalProperties": false,
2655 "properties": {
2656 "hidden": {
2657 "type": "boolean"
2658 },
2659 "label": {
2660 "type": "string"
2661 },
2662 "maxSize": {
2663 "type": "number"
2664 },
2665 "mediaType": {
2666 "enum": [
2667 "all"
2668 ],
2669 "type": "string"
2670 },
2671 "mimeType": {
2672 "type": "string"
2673 },
2674 "required": {
2675 "type": "boolean"
2676 },
2677 "type": {
2678 "enum": [
2679 "media"
2680 ],
2681 "type": "string"
2682 },
2683 "unique": {
2684 "type": "boolean"
2685 },
2686 "withExternal": {
2687 "type": "boolean"
2688 }
2689 },
2690 "type": "object"
2691 },
2692 {
2693 "additionalProperties": false,
2694 "properties": {
2695 "hidden": {
2696 "type": "boolean"
2697 },
2698 "label": {
2699 "type": "string"
2700 },
2701 "maxHeight": {
2702 "type": "number"
2703 },
2704 "maxSize": {
2705 "type": "number"
2706 },
2707 "maxWidth": {
2708 "type": "number"
2709 },
2710 "mediaType": {
2711 "enum": [
2712 "image"
2713 ],
2714 "type": "string"
2715 },
2716 "minHeight": {
2717 "type": "number"
2718 },
2719 "minWidth": {
2720 "type": "number"
2721 },
2722 "required": {
2723 "type": "boolean"
2724 },
2725 "type": {
2726 "enum": [
2727 "media"
2728 ],
2729 "type": "string"
2730 },
2731 "unique": {
2732 "type": "boolean"
2733 },
2734 "withExternal": {
2735 "type": "boolean"
2736 }
2737 },
2738 "type": "object"
2739 },
2740 {
2741 "additionalProperties": false,
2742 "properties": {
2743 "hidden": {
2744 "type": "boolean"
2745 },
2746 "label": {
2747 "type": "string"
2748 },
2749 "maxSize": {
2750 "type": "number"
2751 },
2752 "mediaType": {
2753 "enum": [
2754 "video"
2755 ],
2756 "type": "string"
2757 },
2758 "required": {
2759 "type": "boolean"
2760 },
2761 "type": {
2762 "enum": [
2763 "media"
2764 ],
2765 "type": "string"
2766 },
2767 "unique": {
2768 "type": "boolean"
2769 },
2770 "withExternal": {
2771 "type": "boolean"
2772 }
2773 },
2774 "type": "object"
2775 },
2776 {
2777 "additionalProperties": false,
2778 "properties": {
2779 "hidden": {
2780 "type": "boolean"
2781 },
2782 "label": {
2783 "type": "string"
2784 },
2785 "maxSize": {
2786 "type": "number"
2787 },
2788 "mediaType": {
2789 "enum": [
2790 "pdf"
2791 ],
2792 "type": "string"
2793 },
2794 "required": {
2795 "type": "boolean"
2796 },
2797 "type": {
2798 "enum": [
2799 "media"
2800 ],
2801 "type": "string"
2802 },
2803 "unique": {
2804 "type": "boolean"
2805 },
2806 "withExternal": {
2807 "type": "boolean"
2808 }
2809 },
2810 "type": "object"
2811 },
2812 {
2813 "additionalProperties": false,
2814 "properties": {
2815 "label": {
2816 "type": "string"
2817 },
2818 "model": {
2819 "type": "string"
2820 },
2821 "required": {
2822 "type": "boolean"
2823 },
2824 "type": {
2825 "enum": [
2826 "settings"
2827 ],
2828 "type": "string"
2829 },
2830 "unique": {
2831 "type": "boolean"
2832 }
2833 },
2834 "type": "object"
2835 },
2836 {
2837 "additionalProperties": false,
2838 "properties": {
2839 "fields": {
2840 "$ref": "#/definitions/Fields"
2841 },
2842 "label": {
2843 "type": "string"
2844 },
2845 "layout": {
2846 "enum": [
2847 "horizontal",
2848 "inline",
2849 "vertical"
2850 ],
2851 "type": "string"
2852 },
2853 "modalView": {
2854 "type": "boolean"
2855 },
2856 "type": {
2857 "enum": [
2858 "object"
2859 ],
2860 "type": "string"
2861 },
2862 "unique": {
2863 "type": "boolean"
2864 }
2865 },
2866 "type": "object"
2867 },
2868 {
2869 "additionalProperties": false,
2870 "properties": {
2871 "keys": {
2872 "additionalProperties": false,
2873 "properties": {
2874 "fetch": {
2875 "type": "string"
2876 },
2877 "values": {
2878 "items": {
2879 "type": "string"
2880 },
2881 "type": "array"
2882 }
2883 },
2884 "type": "object"
2885 },
2886 "label": {
2887 "type": "string"
2888 },
2889 "type": {
2890 "enum": [
2891 "map"
2892 ],
2893 "type": "string"
2894 },
2895 "unique": {
2896 "type": "boolean"
2897 },
2898 "values": {
2899 "$ref": "#/definitions/Type"
2900 }
2901 },
2902 "type": "object"
2903 },
2904 {
2905 "additionalProperties": false,
2906 "properties": {
2907 "addLabel": {
2908 "type": "string"
2909 },
2910 "hidden": {
2911 "type": "boolean"
2912 },
2913 "item": {
2914 "$ref": "#/definitions/Field"
2915 },
2916 "label": {
2917 "type": "string"
2918 },
2919 "layout": {
2920 "enum": [
2921 "block",
2922 "inline"
2923 ],
2924 "type": "string"
2925 },
2926 "maxLength": {
2927 "type": "number"
2928 },
2929 "minLength": {
2930 "type": "number"
2931 },
2932 "required": {
2933 "type": "boolean"
2934 },
2935 "schedule": {
2936 "type": "boolean"
2937 },
2938 "sortable": {
2939 "type": "boolean"
2940 },
2941 "type": {
2942 "enum": [
2943 "list"
2944 ],
2945 "type": "string"
2946 },
2947 "unique": {
2948 "type": "boolean"
2949 }
2950 },
2951 "type": "object"
2952 },
2953 {
2954 "additionalProperties": false,
2955 "properties": {
2956 "label": {
2957 "type": "string"
2958 },
2959 "required": {
2960 "type": "boolean"
2961 },
2962 "type": {
2963 "enum": [
2964 "union"
2965 ],
2966 "type": "string"
2967 },
2968 "types": {
2969 "$ref": "#/definitions/UnionTypeTypes"
2970 },
2971 "unique": {
2972 "type": "boolean"
2973 }
2974 },
2975 "type": "object"
2976 },
2977 {
2978 "additionalProperties": false,
2979 "properties": {
2980 "allowAbsoluteRefs": {
2981 "type": "boolean"
2982 },
2983 "hidden": {
2984 "type": "boolean"
2985 },
2986 "index": {
2987 "type": "boolean"
2988 },
2989 "label": {
2990 "type": "string"
2991 },
2992 "model": {
2993 "type": "string"
2994 },
2995 "models": {
2996 "items": {
2997 "type": "string"
2998 },
2999 "type": "array"
3000 },
3001 "required": {
3002 "type": "boolean"
3003 },
3004 "type": {
3005 "enum": [
3006 "content",
3007 "external",
3008 "settings"
3009 ],
3010 "type": "string"
3011 },
3012 "unique": {
3013 "type": "boolean"
3014 }
3015 },
3016 "type": "object"
3017 },
3018 {
3019 "additionalProperties": false,
3020 "properties": {
3021 "child": {
3022 "$ref": "#/definitions/Field"
3023 },
3024 "label": {
3025 "type": "string"
3026 },
3027 "type": {
3028 "enum": [
3029 "immutable"
3030 ],
3031 "type": "string"
3032 },
3033 "unique": {
3034 "type": "boolean"
3035 }
3036 },
3037 "type": "object"
3038 }
3039 ]
3040 },
3041 "type": "object"
3042 },
3043 "group": {
3044 "type": "string"
3045 },
3046 "image": {
3047 "type": "string"
3048 },
3049 "name": {
3050 "type": "string"
3051 },
3052 "notSearchAble": {
3053 "type": "boolean"
3054 },
3055 "order": {
3056 "enum": [
3057 "asc",
3058 "desc"
3059 ],
3060 "type": "string"
3061 },
3062 "orderBy": {
3063 "type": "string"
3064 },
3065 "plural": {
3066 "type": "string"
3067 },
3068 "singular": {
3069 "type": "string"
3070 },
3071 "title": {
3072 "type": "string"
3073 },
3074 "uniqueFields": {
3075 "items": {
3076 "type": "string"
3077 },
3078 "type": "array"
3079 },
3080 "urlPath": {
3081 "type": "string"
3082 }
3083 },
3084 "type": "object"
3085 },
3086 "type": "array"
3087 }
3088 },
3089 "type": "object"
3090}
3091