@safe-ugc-ui/schema 0.3.1 → 0.5.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.
@@ -53,18 +53,6 @@
53
53
  "$ref"
54
54
  ],
55
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
56
  }
69
57
  ]
70
58
  },
@@ -81,9 +69,6 @@
81
69
  },
82
70
  {
83
71
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
84
- },
85
- {
86
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
87
72
  }
88
73
  ]
89
74
  },
@@ -93,8 +78,10 @@
93
78
  "type": "string",
94
79
  "enum": [
95
80
  "start",
81
+ "flex-start",
96
82
  "center",
97
83
  "end",
84
+ "flex-end",
98
85
  "space-between",
99
86
  "space-around",
100
87
  "space-evenly"
@@ -102,9 +89,6 @@
102
89
  },
103
90
  {
104
91
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
105
- },
106
- {
107
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
108
92
  }
109
93
  ]
110
94
  },
@@ -114,17 +98,16 @@
114
98
  "type": "string",
115
99
  "enum": [
116
100
  "start",
101
+ "flex-start",
117
102
  "center",
118
103
  "end",
104
+ "flex-end",
119
105
  "stretch",
120
106
  "baseline"
121
107
  ]
122
108
  },
123
109
  {
124
110
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
125
- },
126
- {
127
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
128
111
  }
129
112
  ]
130
113
  },
@@ -135,16 +118,15 @@
135
118
  "enum": [
136
119
  "auto",
137
120
  "start",
121
+ "flex-start",
138
122
  "center",
139
123
  "end",
124
+ "flex-end",
140
125
  "stretch"
141
126
  ]
142
127
  },
143
128
  {
144
129
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
145
- },
146
- {
147
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
148
130
  }
149
131
  ]
150
132
  },
@@ -160,9 +142,6 @@
160
142
  },
161
143
  {
162
144
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
163
- },
164
- {
165
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
166
145
  }
167
146
  ]
168
147
  },
@@ -173,9 +152,6 @@
173
152
  },
174
153
  {
175
154
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
176
- },
177
- {
178
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
179
155
  }
180
156
  ]
181
157
  },
@@ -189,9 +165,6 @@
189
165
  },
190
166
  {
191
167
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
192
- },
193
- {
194
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
195
168
  }
196
169
  ]
197
170
  },
@@ -213,9 +186,6 @@
213
186
  },
214
187
  {
215
188
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
216
- },
217
- {
218
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
219
189
  }
220
190
  ]
221
191
  },
@@ -226,9 +196,6 @@
226
196
  },
227
197
  {
228
198
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
229
- },
230
- {
231
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
232
199
  }
233
200
  ]
234
201
  },
@@ -246,9 +213,6 @@
246
213
  },
247
214
  {
248
215
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
249
- },
250
- {
251
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
252
216
  }
253
217
  ]
254
218
  },
@@ -266,9 +230,6 @@
266
230
  },
267
231
  {
268
232
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
269
- },
270
- {
271
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
272
233
  }
273
234
  ]
274
235
  },
@@ -286,9 +247,6 @@
286
247
  },
287
248
  {
288
249
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
289
- },
290
- {
291
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
292
250
  }
293
251
  ]
294
252
  },
@@ -306,9 +264,6 @@
306
264
  },
307
265
  {
308
266
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
309
- },
310
- {
311
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
312
267
  }
313
268
  ]
314
269
  },
@@ -319,9 +274,6 @@
319
274
  },
320
275
  {
321
276
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
322
- },
323
- {
324
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
325
277
  }
326
278
  ]
327
279
  },
@@ -332,9 +284,6 @@
332
284
  },
333
285
  {
334
286
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
335
- },
336
- {
337
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
338
287
  }
339
288
  ]
340
289
  },
@@ -345,9 +294,6 @@
345
294
  },
346
295
  {
347
296
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
348
- },
349
- {
350
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
351
297
  }
352
298
  ]
353
299
  },
@@ -358,9 +304,6 @@
358
304
  },
359
305
  {
360
306
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
361
- },
362
- {
363
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
364
307
  }
365
308
  ]
366
309
  },
@@ -371,9 +314,6 @@
371
314
  },
372
315
  {
373
316
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
374
- },
375
- {
376
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
377
317
  }
