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