forked from adaptlearning/adapt-contrib-vanilla
-
Notifications
You must be signed in to change notification settings - Fork 0
/
properties.schema
1160 lines (1150 loc) · 48.2 KB
/
properties.schema
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema",
"id": "http://jsonschema.net",
"$ref": "http://localhost/plugins/content/theme/model.schema",
"properties": {
"variables": {
"_global": {
"type": "object",
"required": false,
"title": "Global",
"properties": {
"font-color": {
"title": "Font colour",
"type": "string",
"inputType": "ColourPicker",
"default": "#4D4D4D",
"help": "Global body font colour."
},
"font-color-inverted": {
"title": "Font colour inverted",
"type": "string",
"inputType": "ColourPicker",
"default": "#FFFFFF",
"help": "Global body font colour inverted. Either a lightened/darkened alternative to Font colour."
},
"link": {
"title": "Link font colour",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"link-inverted": {
"title": "Link font colour - inverted",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Global link font colour inverted. Either a lightened/darkened alternative to Link colour."
},
"link-hover": {
"title": "Link font colour - hover",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"link-inverted-hover": {
"title": "Link font colour - inverted hover",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Global link font colour when hovered over inverted. Either a lightened/darkened alternative to Link hover colour."
},
"heading-color": {
"title": "Heading colour",
"type": "string",
"inputType": "ColourPicker",
"default": "#36CDE8",
"help": "Global title colour."
},
"heading-color-inverted": {
"title": "Heading colour - inverted",
"type": "string",
"inputType": "ColourPicker",
"default": "#FFFFFF",
"help": "Global title colour inverted. Either a lightened/darkened alternative to Title colour."
}
}
},
"_items": {
"type": "object",
"required": false,
"title": "Items (Components)",
"properties": {
"item-color": {
"title": "Item colour",
"type": "string",
"inputType": "ColourPicker",
"default": "#36CDE8",
"help": "Defines the clickable areas or points of interest in components."
},
"item-color-inverted": {
"title": "Item colour - inverted",
"type": "string",
"inputType": "ColourPicker",
"default": "#FFFFFF",
"help": "Defines the Item text / icon colour. Should be a colour that provides good contrast against the Item colour."
},
"item-color-hover": {
"title": "Item colour - hover",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"item-color-inverted-hover": {
"title": "Item colour - inverted hover",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Item text / icon colour when hovered over. Should be a colour that provides good contrast against the Item hover colour."
},
"item-color-selected": {
"title": "Item colour - selected",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"item-color-inverted-selected": {
"title": "Item colour - inverted selected",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Item text / icon colour when selected. Should be a colour that provides good contrast against the Item selected colour."
},
"visited": {
"title": "Visited colour",
"type": "string",
"inputType": "ColourPicker",
"default": "#727272",
"help": "Defines the Item colour when it has been visited."
},
"visited-inverted": {
"title": "Visited colour - inverted",
"type": "string",
"inputType": "ColourPicker",
"default": "#FFFFFF",
"help": "Defines the Item text / icon colour when visited. Should be a colour that provides good contrast against the Item visited colour."
}
}
},
"_buttons": {
"type": "object",
"required": false,
"title": "Buttons",
"properties": {
"btn-color": {
"title": "Button colour",
"type": "string",
"inputType": "ColourPicker",
"default": "#4D4D4D",
"help": "Defines component question buttons and navigational elements."
},
"btn-color-inverted": {
"title": "Button colour - inverted",
"type": "string",
"inputType": "ColourPicker",
"default": "#FFFFFF",
"help": "Defines the button text / icon colour. Should be a colour that provides good contrast against the button colour."
},
"btn-color-hover": {
"title": "Button colour - hover",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"btn-color-inverted-hover": {
"title": "Button colour - inverted hover",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the button text / icon colour when hovered over. Should be a colour that provides good contrast against the button hover colour."
},
"btn-icon-color": {
"title": "Button icon colour",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the standardised icon button background colour."
},
"btn-icon-color-inverted": {
"title": "Button icon colour - inverted",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the button icon colour. Should be a colour that provides good contrast against the button colour."
},
"btn-icon-color-hover": {
"title": "Button icon colour - hover",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"btn-icon-color-inverted-hover": {
"title": "Button icon colour - inverted hover",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the button icon colour when hovered over. Should be a colour that provides good contrast against the button hover colour."
},
"disabled": {
"title": "Disabled colour",
"type": "string",
"inputType": "ColourPicker",
"default": "#DDDDDD"
},
"disabled-inverted": {
"title": "Disabled colour - inverted",
"type": "string",
"inputType": "ColourPicker",
"default": "#000000",
"help": "Defines the button text / icon colour when it is disabled. Should be a colour that provides good contrast against the button disabled colour."
}
}
},
"_validation": {
"type": "object",
"required": false,
"title": "Validation states",
"properties": {
"validation-success": {
"title": "Validation success colour",
"type": "string",
"inputType": "ColourPicker",
"default": "#065f28",
"help": "Defines the question marking success colour."
},
"validation-success-inverted": {
"title": "Validation success colour - inverted",
"type": "string",
"inputType": "ColourPicker",
"default": "#FFFFFF",
"help": "Defines the question marking success text / icon colour. Should be a colour that provides good contrast against the question marking success colour."
},
"validation-error": {
"title": "Validation error colour",
"type": "string",
"inputType": "ColourPicker",
"default": "#ff0000",
"help": "Defines the question marking error colour."
},
"validation-error-inverted": {
"title": "Validation error colour - inverted",
"type": "string",
"inputType": "ColourPicker",
"default": "#FFFFFF",
"help": "Defines the question marking error text / icon colour. Should be a colour that provices good contrast against the question marking error colour."
}
}
},
"_progress": {
"type": "object",
"required": false,
"title": "Progress",
"properties": {
"progress": {
"title": "Progress fill colour",
"type": "string",
"inputType": "ColourPicker",
"default": "#9096A0",
"help": "Defines the global progress width fill colour."
},
"progress-inverted": {
"title": "Progress background colour",
"type": "string",
"inputType": "ColourPicker",
"default": "#FFFFFF",
"help": "Defines the global progress fill background colour."
},
"progress-border": {
"title": "Progress border colour",
"type": "string",
"inputType": "ColourPicker",
"default": "#9096A0",
"help": "Defines the global border colour that appears around the progress fill bar."
}
}
},
"_menu": {
"type": "object",
"required": false,
"title": "Menu",
"properties": {
"menu-item": {
"title": "Menu item colour",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"menu-item-inverted": {
"title": "Menu item colour - inverted",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Menu Item text colour. Should be a colour that provides good contrast against the Menu Item colour."
},
"menu-item-border-color": {
"title": "Menu item border colour",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"menu-item-progress": {
"title": "Menu item progress fill colour",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Menu Item specific global progress width fill override colour."
},
"menu-item-progress-inverted": {
"title": "Menu item progress background colour",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Menu Item specific global progress fill background override colour."
},
"menu-item-progress-border": {
"title": "Menu item progress border colour",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"menu-item-btn-color": {
"title": "Menu item button background colour",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"menu-item-btn-color-inverted": {
"title": "Menu item button background colour - inverted",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Menu Item button text colour. Should be a colour that provides good contrast against the Menu Item button colour."
},
"menu-item-btn-color-hover": {
"title": "Menu item button background colour - hover",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"menu-item-btn-color-inverted-hover": {
"title": "Menu item button background colour - inverted hover",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Menu Item button text colour when hovered over. Should be a colour that provides good contrast against the Menu Item button hover colour."
}
}
},
"_nav": {
"type": "object",
"required": false,
"title": "Navigation",
"properties": {
"nav": {
"title": "Navigation background colour",
"type": "string",
"inputType": "ColourPicker",
"default": "#FFFFFF"
},
"nav-inverted": {
"title": "Navigation background colour - inverted",
"type": "string",
"inputType": "ColourPicker",
"default": "#9096A0",
"help": "Defines the general Navigation inverted colour. Should be a colour that provides good contrast against the Navigation colour."
},
"nav-icon": {
"title": "Navigation button background colour",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"nav-icon-inverted": {
"title": "Navigation button background colour - inverted",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Navigation Btn text / icon colour. Should be a colour that provides good contrast against the Navigation Btn colour."
},
"nav-icon-hover": {
"title": "Navigation button background colour - hover",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"nav-icon-inverted-hover": {
"title": "Navigation button background colour - inverted hover",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Navigation button text / icon colour when hovered over. Should be a colour that provides good contrast against the Navigation button hover colour."
},
"nav-progress": {
"title": "Navigation progress fill color",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Navigation specific progress width fill override colour."
},
"nav-progress-inverted": {
"title": "Navigation progress background color - inverted",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Navigation specific progress fill background override colour."
},
"nav-progress-border": {
"title": "Navigation progress border colour",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"nav-progress-hover": {
"title": "Navigation progress fill color - hover",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Navigation specific progress width fill override colour when hovered over."
},
"nav-progress-inverted-hover": {
"title": "Navigation progress background color - inverted hover",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Navigation specific progress fill background override colour when hovered over."
},
"nav-progress-border-hover": {
"title": "Navigation progress border colour - hover",
"type": "string",
"inputType": "ColourPicker",
"default": ""
}
}
},
"_notify": {
"type": "object",
"required": false,
"title": "Notify (pop up)",
"properties": {
"notify": {
"title": "Notify background colour",
"type": "string",
"inputType": "ColourPicker",
"default": "#36CDE8"
},
"notify-inverted": {
"title": "Notify background colour - inverted",
"type": "string",
"inputType": "ColourPicker",
"default": "#FFFFFF",
"help": "Defines the Notify text colour. Should be a colour that provides good contrast against the Notify colour."
},
"notify-link": {
"title": "Notify link font colour",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"notify-link-hover": {
"title": "Notify link font colour - hover",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"notify-btn": {
"title": "Notify button background colour",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"notify-btn-inverted": {
"title": "Notify button background colour - inverted",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Notify button text / icon colour. Should be a colour that provides good contrast against the Notify button colour."
},
"notify-btn-hover": {
"title": "Notify button background colour - hover",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"notify-btn-inverted-hover": {
"title": "Notify button background colour - inverted hover",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Notify button text / icon colour when hovered over. Should be a colour that provides good contrast against the Notify button hover colour."
},
"notify-icon": {
"title": "Notify icon button background colour",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"notify-icon-inverted": {
"title": "Notify icon button background colour - inverted",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Notify Icon inverse colour. Should be a colour that provides good contrast against the Notify Icon colour."
},
"notify-icon-hover": {
"title": "Notify icon button background colour - hover",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"notify-icon-inverted-hover": {
"title": "Notify icon button background colour - inverted hover",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Notify Icon colour when hovered over. Should be a colour that provides good contrast against the Notify Icon colour."
}
}
},
"_drawer": {
"type": "object",
"required": false,
"title": "Drawer",
"properties": {
"drawer": {
"title": "Drawer background colour",
"type": "string",
"inputType": "ColourPicker",
"default": "#263944"
},
"drawer-inverted": {
"title": "Drawer background colour - inverted",
"type": "string",
"inputType": "ColourPicker",
"default": "#FFFFFF",
"help": "Defines the Drawer text colour. Should be a colour that provides good contrast against the Drawer colour."
},
"drawer-link": {
"title": "Drawer link font colour",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"drawer-link-hover": {
"title": "Drawer link font colour - hover",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"drawer-icon": {
"title": "Drawer icon button background colour",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"drawer-icon-inverted": {
"title": "Drawer icon button background colour - inverted",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Drawer Icon button inverse colour. Should be a colour that provides good contrast against the Drawer Icon button colour"
},
"drawer-icon-hover": {
"title": "Drawer icon button background colour - hover",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"drawer-icon-inverted-hover": {
"title": "Drawer icon button background colour - inverted hover",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Drawer Icon button inverse colour when hovered over. Should be a colour that provides good contrast against the Drawer Icon button hover colour."
},
"drawer-item": {
"title": "Drawer item background colour",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"drawer-item-inverted": {
"title": "Drawer item background colour - inverted",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Drawer Item text / icon colour. Should be a colour that provides good contrast against the Drawer Item colour."
},
"drawer-item-hover": {
"title": "Drawer item background colour - hover",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"drawer-item-inverted-hover": {
"title": "Drawer item background colour - inverted hover",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Drawer Item text / icon colour when hovered over. Should be a colour that provides good contrast against the Drawer Item hover colour."
},
"drawer-item-selected": {
"title": "Drawer item background colour - selected",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"drawer-item-inverted-selected": {
"title": "Drawer item background colour - inverted selected",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Drawer Item text / icon colour when selected. Should be a colour that provides good contrast against the Drawer Item selected colour."
},
"drawer-progress": {
"title": "Drawer progress fill colour",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Drawer-specific progress width fill override colour."
},
"drawer-progress-inverted": {
"title": "Drawer progress background colour",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Drawer-specific progress fill background override colour."
},
"drawer-progress-border": {
"title": "Drawer progress border colour",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Drawer-specific border override colour that appears around the progress fill bar."
},
"drawer-progress-hover": {
"title": "Drawer progress colour - hover",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Drawer-specific progress width fill override colour when hovered over."
},
"drawer-progress-inverted-hover": {
"title": "Drawer progress colour - inverted hover",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Drawer-specific progress fill background override colour when hovered over."
},
"drawer-progress-border-hover": {
"title": "Drawer progress border colour - hover",
"type": "string",
"inputType": "ColourPicker",
"default": "",
"help": "Defines the Drawer-specific border override colour that appears around the progress fill bar when hovered over."
}
}
},
"_misc": {
"type": "object",
"required": false,
"title": "Misc",
"properties": {
"background": {
"title": "Background colour",
"type": "string",
"inputType": "ColourPicker",
"default": "#000000",
"help": "Sets the generic Background colour. "
},
"background-inverted": {
"title": "Background colour - inverted",
"type": "string",
"inputType": "ColourPicker",
"default": "#FFFFFF",
"help": "Defines the Background text / icon colour. Should be a colour that provides good contrast against the Background colour."
},
"shadow": {
"title": "Shadow background colour (loading / pop up background)",
"type": "string",
"inputType": "ColourPicker",
"default": "#000000"
},
"shadow-inverted": {
"title": "Shadow background colour - inverted",
"type": "string",
"inputType": "ColourPicker",
"default": "#FFFFFF",
"help": "Defines the Shadow text / icon colour. Should be a colour that provides good contrast against the Shadow colour."
}
}
}
},
"pluginLocations": {
"type": "object",
"required": true,
"properties": {
"config": {
"type": "object"
},
"course": {
"type": "object"
},
"contentobject": {
"type": "object",
"properties": {
"_vanilla": {
"type": "object",
"required": false,
"properties": {
"_backgroundImage": {
"type": "object",
"required": false,
"legend": "Page background image",
"properties": {
"_large": {
"type": "string",
"required": false,
"default": "",
"inputType": "Asset:image",
"validators": [],
"help": "Large background image - used on desktop"
},
"_medium": {
"type": "string",
"required": false,
"default": "",
"inputType": "Asset:image",
"validators": [],
"help": "Medium background image - used on tablet"
},
"_small": {
"type": "string",
"required": false,
"default": "",
"inputType": "Asset:image",
"validators": [],
"help": "Small background image - used on mobile"
}
}
},
"_backgroundStyles": {
"type": "object",
"required": false,
"legend": "Page background image styles",
"properties": {
"_backgroundRepeat": {
"type": "string",
"required": false,
"default": "",
"inputType": {"type":"Select", "options":["repeat","repeat-x","repeat-y","no-repeat"]},
"title": "Set if/how the background image repeats",
"help": "Repeat-x: The background image is repeated only horizontally. Repeat-y: The background image is repeated only vertically."
},
"_backgroundSize": {
"type": "string",
"required": false,
"default": "",
"inputType": {"type":"Select", "options":["auto","cover","contain","100% 100%"]},
"title": "Set the size of the background image",
"help": "Auto: The background image is displayed in its original size. Cover: Resize the background image to cover the entire container, even if it has to stretch or crop the image. Contain: Resize the background image to make sure the image is fully visible. 100% 100%: Resize the background image to match the dimensions of the container."
},
"_backgroundPosition": {
"type": "string",
"required": false,
"default": "",
"inputType": {"type":"Select", "options":["left top","left center","left bottom","center top","center center","center bottom","right top","right center","right bottom"]},
"title": "Set the position of the background image",
"help": "The first value is the horizontal position and the second value is the vertical."
}
}
},
"_responsiveClasses": {
"type": "object",
"required": false,
"legend": "Responsive classes",
"properties": {
"_large": {
"type": "string",
"required": false,
"default": "",
"inputType": "Text",
"validators": [],
"help": "Large CSS class - used on desktop"
},
"_medium": {
"type": "string",
"required": false,
"default": "",
"inputType": "Text",
"validators": [],
"help": "Medium CSS class - used on tablet"
},
"_small": {
"type": "string",
"required": false,
"default": "",
"inputType": "Text",
"validators": [],
"help": "Small CSS class - used on mobile"
}
}
},
"_pageHeader": {
"type": "object",
"required": false,
"properties": {
"_backgroundImage": {
"type": "object",
"required": false,
"legend": "Page header background image",
"properties": {
"_large": {
"type": "string",
"required": false,
"default": "",
"inputType": "Asset:image",
"validators": [],
"help": "Large background image - used on desktop"
},
"_medium": {
"type": "string",
"required": false,
"default": "",
"inputType": "Asset:image",
"validators": [],
"help": "Medium background image - used on tablet"
},
"_small": {
"type": "string",
"required": false,
"default": "",
"inputType": "Asset:image",
"validators": [],
"help": "Small background image - used on mobile"
}
}
},
"_backgroundStyles": {
"type": "object",
"required": false,
"legend": "Page header background image styles",
"properties": {
"_backgroundRepeat": {
"type": "string",
"required": false,
"default": "",
"inputType": {"type":"Select", "options":["repeat","repeat-x","repeat-y","no-repeat"]},
"title": "Set if/how the background image repeats",
"help": "Repeat-x: The background image is repeated only horizontally. Repeat-y: The background image is repeated only vertically."
},
"_backgroundSize": {
"type": "string",
"required": false,
"default": "",
"inputType": {"type":"Select", "options":["auto","cover","contain","100% 100%"]},
"title": "Set the size of the background image",
"help": "Auto: The background image is displayed in its original size. Cover: Resize the background image to cover the entire container, even if it has to stretch or crop the image. Contain: Resize the background image to make sure the image is fully visible. 100% 100%: Resize the background image to match the dimensions of the container."
},
"_backgroundPosition": {
"type": "string",
"required": false,
"default": "",
"inputType": {"type":"Select", "options":["left top","left center","left bottom","center top","center center","center bottom","right top","right center","right bottom"]},
"title": "Set the position of the background image",
"help": "The first value is the horizontal position and the second value is the vertical."
}
}
},
"_minimumHeights": {
"type": "object",
"required": false,
"legend": "Page header minimum height",
"properties": {
"_large": {
"type": "number",
"required": false,
"default": "",
"inputType": "Number",
"validators": ["number"],
"help": "Minimum height should only be used in instances where the page header height needs to be greater than the content e.g. to prevent a background image being cropped"
},
"_medium": {
"type": "number",
"required": false,
"default": "",
"inputType": "Number",
"validators": ["number"],
"help": "Minimum height should only be used in instances where the page header height needs to be greater than the content e.g. to prevent a background image being cropped"
},
"_small": {
"type": "number",
"required": false,
"default": "",
"inputType": "Number",
"validators": ["number"],
"help": "Minimum height should only be used in instances where the page header height needs to be greater than the content e.g. to prevent a background image being cropped"
}
}
}
}
}
}
}
}
},
"article": {
"type": "object",
"properties": {
"_vanilla": {
"type": "object",
"required": false,
"properties": {
"_backgroundImage": {
"type": "object",
"required": false,
"legend": "Article background image",
"properties": {
"_large": {
"type": "string",
"required": false,
"default": "",
"inputType": "Asset:image",
"validators": [],
"help": "Large background image - used on desktop"
},
"_medium": {
"type": "string",
"required": false,
"default": "",
"inputType": "Asset:image",
"validators": [],
"help": "Medium background image - used on tablet"
},
"_small": {
"type": "string",
"required": false,
"default": "",
"inputType": "Asset:image",
"validators": [],
"help": "Small background image - used on mobile"
}
}
},
"_backgroundStyles": {
"type": "object",
"required": false,
"legend": "Article background image styles",
"properties": {
"_backgroundRepeat": {
"type": "string",
"required": false,
"default": "",
"inputType": {"type":"Select", "options":["repeat","repeat-x","repeat-y","no-repeat"]},
"title": "Set if/how the background image repeats",
"help": "Repeat-x: The background image is repeated only horizontally. Repeat-y: The background image is repeated only vertically."
},
"_backgroundSize": {
"type": "string",
"required": false,
"default": "",
"inputType": {"type":"Select", "options":["auto","cover","contain","100% 100%"]},
"title": "Set the size of the background image",
"help": "Auto: The background image is displayed in its original size. Cover: Resize the background image to cover the entire container, even if it has to stretch or crop the image. Contain: Resize the background image to make sure the image is fully visible. 100% 100%: Resize the background image to match the dimensions of the container."
},
"_backgroundPosition": {
"type": "string",
"required": false,
"default": "",
"inputType": {"type":"Select", "options":["left top","left center","left bottom","center top","center center","center bottom","right top","right center","right bottom"]},
"title": "Set the position of the background image",
"help": "The first value is the horizontal position and the second value is the vertical."
}
}
},
"_responsiveClasses": {
"type": "object",
"required": false,
"legend": "Responsive classes",
"properties": {
"_large": {
"type": "string",
"required": false,
"default": "",
"inputType": "Text",
"validators": [],
"help": "Large CSS class - used on desktop"
},
"_medium": {
"type": "string",
"required": false,
"default": "",
"inputType": "Text",
"validators": [],
"help": "Medium CSS class - used on tablet"
},
"_small": {
"type": "string",
"required": false,
"default": "",
"inputType": "Text",