@shotstack/schemas 1.6.0 → 1.7.1

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