@shotstack/schemas 1.14.1 → 1.15.1

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