378
318
  ]
379
319
  },
@@ -384,9 +324,6 @@
384
324
  },
385
325
  {
386
326
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
387
- },
388
- {
389
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
390
327
  }
391
328
  ]
392
329
  },
@@ -397,9 +334,6 @@
397
334
  },
398
335
  {
399
336
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
400
- },
401
- {
402
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
403
337
  }
404
338
  ]
405
339
  },
@@ -410,9 +344,6 @@
410
344
  },
411
345
  {
412
346
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
413
- },
414
- {
415
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
416
347
  }
417
348
  ]
418
349
  },
@@ -423,9 +354,6 @@
423
354
  },
424
355
  {
425
356
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
426
- },
427
- {
428
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
429
357
  }
430
358
  ]
431
359
  },
@@ -436,9 +364,6 @@
436
364
  },
437
365
  {
438
366
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
439
- },
440
- {
441
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
442
367
  }
443
368
  ]
444
369
  },
@@ -449,9 +374,6 @@
449
374
  },
450
375
  {
451
376
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
452
- },
453
- {
454
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
455
377
  }
456
378
  ]
457
379
  },
@@ -462,9 +384,6 @@
462
384
  },
463
385
  {
464
386
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
465
- },
466
- {
467
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
468
387
  }
469
388
  ]
470
389
  },
@@ -475,9 +394,6 @@
475
394
  },
476
395
  {
477
396
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
478
- },
479
- {
480
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
481
397
  }
482
398
  ]
483
399
  },
@@ -488,9 +404,6 @@
488
404
  },
489
405
  {
490
406
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
491
- },
492
- {
493
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
494
407
  }
495
408
  ]
496
409
  },
@@ -501,9 +414,6 @@
501
414
  },
502
415
  {
503
416
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
504
- },
505
- {
506
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
507
417
  }
508
418
  ]
509
419
  },
@@ -514,9 +424,6 @@
514
424
  },
515
425
  {
516
426
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
517
- },
518
- {
519
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
520
427
  }
521
428
  ]
522
429
  },
@@ -527,9 +434,24 @@
527
434
  },
528
435
  {
529
436
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
437
+ }
438
+ ]
439
+ },
440
+ "fontFamily": {
441
+ "anyOf": [
442
+ {
443
+ "type": "string",
444
+ "enum": [
445
+ "sans",
446
+ "serif",
447
+ "mono",
448
+ "rounded",
449
+ "display",
450
+ "handwriting"
451
+ ]
530
452
  },
531
453
  {
532
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
454
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
533
455
  }
534
456
  ]
535
457
  },
@@ -540,9 +462,6 @@
540
462
  },
541
463
  {
542
464
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
543
- },
544
- {
545
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
546
465
  }
547
466
  ]
548
467
  },
@@ -557,6 +476,42 @@
557
476
  "bold"
558
477
  ]
559
478
  },
479
+ {
480
+ "type": "string",
481
+ "const": "100"
482
+ },
483
+ {
484
+ "type": "string",
485
+ "const": "200"
486
+ },
487
+ {
488
+ "type": "string",
489
+ "const": "300"
490
+ },
491
+ {
492
+ "type": "string",
493
+ "const": "400"
494
+ },
495
+ {
496
+ "type": "string",
497
+ "const": "500"
498
+ },
499
+ {
500
+ "type": "string",
501
+ "const": "600"
502
+ },
503
+ {
504
+ "type": "string",
505
+ "const": "700"
506
+ },
507
+ {
508
+ "type": "string",
509
+ "const": "800"
510
+ },
511
+ {
512
+ "type": "string",
513
+ "const": "900"
514
+ },
560
515
  {
561
516
  "type": "number",
562
517
  "const": 100
@@ -597,9 +552,6 @@
597
552
  },
598
553
  {
599
554
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
600
- },
601
- {
602
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
603
555
  }
604
556
  ]
605
557
  },
@@ -614,9 +566,6 @@
614
566
  },
615
567
  {
616
568
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
617
- },
618
- {
619
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
620
569
  }
621
570
  ]
622
571
  },
@@ -633,9 +582,6 @@
633
582
  },
634
583
  {
635
584
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
636
- },
637
- {
638
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
639
585
  }
640
586
  ]
641
587
  },
