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