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