@shotstack/schemas 1.6.0 → 1.7.1

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