@@ -651,9 +597,6 @@
651
597
  },
652
598
  {
653
599
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
654
- },
655
- {
656
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
657
600
  }
658
601
  ]
659
602
  },
@@ -671,9 +614,6 @@
671
614
  },
672
615
  {
673
616
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
674
- },
675
- {
676
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
677
617
  }
678
618
  ]
679
619
  },
@@ -684,9 +624,6 @@
684
624
  },
685
625
  {
686
626
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
687
- },
688
- {
689
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
690
627
  }
691
628
  ]
692
629
  },
@@ -697,9 +634,6 @@
697
634
  },
698
635
  {
699
636
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
700
- },
701
- {
702
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
703
637
  }
704
638
  ]
705
639
  },
@@ -713,7 +647,14 @@
713
647
  "const": "linear"
714
648
  },
715
649
  "direction": {
716
- "type": "string"
650
+ "anyOf": [
651
+ {
652
+ "type": "string"
653
+ },
654
+ {
655
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
656
+ }
657
+ ]
717
658
  },
718
659
  "stops": {
719
660
  "type": "array",
@@ -721,10 +662,24 @@
721
662
  "type": "object",
722
663
  "properties": {
723
664
  "color": {
724
- "type": "string"
665
+ "anyOf": [
666
+ {
667
+ "type": "string"
668
+ },
669
+ {
670
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
671
+ }
672
+ ]
725
673
  },
726
674
  "position": {
727
- "type": "string"
675
+ "anyOf": [
676
+ {
677
+ "type": "string"
678
+ },
679
+ {
680
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
681
+ }
682
+ ]
728
683
  }
729
684
  },
730
685
  "required": [
@@ -761,6 +716,37 @@
761
716
  "stops"
762
717
  ],
763
718
  "additionalProperties": false
719
+ },
720
+ {
721
+ "type": "object",
722
+ "properties": {
723
+ "type": {
724
+ "type": "string",
725
+ "const": "repeating-linear"
726
+ },
727
+ "direction": {
728
+ "anyOf": [
729
+ {
730
+ "type": "string"
731
+ },
732
+ {
733
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
734
+ }
735
+ ]
736
+ },
737
+ "stops": {
738
+ "type": "array",
739
+ "items": {
740
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/backgroundGradient/anyOf/0/properties/stops/items"
741
+ }
742
+ }
743
+ },
744
+ "required": [
745
+ "type",
746
+ "direction",
747
+ "stops"
748
+ ],
749
+ "additionalProperties": false
764
750
  }
765
751
  ]
766
752
  },
@@ -770,19 +756,54 @@
770
756
  "type": "object",
771
757
  "properties": {
772
758
  "offsetX": {
773
- "type": "number"
759
+ "anyOf": [
760
+ {
761
+ "type": "number"
762
+ },
763
+ {
764
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
765
+ }
766
+ ]
774
767
  },
775
768
  "offsetY": {
776
- "type": "number"
769
+ "anyOf": [
770
+ {
771
+ "type": "number"
772
+ },
773
+ {
774
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
775
+ }
776
+ ]
777
777
  },
778
778
  "blur": {
779
- "type": "number"
779
+ "anyOf": [
780
+ {
781
+ "type": "number"
782
+ },
783
+ {
784
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
785
+ }
786
+ ]
780
787
  },
781
788
  "spread": {
782
- "type": "number"
789
+ "anyOf": [
790
+ {
791
+ "type": "number"
792
+ },
793
+ {
794
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
795
+ }
796
+ ]
783
797
  },
784
798
  "color": {
785
- "type": "string"
799
+ "anyOf": [
800
+ {
801
+ "type": "string"
802
+ },
803
+ {
804
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
805
+ }
806
+ ]
786
807
  }
787
808
  },
788
809
  "required": [
@@ -800,23 +821,105 @@
800
821
  }
801
822
  ]
802
823
  },
