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