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