@shotstack/schemas 1.6.0 → 1.7.0

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