@shotstack/schemas 1.6.0 → 1.7.0

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