824
+ "textShadow": {
825
+ "anyOf": [
826
+ {
827
+ "type": "object",
828
+ "properties": {
829
+ "offsetX": {
830
+ "anyOf": [
831
+ {
832
+ "type": "number"
833
+ },
834
+ {
835
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
836
+ }
837
+ ]
838
+ },
839
+ "offsetY": {
840
+ "anyOf": [
841
+ {
842
+ "type": "number"
843
+ },
844
+ {
845
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
846
+ }
847
+ ]
848
+ },
849
+ "blur": {
850
+ "anyOf": [
851
+ {
852
+ "type": "number"
853
+ },
854
+ {
855
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
856
+ }
857
+ ]
858
+ },
859
+ "color": {
860
+ "anyOf": [
861
+ {
862
+ "type": "string"
863
+ },
864
+ {
865
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
866
+ }
867
+ ]
868
+ }
869
+ },
870
+ "required": [
871
+ "offsetX",
872
+ "offsetY",
873
+ "color"
874
+ ],
875
+ "additionalProperties": false
876
+ },
877
+ {
878
+ "type": "array",
879
+ "items": {
880
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/textShadow/anyOf/0"
881
+ }
882
+ }
883
+ ]
884
+ },
803
885
  "border": {
804
886
  "type": "object",
805
887
  "properties": {
806
888
  "width": {
807
- "type": "number"
889
+ "anyOf": [
890
+ {
891
+ "type": "number"
892
+ },
893
+ {
894
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
895
+ }
896
+ ]
808
897
  },
809
898
  "style": {
810
- "type": "string",
811
- "enum": [
812
- "solid",
813
- "dashed",
814
- "dotted",
815
- "none"
899
+ "anyOf": [
900
+ {
901
+ "type": "string",
902
+ "enum": [
903
+ "solid",
904
+ "dashed",
905
+ "dotted",
906
+ "none"
907
+ ]
908
+ },
909
+ {
910
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
911
+ }
816
912
  ]
817
913
  },
818
914
  "color": {
819
- "type": "string"
915
+ "anyOf": [
916
+ {
917
+ "type": "string"
918
+ },
919
+ {
920
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
921
+ }
922
+ ]
820
923
  }
821
924
  },
822
925
  "required": [
@@ -842,16 +945,44 @@
842
945
  "type": "object",
843
946
  "properties": {
844
947
  "rotate": {
845
- "type": "string"
948
+ "anyOf": [
949
+ {
950
+ "type": "string"
951
+ },
952
+ {
953
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
954
+ }
955
+ ]
846
956
  },
847
957
  "scale": {
848
- "type": "number"
958
+ "anyOf": [
959
+ {
960
+ "type": "number"
961
+ },
962
+ {
963
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
964
+ }
965
+ ]
849
966
  },
850
967
  "translateX": {
851
- "type": "number"
968
+ "anyOf": [
969
+ {
970
+ "type": "number"
971
+ },
972
+ {
973
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
974
+ }
975
+ ]
852
976
  },
853
977
  "translateY": {
854
- "type": "number"
978
+ "anyOf": [
979
+ {
980
+ "type": "number"
981
+ },
982
+ {
983
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
984
+ }
985
+ ]
855
986
  }
856
987
  },
857
988
  "additionalProperties": false
@@ -898,9 +1029,6 @@
898
1029
  },
899
1030
  {
900
1031
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
901
- },
902
- {
903
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
904
1032
  }
905
1033
  ]
906
1034
  },
@@ -911,9 +1039,6 @@
911
1039
  },
912
1040
  {
913
1041
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
914
- },
915
- {
916
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
917
1042
  }
918
1043
  ]
919
1044
  },
@@ -924,9 +1049,6 @@
924
1049
  },
925
1050
  {
926
1051
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
927
- },
928
- {
929
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
930
1052
  }
931
1053
  ]
932
1054
  },
@@ -937,9 +1059,6 @@
937
1059
  },
938
1060
  {
939
1061
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
940
- },
941
- {
942
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
943
1062
  }
944
1063
  ]
945
1064
  },
@@ -950,9 +1069,6 @@
950
1069
  },
951
1070
  {
952
1071
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
953
- },
954
- {
955
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
956
1072
  }
957
1073
  ]
958
1074
  },
@@ -963,9 +1079,6 @@
963
1079
  },
964
1080
  {
965
1081
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
966
- },
967
- {
968
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
969
1082
  }
970
1083
  ]
971
1084
  },
@@ -1071,6 +1184,9 @@
1071
1184
  "borderRadiusBottomRight": {
1072
1185
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/borderRadiusBottomRight"
1073
1186
  },
