@safe-ugc-ui/schema 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1798 @@
1
+ {
2
+ "type": "object",
3
+ "properties": {
4
+ "meta": {
5
+ "type": "object",
6
+ "properties": {
7
+ "name": {
8
+ "type": "string"
9
+ },
10
+ "version": {
11
+ "type": "string"
12
+ }
13
+ },
14
+ "required": [
15
+ "name",
16
+ "version"
17
+ ],
18
+ "additionalProperties": false
19
+ },
20
+ "assets": {
21
+ "type": "object",
22
+ "additionalProperties": {
23
+ "type": "string"
24
+ }
25
+ },
26
+ "state": {
27
+ "type": "object",
28
+ "additionalProperties": {}
29
+ },
30
+ "styles": {
31
+ "type": "object",
32
+ "additionalProperties": {
33
+ "type": "object",
34
+ "properties": {
35
+ "display": {
36
+ "anyOf": [
37
+ {
38
+ "type": "string",
39
+ "enum": [
40
+ "flex",
41
+ "block",
42
+ "none"
43
+ ]
44
+ },
45
+ {
46
+ "type": "object",
47
+ "properties": {
48
+ "$ref": {
49
+ "type": "string"
50
+ }
51
+ },
52
+ "required": [
53
+ "$ref"
54
+ ],
55
+ "additionalProperties": false
56
+ },
57
+ {
58
+ "type": "object",
59
+ "properties": {
60
+ "$expr": {
61
+ "type": "string"
62
+ }
63
+ },
64
+ "required": [
65
+ "$expr"
66
+ ],
67
+ "additionalProperties": false
68
+ }
69
+ ]
70
+ },
71
+ "flexDirection": {
72
+ "anyOf": [
73
+ {
74
+ "type": "string",
75
+ "enum": [
76
+ "row",
77
+ "column",
78
+ "row-reverse",
79
+ "column-reverse"
80
+ ]
81
+ },
82
+ {
83
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
84
+ },
85
+ {
86
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
87
+ }
88
+ ]
89
+ },
90
+ "justifyContent": {
91
+ "anyOf": [
92
+ {
93
+ "type": "string",
94
+ "enum": [
95
+ "start",
96
+ "center",
97
+ "end",
98
+ "space-between",
99
+ "space-around",
100
+ "space-evenly"
101
+ ]
102
+ },
103
+ {
104
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
105
+ },
106
+ {
107
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
108
+ }
109
+ ]
110
+ },
111
+ "alignItems": {
112
+ "anyOf": [
113
+ {
114
+ "type": "string",
115
+ "enum": [
116
+ "start",
117
+ "center",
118
+ "end",
119
+ "stretch",
120
+ "baseline"
121
+ ]
122
+ },
123
+ {
124
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
125
+ },
126
+ {
127
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
128
+ }
129
+ ]
130
+ },
131
+ "alignSelf": {
132
+ "anyOf": [
133
+ {
134
+ "type": "string",
135
+ "enum": [
136
+ "auto",
137
+ "start",
138
+ "center",
139
+ "end",
140
+ "stretch"
141
+ ]
142
+ },
143
+ {
144
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
145
+ },
146
+ {
147
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
148
+ }
149
+ ]
150
+ },
151
+ "flexWrap": {
152
+ "anyOf": [
153
+ {
154
+ "type": "string",
155
+ "enum": [
156
+ "nowrap",
157
+ "wrap",
158
+ "wrap-reverse"
159
+ ]
160
+ },
161
+ {
162
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
163
+ },
164
+ {
165
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
166
+ }
167
+ ]
168
+ },
169
+ "flex": {
170
+ "anyOf": [
171
+ {
172
+ "type": "number"
173
+ },
174
+ {
175
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
176
+ },
177
+ {
178
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
179
+ }
180
+ ]
181
+ },
182
+ "gap": {
183
+ "anyOf": [
184
+ {
185
+ "type": [
186
+ "number",
187
+ "string"
188
+ ]
189
+ },
190
+ {
191
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
192
+ },
193
+ {
194
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
195
+ }
196
+ ]
197
+ },
198
+ "width": {
199
+ "anyOf": [
200
+ {
201
+ "anyOf": [
202
+ {
203
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
204
+ },
205
+ {
206
+ "type": "string"
207
+ },
208
+ {
209
+ "type": "string",
210
+ "const": "auto"
211
+ }
212
+ ]
213
+ },
214
+ {
215
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
216
+ },
217
+ {
218
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
219
+ }
220
+ ]
221
+ },
222
+ "height": {
223
+ "anyOf": [
224
+ {
225
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/width/anyOf/0"
226
+ },
227
+ {
228
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
229
+ },
230
+ {
231
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
232
+ }
233
+ ]
234
+ },
235
+ "minWidth": {
236
+ "anyOf": [
237
+ {
238
+ "anyOf": [
239
+ {
240
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
241
+ },
242
+ {
243
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/width/anyOf/0/anyOf/1"
244
+ }
245
+ ]
246
+ },
247
+ {
248
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
249
+ },
250
+ {
251
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
252
+ }
253
+ ]
254
+ },
255
+ "maxWidth": {
256
+ "anyOf": [
257
+ {
258
+ "anyOf": [
259
+ {
260
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
261
+ },
262
+ {
263
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/width/anyOf/0/anyOf/1"
264
+ }
265
+ ]
266
+ },
267
+ {
268
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
269
+ },
270
+ {
271
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
272
+ }
273
+ ]
274
+ },
275
+ "minHeight": {
276
+ "anyOf": [
277
+ {
278
+ "anyOf": [
279
+ {
280
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
281
+ },
282
+ {
283
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/width/anyOf/0/anyOf/1"
284
+ }
285
+ ]
286
+ },
287
+ {
288
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
289
+ },
290
+ {
291
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
292
+ }
293
+ ]
294
+ },
295
+ "maxHeight": {
296
+ "anyOf": [
297
+ {
298
+ "anyOf": [
299
+ {
300
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
301
+ },
302
+ {
303
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/width/anyOf/0/anyOf/1"
304
+ }
305
+ ]
306
+ },
307
+ {
308
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
309
+ },
310
+ {
311
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
312
+ }
313
+ ]
314
+ },
315
+ "padding": {
316
+ "anyOf": [
317
+ {
318
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
319
+ },
320
+ {
321
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
322
+ },
323
+ {
324
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
325
+ }
326
+ ]
327
+ },
328
+ "paddingTop": {
329
+ "anyOf": [
330
+ {
331
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
332
+ },
333
+ {
334
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
335
+ },
336
+ {
337
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
338
+ }
339
+ ]
340
+ },
341
+ "paddingRight": {
342
+ "anyOf": [
343
+ {
344
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
345
+ },
346
+ {
347
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
348
+ },
349
+ {
350
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
351
+ }
352
+ ]
353
+ },
354
+ "paddingBottom": {
355
+ "anyOf": [
356
+ {
357
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
358
+ },
359
+ {
360
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
361
+ },
362
+ {
363
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
364
+ }
365
+ ]
366
+ },
367
+ "paddingLeft": {
368
+ "anyOf": [
369
+ {
370
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
371
+ },
372
+ {
373
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
374
+ },
375
+ {
376
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
377
+ }
378
+ ]
379
+ },
380
+ "margin": {
381
+ "anyOf": [
382
+ {
383
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
384
+ },
385
+ {
386
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
387
+ },
388
+ {
389
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
390
+ }
391
+ ]
392
+ },
393
+ "marginTop": {
394
+ "anyOf": [
395
+ {
396
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
397
+ },
398
+ {
399
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
400
+ },
401
+ {
402
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
403
+ }
404
+ ]
405
+ },
406
+ "marginRight": {
407
+ "anyOf": [
408
+ {
409
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
410
+ },
411
+ {
412
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
413
+ },
414
+ {
415
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
416
+ }
417
+ ]
418
+ },
419
+ "marginBottom": {
420
+ "anyOf": [
421
+ {
422
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
423
+ },
424
+ {
425
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
426
+ },
427
+ {
428
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
429
+ }
430
+ ]
431
+ },
432
+ "marginLeft": {
433
+ "anyOf": [
434
+ {
435
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
436
+ },
437
+ {
438
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
439
+ },
440
+ {
441
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
442
+ }
443
+ ]
444
+ },
445
+ "backgroundColor": {
446
+ "anyOf": [
447
+ {
448
+ "type": "string"
449
+ },
450
+ {
451
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
452
+ },
453
+ {
454
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
455
+ }
456
+ ]
457
+ },
458
+ "color": {
459
+ "anyOf": [
460
+ {
461
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/backgroundColor/anyOf/0"
462
+ },
463
+ {
464
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
465
+ },
466
+ {
467
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
468
+ }
469
+ ]
470
+ },
471
+ "borderRadius": {
472
+ "anyOf": [
473
+ {
474
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
475
+ },
476
+ {
477
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
478
+ },
479
+ {
480
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
481
+ }
482
+ ]
483
+ },
484
+ "borderRadiusTopLeft": {
485
+ "anyOf": [
486
+ {
487
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
488
+ },
489
+ {
490
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
491
+ },
492
+ {
493
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
494
+ }
495
+ ]
496
+ },
497
+ "borderRadiusTopRight": {
498
+ "anyOf": [
499
+ {
500
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
501
+ },
502
+ {
503
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
504
+ },
505
+ {
506
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
507
+ }
508
+ ]
509
+ },
510
+ "borderRadiusBottomLeft": {
511
+ "anyOf": [
512
+ {
513
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
514
+ },
515
+ {
516
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
517
+ },
518
+ {
519
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
520
+ }
521
+ ]
522
+ },
523
+ "borderRadiusBottomRight": {
524
+ "anyOf": [
525
+ {
526
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
527
+ },
528
+ {
529
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
530
+ },
531
+ {
532
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
533
+ }
534
+ ]
535
+ },
536
+ "fontSize": {
537
+ "anyOf": [
538
+ {
539
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
540
+ },
541
+ {
542
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
543
+ },
544
+ {
545
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
546
+ }
547
+ ]
548
+ },
549
+ "fontWeight": {
550
+ "anyOf": [
551
+ {
552
+ "anyOf": [
553
+ {
554
+ "type": "string",
555
+ "enum": [
556
+ "normal",
557
+ "bold"
558
+ ]
559
+ },
560
+ {
561
+ "type": "number",
562
+ "const": 100
563
+ },
564
+ {
565
+ "type": "number",
566
+ "const": 200
567
+ },
568
+ {
569
+ "type": "number",
570
+ "const": 300
571
+ },
572
+ {
573
+ "type": "number",
574
+ "const": 400
575
+ },
576
+ {
577
+ "type": "number",
578
+ "const": 500
579
+ },
580
+ {
581
+ "type": "number",
582
+ "const": 600
583
+ },
584
+ {
585
+ "type": "number",
586
+ "const": 700
587
+ },
588
+ {
589
+ "type": "number",
590
+ "const": 800
591
+ },
592
+ {
593
+ "type": "number",
594
+ "const": 900
595
+ }
596
+ ]
597
+ },
598
+ {
599
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
600
+ },
601
+ {
602
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
603
+ }
604
+ ]
605
+ },
606
+ "fontStyle": {
607
+ "anyOf": [
608
+ {
609
+ "type": "string",
610
+ "enum": [
611
+ "normal",
612
+ "italic"
613
+ ]
614
+ },
615
+ {
616
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
617
+ },
618
+ {
619
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
620
+ }
621
+ ]
622
+ },
623
+ "textAlign": {
624
+ "anyOf": [
625
+ {
626
+ "type": "string",
627
+ "enum": [
628
+ "left",
629
+ "center",
630
+ "right",
631
+ "justify"
632
+ ]
633
+ },
634
+ {
635
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
636
+ },
637
+ {
638
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
639
+ }
640
+ ]
641
+ },
642
+ "textDecoration": {
643
+ "anyOf": [
644
+ {
645
+ "type": "string",
646
+ "enum": [
647
+ "none",
648
+ "underline",
649
+ "line-through"
650
+ ]
651
+ },
652
+ {
653
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
654
+ },
655
+ {
656
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
657
+ }
658
+ ]
659
+ },
660
+ "lineHeight": {
661
+ "anyOf": [
662
+ {
663
+ "anyOf": [
664
+ {
665
+ "type": "number"
666
+ },
667
+ {
668
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
669
+ }
670
+ ]
671
+ },
672
+ {
673
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
674
+ },
675
+ {
676
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
677
+ }
678
+ ]
679
+ },
680
+ "letterSpacing": {
681
+ "anyOf": [
682
+ {
683
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
684
+ },
685
+ {
686
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
687
+ },
688
+ {
689
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
690
+ }
691
+ ]
692
+ },
693
+ "opacity": {
694
+ "anyOf": [
695
+ {
696
+ "type": "number"
697
+ },
698
+ {
699
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
700
+ },
701
+ {
702
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
703
+ }
704
+ ]
705
+ },
706
+ "backgroundGradient": {
707
+ "anyOf": [
708
+ {
709
+ "type": "object",
710
+ "properties": {
711
+ "type": {
712
+ "type": "string",
713
+ "const": "linear"
714
+ },
715
+ "direction": {
716
+ "type": "string"
717
+ },
718
+ "stops": {
719
+ "type": "array",
720
+ "items": {
721
+ "type": "object",
722
+ "properties": {
723
+ "color": {
724
+ "type": "string"
725
+ },
726
+ "position": {
727
+ "type": "string"
728
+ }
729
+ },
730
+ "required": [
731
+ "color",
732
+ "position"
733
+ ],
734
+ "additionalProperties": false
735
+ }
736
+ }
737
+ },
738
+ "required": [
739
+ "type",
740
+ "direction",
741
+ "stops"
742
+ ],
743
+ "additionalProperties": false
744
+ },
745
+ {
746
+ "type": "object",
747
+ "properties": {
748
+ "type": {
749
+ "type": "string",
750
+ "const": "radial"
751
+ },
752
+ "stops": {
753
+ "type": "array",
754
+ "items": {
755
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/backgroundGradient/anyOf/0/properties/stops/items"
756
+ }
757
+ }
758
+ },
759
+ "required": [
760
+ "type",
761
+ "stops"
762
+ ],
763
+ "additionalProperties": false
764
+ }
765
+ ]
766
+ },
767
+ "boxShadow": {
768
+ "anyOf": [
769
+ {
770
+ "type": "object",
771
+ "properties": {
772
+ "offsetX": {
773
+ "type": "number"
774
+ },
775
+ "offsetY": {
776
+ "type": "number"
777
+ },
778
+ "blur": {
779
+ "type": "number"
780
+ },
781
+ "spread": {
782
+ "type": "number"
783
+ },
784
+ "color": {
785
+ "type": "string"
786
+ }
787
+ },
788
+ "required": [
789
+ "offsetX",
790
+ "offsetY",
791
+ "color"
792
+ ],
793
+ "additionalProperties": false
794
+ },
795
+ {
796
+ "type": "array",
797
+ "items": {
798
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/boxShadow/anyOf/0"
799
+ }
800
+ }
801
+ ]
802
+ },
803
+ "border": {
804
+ "type": "object",
805
+ "properties": {
806
+ "width": {
807
+ "type": "number"
808
+ },
809
+ "style": {
810
+ "type": "string",
811
+ "enum": [
812
+ "solid",
813
+ "dashed",
814
+ "dotted",
815
+ "none"
816
+ ]
817
+ },
818
+ "color": {
819
+ "type": "string"
820
+ }
821
+ },
822
+ "required": [
823
+ "width",
824
+ "style",
825
+ "color"
826
+ ],
827
+ "additionalProperties": false
828
+ },
829
+ "borderTop": {
830
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/border"
831
+ },
832
+ "borderRight": {
833
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/border"
834
+ },
835
+ "borderBottom": {
836
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/border"
837
+ },
838
+ "borderLeft": {
839
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/border"
840
+ },
841
+ "transform": {
842
+ "type": "object",
843
+ "properties": {
844
+ "rotate": {
845
+ "type": "string"
846
+ },
847
+ "scale": {
848
+ "type": "number"
849
+ },
850
+ "translateX": {
851
+ "type": "number"
852
+ },
853
+ "translateY": {
854
+ "type": "number"
855
+ }
856
+ },
857
+ "additionalProperties": false
858
+ },
859
+ "overflow": {
860
+ "type": "string",
861
+ "enum": [
862
+ "visible",
863
+ "hidden",
864
+ "auto"
865
+ ]
866
+ },
867
+ "position": {
868
+ "type": "string",
869
+ "enum": [
870
+ "static",
871
+ "relative",
872
+ "absolute"
873
+ ]
874
+ },
875
+ "top": {
876
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
877
+ },
878
+ "right": {
879
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
880
+ },
881
+ "bottom": {
882
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
883
+ },
884
+ "left": {
885
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
886
+ },
887
+ "gridTemplateColumns": {
888
+ "anyOf": [
889
+ {
890
+ "type": "string"
891
+ },
892
+ {
893
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
894
+ },
895
+ {
896
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
897
+ }
898
+ ]
899
+ },
900
+ "gridTemplateRows": {
901
+ "anyOf": [
902
+ {
903
+ "type": "string"
904
+ },
905
+ {
906
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
907
+ },
908
+ {
909
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
910
+ }
911
+ ]
912
+ },
913
+ "gridColumn": {
914
+ "anyOf": [
915
+ {
916
+ "type": "string"
917
+ },
918
+ {
919
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
920
+ },
921
+ {
922
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
923
+ }
924
+ ]
925
+ },
926
+ "gridRow": {
927
+ "anyOf": [
928
+ {
929
+ "type": "string"
930
+ },
931
+ {
932
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
933
+ },
934
+ {
935
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
936
+ }
937
+ ]
938
+ },
939
+ "zIndex": {
940
+ "type": "number"
941
+ },
942
+ "$style": {
943
+ "type": "string"
944
+ },
945
+ "hoverStyle": {
946
+ "type": "object",
947
+ "properties": {
948
+ "display": {
949
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display"
950
+ },
951
+ "flexDirection": {
952
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/flexDirection"
953
+ },
954
+ "justifyContent": {
955
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/justifyContent"
956
+ },
957
+ "alignItems": {
958
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/alignItems"
959
+ },
960
+ "alignSelf": {
961
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/alignSelf"
962
+ },
963
+ "flexWrap": {
964
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/flexWrap"
965
+ },
966
+ "flex": {
967
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/flex"
968
+ },
969
+ "gap": {
970
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap"
971
+ },
972
+ "width": {
973
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/width"
974
+ },
975
+ "height": {
976
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/height"
977
+ },
978
+ "minWidth": {
979
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/minWidth"
980
+ },
981
+ "maxWidth": {
982
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/maxWidth"
983
+ },
984
+ "minHeight": {
985
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/minHeight"
986
+ },
987
+ "maxHeight": {
988
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/maxHeight"
989
+ },
990
+ "padding": {
991
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/padding"
992
+ },
993
+ "paddingTop": {
994
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/paddingTop"
995
+ },
996
+ "paddingRight": {
997
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/paddingRight"
998
+ },
999
+ "paddingBottom": {
1000
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/paddingBottom"
1001
+ },
1002
+ "paddingLeft": {
1003
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/paddingLeft"
1004
+ },
1005
+ "margin": {
1006
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/margin"
1007
+ },
1008
+ "marginTop": {
1009
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/marginTop"
1010
+ },
1011
+ "marginRight": {
1012
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/marginRight"
1013
+ },
1014
+ "marginBottom": {
1015
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/marginBottom"
1016
+ },
1017
+ "marginLeft": {
1018
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/marginLeft"
1019
+ },
1020
+ "backgroundColor": {
1021
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/backgroundColor"
1022
+ },
1023
+ "color": {
1024
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/color"
1025
+ },
1026
+ "borderRadius": {
1027
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/borderRadius"
1028
+ },
1029
+ "borderRadiusTopLeft": {
1030
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/borderRadiusTopLeft"
1031
+ },
1032
+ "borderRadiusTopRight": {
1033
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/borderRadiusTopRight"
1034
+ },
1035
+ "borderRadiusBottomLeft": {
1036
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/borderRadiusBottomLeft"
1037
+ },
1038
+ "borderRadiusBottomRight": {
1039
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/borderRadiusBottomRight"
1040
+ },
1041
+ "fontSize": {
1042
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/fontSize"
1043
+ },
1044
+ "fontWeight": {
1045
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/fontWeight"
1046
+ },
1047
+ "fontStyle": {
1048
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/fontStyle"
1049
+ },
1050
+ "textAlign": {
1051
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/textAlign"
1052
+ },
1053
+ "textDecoration": {
1054
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/textDecoration"
1055
+ },
1056
+ "lineHeight": {
1057
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/lineHeight"
1058
+ },
1059
+ "letterSpacing": {
1060
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/letterSpacing"
1061
+ },
1062
+ "opacity": {
1063
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/opacity"
1064
+ },
1065
+ "backgroundGradient": {
1066
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/backgroundGradient"
1067
+ },
1068
+ "boxShadow": {
1069
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/boxShadow"
1070
+ },
1071
+ "border": {
1072
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/border"
1073
+ },
1074
+ "borderTop": {
1075
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/borderTop"
1076
+ },
1077
+ "borderRight": {
1078
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/borderRight"
1079
+ },
1080
+ "borderBottom": {
1081
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/borderBottom"
1082
+ },
1083
+ "borderLeft": {
1084
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/borderLeft"
1085
+ },
1086
+ "transform": {
1087
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/transform"
1088
+ },
1089
+ "overflow": {
1090
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/overflow"
1091
+ },
1092
+ "position": {
1093
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/position"
1094
+ },
1095
+ "top": {
1096
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/top"
1097
+ },
1098
+ "right": {
1099
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/right"
1100
+ },
1101
+ "bottom": {
1102
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/bottom"
1103
+ },
1104
+ "left": {
1105
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/left"
1106
+ },
1107
+ "gridTemplateColumns": {
1108
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gridTemplateColumns"
1109
+ },
1110
+ "gridTemplateRows": {
1111
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gridTemplateRows"
1112
+ },
1113
+ "gridColumn": {
1114
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gridColumn"
1115
+ },
1116
+ "gridRow": {
1117
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gridRow"
1118
+ },
1119
+ "zIndex": {
1120
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/zIndex"
1121
+ },
1122
+ "transition": {
1123
+ "anyOf": [
1124
+ {
1125
+ "type": "object",
1126
+ "properties": {
1127
+ "property": {
1128
+ "type": "string"
1129
+ },
1130
+ "duration": {
1131
+ "type": "number"
1132
+ },
1133
+ "easing": {
1134
+ "type": "string",
1135
+ "enum": [
1136
+ "ease",
1137
+ "linear",
1138
+ "ease-in",
1139
+ "ease-out",
1140
+ "ease-in-out"
1141
+ ]
1142
+ },
1143
+ "delay": {
1144
+ "type": "number"
1145
+ }
1146
+ },
1147
+ "required": [
1148
+ "property",
1149
+ "duration"
1150
+ ],
1151
+ "additionalProperties": false
1152
+ },
1153
+ {
1154
+ "type": "array",
1155
+ "items": {
1156
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/hoverStyle/properties/transition/anyOf/0"
1157
+ }
1158
+ }
1159
+ ]
1160
+ }
1161
+ },
1162
+ "additionalProperties": false
1163
+ },
1164
+ "transition": {
1165
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/hoverStyle/properties/transition"
1166
+ }
1167
+ },
1168
+ "additionalProperties": false
1169
+ },
1170
+ "propertyNames": {
1171
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]*$"
1172
+ }
1173
+ },
1174
+ "views": {
1175
+ "type": "object",
1176
+ "additionalProperties": {
1177
+ "anyOf": [
1178
+ {
1179
+ "type": "object",
1180
+ "properties": {
1181
+ "type": {
1182
+ "type": "string",
1183
+ "const": "Box"
1184
+ },
1185
+ "children": {
1186
+ "anyOf": [
1187
+ {
1188
+ "type": "array",
1189
+ "items": {
1190
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties"
1191
+ }
1192
+ },
1193
+ {
1194
+ "type": "object",
1195
+ "properties": {
1196
+ "for": {
1197
+ "type": "string"
1198
+ },
1199
+ "in": {
1200
+ "type": "string"
1201
+ },
1202
+ "template": {
1203
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties"
1204
+ }
1205
+ },
1206
+ "required": [
1207
+ "for",
1208
+ "in",
1209
+ "template"
1210
+ ],
1211
+ "additionalProperties": false
1212
+ }
1213
+ ]
1214
+ },
1215
+ "style": {
1216
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties"
1217
+ },
1218
+ "condition": {
1219
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1220
+ }
1221
+ },
1222
+ "required": [
1223
+ "type"
1224
+ ],
1225
+ "additionalProperties": false
1226
+ },
1227
+ {
1228
+ "type": "object",
1229
+ "properties": {
1230
+ "type": {
1231
+ "type": "string",
1232
+ "const": "Row"
1233
+ },
1234
+ "children": {
1235
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/children"
1236
+ },
1237
+ "style": {
1238
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1239
+ },
1240
+ "condition": {
1241
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1242
+ }
1243
+ },
1244
+ "required": [
1245
+ "type"
1246
+ ],
1247
+ "additionalProperties": false
1248
+ },
1249
+ {
1250
+ "type": "object",
1251
+ "properties": {
1252
+ "type": {
1253
+ "type": "string",
1254
+ "const": "Column"
1255
+ },
1256
+ "children": {
1257
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/children"
1258
+ },
1259
+ "style": {
1260
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1261
+ },
1262
+ "condition": {
1263
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1264
+ }
1265
+ },
1266
+ "required": [
1267
+ "type"
1268
+ ],
1269
+ "additionalProperties": false
1270
+ },
1271
+ {
1272
+ "type": "object",
1273
+ "properties": {
1274
+ "type": {
1275
+ "type": "string",
1276
+ "const": "Stack"
1277
+ },
1278
+ "children": {
1279
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/children"
1280
+ },
1281
+ "style": {
1282
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1283
+ },
1284
+ "condition": {
1285
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1286
+ }
1287
+ },
1288
+ "required": [
1289
+ "type"
1290
+ ],
1291
+ "additionalProperties": false
1292
+ },
1293
+ {
1294
+ "type": "object",
1295
+ "properties": {
1296
+ "type": {
1297
+ "type": "string",
1298
+ "const": "Grid"
1299
+ },
1300
+ "children": {
1301
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/children"
1302
+ },
1303
+ "style": {
1304
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1305
+ },
1306
+ "condition": {
1307
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1308
+ }
1309
+ },
1310
+ "required": [
1311
+ "type"
1312
+ ],
1313
+ "additionalProperties": false
1314
+ },
1315
+ {
1316
+ "type": "object",
1317
+ "properties": {
1318
+ "type": {
1319
+ "type": "string",
1320
+ "const": "Text"
1321
+ },
1322
+ "content": {
1323
+ "anyOf": [
1324
+ {
1325
+ "type": "string"
1326
+ },
1327
+ {
1328
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1329
+ },
1330
+ {
1331
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1332
+ }
1333
+ ]
1334
+ },
1335
+ "style": {
1336
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1337
+ },
1338
+ "condition": {
1339
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1340
+ }
1341
+ },
1342
+ "required": [
1343
+ "type",
1344
+ "content"
1345
+ ],
1346
+ "additionalProperties": false
1347
+ },
1348
+ {
1349
+ "type": "object",
1350
+ "properties": {
1351
+ "type": {
1352
+ "type": "string",
1353
+ "const": "Image"
1354
+ },
1355
+ "src": {
1356
+ "anyOf": [
1357
+ {
1358
+ "type": "string",
1359
+ "pattern": "^\\@assets\\/"
1360
+ },
1361
+ {
1362
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1363
+ }
1364
+ ]
1365
+ },
1366
+ "alt": {
1367
+ "anyOf": [
1368
+ {
1369
+ "type": "string"
1370
+ },
1371
+ {
1372
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1373
+ },
1374
+ {
1375
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1376
+ }
1377
+ ]
1378
+ },
1379
+ "style": {
1380
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1381
+ },
1382
+ "condition": {
1383
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1384
+ }
1385
+ },
1386
+ "required": [
1387
+ "type",
1388
+ "src"
1389
+ ],
1390
+ "additionalProperties": false
1391
+ },
1392
+ {
1393
+ "type": "object",
1394
+ "properties": {
1395
+ "type": {
1396
+ "type": "string",
1397
+ "const": "ProgressBar"
1398
+ },
1399
+ "value": {
1400
+ "anyOf": [
1401
+ {
1402
+ "type": "number"
1403
+ },
1404
+ {
1405
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1406
+ },
1407
+ {
1408
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1409
+ }
1410
+ ]
1411
+ },
1412
+ "max": {
1413
+ "anyOf": [
1414
+ {
1415
+ "type": "number"
1416
+ },
1417
+ {
1418
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1419
+ },
1420
+ {
1421
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1422
+ }
1423
+ ]
1424
+ },
1425
+ "color": {
1426
+ "anyOf": [
1427
+ {
1428
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/backgroundColor/anyOf/0"
1429
+ },
1430
+ {
1431
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1432
+ },
1433
+ {
1434
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1435
+ }
1436
+ ]
1437
+ },
1438
+ "style": {
1439
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1440
+ },
1441
+ "condition": {
1442
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1443
+ }
1444
+ },
1445
+ "required": [
1446
+ "type",
1447
+ "value",
1448
+ "max"
1449
+ ],
1450
+ "additionalProperties": false
1451
+ },
1452
+ {
1453
+ "type": "object",
1454
+ "properties": {
1455
+ "type": {
1456
+ "type": "string",
1457
+ "const": "Avatar"
1458
+ },
1459
+ "src": {
1460
+ "anyOf": [
1461
+ {
1462
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/6/properties/src/anyOf/0"
1463
+ },
1464
+ {
1465
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1466
+ }
1467
+ ]
1468
+ },
1469
+ "size": {
1470
+ "anyOf": [
1471
+ {
1472
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
1473
+ },
1474
+ {
1475
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1476
+ },
1477
+ {
1478
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1479
+ }
1480
+ ]
1481
+ },
1482
+ "style": {
1483
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1484
+ },
1485
+ "condition": {
1486
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1487
+ }
1488
+ },
1489
+ "required": [
1490
+ "type",
1491
+ "src"
1492
+ ],
1493
+ "additionalProperties": false
1494
+ },
1495
+ {
1496
+ "type": "object",
1497
+ "properties": {
1498
+ "type": {
1499
+ "type": "string",
1500
+ "const": "Icon"
1501
+ },
1502
+ "name": {
1503
+ "type": "string"
1504
+ },
1505
+ "size": {
1506
+ "anyOf": [
1507
+ {
1508
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
1509
+ },
1510
+ {
1511
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1512
+ },
1513
+ {
1514
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1515
+ }
1516
+ ]
1517
+ },
1518
+ "color": {
1519
+ "anyOf": [
1520
+ {
1521
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/backgroundColor/anyOf/0"
1522
+ },
1523
+ {
1524
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1525
+ },
1526
+ {
1527
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1528
+ }
1529
+ ]
1530
+ },
1531
+ "style": {
1532
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1533
+ },
1534
+ "condition": {
1535
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1536
+ }
1537
+ },
1538
+ "required": [
1539
+ "type",
1540
+ "name"
1541
+ ],
1542
+ "additionalProperties": false
1543
+ },
1544
+ {
1545
+ "type": "object",
1546
+ "properties": {
1547
+ "type": {
1548
+ "type": "string",
1549
+ "const": "Badge"
1550
+ },
1551
+ "label": {
1552
+ "anyOf": [
1553
+ {
1554
+ "type": "string"
1555
+ },
1556
+ {
1557
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1558
+ },
1559
+ {
1560
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1561
+ }
1562
+ ]
1563
+ },
1564
+ "color": {
1565
+ "anyOf": [
1566
+ {
1567
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/backgroundColor/anyOf/0"
1568
+ },
1569
+ {
1570
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1571
+ },
1572
+ {
1573
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1574
+ }
1575
+ ]
1576
+ },
1577
+ "style": {
1578
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1579
+ },
1580
+ "condition": {
1581
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1582
+ }
1583
+ },
1584
+ "required": [
1585
+ "type",
1586
+ "label"
1587
+ ],
1588
+ "additionalProperties": false
1589
+ },
1590
+ {
1591
+ "type": "object",
1592
+ "properties": {
1593
+ "type": {
1594
+ "type": "string",
1595
+ "const": "Chip"
1596
+ },
1597
+ "label": {
1598
+ "anyOf": [
1599
+ {
1600
+ "type": "string"
1601
+ },
1602
+ {
1603
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1604
+ },
1605
+ {
1606
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1607
+ }
1608
+ ]
1609
+ },
1610
+ "color": {
1611
+ "anyOf": [
1612
+ {
1613
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/backgroundColor/anyOf/0"
1614
+ },
1615
+ {
1616
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1617
+ },
1618
+ {
1619
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1620
+ }
1621
+ ]
1622
+ },
1623
+ "style": {
1624
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1625
+ },
1626
+ "condition": {
1627
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1628
+ }
1629
+ },
1630
+ "required": [
1631
+ "type",
1632
+ "label"
1633
+ ],
1634
+ "additionalProperties": false
1635
+ },
1636
+ {
1637
+ "type": "object",
1638
+ "properties": {
1639
+ "type": {
1640
+ "type": "string",
1641
+ "const": "Divider"
1642
+ },
1643
+ "color": {
1644
+ "anyOf": [
1645
+ {
1646
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/backgroundColor/anyOf/0"
1647
+ },
1648
+ {
1649
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1650
+ },
1651
+ {
1652
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1653
+ }
1654
+ ]
1655
+ },
1656
+ "thickness": {
1657
+ "anyOf": [
1658
+ {
1659
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
1660
+ },
1661
+ {
1662
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1663
+ },
1664
+ {
1665
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1666
+ }
1667
+ ]
1668
+ },
1669
+ "style": {
1670
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1671
+ },
1672
+ "condition": {
1673
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1674
+ }
1675
+ },
1676
+ "required": [
1677
+ "type"
1678
+ ],
1679
+ "additionalProperties": false
1680
+ },
1681
+ {
1682
+ "type": "object",
1683
+ "properties": {
1684
+ "type": {
1685
+ "type": "string",
1686
+ "const": "Spacer"
1687
+ },
1688
+ "size": {
1689
+ "anyOf": [
1690
+ {
1691
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
1692
+ },
1693
+ {
1694
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1695
+ },
1696
+ {
1697
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1698
+ }
1699
+ ]
1700
+ },
1701
+ "style": {
1702
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1703
+ },
1704
+ "condition": {
1705
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1706
+ }
1707
+ },
1708
+ "required": [
1709
+ "type"
1710
+ ],
1711
+ "additionalProperties": false
1712
+ },
1713
+ {
1714
+ "type": "object",
1715
+ "properties": {
1716
+ "type": {
1717
+ "type": "string",
1718
+ "const": "Button"
1719
+ },
1720
+ "label": {
1721
+ "anyOf": [
1722
+ {
1723
+ "type": "string"
1724
+ },
1725
+ {
1726
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1727
+ },
1728
+ {
1729
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1730
+ }
1731
+ ]
1732
+ },
1733
+ "action": {
1734
+ "type": "string"
1735
+ },
1736
+ "style": {
1737
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1738
+ },
1739
+ "condition": {
1740
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1741
+ }
1742
+ },
1743
+ "required": [
1744
+ "type",
1745
+ "label",
1746
+ "action"
1747
+ ],
1748
+ "additionalProperties": false
1749
+ },
1750
+ {
1751
+ "type": "object",
1752
+ "properties": {
1753
+ "type": {
1754
+ "type": "string",
1755
+ "const": "Toggle"
1756
+ },
1757
+ "value": {
1758
+ "anyOf": [
1759
+ {
1760
+ "type": "boolean"
1761
+ },
1762
+ {
1763
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1764
+ },
1765
+ {
1766
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1767
+ }
1768
+ ]
1769
+ },
1770
+ "onToggle": {
1771
+ "type": "string"
1772
+ },
1773
+ "style": {
1774
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1775
+ },
1776
+ "condition": {
1777
+ "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1778
+ }
1779
+ },
1780
+ "required": [
1781
+ "type",
1782
+ "value",
1783
+ "onToggle"
1784
+ ],
1785
+ "additionalProperties": false
1786
+ }
1787
+ ]
1788
+ }
1789
+ }
1790
+ },
1791
+ "required": [
1792
+ "meta",
1793
+ "views"
1794
+ ],
1795
+ "additionalProperties": false,
1796
+ "title": "UGCCard",
1797
+ "$schema": "http://json-schema.org/draft-07/schema#"
1798
+ }