@shotstack/schemas 1.6.0 → 1.7.1

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.
Files changed (95) hide show
  1. package/README.md +89 -89
  2. package/dist/json-schema/asset.json +3153 -0
  3. package/dist/json-schema/audio-asset.json +210 -0
  4. package/dist/json-schema/blueprint.json +380 -0
  5. package/dist/json-schema/caption-asset.json +285 -0
  6. package/dist/json-schema/caption-background.json +61 -0
  7. package/dist/json-schema/caption-detailer.json +275 -0
  8. package/dist/json-schema/caption-font.json +97 -0
  9. package/dist/json-schema/caption-margin.json +49 -0
  10. package/dist/json-schema/chroma-key.json +46 -0
  11. package/dist/json-schema/clip.json +3653 -0
  12. package/dist/json-schema/crop.json +69 -0
  13. package/dist/json-schema/destinations.json +495 -0
  14. package/dist/json-schema/edit.json +4618 -0
  15. package/dist/json-schema/flip-transformation.json +37 -0
  16. package/dist/json-schema/font.json +18 -0
  17. package/dist/json-schema/google-cloud-storage-destination-options.json +42 -0
  18. package/dist/json-schema/google-cloud-storage-destination.json +73 -0
  19. package/dist/json-schema/google-drive-destination-options.json +30 -0
  20. package/dist/json-schema/google-drive-destination.json +54 -0
  21. package/dist/json-schema/image-asset.json +104 -0
  22. package/dist/json-schema/image-to-video-asset.json +151 -0
  23. package/dist/json-schema/index.cjs +6 -0
  24. package/dist/json-schema/index.d.ts +11 -0
  25. package/dist/json-schema/index.js +8 -0
  26. package/dist/json-schema/luma-asset.json +38 -0
  27. package/dist/json-schema/merge-field.json +23 -0
  28. package/dist/json-schema/offset.json +175 -0
  29. package/dist/json-schema/output.json +771 -0
  30. package/dist/json-schema/poster.json +18 -0
  31. package/dist/json-schema/range.json +39 -0
  32. package/dist/json-schema/rich-caption-active-font.json +54 -0
  33. package/dist/json-schema/rich-caption-active.json +154 -0
  34. package/dist/json-schema/rich-caption-asset.json +1098 -0
  35. package/dist/json-schema/rich-caption-word-animation.json +60 -0
  36. package/dist/json-schema/rich-text-alignment.json +47 -0
  37. package/dist/json-schema/rich-text-animation.json +74 -0
  38. package/dist/json-schema/rich-text-asset.json +737 -0
  39. package/dist/json-schema/rich-text-background.json +52 -0
  40. package/dist/json-schema/rich-text-content.json +370 -0
  41. package/dist/json-schema/rich-text-effects.json +400 -0
  42. package/dist/json-schema/rich-text-font.json +157 -0
  43. package/dist/json-schema/rich-text-gradient.json +68 -0
  44. package/dist/json-schema/rich-text-shadow.json +79 -0
  45. package/dist/json-schema/rich-text-stroke.json +55 -0
  46. package/dist/json-schema/rich-text-style.json +165 -0
  47. package/dist/json-schema/rotate-transformation.json +153 -0
  48. package/dist/json-schema/s3destination-options.json +59 -0
  49. package/dist/json-schema/s3destination.json +90 -0
  50. package/dist/json-schema/schemas.json +5061 -0
  51. package/dist/json-schema/shape-asset.json +225 -0
  52. package/dist/json-schema/shotstack-destination.json +33 -0
  53. package/dist/json-schema/size.json +41 -0
  54. package/dist/json-schema/skew-transformation.json +175 -0
  55. package/dist/json-schema/soundtrack.json +47 -0
  56. package/dist/json-schema/svg-arrow-shape.json +49 -0
  57. package/dist/json-schema/svg-asset.json +877 -0
  58. package/dist/json-schema/svg-circle-shape.json +28 -0
  59. package/dist/json-schema/svg-cross-shape.json +42 -0
  60. package/dist/json-schema/svg-ellipse-shape.json +35 -0
  61. package/dist/json-schema/svg-fill.json +169 -0
  62. package/dist/json-schema/svg-gradient-stop.json +25 -0
  63. package/dist/json-schema/svg-heart-shape.json +28 -0
  64. package/dist/json-schema/svg-line-shape.json +35 -0
  65. package/dist/json-schema/svg-linear-gradient-fill.json +80 -0
  66. package/dist/json-schema/svg-path-shape.json +26 -0
  67. package/dist/json-schema/svg-polygon-shape.json +35 -0
  68. package/dist/json-schema/svg-radial-gradient-fill.json +66 -0
  69. package/dist/json-schema/svg-rectangle-shape.json +49 -0
  70. package/dist/json-schema/svg-ring-shape.json +35 -0
  71. package/dist/json-schema/svg-shadow.json +79 -0
  72. package/dist/json-schema/svg-shape.json +404 -0
  73. package/dist/json-schema/svg-solid-fill.json +40 -0
  74. package/dist/json-schema/svg-star-shape.json +42 -0
  75. package/dist/json-schema/svg-stroke.json +115 -0
  76. package/dist/json-schema/svg-transform.json +93 -0
  77. package/dist/json-schema/template.json +541 -0
  78. package/dist/json-schema/text-to-image-asset.json +128 -0
  79. package/dist/json-schema/text-to-speech-asset.json +239 -0
  80. package/dist/json-schema/thumbnail.json +25 -0
  81. package/dist/json-schema/timeline.json +3781 -0
  82. package/dist/json-schema/track.json +3668 -0
  83. package/dist/json-schema/transformation.json +281 -0
  84. package/dist/json-schema/transition.json +85 -0
  85. package/dist/json-schema/tween.json +120 -0
  86. package/dist/json-schema/video-asset.json +351 -0
  87. package/dist/json-schema/vimeo-destination-options.json +149 -0
  88. package/dist/json-schema/vimeo-destination-privacy-options.json +90 -0
  89. package/dist/json-schema/vimeo-destination.json +178 -0
  90. package/dist/json-schema/word-timing.json +44 -0
  91. package/dist/zod/zod.gen.cjs +1080 -921
  92. package/dist/zod/zod.gen.d.ts +139 -139
  93. package/dist/zod/zod.gen.js +1081 -922
  94. package/dist/zod/zod.gen.ts +1583 -1648
  95. package/package.json +79 -73