1187
+ "fontFamily": {
1188
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/fontFamily"
1189
+ },
1074
1190
  "fontSize": {
1075
1191
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/fontSize"
1076
1192
  },
@@ -1101,6 +1217,9 @@
1101
1217
  "boxShadow": {
1102
1218
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/boxShadow"
1103
1219
  },
1220
+ "textShadow": {
1221
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/textShadow"
1222
+ },
1104
1223
  "border": {
1105
1224
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/border"
1106
1225
  },
@@ -1158,6 +1277,9 @@
1158
1277
  "zIndex": {
1159
1278
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/zIndex"
1160
1279
  },
1280
+ "$style": {
1281
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/$style"
1282
+ },
1161
1283
  "transition": {
1162
1284
  "anyOf": [
1163
1285
  {
@@ -1253,9 +1375,6 @@
1253
1375
  },
1254
1376
  "style": {
1255
1377
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties"
1256
- },
1257
- "condition": {
1258
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1259
1378
  }
1260
1379
  },
1261
1380
  "required": [
@@ -1275,9 +1394,6 @@
1275
1394
  },
1276
1395
  "style": {
1277
1396
  "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1278
- },
1279
- "condition": {
1280
- "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1281
1397
  }
1282
1398
  },
1283
1399
  "required": [
@@ -1297,9 +1413,6 @@
1297
1413
  },
1298
1414
  "style": {
1299
1415
  "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1300
- },
1301
- "condition": {
1302
- "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1303
1416
  }
1304
1417
  },
1305
1418
  "required": [
@@ -1319,9 +1432,6 @@
1319
1432
  },
1320
1433
  "style": {
1321
1434
  "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1322
- },
1323
- "condition": {
1324
- "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1325
1435
  }
1326
1436
  },
1327
1437
  "required": [
@@ -1341,9 +1451,6 @@
1341
1451
  },
1342
1452
  "style": {
1343
1453
  "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1344
- },
1345
- "condition": {
1346
- "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1347
1454
  }
1348
1455
  },
1349
1456
  "required": [
@@ -1365,17 +1472,11 @@
1365
1472
  },
1366
1473
  {
1367
1474
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1368
- },
1369
- {
1370
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1371
1475
  }
1372
1476
  ]
1373
1477
  },
1374
1478
  "style": {
1375
1479
  "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1376
- },
1377
- "condition": {
1378
- "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1379
1480
  }
1380
1481
  },
1381
1482
  "required": [
@@ -1409,17 +1510,11 @@
1409
1510
  },
1410
1511
  {
1411
1512
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1412
- },
1413
- {
1414
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1415
1513
  }
1416
1514
  ]
1417
1515
  },
1418
1516
  "style": {
1419
1517
  "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1420
- },
1421
- "condition": {
1422
- "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1423
1518
  }
1424
1519
  },
1425
1520
  "required": [
@@ -1442,9 +1537,6 @@
1442
1537
  },
1443
1538
  {
1444
1539
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1445
- },
1446
- {
1447
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1448
1540
  }
1449
1541
  ]
1450
1542
  },
@@ -1455,9 +1547,6 @@
1455
1547
  },
1456
1548
  {
1457
1549
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1458
- },
1459
- {
1460
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1461
1550
  }
1462
1551
  ]
1463
1552
  },
@@ -1468,17 +1557,11 @@
1468
1557
  },
1469
1558
  {
1470
1559
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1471
- },
1472
- {
1473
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1474
1560
  }
1475
1561
  ]
1476
1562
  },
1477
1563
  "style": {
1478
1564
  "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1479
- },
1480
- "condition": {
1481
- "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1482
1565
  }
1483
1566
  },
1484
1567
  "required": [
@@ -1512,17 +1595,11 @@
1512
1595
  },
1513
1596
  {
1514
1597
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1515
- },
1516
- {
1517
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1518
1598
  }
1519
1599
  ]
1520
1600
  },
1521
1601
  "style": {
1522
1602
  "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1523
- },
1524
- "condition": {
1525
- "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1526
1603
  }
1527
1604
  },
1528
1605
  "required": [
@@ -1539,7 +1616,14 @@
1539
1616
  "const": "Icon"
1540
1617
  },
