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