@@ -0,0 +1,3668 @@
1
+ {
2
+ "name": "Track",
3
+ "strict": true,
4
+ "schema": {
5
+ "properties": {
6
+ "clips": {
7
+ "type": "array",
8
+ "items": {
9
+ "$ref": "#/$defs/Clip"
10
+ }
11
+ }
12
+ },
13
+ "additionalProperties": false,
14
+ "required": [
15
+ "clips"
16
+ ],
17
+ "type": "object",
18
+ "$defs": {
19
+ "Clip": {
20
+ "properties": {
21
+ "asset": {
22
+ "$ref": "#/$defs/Asset"
23
+ },
24
+ "start": {
25
+ "anyOf": [
26
+ {
27
+ "type": "number",
28
+ "minimum": 0
29
+ },
30
+ {
31
+ "type": "string"
32
+ }
33
+ ]
34
+ },
35
+ "length": {
36
+ "anyOf": [
37
+ {
38
+ "type": "number",
39
+ "minimum": 0
40
+ },
41
+ {
42
+ "type": "string"
43
+ }
44
+ ]
45
+ },
46
+ "fit": {
47
+ "anyOf": [
48
+ {
49
+ "type": "string",
50
+ "enum": [
51
+ "cover",
52
+ "contain",
53
+ "crop",
54
+ "none"
55
+ ]
56
+ },
57
+ {
58
+ "type": "null"
59
+ }
60
+ ]
61
+ },
62
+ "scale": {
63
+ "anyOf": [
64
+ {
65
+ "type": "number"
66
+ },
67
+ {
68
+ "type": "array",
69
+ "items": {
70
+ "$ref": "#/$defs/Tween"
71
+ }
72
+ },
73
+ {
74
+ "type": "null"
75
+ }
76
+ ]
77
+ },
78
+ "width": {
79
+ "anyOf": [
80
+ {
81
+ "type": "number",
82
+ "minimum": 1,
83
+ "maximum": 3840
84
+ },
85
+ {
86
+ "type": "null"
87
+ }
88
+ ]
89
+ },
90
+ "height": {
91
+ "anyOf": [
92
+ {
93
+ "type": "number",
94
+ "minimum": 1,
95
+ "maximum": 2160
96
+ },
97
+ {
98
+ "type": "null"
99
+ }
100
+ ]
101
+ },
102
+ "position": {
103
+ "anyOf": [
104
+ {
105
+ "type": "string",
106
+ "enum": [
107
+ "top",
108
+ "topRight",
109
+ "right",
110
+ "bottomRight",
111
+ "bottom",
112
+ "bottomLeft",
113
+ "left",
114
+ "topLeft",
115
+ "center"
116
+ ]
117
+ },
118
+ {
119
+ "type": "null"
120
+ }
121
+ ]
122
+ },
123
+ "offset": {
124
+ "anyOf": [
125
+ {
126
+ "$ref": "#/$defs/Offset"
127
+ },
128
+ {
129
+ "type": "null"
130
+ }
131
+ ]
132
+ },
133
+ "transition": {
134
+ "anyOf": [
135
+ {
136
+ "$ref": "#/$defs/Transition"
137
+ },
138
+ {
139
+ "type": "null"
140
+ }
141
+ ]
142
+ },
143
+ "effect": {
144
+ "anyOf": [
145
+ {
146
+ "type": "string",
147
+ "enum": [
148
+ "zoomIn",
149
+ "zoomInSlow",
150
+ "zoomInFast",
151
+ "zoomOut",
152
+ "zoomOutSlow",
153
+ "zoomOutFast",
154
+ "slideLeft",
155
+ "slideLeftSlow",
156
+ "slideLeftFast",
157
+ "slideRight",
158
+ "slideRightSlow",
159
+ "slideRightFast",
160
+ "slideUp",
161
+ "slideUpSlow",
162
+ "slideUpFast",
163
+ "slideDown",
164
+ "slideDownSlow",
165
+ "slideDownFast"
166
+ ]
167
+ },
168
+ {
169
+ "type": "null"
170
+ }
171
+ ]
172
+ },
173
+ "filter": {
174
+ "anyOf": [
175
+ {
176
+ "type": "string",
177
+ "enum": [
178
+ "none",
179
+ "blur",
180
+ "boost",
181
+ "contrast",
182
+ "darken",
183
+ "greyscale",
184
+ "lighten",
185
+ "muted",
186
+ "negative"
187
+ ]
188
+ },
189
+ {
190
+ "type": "null"
191
+ }
192
+ ]
193
+ },
194
+ "opacity": {
195
+ "anyOf": [
196
+ {
197
+ "type": "number"
198
+ },
199
+ {
200
+ "type": "array",
201
+ "items": {
202
+ "$ref": "#/$defs/Tween"
203
+ }
204
+ },
205
+ {
206
+ "type": "null"
207
+ }
208
+ ]
209
+ },
210
+ "transform": {
211
+ "anyOf": [
212
+ {
213
+ "$ref": "#/$defs/Transformation"
214
+ },
215
+ {
216
+ "type": "null"
217
+ }
218
+ ]
219
+ },
220
+ "alias": {
221
+ "anyOf": [
222
+ {
223
+ "type": "string"
224
+ },
225
+ {
226
+ "type": "null"
227
+ }
228
+ ]
229
+ }
230
+ },
231
+ "additionalProperties": false,
232
+ "required": [
233
+ "asset",
234
+ "start",
235
+ "length",
236
+ "fit",
237
+ "scale",
238
+ "width",
239
+ "height",
240
+ "position",
241
+ "offset",
242
+ "transition",
243
+ "effect",
244
+ "filter",
245
+ "opacity",
246
+ "transform",
247
+ "alias"
248
+ ],
249
+ "type": "object"
250
+ },
251
+ "Asset": {
252
+ "anyOf": [
253
+ {
254
+ "$ref": "#/$defs/VideoAsset"
255
+ },
256
+ {
257
+ "$ref": "#/$defs/ImageAsset"
258
+ },
259
+ {
260
+ "$ref": "#/$defs/RichTextAsset"
261
+ },
262
+ {
263
+ "$ref": "#/$defs/AudioAsset"
264
+ },
265
+ {
266
+ "$ref": "#/$defs/LumaAsset"
267
+ },
268
+ {
269
+ "$ref": "#/$defs/CaptionAsset"
270
+ },
271
+ {
272
+ "$ref": "#/$defs/RichCaptionAsset"
273
+ },
274
+ {
275
+ "$ref": "#/$defs/ShapeAsset"
276
+ },
277
+ {
278
+ "$ref": "#/$defs/SvgAsset"
279
+ },
280
+ {
281
+ "$ref": "#/$defs/TextToImageAsset"
282
+ },
283
+ {
284
+ "$ref": "#/$defs/ImageToVideoAsset"
285
+ },
286
+ {
287
+ "$ref": "#/$defs/TextToSpeechAsset"
288
+ }
289
+ ]
290
+ },
291
+ "VideoAsset": {
292
+ "type": "object",
293
+ "properties": {
294
+ "type": {
295
+ "enum": [
296
+ "video"
297
+ ],
298
+ "type": "string"
299
+ },
300
+ "src": {
301
+ "type": "string"
302
+ },
303
+ "transcode": {
304
+ "anyOf": [
305
+ {
306
+ "type": "boolean"
307
+ },
308
+ {
309
+ "type": "null"
310
+ }
311
+ ]
312
+ },
313
+ "trim": {
314
+ "anyOf": [
315
+ {
316
+ "type": "number"
317
+ },
318
+ {
319
+ "type": "null"
320
+ }
321
+ ]
322
+ },
323
+ "volume": {
324
+ "anyOf": [
325
+ {
326
+ "type": "number",
327
+ "minimum": 0,
328
+ "maximum": 1
329
+ },
330
+ {
331
+ "type": "array",
332
+ "items": {
333
+ "$ref": "#/$defs/Tween"
334
+ }
335
+ },
336
+ {
337
+ "type": "null"
338
+ }
339
+ ]
340
+ },
341
+ "volumeEffect": {
342
+ "anyOf": [
343
+ {
344
+ "type": "string",
345
+ "enum": [
346
+ "none",
347
+ "fadeIn",
348
+ "fadeOut",
349
+ "fadeInFadeOut"
350
+ ]
351
+ },
352
+ {
353
+ "type": "null"
354
+ }
355
+ ]
356
+ },
357
+ "speed": {
358
+ "anyOf": [
359
+ {
360
+ "type": "number",
361
+ "minimum": 0,
362
+ "maximum": 10
363
+ },
364
+ {
365
+ "type": "null"
366
+ }
367
+ ]
368
+ },
369
+ "crop": {
370
+ "anyOf": [
371
+ {
372
+ "$ref": "#/$defs/Crop"
373
+ },
374
+ {
375
+ "type": "null"
376
+ }
377
+ ]
378
+ },
379
+ "chromaKey": {
380
+ "anyOf": [
381
+ {
382
+ "$ref": "#/$defs/ChromaKey"
383
+ },
384
+ {
385
+ "type": "null"
386
+ }
387
+ ]
388
+ }
389
+ },
390
+ "additionalProperties": false,
391
+ "required": [
392
+ "type",
393
+ "src",
394
+ "transcode",
395
+ "trim",
396
+ "volume",
397
+ "volumeEffect",
398
+ "speed",
399
+ "crop",
400
+ "chromaKey"
401
+ ]
402
+ },
403
+ "Tween": {
404
+ "properties": {
405
+ "from": {
406
+ "anyOf": [
407
+ {
408
+ "type": "string"
409
+ },
410
+ {
411
+ "type": "null"
412
+ }
413
+ ]
414
+ },
415
+ "to": {
416
+ "anyOf": [
417
+ {
418
+ "type": "string"
419
+ },
420
+ {
421
+ "type": "null"
422
+ }
423
+ ]
424
+ },
425
+ "start": {
426
+ "anyOf": [
427
+ {
428
+ "type": "number"
429
+ },
430
+ {
431
+ "type": "null"
432
+ }
433
+ ]
434
+ },
435
+ "length": {
436
+ "anyOf": [
437
+ {
438
+ "type": "number"
439
+ },
440
+ {
441
+ "type": "null"
442
+ }
443
+ ]
444
+ },
445
+ "interpolation": {
446
+ "anyOf": [
447
+ {
448
+ "type": "string",
449
+ "enum": [
450
+ "linear",
451
+ "bezier",
452
+ "constant"
453
+ ]
454
+ },
455
+ {
456
+ "type": "null"
457
+ }
458
+ ]
459
+ },
460
+ "easing": {
461
+ "anyOf": [
462
+ {
463
+ "type": "string",
464
+ "enum": [
465
+ "ease",
466
+ "easeIn",
467
+ "easeOut",
468
+ "easeInOut",
469
+ "easeInQuad",
470
+ "easeInCubic",
471
+ "easeInQuart",
472
+ "easeInQuint",
473
+ "easeInSine",
474
+ "easeInExpo",
475
+ "easeInCirc",
476
+ "easeInBack",
477
+ "easeOutQuad",
478
+ "easeOutCubic",
479
+ "easeOutQuart",
480
+ "easeOutQuint",
481
+ "easeOutSine",
482
+ "easeOutExpo",
483
+ "easeOutCirc",
484
+ "easeOutBack",
485
+ "easeInOutQuad",
486
+ "easeInOutCubic",
487
+ "easeInOutQuart",
488
+ "easeInOutQuint",
489
+ "easeInOutSine",
490
+ "easeInOutExpo",
491
+ "easeInOutCirc",
492
+ "easeInOutBack"
493
+ ]
494
+ },
495
+ {
496
+ "type": "null"
497
+ }
498
+ ]
499
+ }
500
+ },
501
+ "additionalProperties": false,
502
+ "type": "object",
503
+ "required": [
504
+ "from",
505
+ "to",
506
+ "start",
507
+ "length",
508
+ "interpolation",
509
+ "easing"
510
+ ]
511
+ },
512
+ "Crop": {
513
+ "properties": {
514
+ "top": {
515
+ "anyOf": [
516
+ {
517
+ "type": "number",
518
+ "minimum": 0,
519
+ "maximum": 1
520
+ },
521
+ {
522
+ "type": "null"
523
+ }
524
+ ]
525
+ },
526
+ "bottom": {
527
+ "anyOf": [
528
+ {
529
+ "type": "number",
530
+ "minimum": 0,
531
+ "maximum": 1
532
+ },
533
+ {
534
+ "type": "null"
535
+ }
536
+ ]
537
+ },
538
+ "left": {
539
+ "anyOf": [
540
+ {
541
+ "type": "number",
542
+ "minimum": 0,
543
+ "maximum": 1
544
+ },
545
+ {
546
+ "type": "null"
547
+ }
548
+ ]
549
+ },
550
+ "right": {
551
+ "anyOf": [
552
+ {
553
+ "type": "number",
554
+ "minimum": 0,
555
+ "maximum": 1
556
+ },
557
+ {
558
+ "type": "null"
559
+ }
560
+ ]
561
+ }
562
+ },
563
+ "additionalProperties": false,
564
+ "type": "object",
565
+ "required": [
566
+ "top",
567
+ "bottom",
568
+ "left",
569
+ "right"
570
+ ]
571
+ },
572
+ "ChromaKey": {
573
+ "properties": {
574
+ "color": {
575
+ "type": "string"
576
+ },
577
+ "threshold": {
578
+ "anyOf": [
579
+ {
580
+ "type": "integer",
581
+ "minimum": 0,
582
+ "maximum": 250
583
+ },
584
+ {
585
+ "type": "null"
586
+ }
587
+ ]
588
+ },
589
+ "halo": {
590
+ "anyOf": [
591
+ {
592
+ "type": "integer",
593
+ "minimum": 0,
594
+ "maximum": 250
595
+ },
596
+ {
597
+ "type": "null"
598
+ }
599
+ ]
600
+ }
601
+ },
602
+ "additionalProperties": false,
603
+ "required": [
604
+ "color",
605
+ "threshold",
606
+ "halo"
607
+ ],
608
+ "type": "object"
609
+ },
610
+ "ImageAsset": {
611
+ "type": "object",
612
+ "properties": {
613
+ "type": {
614
+ "enum": [
615
+ "image"
616
+ ],
617
+ "type": "string"
618
+ },
619
+ "src": {
620
+ "type": "string"
621
+ },
622
+ "crop": {
623
+ "anyOf": [
624
+ {
625
+ "$ref": "#/$defs/Crop"
626
+ },
627
+ {
628
+ "type": "null"
629
+ }
630
+ ]
631
+ }
632
+ },
633
+ "additionalProperties": false,
634
+ "required": [
635
+ "type",
636
+ "src",
637
+ "crop"
638
+ ]
639
+ },
640
+ "RichTextAsset": {
641
+ "type": "object",
642
+ "properties": {
643
+ "type": {
644
+ "enum": [
645
+ "rich-text"
646
+ ],
647
+ "type": "string"
648
+ },
649
+ "text": {
650
+ "type": "string"
651
+ },
652
+ "font": {
653
+ "anyOf": [
654
+ {
655
+ "$ref": "#/$defs/RichTextFont"
656
+ },
657
+ {
658
+ "type": "null"
659
+ }
660
+ ]
661
+ },
662
+ "style": {
663
+ "anyOf": [
664
+ {
665
+ "$ref": "#/$defs/RichTextStyle"
666
+ },
667
+ {
668
+ "type": "null"
669
+ }
670
+ ]
671
+ },
672
+ "stroke": {
673
+ "anyOf": [
674
+ {
675
+ "$ref": "#/$defs/RichTextStroke"
676
+ },
677
+ {
678
+ "type": "null"
679
+ }
680
+ ]
681
+ },
682
+ "shadow": {
683
+ "anyOf": [
684
+ {
685
+ "$ref": "#/$defs/RichTextShadow"
686
+ },
687
+ {
688
+ "type": "null"
689
+ }
690
+ ]
691
+ },
692
+ "background": {
693
+ "anyOf": [
694
+ {
695
+ "$ref": "#/$defs/RichTextBackground"
696
+ },
697
+ {
698
+ "type": "null"
699
+ }
700
+ ]
701
+ },
702
+ "border": {
703
+ "anyOf": [
704
+ {
705
+ "type": "object",
706
+ "properties": {
707
+ "width": {
708
+ "anyOf": [
709
+ {
710
+ "type": "number",
711
+ "minimum": 0
712
+ },
713
+ {
714
+ "type": "null"
715
+ }
716
+ ]
717
+ },
718
+ "color": {
719
+ "anyOf": [
720
+ {
721
+ "type": "string"
722
+ },
723
+ {
724
+ "type": "null"
725
+ }
726
+ ]
727
+ },
728
+ "opacity": {
729
+ "anyOf": [
730
+ {
731
+ "type": "number",
732
+ "minimum": 0,
733
+ "maximum": 1
734
+ },
735
+ {
736
+ "type": "null"
737
+ }
738
+ ]
739
+ },
740
+ "radius": {
741
+ "anyOf": [
742
+ {
743
+ "type": "number",
744
+ "minimum": 0
745
+ },
746
+ {
747
+ "type": "null"
748
+ }
749
+ ]
750
+ }
751
+ },
752
+ "additionalProperties": false,
753
+ "required": [
754
+ "width",
755
+ "color",
756
+ "opacity",
757
+ "radius"
758
+ ]
759
+ },
760
+ {
761
+ "type": "null"
762
+ }
763
+ ]
764
+ },
765
+ "padding": {
766
+ "anyOf": [
767
+ {
768
+ "type": "number",
769
+ "minimum": 0
770
+ },
771
+ {
772
+ "properties": {
773
+ "top": {
774
+ "anyOf": [
775
+ {
776
+ "type": "number",
777
+ "minimum": 0
778
+ },
779
+ {
780
+ "type": "null"
781
+ }
782
+ ]
783
+ },
784
+ "right": {
785
+ "anyOf": [
786
+ {
787
+ "type": "number",
788
+ "minimum": 0
789
+ },
790
+ {
791
+ "type": "null"
792
+ }
793
+ ]
794
+ },
795
+ "bottom": {
796
+ "anyOf": [
797
+ {
798
+ "type": "number",
799
+ "minimum": 0
800
+ },
801
+ {
802
+ "type": "null"
803
+ }
804
+ ]
805
+ },
806
+ "left": {
807
+ "anyOf": [
808
+ {
809
+ "type": "number",
810
+ "minimum": 0
811
+ },
812
+ {
813
+ "type": "null"
814
+ }
815
+ ]
816
+ }
817
+ },
818
+ "additionalProperties": false,
819
+ "type": "object",
820
+ "required": [
821
+ "top",
822
+ "right",
823
+ "bottom",
824
+ "left"
825
+ ]
826
+ },
827
+ {
828
+ "type": "null"
829
+ }
830
+ ]
831
+ },
832
+ "align": {
833
+ "anyOf": [
834
+ {
835
+ "$ref": "#/$defs/RichTextAlignment"
836
+ },
837
+ {
838
+ "type": "null"
839
+ }
840
+ ]
841
+ },
842
+ "animation": {
843
+ "anyOf": [
844
+ {
845
+ "$ref": "#/$defs/RichTextAnimation"
846
+ },
847
+ {
848
+ "type": "null"
849
+ }
850
+ ]
851
+ }
852
+ },
853
+ "additionalProperties": false,
854
+ "required": [
855
+ "type",
856
+ "text",
857
+ "font",
858
+ "style",
859
+ "stroke",
860
+ "shadow",
861
+ "background",
862
+ "border",
863
+ "padding",
864
+ "align",
865
+ "animation"
866
+ ]
867
+ },
868
+ "RichTextFont": {
869
+ "properties": {
870
+ "family": {
871
+ "anyOf": [
872
+ {
873
+ "type": "string",
874
+ "enum": [
875
+ "Open Sans"
876
+ ]
877
+ },
878
+ {
879
+ "type": "null"
880
+ }
881
+ ]
882
+ },
883
+ "size": {
884
+ "anyOf": [
885
+ {
886
+ "type": "integer",
887
+ "minimum": 1,
888
+ "maximum": 500
889
+ },
890
+ {
891
+ "type": "null"
892
+ }
893
+ ]
894
+ },
895
+ "weight": {
896
+ "anyOf": [
897
+ {
898
+ "type": "string"
899
+ },
900
+ {
901
+ "type": "null"
902
+ }
903
+ ]
904
+ },
905
+ "color": {
906
+ "anyOf": [
907
+ {
908
+ "type": "string"
909
+ },
910
+ {
911
+ "type": "null"
912
+ }
913
+ ]
914
+ },
915
+ "opacity": {
916
+ "anyOf": [
917
+ {
918
+ "type": "number",
919
+ "minimum": 0,
920
+ "maximum": 1
921
+ },
922
+ {
923
+ "type": "null"
924
+ }
925
+ ]
926
+ },
927
+ "background": {
928
+ "anyOf": [
929
+ {
930
+ "type": "string"
931
+ },
932
+ {
933
+ "type": "null"
934
+ }
935
+ ]
936
+ },
937
+ "stroke": {
938
+ "anyOf": [
939
+ {
940
+ "$ref": "#/$defs/RichTextStroke"
941
+ },
942
+ {
943
+ "type": "null"
944
+ }
945
+ ]
946
+ }
947
+ },
948
+ "additionalProperties": false,
949
+ "type": "object",
950
+ "required": [
951
+ "family",
952
+ "size",
953
+ "weight",
954
+ "color",
955
+ "opacity",
956
+ "background",
957
+ "stroke"
958
+ ]
959
+ },
960
+ "RichTextStroke": {
961
+ "properties": {
962
+ "width": {
963
+ "anyOf": [
964
+ {
965
+ "type": "number",
966
+ "minimum": 0
967
+ },
968
+ {
969
+ "type": "null"
970
+ }
971
+ ]
972
+ },
973
+ "color": {
974
+ "anyOf": [
975
+ {
976
+ "type": "string",
977
+ "enum": [
978
+ "#000000"
979
+ ]
980
+ },
981
+ {
982
+ "type": "null"
983
+ }
984
+ ]
985
+ },
986
+ "opacity": {
987
+ "anyOf": [
988
+ {
989
+ "type": "number",
990
+ "minimum": 0,
991
+ "maximum": 1
992
+ },
993
+ {
994
+ "type": "null"
995
+ }
996
+ ]
997
+ }
998
+ },
999
+ "additionalProperties": false,
1000
+ "type": "object",
1001
+ "required": [
1002
+ "width",
1003
+ "color",
1004
+ "opacity"
1005
+ ]
1006
+ },
1007
+ "RichTextStyle": {
1008
+ "properties": {
1009
+ "letterSpacing": {
1010
+ "anyOf": [
1011
+ {
1012
+ "type": "number"
1013
+ },
1014
+ {
1015
+ "type": "null"
1016
+ }
1017
+ ]
1018
+ },
1019
+ "wordSpacing": {
1020
+ "anyOf": [
1021
+ {
1022
+ "type": "number",
1023
+ "minimum": 0
1024
+ },
1025
+ {
1026
+ "type": "null"
1027
+ }
1028
+ ]
1029
+ },
1030
+ "lineHeight": {
1031
+ "anyOf": [
1032
+ {
1033
+ "type": "number",
1034
+ "minimum": 0,
1035
+ "maximum": 10
1036
+ },
1037
+ {
1038
+ "type": "null"
1039
+ }
1040
+ ]
1041
+ },
1042
+ "textTransform": {
1043
+ "anyOf": [
1044
+ {
1045
+ "type": "string",
1046
+ "enum": [
1047
+ "none",
1048
+ "uppercase",
1049
+ "lowercase",
1050
+ "capitalize"
1051
+ ]
1052
+ },
1053
+ {
1054
+ "type": "null"
1055
+ }
1056
+ ]
1057
+ },
1058
+ "textDecoration": {
1059
+ "anyOf": [
1060
+ {
1061
+ "type": "string",
1062
+ "enum": [
1063
+ "none",
1064
+ "underline",
1065
+ "line-through"
1066
+ ]
1067
+ },
1068
+ {
1069
+ "type": "null"
1070
+ }
1071
+ ]
1072
+ },
1073
+ "gradient": {
1074
+ "anyOf": [
1075
+ {
1076
+ "$ref": "#/$defs/RichTextGradient"
1077
+ },
1078
+ {
1079
+ "type": "null"
1080
+ }
1081
+ ]
1082
+ }
1083
+ },
1084
+ "additionalProperties": false,
1085
+ "type": "object",
1086
+ "required": [
1087
+ "letterSpacing",
1088
+ "wordSpacing",
1089
+ "lineHeight",
1090
+ "textTransform",
1091
+ "textDecoration",
1092
+ "gradient"
1093
+ ]
1094
+ },
1095
+ "RichTextGradient": {
1096
+ "properties": {
1097
+ "type": {
1098
+ "anyOf": [
1099
+ {
1100
+ "type": "string",
1101
+ "enum": [
1102
+ "linear",
1103
+ "radial"
1104
+ ]
1105
+ },
1106
+ {
1107
+ "type": "null"
1108
+ }
1109
+ ]
1110
+ },
1111
+ "angle": {
1112
+ "anyOf": [
1113
+ {
1114
+ "type": "number",
1115
+ "minimum": 0,
1116
+ "maximum": 360
1117
+ },
1118
+ {
1119
+ "type": "null"
1120
+ }
1121
+ ]
1122
+ },
1123
+ "stops": {
1124
+ "type": "array",
1125
+ "items": {
1126
+ "type": "object",
1127
+ "properties": {
1128
+ "offset": {
1129
+ "type": "number",
1130
+ "minimum": 0,
1131
+ "maximum": 1
1132
+ },
1133
+ "color": {
1134
+ "type": "string"
1135
+ }
1136
+ },
1137
+ "required": [
1138
+ "offset",
1139
+ "color"
1140
+ ],
1141
+ "additionalProperties": false
1142
+ }
1143
+ }
1144
+ },
1145
+ "required": [
1146
+ "type",
1147
+ "angle",
1148
+ "stops"
1149
+ ],
1150
+ "additionalProperties": false,
1151
+ "type": "object"
1152
+ },
1153
+ "RichTextShadow": {
1154
+ "properties": {
1155
+ "offsetX": {
1156
+ "anyOf": [
1157
+ {
1158
+ "type": "number"
1159
+ },
1160
+ {
1161
+ "type": "null"
1162
+ }
1163
+ ]
1164
+ },
1165
+ "offsetY": {
1166
+ "anyOf": [
1167
+ {
1168
+ "type": "number"
1169
+ },
1170
+ {
1171
+ "type": "null"
1172
+ }
1173
+ ]
1174
+ },
1175
+ "blur": {
1176
+ "anyOf": [
1177
+ {
1178
+ "type": "number",
1179
+ "minimum": 0
1180
+ },
1181
+ {
1182
+ "type": "null"
1183
+ }
1184
+ ]
1185
+ },
1186
+ "color": {
1187
+ "anyOf": [
1188
+ {
1189
+ "type": "string",
1190
+ "enum": [
1191
+ "#000000"
1192
+ ]
1193
+ },
1194
+ {
1195
+ "type": "null"
1196
+ }
1197
+ ]
1198
+ },
1199
+ "opacity": {
1200
+ "anyOf": [
1201
+ {
1202
+ "type": "number",
1203
+ "minimum": 0,
1204
+ "maximum": 1
1205
+ },
1206
+ {
1207
+ "type": "null"
1208
+ }
1209
+ ]
1210
+ }
1211
+ },
1212
+ "additionalProperties": false,
1213
+ "type": "object",
1214
+ "required": [
1215
+ "offsetX",
1216
+ "offsetY",
1217
+ "blur",
1218
+ "color",
1219
+ "opacity"
1220
+ ]
1221
+ },
1222
+ "RichTextBackground": {
1223
+ "properties": {
1224
+ "color": {
1225
+ "anyOf": [
1226
+ {
1227
+ "type": "string"
1228
+ },
1229
+ {
1230
+ "type": "null"
1231
+ }
1232
+ ]
1233
+ },
1234
+ "opacity": {
1235
+ "anyOf": [
1236
+ {
1237
+ "type": "number",
1238
+ "minimum": 0,
1239
+ "maximum": 1
1240
+ },
1241
+ {
1242
+ "type": "null"
1243
+ }
1244
+ ]
1245
+ },
1246
+ "borderRadius": {
1247
+ "anyOf": [
1248
+ {
1249
+ "type": "number",
1250
+ "minimum": 0
1251
+ },
1252
+ {
1253
+ "type": "null"
1254
+ }
1255
+ ]
1256
+ }
1257
+ },
1258
+ "additionalProperties": false,
1259
+ "type": "object",
1260
+ "required": [
1261
+ "color",
1262
+ "opacity",
1263
+ "borderRadius"
1264
+ ]
1265
+ },
1266
+ "RichTextAlignment": {
1267
+ "properties": {
1268
+ "horizontal": {
1269
+ "anyOf": [
1270
+ {
1271
+ "type": "string",
1272
+ "enum": [
1273
+ "left",
1274
+ "center",
1275
+ "right"
1276
+ ]
1277
+ },
1278
+ {
1279
+ "type": "null"
1280
+ }
1281
+ ]
1282
+ },
1283
+ "vertical": {
1284
+ "anyOf": [
1285
+ {
1286
+ "type": "string",
1287
+ "enum": [
1288
+ "top",
1289
+ "middle",
1290
+ "bottom"
1291
+ ]
1292
+ },
1293
+ {
1294
+ "type": "null"
1295
+ }
1296
+ ]
1297
+ }
1298
+ },
1299
+ "additionalProperties": false,
1300
+ "type": "object",
1301
+ "required": [
1302
+ "horizontal",
1303
+ "vertical"
1304
+ ]
1305
+ },
1306
+ "RichTextAnimation": {
1307
+ "properties": {
1308
+ "preset": {
1309
+ "type": "string",
1310
+ "enum": [
1311
+ "fadeIn",
1312
+ "slideIn",
1313
+ "typewriter",
1314
+ "ascend",
1315
+ "shift",
1316
+ "movingLetters"
1317
+ ]
1318
+ },
1319
+ "duration": {
1320
+ "anyOf": [
1321
+ {
1322
+ "type": "number",
1323
+ "minimum": 0.1,
1324
+ "maximum": 30
1325
+ },
1326
+ {
1327
+ "type": "null"
1328
+ }
1329
+ ]
1330
+ },
1331
+ "style": {
1332
+ "anyOf": [
1333
+ {
1334
+ "type": "string",
1335
+ "enum": [
1336
+ "character",
1337
+ "word"
1338
+ ]
1339
+ },
1340
+ {
1341
+ "type": "null"
1342
+ }
1343
+ ]
1344
+ },
1345
+ "direction": {
1346
+ "anyOf": [
1347
+ {
1348
+ "type": "string",
1349
+ "enum": [
1350
+ "left",
1351
+ "right",
1352
+ "up",
1353
+ "down"
1354
+ ]
1355
+ },
1356
+ {
1357
+ "type": "null"
1358
+ }
1359
+ ]
1360
+ }
1361
+ },
1362
+ "required": [
1363
+ "preset",
1364
+ "duration",
1365
+ "style",
1366
+ "direction"
1367
+ ],
1368
+ "additionalProperties": false,
1369
+ "type": "object"
1370
+ },
1371
+ "AudioAsset": {
1372
+ "type": "object",
1373
+ "properties": {
1374
+ "type": {
1375
+ "enum": [
1376
+ "audio"
1377
+ ],
1378
+ "type": "string"
1379
+ },
1380
+ "src": {
1381
+ "type": "string"
1382
+ },
1383
+ "trim": {
1384
+ "anyOf": [
1385
+ {
1386
+ "type": "number"
1387
+ },
1388
+ {
1389
+ "type": "null"
1390
+ }
1391
+ ]
1392
+ },
1393
+ "volume": {
1394
+ "anyOf": [
1395
+ {
1396
+ "type": "number",
1397
+ "minimum": 0,
1398
+ "maximum": 1
1399
+ },
1400
+ {
1401
+ "type": "array",
1402
+ "items": {
1403
+ "$ref": "#/$defs/Tween"
1404
+ }
1405
+ },
1406
+ {
1407
+ "type": "null"
1408
+ }
1409
+ ]
1410
+ },
1411
+ "speed": {
1412
+ "anyOf": [
1413
+ {
1414
+ "type": "number",
1415
+ "minimum": 0,
1416
+ "maximum": 10
1417
+ },
1418
+ {
1419
+ "type": "null"
1420
+ }
1421
+ ]
1422
+ },
1423
+ "effect": {
1424
+ "anyOf": [
1425
+ {
1426
+ "type": "string",
1427
+ "enum": [
1428
+ "none",
1429
+ "fadeIn",
1430
+ "fadeOut",
1431
+ "fadeInFadeOut"
1432
+ ]
1433
+ },
1434
+ {
1435
+ "type": "null"
1436
+ }
1437
+ ]
1438
+ }
1439
+ },
1440
+ "additionalProperties": false,
1441
+ "required": [
1442
+ "type",
1443
+ "src",
1444
+ "trim",
1445
+ "volume",
1446
+ "speed",
1447
+ "effect"
1448
+ ]
1449
+ },
1450
+ "LumaAsset": {
1451
+ "type": "object",
1452
+ "properties": {
1453
+ "type": {
1454
+ "enum": [
1455
+ "luma"
1456
+ ],
1457
+ "type": "string"
1458
+ },
1459
+ "src": {
1460
+ "type": "string"
1461
+ },
1462
+ "trim": {
1463
+ "anyOf": [
1464
+ {
1465
+ "type": "number"
1466
+ },
1467
+ {
1468
+ "type": "null"
1469
+ }
1470
+ ]
1471
+ }
1472
+ },
1473
+ "additionalProperties": false,
1474
+ "required": [
1475
+ "type",
1476
+ "src",
1477
+ "trim"
1478
+ ]
1479
+ },
1480
+ "CaptionAsset": {
1481
+ "type": "object",
1482
+ "properties": {
1483
+ "type": {
1484
+ "enum": [
1485
+ "caption"
1486
+ ],
1487
+ "type": "string"
1488
+ },
1489
+ "src": {
1490
+ "type": "string"
1491
+ },
1492
+ "font": {
1493
+ "anyOf": [
1494
+ {
1495
+ "$ref": "#/$defs/CaptionFont"
1496
+ },
1497
+ {
1498
+ "type": "null"
1499
+ }
1500
+ ]
1501
+ },
1502
+ "background": {
1503
+ "anyOf": [
1504
+ {
1505
+ "$ref": "#/$defs/CaptionBackground"
1506
+ },
1507
+ {
1508
+ "type": "null"
1509
+ }
1510
+ ]
1511
+ },
1512
+ "margin": {
1513
+ "anyOf": [
1514
+ {
1515
+ "$ref": "#/$defs/CaptionMargin"
1516
+ },
1517
+ {
1518
+ "type": "null"
1519
+ }
1520
+ ]
1521
+ },
1522
+ "trim": {
1523
+ "anyOf": [
1524
+ {
1525
+ "type": "number"
1526
+ },
1527
+ {
1528
+ "type": "null"
1529
+ }
1530
+ ]
1531
+ },
1532
+ "speed": {
1533
+ "anyOf": [
1534
+ {
1535
+ "type": "number",
1536
+ "minimum": 0,
1537
+ "maximum": 10
1538
+ },
1539
+ {
1540
+ "type": "null"
1541
+ }
1542
+ ]
1543
+ }
1544
+ },
1545
+ "additionalProperties": false,
1546
+ "required": [
1547
+ "type",
1548
+ "src",
1549
+ "font",
1550
+ "background",
1551
+ "margin",
1552
+ "trim",
1553
+ "speed"
1554
+ ]
1555
+ },
1556
+ "CaptionFont": {
1557
+ "properties": {
1558
+ "family": {
1559
+ "anyOf": [
1560
+ {
1561
+ "type": "string"
1562
+ },
1563
+ {
1564
+ "type": "null"
1565
+ }
1566
+ ]
1567
+ },
1568
+ "color": {
1569
+ "anyOf": [
1570
+ {
1571
+ "type": "string"
1572
+ },
1573
+ {
1574
+ "type": "null"
1575
+ }
1576
+ ]
1577
+ },
1578
+ "opacity": {
1579
+ "anyOf": [
1580
+ {
1581
+ "type": "number"
1582
+ },
1583
+ {
1584
+ "type": "null"
1585
+ }
1586
+ ]
1587
+ },
1588
+ "size": {
1589
+ "anyOf": [
1590
+ {
1591
+ "type": "integer"
1592
+ },
1593
+ {
1594
+ "type": "null"
1595
+ }
1596
+ ]
1597
+ },
1598
+ "lineHeight": {
1599
+ "anyOf": [
1600
+ {
1601
+ "type": "number"
1602
+ },
1603
+ {
1604
+ "type": "null"
1605
+ }
1606
+ ]
1607
+ },
1608
+ "stroke": {
1609
+ "anyOf": [
1610
+ {
1611
+ "type": "string"
1612
+ },
1613
+ {
1614
+ "type": "null"
1615
+ }
1616
+ ]
1617
+ },
1618
+ "strokeWidth": {
1619
+ "anyOf": [
1620
+ {
1621
+ "type": "number"
1622
+ },
1623
+ {
1624
+ "type": "null"
1625
+ }
1626
+ ]
1627
+ }
1628
+ },
1629
+ "additionalProperties": false,
1630
+ "type": "object",
1631
+ "required": [
1632
+ "family",
1633
+ "color",
1634
+ "opacity",
1635
+ "size",
1636
+ "lineHeight",
1637
+ "stroke",
1638
+ "strokeWidth"
1639
+ ]
1640
+ },
1641
+ "CaptionBackground": {
1642
+ "properties": {
1643
+ "color": {
1644
+ "anyOf": [
1645
+ {
1646
+ "type": "string"
1647
+ },
1648
+ {
1649
+ "type": "null"
1650
+ }
1651
+ ]
1652
+ },
1653
+ "opacity": {
1654
+ "anyOf": [
1655
+ {
1656
+ "type": "number"
1657
+ },
1658
+ {
1659
+ "type": "null"
1660
+ }
1661
+ ]
1662
+ },
1663
+ "padding": {
1664
+ "anyOf": [
1665
+ {
1666
+ "type": "integer"
1667
+ },
1668
+ {
1669
+ "type": "null"
1670
+ }
1671
+ ]
1672
+ },
1673
+ "borderRadius": {
1674
+ "anyOf": [
1675
+ {
1676
+ "type": "integer"
1677
+ },
1678
+ {
1679
+ "type": "null"
1680
+ }
1681
+ ]
1682
+ }
1683
+ },
1684
+ "additionalProperties": false,
1685
+ "type": "object",
1686
+ "required": [
1687
+ "color",
1688
+ "opacity",
1689
+ "padding",
1690
+ "borderRadius"
1691
+ ]
1692
+ },
1693
+ "CaptionMargin": {
1694
+ "properties": {
1695
+ "top": {
1696
+ "anyOf": [
1697
+ {
1698
+ "type": "number"
1699
+ },
1700
+ {
1701
+ "type": "null"
1702
+ }
1703
+ ]
1704
+ },
1705
+ "left": {
1706
+ "anyOf": [
1707
+ {
1708
+ "type": "number"
1709
+ },
1710
+ {
1711
+ "type": "null"
1712
+ }
1713
+ ]
1714
+ },
1715
+ "right": {
1716
+ "anyOf": [
1717
+ {
1718
+ "type": "number"
1719
+ },
1720
+ {
1721
+ "type": "null"
1722
+ }
1723
+ ]
1724
+ }
1725
+ },
1726
+ "additionalProperties": false,
1727
+ "type": "object",
1728
+ "required": [
1729
+ "top",
1730
+ "left",
1731
+ "right"
1732
+ ]
1733
+ },
1734
+ "RichCaptionAsset": {
1735
+ "type": "object",
1736
+ "properties": {
1737
+ "type": {
1738
+ "enum": [
1739
+ "rich-caption"
1740
+ ],
1741
+ "type": "string"
1742
+ },
1743
+ "src": {
1744
+ "anyOf": [
1745
+ {
1746
+ "type": "string"
1747
+ },
1748
+ {
1749
+ "type": "null"
1750
+ }
1751
+ ]
1752
+ },
1753
+ "words": {
1754
+ "anyOf": [
1755
+ {
1756
+ "type": "array",
1757
+ "items": {
1758
+ "$ref": "#/$defs/WordTiming"
1759
+ }
1760
+ },
1761
+ {
1762
+ "type": "null"
1763
+ }
1764
+ ]
1765
+ },
1766
+ "font": {
1767
+ "anyOf": [
1768
+ {
1769
+ "$ref": "#/$defs/RichTextFont"
1770
+ },
1771
+ {
1772
+ "type": "null"
1773
+ }
1774
+ ]
1775
+ },
1776
+ "style": {
1777
+ "anyOf": [
1778
+ {
1779
+ "$ref": "#/$defs/RichTextStyle"
1780
+ },
1781
+ {
1782
+ "type": "null"
1783
+ }
1784
+ ]
1785
+ },
1786
+ "stroke": {
1787
+ "anyOf": [
1788
+ {
1789
+ "$ref": "#/$defs/RichTextStroke"
1790
+ },
1791
+ {
1792
+ "type": "null"
1793
+ }
1794
+ ]
1795
+ },
1796
+ "shadow": {
1797
+ "anyOf": [
1798
+ {
1799
+ "$ref": "#/$defs/RichTextShadow"
1800
+ },
1801
+ {
1802
+ "type": "null"
1803
+ }
1804
+ ]
1805
+ },
1806
+ "background": {
1807
+ "anyOf": [
1808
+ {
1809
+ "$ref": "#/$defs/RichTextBackground"
1810
+ },
1811
+ {
1812
+ "type": "null"
1813
+ }
1814
+ ]
1815
+ },
1816
+ "padding": {
1817
+ "anyOf": [
1818
+ {
1819
+ "type": "number",
1820
+ "minimum": 0
1821
+ },
1822
+ {
1823
+ "$ref": "#/$defs/RichTextAsset/properties/padding/anyOf/1"
1824
+ },
1825
+ {
1826
+ "type": "null"
1827
+ }
1828
+ ]
1829
+ },
1830
+ "align": {
1831
+ "anyOf": [
1832
+ {
1833
+ "$ref": "#/$defs/RichTextAlignment"
1834
+ },
1835
+ {
1836
+ "type": "null"
1837
+ }
1838
+ ]
1839
+ },
1840
+ "active": {
1841
+ "anyOf": [
1842
+ {
1843
+ "$ref": "#/$defs/RichCaptionActive"
1844
+ },
1845
+ {
1846
+ "type": "null"
1847
+ }
1848
+ ]
1849
+ },
1850
+ "wordAnimation": {
1851
+ "anyOf": [
1852
+ {
1853
+ "$ref": "#/$defs/RichCaptionWordAnimation"
1854
+ },
1855
+ {
1856
+ "type": "null"
1857
+ }
1858
+ ]
1859
+ },
1860
+ "position": {
1861
+ "anyOf": [
1862
+ {
1863
+ "type": "string",
1864
+ "enum": [
1865
+ "top",
1866
+ "center",
1867
+ "bottom"
1868
+ ]
1869
+ },
1870
+ {
1871
+ "type": "null"
1872
+ }
1873
+ ]
1874
+ },
1875
+ "maxWidth": {
1876
+ "anyOf": [
1877
+ {
1878
+ "type": "number",
1879
+ "minimum": 0.1,
1880
+ "maximum": 1
1881
+ },
1882
+ {
1883
+ "type": "null"
1884
+ }
1885
+ ]
1886
+ },
1887
+ "maxLines": {
1888
+ "anyOf": [
1889
+ {
1890
+ "type": "integer",
1891
+ "minimum": 1,
1892
+ "maximum": 10
1893
+ },
1894
+ {
1895
+ "type": "null"
1896
+ }
1897
+ ]
1898
+ }
1899
+ },
1900
+ "additionalProperties": false,
1901
+ "required": [
1902
+ "type",
1903
+ "src",
1904
+ "words",
1905
+ "font",
1906
+ "style",
1907
+ "stroke",
1908
+ "shadow",
1909
+ "background",
1910
+ "padding",
1911
+ "align",
1912
+ "active",
1913
+ "wordAnimation",
1914
+ "position",
1915
+ "maxWidth",
1916
+ "maxLines"
1917
+ ]
1918
+ },
1919
+ "WordTiming": {
1920
+ "type": "object",
1921
+ "properties": {
1922
+ "text": {
1923
+ "type": "string"
1924
+ },
1925
+ "start": {
1926
+ "type": "number",
1927
+ "minimum": 0
1928
+ },
1929
+ "end": {
1930
+ "type": "number",
1931
+ "minimum": 0
1932
+ },
1933
+ "confidence": {
1934
+ "anyOf": [
1935
+ {
1936
+ "type": "number",
1937
+ "minimum": 0,
1938
+ "maximum": 1
1939
+ },
1940
+ {
1941
+ "type": "null"
1942
+ }
1943
+ ]
1944
+ }
1945
+ },
1946
+ "additionalProperties": false,
1947
+ "required": [
1948
+ "text",
1949
+ "start",
1950
+ "end",
1951
+ "confidence"
1952
+ ]
1953
+ },
1954
+ "RichCaptionActive": {
1955
+ "type": "object",
1956
+ "properties": {
1957
+ "font": {
1958
+ "anyOf": [
1959
+ {
1960
+ "$ref": "#/$defs/RichCaptionActiveFont"
1961
+ },
1962
+ {
1963
+ "type": "null"
1964
+ }
1965
+ ]
1966
+ },
1967
+ "stroke": {
1968
+ "anyOf": [
1969
+ {
1970
+ "$ref": "#/$defs/RichTextStroke"
1971
+ },
1972
+ {
1973
+ "type": "null"
1974
+ }
1975
+ ]
1976
+ },
1977
+ "scale": {
1978
+ "anyOf": [
1979
+ {
1980
+ "type": "number",
1981
+ "minimum": 0.5,
1982
+ "maximum": 2
1983
+ },
1984
+ {
1985
+ "type": "null"
1986
+ }
1987
+ ]
1988
+ }
1989
+ },
1990
+ "additionalProperties": false,
1991
+ "required": [
1992
+ "font",
1993
+ "stroke",
1994
+ "scale"
1995
+ ]
1996
+ },
1997
+ "RichCaptionActiveFont": {
1998
+ "type": "object",
1999
+ "properties": {
2000
+ "color": {
2001
+ "anyOf": [
2002
+ {
2003
+ "type": "string",
2004
+ "enum": [
2005
+ "#ffff00"
2006
+ ]
2007
+ },
2008
+ {
2009
+ "type": "null"
2010
+ }
2011
+ ]
2012
+ },
2013
+ "background": {
2014
+ "anyOf": [
2015
+ {
2016
+ "type": "string"
2017
+ },
2018
+ {
2019
+ "type": "null"
2020
+ }
2021
+ ]
2022
+ },
2023
+ "opacity": {
2024
+ "anyOf": [
2025
+ {
2026
+ "type": "number",
2027
+ "minimum": 0,
2028
+ "maximum": 1
2029
+ },
2030
+ {
2031
+ "type": "null"
2032
+ }
2033
+ ]
2034
+ }
2035
+ },
2036
+ "additionalProperties": false,
2037
+ "required": [
2038
+ "color",
2039
+ "background",
2040
+ "opacity"
2041
+ ]
2042
+ },
2043
+ "RichCaptionWordAnimation": {
2044
+ "type": "object",
2045
+ "properties": {
2046
+ "style": {
2047
+ "type": "string",
2048
+ "enum": [
2049
+ "karaoke",
2050
+ "highlight",
2051
+ "pop",
2052
+ "fade",
2053
+ "slide",
2054
+ "bounce",
2055
+ "typewriter",
2056
+ "none"
2057
+ ]
2058
+ },
2059
+ "speed": {
2060
+ "anyOf": [
2061
+ {
2062
+ "type": "number",
2063
+ "minimum": 0.5,
2064
+ "maximum": 2
2065
+ },
2066
+ {
2067
+ "type": "null"
2068
+ }
2069
+ ]
2070
+ },
2071
+ "direction": {
2072
+ "anyOf": [
2073
+ {
2074
+ "type": "string",
2075
+ "enum": [
2076
+ "left",
2077
+ "right",
2078
+ "up",
2079
+ "down"
2080
+ ]
2081
+ },
2082
+ {
2083
+ "type": "null"
2084
+ }
2085
+ ]
2086
+ }
2087
+ },
2088
+ "additionalProperties": false,
2089
+ "required": [
2090
+ "style",
2091
+ "speed",
2092
+ "direction"
2093
+ ]
2094
+ },
2095
+ "ShapeAsset": {
2096
+ "type": "object",
2097
+ "properties": {
2098
+ "type": {
2099
+ "enum": [
2100
+ "shape"
2101
+ ],
2102
+ "type": "string"
2103
+ },
2104
+ "shape": {
2105
+ "type": "string",
2106
+ "enum": [
2107
+ "rectangle",
2108
+ "circle",
2109
+ "line"
2110
+ ]
2111
+ },
2112
+ "width": {
2113
+ "anyOf": [
2114
+ {
2115
+ "type": "integer"
2116
+ },
2117
+ {
2118
+ "type": "null"
2119
+ }
2120
+ ]
2121
+ },
2122
+ "height": {
2123
+ "anyOf": [
2124
+ {
2125
+ "type": "integer"
2126
+ },
2127
+ {
2128
+ "type": "null"
2129
+ }
2130
+ ]
2131
+ },
2132
+ "fill": {
2133
+ "anyOf": [
2134
+ {
2135
+ "type": "object",
2136
+ "properties": {
2137
+ "color": {
2138
+ "anyOf": [
2139
+ {
2140
+ "type": "string"
2141
+ },
2142
+ {
2143
+ "type": "null"
2144
+ }
2145
+ ]
2146
+ },
2147
+ "opacity": {
2148
+ "anyOf": [
2149
+ {
2150
+ "type": "number"
2151
+ },
2152
+ {
2153
+ "type": "null"
2154
+ }
2155
+ ]
2156
+ }
2157
+ },
2158
+ "additionalProperties": false,
2159
+ "required": [
2160
+ "color",
2161
+ "opacity"
2162
+ ]
2163
+ },
2164
+ {
2165
+ "type": "null"
2166
+ }
2167
+ ]
2168
+ },
2169
+ "stroke": {
2170
+ "anyOf": [
2171
+ {
2172
+ "type": "object",
2173
+ "properties": {
2174
+ "color": {
2175
+ "anyOf": [
2176
+ {
2177
+ "type": "string"
2178
+ },
2179
+ {
2180
+ "type": "null"
2181
+ }
2182
+ ]
2183
+ },
2184
+ "width": {
2185
+ "anyOf": [
2186
+ {
2187
+ "type": "number"
2188
+ },
2189
+ {
2190
+ "type": "null"
2191
+ }
2192
+ ]
2193
+ }
2194
+ },
2195
+ "additionalProperties": false,
2196
+ "required": [
2197
+ "color",
2198
+ "width"
2199
+ ]
2200
+ },
2201
+ {
2202
+ "type": "null"
2203
+ }
2204
+ ]
2205
+ },
2206
+ "rectangle": {
2207
+ "anyOf": [
2208
+ {
2209
+ "type": "object",
2210
+ "properties": {
2211
+ "width": {
2212
+ "type": "integer"
2213
+ },
2214
+ "height": {
2215
+ "type": "integer"
2216
+ },
2217
+ "cornerRadius": {
2218
+ "anyOf": [
2219
+ {
2220
+ "type": "integer"
2221
+ },
2222
+ {
2223
+ "type": "null"
2224
+ }
2225
+ ]
2226
+ }
2227
+ },
2228
+ "additionalProperties": false,
2229
+ "required": [
2230
+ "width",
2231
+ "height",
2232
+ "cornerRadius"
2233
+ ]
2234
+ },
2235
+ {
2236
+ "type": "null"
2237
+ }
2238
+ ]
2239
+ },
2240
+ "circle": {
2241
+ "anyOf": [
2242
+ {
2243
+ "type": "object",
2244
+ "properties": {
2245
+ "radius": {
2246
+ "type": "integer"
2247
+ }
2248
+ },
2249
+ "additionalProperties": false,
2250
+ "required": [
2251
+ "radius"
2252
+ ]
2253
+ },
2254
+ {
2255
+ "type": "null"
2256
+ }
2257
+ ]
2258
+ },
2259
+ "line": {
2260
+ "anyOf": [
2261
+ {
2262
+ "type": "object",
2263
+ "properties": {
2264
+ "length": {
2265
+ "type": "integer"
2266
+ },
2267
+ "thickness": {
2268
+ "type": "integer"
2269
+ }
2270
+ },
2271
+ "additionalProperties": false,
2272
+ "required": [
2273
+ "length",
2274
+ "thickness"
2275
+ ]
2276
+ },
2277
+ {
2278
+ "type": "null"
2279
+ }
2280
+ ]
2281
+ }
2282
+ },
2283
+ "additionalProperties": false,
2284
+ "required": [
2285
+ "type",
2286
+ "shape",
2287
+ "width",
2288
+ "height",
2289
+ "fill",
2290
+ "stroke",
2291
+ "rectangle",
2292
+ "circle",
2293
+ "line"
2294
+ ]
2295
+ },
2296
+ "SvgAsset": {
2297
+ "type": "object",
2298
+ "properties": {
2299
+ "type": {
2300
+ "type": "string",
2301
+ "enum": [
2302
+ "svg"
2303
+ ]
2304
+ },
2305
+ "src": {
2306
+ "anyOf": [
2307
+ {
2308
+ "type": "string"
2309
+ },
2310
+ {
2311
+ "type": "null"
2312
+ }
2313
+ ]
2314
+ },
2315
+ "shape": {
2316
+ "anyOf": [
2317
+ {
2318
+ "$ref": "#/$defs/SvgShape"
2319
+ },
2320
+ {
2321
+ "type": "null"
2322
+ }
2323
+ ]
2324
+ },
2325
+ "fill": {
2326
+ "anyOf": [
2327
+ {
2328
+ "$ref": "#/$defs/SvgFill"
2329
+ },
2330
+ {
2331
+ "type": "null"
2332
+ }
2333
+ ]
2334
+ },
2335
+ "stroke": {
2336
+ "anyOf": [
2337
+ {
2338
+ "$ref": "#/$defs/SvgStroke"
2339
+ },
2340
+ {
2341
+ "type": "null"
2342
+ }
2343
+ ]
2344
+ },
2345
+ "shadow": {
2346
+ "anyOf": [
2347
+ {
2348
+ "$ref": "#/$defs/SvgShadow"
2349
+ },
2350
+ {
2351
+ "type": "null"
2352
+ }
2353
+ ]
2354
+ },
2355
+ "transform": {
2356
+ "anyOf": [
2357
+ {
2358
+ "$ref": "#/$defs/SvgTransform"
2359
+ },
2360
+ {
2361
+ "type": "null"
2362
+ }
2363
+ ]
2364
+ },
2365
+ "opacity": {
2366
+ "anyOf": [
2367
+ {
2368
+ "type": "number",
2369
+ "minimum": 0,
2370
+ "maximum": 1
2371
+ },
2372
+ {
2373
+ "type": "null"
2374
+ }
2375
+ ]
2376
+ },
2377
+ "width": {
2378
+ "anyOf": [
2379
+ {
2380
+ "type": "integer",
2381
+ "minimum": 1,
2382
+ "maximum": 4096
2383
+ },
2384
+ {
2385
+ "type": "null"
2386
+ }
2387
+ ]
2388
+ },
2389
+ "height": {
2390
+ "anyOf": [
2391
+ {
2392
+ "type": "integer",
2393
+ "minimum": 1,
2394
+ "maximum": 4096
2395
+ },
2396
+ {
2397
+ "type": "null"
2398
+ }
2399
+ ]
2400
+ }
2401
+ },
2402
+ "additionalProperties": false,
2403
+ "required": [
2404
+ "type",
2405
+ "src",
2406
+ "shape",
2407
+ "fill",
2408
+ "stroke",
2409
+ "shadow",
2410
+ "transform",
2411
+ "opacity",
2412
+ "width",
2413
+ "height"
2414
+ ]
2415
+ },
2416
+ "SvgShape": {
2417
+ "anyOf": [
2418
+ {
2419
+ "$ref": "#/$defs/SvgRectangleShape"
2420
+ },
2421
+ {
2422
+ "$ref": "#/$defs/SvgCircleShape"
2423
+ },
2424
+ {
2425
+ "$ref": "#/$defs/SvgEllipseShape"
2426
+ },
2427
+ {
2428
+ "$ref": "#/$defs/SvgLineShape"
2429
+ },
2430
+ {
2431
+ "$ref": "#/$defs/SvgPolygonShape"
2432
+ },
2433
+ {
2434
+ "$ref": "#/$defs/SvgStarShape"
2435
+ },
2436
+ {
2437
+ "$ref": "#/$defs/SvgArrowShape"
2438
+ },
2439
+ {
2440
+ "$ref": "#/$defs/SvgHeartShape"
2441
+ },
2442
+ {
2443
+ "$ref": "#/$defs/SvgCrossShape"
2444
+ },
2445
+ {
2446
+ "$ref": "#/$defs/SvgRingShape"
2447
+ },
2448
+ {
2449
+ "$ref": "#/$defs/SvgPathShape"
2450
+ }
2451
+ ]
2452
+ },
2453
+ "SvgRectangleShape": {
2454
+ "type": "object",
2455
+ "additionalProperties": false,
2456
+ "properties": {
2457
+ "type": {
2458
+ "type": "string",
2459
+ "enum": [
2460
+ "rectangle"
2461
+ ]
2462
+ },
2463
+ "width": {
2464
+ "type": "number",
2465
+ "minimum": 1,
2466
+ "maximum": 4096
2467
+ },
2468
+ "height": {
2469
+ "type": "number",
2470
+ "minimum": 1,
2471
+ "maximum": 4096
2472
+ },
2473
+ "cornerRadius": {
2474
+ "anyOf": [
2475
+ {
2476
+ "type": "number",
2477
+ "minimum": 0,
2478
+ "maximum": 2048
2479
+ },
2480
+ {
2481
+ "type": "null"
2482
+ }
2483
+ ]
2484
+ }
2485
+ },
2486
+ "required": [
2487
+ "type",
2488
+ "width",
2489
+ "height",
2490
+ "cornerRadius"
2491
+ ]
2492
+ },
2493
+ "SvgCircleShape": {
2494
+ "type": "object",
2495
+ "additionalProperties": false,
2496
+ "properties": {
2497
+ "type": {
2498
+ "type": "string",
2499
+ "enum": [
2500
+ "circle"
2501
+ ]
2502
+ },
2503
+ "radius": {
2504
+ "type": "number",
2505
+ "minimum": 1,
2506
+ "maximum": 2048
2507
+ }
2508
+ },
2509
+ "required": [
2510
+ "type",
2511
+ "radius"
2512
+ ]
2513
+ },
2514
+ "SvgEllipseShape": {
2515
+ "type": "object",
2516
+ "additionalProperties": false,
2517
+ "properties": {
2518
+ "type": {
2519
+ "type": "string",
2520
+ "enum": [
2521
+ "ellipse"
2522
+ ]
2523
+ },
2524
+ "radiusX": {
2525
+ "type": "number",
2526
+ "minimum": 1,
2527
+ "maximum": 2048
2528
+ },
2529
+ "radiusY": {
2530
+ "type": "number",
2531
+ "minimum": 1,
2532
+ "maximum": 2048
2533
+ }
2534
+ },
2535
+ "required": [
2536
+ "type",
2537
+ "radiusX",
2538
+ "radiusY"
2539
+ ]
2540
+ },
2541
+ "SvgLineShape": {
2542
+ "type": "object",
2543
+ "additionalProperties": false,
2544
+ "properties": {
2545
+ "type": {
2546
+ "type": "string",
2547
+ "enum": [
2548
+ "line"
2549
+ ]
2550
+ },
2551
+ "length": {
2552
+ "type": "number",
2553
+ "minimum": 1,
2554
+ "maximum": 4096
2555
+ },
2556
+ "thickness": {
2557
+ "type": "number",
2558
+ "minimum": 1,
2559
+ "maximum": 500
2560
+ }
2561
+ },
2562
+ "required": [
2563
+ "type",
2564
+ "length",
2565
+ "thickness"
2566
+ ]
2567
+ },
2568
+ "SvgPolygonShape": {
2569
+ "type": "object",
2570
+ "additionalProperties": false,
2571
+ "properties": {
2572
+ "type": {
2573
+ "type": "string",
2574
+ "enum": [
2575
+ "polygon"
2576
+ ]
2577
+ },
2578
+ "sides": {
2579
+ "type": "integer",
2580
+ "minimum": 3,
2581
+ "maximum": 100
2582
+ },
2583
+ "radius": {
2584
+ "type": "number",
2585
+ "minimum": 1,
2586
+ "maximum": 2048
2587
+ }
2588
+ },
2589
+ "required": [
2590
+ "type",
2591
+ "sides",
2592
+ "radius"
2593
+ ]
2594
+ },
2595
+ "SvgStarShape": {
2596
+ "type": "object",
2597
+ "additionalProperties": false,
2598
+ "properties": {
2599
+ "type": {
2600
+ "type": "string",
2601
+ "enum": [
2602
+ "star"
2603
+ ]
2604
+ },
2605
+ "points": {
2606
+ "type": "integer",
2607
+ "minimum": 3,
2608
+ "maximum": 100
2609
+ },
2610
+ "outerRadius": {
2611
+ "type": "number",
2612
+ "minimum": 1,
2613
+ "maximum": 2048
2614
+ },
2615
+ "innerRadius": {
2616
+ "type": "number",
2617
+ "minimum": 1,
2618
+ "maximum": 2048
2619
+ }
2620
+ },
2621
+ "required": [
2622
+ "type",
2623
+ "points",
2624
+ "outerRadius",
2625
+ "innerRadius"
2626
+ ]
2627
+ },
2628
+ "SvgArrowShape": {
2629
+ "type": "object",
2630
+ "additionalProperties": false,
2631
+ "properties": {
2632
+ "type": {
2633
+ "type": "string",
2634
+ "enum": [
2635
+ "arrow"
2636
+ ]
2637
+ },
2638
+ "length": {
2639
+ "type": "number",
2640
+ "minimum": 1,
2641
+ "maximum": 4096
2642
+ },
2643
+ "headWidth": {
2644
+ "type": "number",
2645
+ "minimum": 1,
2646
+ "maximum": 1000
2647
+ },
2648
+ "headLength": {
2649
+ "type": "number",
2650
+ "minimum": 1,
2651
+ "maximum": 1000
2652
+ },
2653
+ "shaftWidth": {
2654
+ "type": "number",
2655
+ "minimum": 1,
2656
+ "maximum": 1000
2657
+ }
2658
+ },
2659
+ "required": [
2660
+ "type",
2661
+ "length",
2662
+ "headWidth",
2663
+ "headLength",
2664
+ "shaftWidth"
2665
+ ]
2666
+ },
2667
+ "SvgHeartShape": {
2668
+ "type": "object",
2669
+ "additionalProperties": false,
2670
+ "properties": {
2671
+ "type": {
2672
+ "type": "string",
2673
+ "enum": [
2674
+ "heart"
2675
+ ]
2676
+ },
2677
+ "size": {
2678
+ "type": "number",
2679
+ "minimum": 1,
2680
+ "maximum": 4096
2681
+ }
2682
+ },
2683
+ "required": [
2684
+ "type",
2685
+ "size"
2686
+ ]
2687
+ },
2688
+ "SvgCrossShape": {
2689
+ "type": "object",
2690
+ "additionalProperties": false,
2691
+ "properties": {
2692
+ "type": {
2693
+ "type": "string",
2694
+ "enum": [
2695
+ "cross"
2696
+ ]
2697
+ },
2698
+ "width": {
2699
+ "type": "number",
2700
+ "minimum": 1,
2701
+ "maximum": 4096
2702
+ },
2703
+ "height": {
2704
+ "type": "number",
2705
+ "minimum": 1,
2706
+ "maximum": 4096
2707
+ },
2708
+ "thickness": {
2709
+ "type": "number",
2710
+ "minimum": 1,
2711
+ "maximum": 500
2712
+ }
2713
+ },
2714
+ "required": [
2715
+ "type",
2716
+ "width",
2717
+ "height",
2718
+ "thickness"
2719
+ ]
2720
+ },
2721
+ "SvgRingShape": {
2722
+ "type": "object",
2723
+ "additionalProperties": false,
2724
+ "properties": {
2725
+ "type": {
2726
+ "type": "string",
2727
+ "enum": [
2728
+ "ring"
2729
+ ]
2730
+ },
2731
+ "outerRadius": {
2732
+ "type": "number",
2733
+ "minimum": 1,
2734
+ "maximum": 2048
2735
+ },
2736
+ "innerRadius": {
2737
+ "type": "number",
2738
+ "minimum": 0,
2739
+ "maximum": 2048
2740
+ }
2741
+ },
2742
+ "required": [
2743
+ "type",
2744
+ "outerRadius",
2745
+ "innerRadius"
2746
+ ]
2747
+ },
2748
+ "SvgPathShape": {
2749
+ "type": "object",
2750
+ "additionalProperties": false,
2751
+ "properties": {
2752
+ "type": {
2753
+ "type": "string",
2754
+ "enum": [
2755
+ "path"
2756
+ ]
2757
+ },
2758
+ "d": {
2759
+ "type": "string"
2760
+ }
2761
+ },
2762
+ "required": [
2763
+ "type",
2764
+ "d"
2765
+ ]
2766
+ },
2767
+ "SvgFill": {
2768
+ "anyOf": [
2769
+ {
2770
+ "$ref": "#/$defs/SvgSolidFill"
2771
+ },
2772
+ {
2773
+ "$ref": "#/$defs/SvgLinearGradientFill"
2774
+ },
2775
+ {
2776
+ "$ref": "#/$defs/SvgRadialGradientFill"
2777
+ }
2778
+ ]
2779
+ },
2780
+ "SvgSolidFill": {
2781
+ "type": "object",
2782
+ "additionalProperties": false,
2783
+ "properties": {
2784
+ "type": {
2785
+ "type": "string",
2786
+ "enum": [
2787
+ "solid"
2788
+ ]
2789
+ },
2790
+ "color": {
2791
+ "type": "string"
2792
+ },
2793
+ "opacity": {
2794
+ "anyOf": [
2795
+ {
2796
+ "type": "number",
2797
+ "minimum": 0,
2798
+ "maximum": 1
2799
+ },
2800
+ {
2801
+ "type": "null"
2802
+ }
2803
+ ]
2804
+ }
2805
+ },
2806
+ "required": [
2807
+ "type",
2808
+ "color",
2809
+ "opacity"
2810
+ ]
2811
+ },
2812
+ "SvgLinearGradientFill": {
2813
+ "type": "object",
2814
+ "additionalProperties": false,
2815
+ "properties": {
2816
+ "type": {
2817
+ "type": "string",
2818
+ "enum": [
2819
+ "linear"
2820
+ ]
2821
+ },
2822
+ "angle": {
2823
+ "anyOf": [
2824
+ {
2825
+ "type": "number",
2826
+ "minimum": 0,
2827
+ "maximum": 360
2828
+ },
2829
+ {
2830
+ "type": "null"
2831
+ }
2832
+ ]
2833
+ },
2834
+ "stops": {
2835
+ "type": "array",
2836
+ "items": {
2837
+ "$ref": "#/$defs/SvgGradientStop"
2838
+ }
2839
+ },
2840
+ "opacity": {
2841
+ "anyOf": [
2842
+ {
2843
+ "type": "number",
2844
+ "minimum": 0,
2845
+ "maximum": 1
2846
+ },
2847
+ {
2848
+ "type": "null"
2849
+ }
2850
+ ]
2851
+ }
2852
+ },
2853
+ "required": [
2854
+ "type",
2855
+ "angle",
2856
+ "stops",
2857
+ "opacity"
2858
+ ]
2859
+ },
2860
+ "SvgGradientStop": {
2861
+ "type": "object",
2862
+ "additionalProperties": false,
2863
+ "properties": {
2864
+ "offset": {
2865
+ "type": "number",
2866
+ "minimum": 0,
2867
+ "maximum": 1
2868
+ },
2869
+ "color": {
2870
+ "type": "string"
2871
+ }
2872
+ },
2873
+ "required": [
2874
+ "offset",
2875
+ "color"
2876
+ ]
2877
+ },
2878
+ "SvgRadialGradientFill": {
2879
+ "type": "object",
2880
+ "additionalProperties": false,
2881
+ "properties": {
2882
+ "type": {
2883
+ "type": "string",
2884
+ "enum": [
2885
+ "radial"
2886
+ ]
2887
+ },
2888
+ "stops": {
2889
+ "type": "array",
2890
+ "items": {
2891
+ "$ref": "#/$defs/SvgGradientStop"
2892
+ }
2893
+ },
2894
+ "opacity": {
2895
+ "anyOf": [
2896
+ {
2897
+ "type": "number",
2898
+ "minimum": 0,
2899
+ "maximum": 1
2900
+ },
2901
+ {
2902
+ "type": "null"
2903
+ }
2904
+ ]
2905
+ }
2906
+ },
2907
+ "required": [
2908
+ "type",
2909
+ "stops",
2910
+ "opacity"
2911
+ ]
2912
+ },
2913
+ "SvgStroke": {
2914
+ "type": "object",
2915
+ "additionalProperties": false,
2916
+ "properties": {
2917
+ "color": {
2918
+ "anyOf": [
2919
+ {
2920
+ "type": "string"
2921
+ },
2922
+ {
2923
+ "type": "null"
2924
+ }
2925
+ ]
2926
+ },
2927
+ "width": {
2928
+ "anyOf": [
2929
+ {
2930
+ "type": "number",
2931
+ "minimum": 0,
2932
+ "maximum": 100
2933
+ },
2934
+ {
2935
+ "type": "null"
2936
+ }
2937
+ ]
2938
+ },
2939
+ "opacity": {
2940
+ "anyOf": [
2941
+ {
2942
+ "type": "number",
2943
+ "minimum": 0,
2944
+ "maximum": 1
2945
+ },
2946
+ {
2947
+ "type": "null"
2948
+ }
2949
+ ]
2950
+ },
2951
+ "lineCap": {
2952
+ "anyOf": [
2953
+ {
2954
+ "type": "string",
2955
+ "enum": [
2956
+ "butt",
2957
+ "round",
2958
+ "square"
2959
+ ]
2960
+ },
2961
+ {
2962
+ "type": "null"
2963
+ }
2964
+ ]
2965
+ },
2966
+ "lineJoin": {
2967
+ "anyOf": [
2968
+ {
2969
+ "type": "string",
2970
+ "enum": [
2971
+ "miter",
2972
+ "round",
2973
+ "bevel"
2974
+ ]
2975
+ },
2976
+ {
2977
+ "type": "null"
2978
+ }
2979
+ ]
2980
+ },
2981
+ "dashArray": {
2982
+ "anyOf": [
2983
+ {
2984
+ "type": "array",
2985
+ "items": {
2986
+ "type": "number",
2987
+ "minimum": 0
2988
+ }
2989
+ },
2990
+ {
2991
+ "type": "null"
2992
+ }
2993
+ ]
2994
+ },
2995
+ "dashOffset": {
2996
+ "anyOf": [
2997
+ {
2998
+ "type": "number"
2999
+ },
3000
+ {
3001
+ "type": "null"
3002
+ }
3003
+ ]
3004
+ }
3005
+ },
3006
+ "required": [
3007
+ "color",
3008
+ "width",
3009
+ "opacity",
3010
+ "lineCap",
3011
+ "lineJoin",
3012
+ "dashArray",
3013
+ "dashOffset"
3014
+ ]
3015
+ },
3016
+ "SvgShadow": {
3017
+ "type": "object",
3018
+ "additionalProperties": false,
3019
+ "properties": {
3020
+ "offsetX": {
3021
+ "anyOf": [
3022
+ {
3023
+ "type": "number"
3024
+ },
3025
+ {
3026
+ "type": "null"
3027
+ }
3028
+ ]
3029
+ },
3030
+ "offsetY": {
3031
+ "anyOf": [
3032
+ {
3033
+ "type": "number"
3034
+ },
3035
+ {
3036
+ "type": "null"
3037
+ }
3038
+ ]
3039
+ },
3040
+ "blur": {
3041
+ "anyOf": [
3042
+ {
3043
+ "type": "number",
3044
+ "minimum": 0
3045
+ },
3046
+ {
3047
+ "type": "null"
3048
+ }
3049
+ ]
3050
+ },
3051
+ "color": {
3052
+ "anyOf": [
3053
+ {
3054
+ "type": "string",
3055
+ "enum": [
3056
+ "#000000"
3057
+ ]
3058
+ },
3059
+ {
3060
+ "type": "null"
3061
+ }
3062
+ ]
3063
+ },
3064
+ "opacity": {
3065
+ "anyOf": [
3066
+ {
3067
+ "type": "number",
3068
+ "minimum": 0,
3069
+ "maximum": 1
3070
+ },
3071
+ {
3072
+ "type": "null"
3073
+ }
3074
+ ]
3075
+ }
3076
+ },
3077
+ "required": [
3078
+ "offsetX",
3079
+ "offsetY",
3080
+ "blur",
3081
+ "color",
3082
+ "opacity"
3083
+ ]
3084
+ },
3085
+ "SvgTransform": {
3086
+ "type": "object",
3087
+ "additionalProperties": false,
3088
+ "properties": {
3089
+ "x": {
3090
+ "anyOf": [
3091
+ {
3092
+ "type": "number"
3093
+ },
3094
+ {
3095
+ "type": "null"
3096
+ }
3097
+ ]
3098
+ },
3099
+ "y": {
3100
+ "anyOf": [
3101
+ {
3102
+ "type": "number"
3103
+ },
3104
+ {
3105
+ "type": "null"
3106
+ }
3107
+ ]
3108
+ },
3109
+ "rotation": {
3110
+ "anyOf": [
3111
+ {
3112
+ "type": "number",
3113
+ "minimum": -360,
3114
+ "maximum": 360
3115
+ },
3116
+ {
3117
+ "type": "null"
3118
+ }
3119
+ ]
3120
+ },
3121
+ "scale": {
3122
+ "anyOf": [
3123
+ {
3124
+ "type": "number",
3125
+ "minimum": 0.01,
3126
+ "maximum": 100
3127
+ },
3128
+ {
3129
+ "type": "null"
3130
+ }
3131
+ ]
3132
+ },
3133
+ "originX": {
3134
+ "anyOf": [
3135
+ {
3136
+ "type": "number",
3137
+ "minimum": 0,
3138
+ "maximum": 1
3139
+ },
3140
+ {
3141
+ "type": "null"
3142
+ }
3143
+ ]
3144
+ },
3145
+ "originY": {
3146
+ "anyOf": [
3147
+ {
3148
+ "type": "number",
3149
+ "minimum": 0,
3150
+ "maximum": 1
3151
+ },
3152
+ {
3153
+ "type": "null"
3154
+ }
3155
+ ]
3156
+ }
3157
+ },
3158
+ "required": [
3159
+ "x",
3160
+ "y",
3161
+ "rotation",
3162
+ "scale",
3163
+ "originX",
3164
+ "originY"
3165
+ ]
3166
+ },
3167
+ "TextToImageAsset": {
3168
+ "properties": {
3169
+ "type": {
3170
+ "type": "string",
3171
+ "enum": [
3172
+ "text-to-image"
3173
+ ]
3174
+ },
3175
+ "prompt": {
3176
+ "type": "string"
3177
+ },
3178
+ "width": {
3179
+ "anyOf": [
3180
+ {
3181
+ "type": "integer"
3182
+ },
3183
+ {
3184
+ "type": "null"
3185
+ }
3186
+ ]
3187
+ },
3188
+ "height": {
3189
+ "anyOf": [
3190
+ {
3191
+ "type": "integer"
3192
+ },
3193
+ {
3194
+ "type": "null"
3195
+ }
3196
+ ]
3197
+ },
3198
+ "crop": {
3199
+ "anyOf": [
3200
+ {
3201
+ "$ref": "#/$defs/Crop"
3202
+ },
3203
+ {
3204
+ "type": "null"
3205
+ }
3206
+ ]
3207
+ }
3208
+ },
3209
+ "additionalProperties": false,
3210
+ "type": "object",
3211
+ "required": [
3212
+ "type",
3213
+ "prompt",
3214
+ "width",
3215
+ "height",
3216
+ "crop"
3217
+ ]
3218
+ },
3219
+ "ImageToVideoAsset": {
3220
+ "properties": {
3221
+ "type": {
3222
+ "type": "string",
3223
+ "enum": [
3224
+ "image-to-video"
3225
+ ]
3226
+ },
3227
+ "src": {
3228
+ "type": "string"
3229
+ },
3230
+ "prompt": {
3231
+ "anyOf": [
3232
+ {
3233
+ "type": "string"
3234
+ },
3235
+ {
3236
+ "type": "null"
3237
+ }
3238
+ ]
3239
+ },
3240
+ "aspectRatio": {
3241
+ "anyOf": [
3242
+ {
3243
+ "type": "string",
3244
+ "enum": [
3245
+ "1:1",
3246
+ "4:3",
3247
+ "16:9",
3248
+ "9:16",
3249
+ "3:4",
3250
+ "21:9",
3251
+ "9:21"
3252
+ ]
3253
+ },
3254
+ {
3255
+ "type": "null"
3256
+ }
3257
+ ]
3258
+ },
3259
+ "speed": {
3260
+ "anyOf": [
3261
+ {
3262
+ "type": "number",
3263
+ "minimum": 0,
3264
+ "maximum": 10
3265
+ },
3266
+ {
3267
+ "type": "null"
3268
+ }
3269
+ ]
3270
+ },
3271
+ "crop": {
3272
+ "anyOf": [
3273
+ {
3274
+ "$ref": "#/$defs/Crop"
3275
+ },
3276
+ {
3277
+ "type": "null"
3278
+ }
3279
+ ]
3280
+ }
3281
+ },
3282
+ "additionalProperties": false,
3283
+ "type": "object",
3284
+ "required": [
3285
+ "type",
3286
+ "src",
3287
+ "prompt",
3288
+ "aspectRatio",
3289
+ "speed",
3290
+ "crop"
3291
+ ]
3292
+ },
3293
+ "TextToSpeechAsset": {
3294
+ "type": "object",
3295
+ "properties": {
3296
+ "type": {
3297
+ "type": "string",
3298
+ "enum": [
3299
+ "text-to-speech"
3300
+ ]
3301
+ },
3302
+ "text": {
3303
+ "type": "string"
3304
+ },
3305
+ "voice": {
3306
+ "type": "string"
3307
+ },
3308
+ "language": {
3309
+ "anyOf": [
3310
+ {
3311
+ "type": "string"
3312
+ },
3313
+ {
3314
+ "type": "null"
3315
+ }
3316
+ ]
3317
+ },
3318
+ "newscaster": {
3319
+ "anyOf": [
3320
+ {
3321
+ "type": "boolean"
3322
+ },
3323
+ {
3324
+ "type": "null"
3325
+ }
3326
+ ]
3327
+ },
3328
+ "trim": {
3329
+ "anyOf": [
3330
+ {
3331
+ "type": "number"
3332
+ },
3333
+ {
3334
+ "type": "null"
3335
+ }
3336
+ ]
3337
+ },
3338
+ "volume": {
3339
+ "anyOf": [
3340
+ {
3341
+ "type": "number",
3342
+ "minimum": 0,
3343
+ "maximum": 1
3344
+ },
3345
+ {
3346
+ "type": "array",
3347
+ "items": {
3348
+ "$ref": "#/$defs/Tween"
3349
+ }
3350
+ },
3351
+ {
3352
+ "type": "null"
3353
+ }
3354
+ ]
3355
+ },
3356
+ "speed": {
3357
+ "anyOf": [
3358
+ {
3359
+ "type": "number",
3360
+ "minimum": 0,
3361
+ "maximum": 10
3362
+ },
3363
+ {
3364
+ "type": "null"
3365
+ }
3366
+ ]
3367
+ },
3368
+ "effect": {
3369
+ "anyOf": [
3370
+ {
3371
+ "type": "string",
3372
+ "enum": [
3373
+ "none",
3374
+ "fadeIn",
3375
+ "fadeOut",
3376
+ "fadeInFadeOut"
3377
+ ]
3378
+ },
3379
+ {
3380
+ "type": "null"
3381
+ }
3382
+ ]
3383
+ }
3384
+ },
3385
+ "additionalProperties": false,
3386
+ "required": [
3387
+ "type",
3388
+ "text",
3389
+ "voice",
3390
+ "language",
3391
+ "newscaster",
3392
+ "trim",
3393
+ "volume",
3394
+ "speed",
3395
+ "effect"
3396
+ ]
3397
+ },
3398
+ "Offset": {
3399
+ "properties": {
3400
+ "x": {
3401
+ "anyOf": [
3402
+ {
3403
+ "type": "number",
3404
+ "minimum": -10,
3405
+ "maximum": 10
3406
+ },
3407
+ {
3408
+ "type": "array",
3409
+ "items": {
3410
+ "$ref": "#/$defs/Tween"
3411
+ }
3412
+ },
3413
+ {
3414
+ "type": "null"
3415
+ }
3416
+ ]
3417
+ },
3418
+ "y": {
3419
+ "anyOf": [
3420
+ {
3421
+ "type": "number",
3422
+ "minimum": -10,
3423
+ "maximum": 10
3424
+ },
3425
+ {
3426
+ "type": "array",
3427
+ "items": {
3428
+ "$ref": "#/$defs/Tween"
3429
+ }
3430
+ },
3431
+ {
3432
+ "type": "null"
3433
+ }
3434
+ ]
3435
+ }
3436
+ },
3437
+ "additionalProperties": false,
3438
+ "type": "object",
3439
+ "required": [
3440
+ "x",
3441
+ "y"
3442
+ ]
3443
+ },
3444
+ "Transition": {
3445
+ "properties": {
3446
+ "in": {
3447
+ "anyOf": [
3448
+ {
3449
+ "type": "string",
3450
+ "enum": [
3451
+ "none",
3452
+ "fade",
3453
+ "reveal",
3454
+ "wipeLeft",
3455
+ "wipeRight",
3456
+ "slideLeft",
3457
+ "slideRight",
3458
+ "slideUp",
3459
+ "slideDown",
3460
+ "carouselLeft",
3461
+ "carouselRight",
3462
+ "carouselUp",
3463
+ "carouselDown",
3464
+ "shuffleTopRight",
3465
+ "shuffleRightTop",
3466
+ "shuffleRightBottom",
3467
+ "shuffleBottomRight",
3468
+ "shuffleBottomLeft",
3469
+ "shuffleLeftBottom",
3470
+ "shuffleLeftTop",
3471
+ "shuffleTopLeft",
3472
+ "zoom"
3473
+ ]
3474
+ },
3475
+ {
3476
+ "type": "null"
3477
+ }
3478
+ ]
3479
+ },
3480
+ "out": {
3481
+ "anyOf": [
3482
+ {
3483
+ "type": "string",
3484
+ "enum": [
3485
+ "none",
3486
+ "fade",
3487
+ "reveal",
3488
+ "wipeLeft",
3489
+ "wipeRight",
3490
+ "slideLeft",
3491
+ "slideRight",
3492
+ "slideUp",
3493
+ "slideDown",
3494
+ "carouselLeft",
3495
+ "carouselRight",
3496
+ "carouselUp",
3497
+ "carouselDown",
3498
+ "shuffleTopRight",
3499
+ "shuffleRightTop",
3500
+ "shuffleRightBottom",
3501
+ "shuffleBottomRight",
3502
+ "shuffleBottomLeft",
3503
+ "shuffleLeftBottom",
3504
+ "shuffleLeftTop",
3505
+ "shuffleTopLeft",
3506
+ "zoom"
3507
+ ]
3508
+ },
3509
+ {
3510
+ "type": "null"
3511
+ }
3512
+ ]
3513
+ }
3514
+ },
3515
+ "additionalProperties": false,
3516
+ "type": "object",
3517
+ "required": [
3518
+ "in",
3519
+ "out"
3520
+ ]
3521
+ },
3522
+ "Transformation": {
3523
+ "type": "object",
3524
+ "additionalProperties": false,
3525
+ "properties": {
3526
+ "rotate": {
3527
+ "anyOf": [
3528
+ {
3529
+ "$ref": "#/$defs/RotateTransformation"
3530
+ },
3531
+ {
3532
+ "type": "null"
3533
+ }
3534
+ ]
3535
+ },
3536
+ "skew": {
3537
+ "anyOf": [
3538
+ {
3539
+ "$ref": "#/$defs/SkewTransformation"
3540
+ },
3541
+ {
3542
+ "type": "null"
3543
+ }
3544
+ ]
3545
+ },
3546
+ "flip": {
3547
+ "anyOf": [
3548
+ {
3549
+ "$ref": "#/$defs/FlipTransformation"
3550
+ },
3551
+ {
3552
+ "type": "null"
3553
+ }
3554
+ ]
3555
+ }
3556
+ },
3557
+ "required": [
3558
+ "rotate",
3559
+ "skew",
3560
+ "flip"
3561
+ ]
3562
+ },
3563
+ "RotateTransformation": {
3564
+ "type": "object",
3565
+ "additionalProperties": false,
3566
+ "properties": {
3567
+ "angle": {
3568
+ "anyOf": [
3569
+ {
3570
+ "type": "number",
3571
+ "minimum": -360,
3572
+ "maximum": 360
3573
+ },
3574
+ {
3575
+ "type": "array",
3576
+ "items": {
3577
+ "$ref": "#/$defs/Tween"
3578
+ }
3579
+ },
3580
+ {
3581
+ "type": "null"
3582
+ }
3583
+ ]
3584
+ }
3585
+ },
3586
+ "required": [
3587
+ "angle"
3588
+ ]
3589
+ },
3590
+ "SkewTransformation": {
3591
+ "type": "object",
3592
+ "additionalProperties": false,
3593
+ "properties": {
3594
+ "x": {
3595
+ "anyOf": [
3596
+ {
3597
+ "type": "number",
3598
+ "minimum": -100,
3599
+ "maximum": 100
3600
+ },
3601
+ {
3602
+ "type": "array",
3603
+ "items": {
3604
+ "$ref": "#/$defs/Tween"
3605
+ }
3606
+ },
3607
+ {
3608
+ "type": "null"
3609
+ }
3610
+ ]
3611
+ },
3612
+ "y": {
3613
+ "anyOf": [
3614
+ {
3615
+ "type": "number",
3616
+ "minimum": -100,
3617
+ "maximum": 100
3618
+ },
3619
+ {
3620
+ "type": "array",
3621
+ "items": {
3622
+ "$ref": "#/$defs/Tween"
3623
+ }
3624
+ },
3625
+ {
3626
+ "type": "null"
3627
+ }
3628
+ ]
3629
+ }
3630
+ },
3631
+ "required": [
3632
+ "x",
3633
+ "y"
3634
+ ]
3635
+ },
3636
+ "FlipTransformation": {
3637
+ "type": "object",
3638
+ "additionalProperties": false,
3639
+ "properties": {
3640
+ "horizontal": {
3641
+ "anyOf": [
3642
+ {
3643
+ "type": "boolean"
3644
+ },
3645
+ {
3646
+ "type": "null"
3647
+ }
3648
+ ]
3649
+ },
3650
+ "vertical": {
3651
+ "anyOf": [
3652
+ {
3653
+ "type": "boolean"
3654
+ },
3655
+ {
3656
+ "type": "null"
3657
+ }
3658
+ ]
3659
+ }
3660
+ },
3661
+ "required": [
3662
+ "horizontal",
3663
+ "vertical"
3664
+ ]
3665
+ }
3666
+ }
3667
+ }
3668
+ }