1541
1618
  "name": {
1542
- "type": "string"
1619
+ "anyOf": [
1620
+ {
1621
+ "type": "string"
1622
+ },
1623
+ {
1624
+ "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1625
+ }
1626
+ ]
1543
1627
  },
1544
1628
  "size": {
1545
1629
  "anyOf": [
@@ -1548,9 +1632,6 @@
1548
1632
  },
1549
1633
  {
1550
1634
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1551
- },
1552
- {
1553
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1554
1635
  }
1555
1636
  ]
1556
1637
  },
@@ -1561,17 +1642,11 @@
1561
1642
  },
1562
1643
  {
1563
1644
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1564
- },
1565
- {
1566
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1567
1645
  }
1568
1646
  ]
1569
1647
  },
1570
1648
  "style": {
1571
1649
  "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1572
- },
1573
- "condition": {
1574
- "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1575
1650
  }
1576
1651
  },
1577
1652
  "required": [
@@ -1594,9 +1669,6 @@
1594
1669
  },
1595
1670
  {
1596
1671
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1597
- },
1598
- {
1599
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1600
1672
  }
1601
1673
  ]
1602
1674
  },
@@ -1607,17 +1679,11 @@
1607
1679
  },
1608
1680
  {
1609
1681
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1610
- },
1611
- {
1612
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1613
1682
  }
1614
1683
  ]
1615
1684
  },
1616
1685
  "style": {
1617
1686
  "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1618
- },
1619
- "condition": {
1620
- "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1621
1687
  }
1622
1688
  },
1623
1689
  "required": [
@@ -1640,9 +1706,6 @@
1640
1706
  },
1641
1707
  {
1642
1708
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1643
- },
1644
- {
1645
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1646
1709
  }
1647
1710
  ]
1648
1711
  },
@@ -1653,17 +1716,11 @@
1653
1716
  },
1654
1717
  {
1655
1718
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1656
- },
1657
- {
1658
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1659
1719
  }
1660
1720
  ]
1661
1721
  },
1662
1722
  "style": {
1663
1723
  "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1664
- },
1665
- "condition": {
1666
- "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1667
1724
  }
1668
1725
  },
1669
1726
  "required": [
@@ -1686,9 +1743,6 @@
1686
1743
  },
1687
1744
  {
1688
1745
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1689
- },
1690
- {
1691
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1692
1746
  }
1693
1747
  ]
1694
1748
  },
@@ -1699,17 +1753,11 @@
1699
1753
  },
1700
1754
  {
1701
1755
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1702
- },
1703
- {
1704
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1705
1756
  }
1706
1757
  ]
1707
1758
  },
1708
1759
  "style": {
1709
1760
  "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1710
- },
1711
- "condition": {
1712
- "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1713
1761
  }
1714
1762
  },
1715
1763
  "required": [
@@ -1731,17 +1779,11 @@
1731
1779
  },
1732
1780
  {
1733
1781
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1734
- },
1735
- {
1736
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1737
1782
  }
1738
1783
  ]
1739
1784
  },
1740
1785
  "style": {
1741
1786
  "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1742
- },
1743
- "condition": {
1744
- "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1745
1787
  }
1746
1788
  },
1747
1789
  "required": [
@@ -1763,9 +1805,6 @@
1763
1805
  },
1764
1806
  {
1765
1807
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1766
- },
1767
- {
1768
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1769
1808
  }
1770
1809
  ]
1771
1810
  },
@@ -1774,9 +1813,6 @@
1774
1813
  },
1775
1814
  "style": {
1776
1815
  "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1777
- },
1778
- "condition": {
1779
- "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1780
1816
  }
1781
1817
  },
1782
1818
  "required": [
@@ -1800,9 +1836,6 @@
1800
1836
  },
1801
1837
  {
1802
1838
  "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
1803
- },
1804
- {
1805
- "$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
1806
1839
  }
1807
1840
  ]
1808
1841
  },
@@ -1811,9 +1844,6 @@
1811
1844
  },
1812
1845
  "style": {
1813
1846
  "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/style"
1814
- },
1815
- "condition": {
1816
- "$ref": "#/definitions/UGCCard/properties/views/additionalProperties/anyOf/0/properties/condition"
1817
1847
  }
1818
1848
  },
1819
1849
  "required": [