@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,1098 @@
1
+ {
2
+ "name": "RichCaptionAsset",
3
+ "strict": true,
4
+ "schema": {
5
+ "type": "object",
6
+ "properties": {
7
+ "type": {
8
+ "enum": [
9
+ "rich-caption"
10
+ ],
11
+ "type": "string"
12
+ },
13
+ "src": {
14
+ "anyOf": [
15
+ {
16
+ "type": "string"
17
+ },
18
+ {
19
+ "type": "null"
20
+ }
21
+ ]
22
+ },
23
+ "words": {
24
+ "anyOf": [
25
+ {
26
+ "type": "array",
27
+ "items": {
28
+ "$ref": "#/$defs/WordTiming"
29
+ }
30
+ },
31
+ {
32
+ "type": "null"
33
+ }
34
+ ]
35
+ },
36
+ "font": {
37
+ "anyOf": [
38
+ {
39
+ "$ref": "#/$defs/RichTextFont"
40
+ },
41
+ {
42
+ "type": "null"
43
+ }
44
+ ]
45
+ },
46
+ "style": {
47
+ "anyOf": [
48
+ {
49
+ "$ref": "#/$defs/RichTextStyle"
50
+ },
51
+ {
52
+ "type": "null"
53
+ }
54
+ ]
55
+ },
56
+ "stroke": {
57
+ "anyOf": [
58
+ {
59
+ "$ref": "#/$defs/RichTextStroke"
60
+ },
61
+ {
62
+ "type": "null"
63
+ }
64
+ ]
65
+ },
66
+ "shadow": {
67
+ "anyOf": [
68
+ {
69
+ "$ref": "#/$defs/RichTextShadow"
70
+ },
71
+ {
72
+ "type": "null"
73
+ }
74
+ ]
75
+ },
76
+ "background": {
77
+ "anyOf": [
78
+ {
79
+ "$ref": "#/$defs/RichTextBackground"
80
+ },
81
+ {
82
+ "type": "null"
83
+ }
84
+ ]
85
+ },
86
+ "padding": {
87
+ "anyOf": [
88
+ {
89
+ "type": "number",
90
+ "minimum": 0
91
+ },
92
+ {
93
+ "$ref": "#/$defs/RichTextAsset/properties/padding/anyOf/1"
94
+ },
95
+ {
96
+ "type": "null"
97
+ }
98
+ ]
99
+ },
100
+ "align": {
101
+ "anyOf": [
102
+ {
103
+ "$ref": "#/$defs/RichTextAlignment"
104
+ },
105
+ {
106
+ "type": "null"
107
+ }
108
+ ]
109
+ },
110
+ "active": {
111
+ "anyOf": [
112
+ {
113
+ "$ref": "#/$defs/RichCaptionActive"
114
+ },
115
+ {
116
+ "type": "null"
117
+ }
118
+ ]
119
+ },
120
+ "wordAnimation": {
121
+ "anyOf": [
122
+ {
123
+ "$ref": "#/$defs/RichCaptionWordAnimation"
124
+ },
125
+ {
126
+ "type": "null"
127
+ }
128
+ ]
129
+ },
130
+ "position": {
131
+ "anyOf": [
132
+ {
133
+ "type": "string",
134
+ "enum": [
135
+ "top",
136
+ "center",
137
+ "bottom"
138
+ ]
139
+ },
140
+ {
141
+ "type": "null"
142
+ }
143
+ ]
144
+ },
145
+ "maxWidth": {
146
+ "anyOf": [
147
+ {
148
+ "type": "number",
149
+ "minimum": 0.1,
150
+ "maximum": 1
151
+ },
152
+ {
153
+ "type": "null"
154
+ }
155
+ ]
156
+ },
157
+ "maxLines": {
158
+ "anyOf": [
159
+ {
160
+ "type": "integer",
161
+ "minimum": 1,
162
+ "maximum": 10
163
+ },
164
+ {
165
+ "type": "null"
166
+ }
167
+ ]
168
+ }
169
+ },
170
+ "additionalProperties": false,
171
+ "required": [
172
+ "type",
173
+ "src",
174
+ "words",
175
+ "font",
176
+ "style",
177
+ "stroke",
178
+ "shadow",
179
+ "background",
180
+ "padding",
181
+ "align",
182
+ "active",
183
+ "wordAnimation",
184
+ "position",
185
+ "maxWidth",
186
+ "maxLines"
187
+ ],
188
+ "$defs": {
189
+ "WordTiming": {
190
+ "type": "object",
191
+ "properties": {
192
+ "text": {
193
+ "type": "string"
194
+ },
195
+ "start": {
196
+ "type": "number",
197
+ "minimum": 0
198
+ },
199
+ "end": {
200
+ "type": "number",
201
+ "minimum": 0
202
+ },
203
+ "confidence": {
204
+ "anyOf": [
205
+ {
206
+ "type": "number",
207
+ "minimum": 0,
208
+ "maximum": 1
209
+ },
210
+ {
211
+ "type": "null"
212
+ }
213
+ ]
214
+ }
215
+ },
216
+ "additionalProperties": false,
217
+ "required": [
218
+ "text",
219
+ "start",
220
+ "end",
221
+ "confidence"
222
+ ]
223
+ },
224
+ "RichTextFont": {
225
+ "properties": {
226
+ "family": {
227
+ "anyOf": [
228
+ {
229
+ "type": "string",
230
+ "enum": [
231
+ "Open Sans"
232
+ ]
233
+ },
234
+ {
235
+ "type": "null"
236
+ }
237
+ ]
238
+ },
239
+ "size": {
240
+ "anyOf": [
241
+ {
242
+ "type": "integer",
243
+ "minimum": 1,
244
+ "maximum": 500
245
+ },
246
+ {
247
+ "type": "null"
248
+ }
249
+ ]
250
+ },
251
+ "weight": {
252
+ "anyOf": [
253
+ {
254
+ "type": "string"
255
+ },
256
+ {
257
+ "type": "null"
258
+ }
259
+ ]
260
+ },
261
+ "color": {
262
+ "anyOf": [
263
+ {
264
+ "type": "string"
265
+ },
266
+ {
267
+ "type": "null"
268
+ }
269
+ ]
270
+ },
271
+ "opacity": {
272
+ "anyOf": [
273
+ {
274
+ "type": "number",
275
+ "minimum": 0,
276
+ "maximum": 1
277
+ },
278
+ {
279
+ "type": "null"
280
+ }
281
+ ]
282
+ },
283
+ "background": {
284
+ "anyOf": [
285
+ {
286
+ "type": "string"
287
+ },
288
+ {
289
+ "type": "null"
290
+ }
291
+ ]
292
+ },
293
+ "stroke": {
294
+ "anyOf": [
295
+ {
296
+ "$ref": "#/$defs/RichTextStroke"
297
+ },
298
+ {
299
+ "type": "null"
300
+ }
301
+ ]
302
+ }
303
+ },
304
+ "additionalProperties": false,
305
+ "type": "object",
306
+ "required": [
307
+ "family",
308
+ "size",
309
+ "weight",
310
+ "color",
311
+ "opacity",
312
+ "background",
313
+ "stroke"
314
+ ]
315
+ },
316
+ "RichTextStroke": {
317
+ "properties": {
318
+ "width": {
319
+ "anyOf": [
320
+ {
321
+ "type": "number",
322
+ "minimum": 0
323
+ },
324
+ {
325
+ "type": "null"
326
+ }
327
+ ]
328
+ },
329
+ "color": {
330
+ "anyOf": [
331
+ {
332
+ "type": "string",
333
+ "enum": [
334
+ "#000000"
335
+ ]
336
+ },
337
+ {
338
+ "type": "null"
339
+ }
340
+ ]
341
+ },
342
+ "opacity": {
343
+ "anyOf": [
344
+ {
345
+ "type": "number",
346
+ "minimum": 0,
347
+ "maximum": 1
348
+ },
349
+ {
350
+ "type": "null"
351
+ }
352
+ ]
353
+ }
354
+ },
355
+ "additionalProperties": false,
356
+ "type": "object",
357
+ "required": [
358
+ "width",
359
+ "color",
360
+ "opacity"
361
+ ]
362
+ },
363
+ "RichTextStyle": {
364
+ "properties": {
365
+ "letterSpacing": {
366
+ "anyOf": [
367
+ {
368
+ "type": "number"
369
+ },
370
+ {
371
+ "type": "null"
372
+ }
373
+ ]
374
+ },
375
+ "wordSpacing": {
376
+ "anyOf": [
377
+ {
378
+ "type": "number",
379
+ "minimum": 0
380
+ },
381
+ {
382
+ "type": "null"
383
+ }
384
+ ]
385
+ },
386
+ "lineHeight": {
387
+ "anyOf": [
388
+ {
389
+ "type": "number",
390
+ "minimum": 0,
391
+ "maximum": 10
392
+ },
393
+ {
394
+ "type": "null"
395
+ }
396
+ ]
397
+ },
398
+ "textTransform": {
399
+ "anyOf": [
400
+ {
401
+ "type": "string",
402
+ "enum": [
403
+ "none",
404
+ "uppercase",
405
+ "lowercase",
406
+ "capitalize"
407
+ ]
408
+ },
409
+ {
410
+ "type": "null"
411
+ }
412
+ ]
413
+ },
414
+ "textDecoration": {
415
+ "anyOf": [
416
+ {
417
+ "type": "string",
418
+ "enum": [
419
+ "none",
420
+ "underline",
421
+ "line-through"
422
+ ]
423
+ },
424
+ {
425
+ "type": "null"
426
+ }
427
+ ]
428
+ },
429
+ "gradient": {
430
+ "anyOf": [
431
+ {
432
+ "$ref": "#/$defs/RichTextGradient"
433
+ },
434
+ {
435
+ "type": "null"
436
+ }
437
+ ]
438
+ }
439
+ },
440
+ "additionalProperties": false,
441
+ "type": "object",
442
+ "required": [
443
+ "letterSpacing",
444
+ "wordSpacing",
445
+ "lineHeight",
446
+ "textTransform",
447
+ "textDecoration",
448
+ "gradient"
449
+ ]
450
+ },
451
+ "RichTextGradient": {
452
+ "properties": {
453
+ "type": {
454
+ "anyOf": [
455
+ {
456
+ "type": "string",
457
+ "enum": [
458
+ "linear",
459
+ "radial"
460
+ ]
461
+ },
462
+ {
463
+ "type": "null"
464
+ }
465
+ ]
466
+ },
467
+ "angle": {
468
+ "anyOf": [
469
+ {
470
+ "type": "number",
471
+ "minimum": 0,
472
+ "maximum": 360
473
+ },
474
+ {
475
+ "type": "null"
476
+ }
477
+ ]
478
+ },
479
+ "stops": {
480
+ "type": "array",
481
+ "items": {
482
+ "type": "object",
483
+ "properties": {
484
+ "offset": {
485
+ "type": "number",
486
+ "minimum": 0,
487
+ "maximum": 1
488
+ },
489
+ "color": {
490
+ "type": "string"
491
+ }
492
+ },
493
+ "required": [
494
+ "offset",
495
+ "color"
496
+ ],
497
+ "additionalProperties": false
498
+ }
499
+ }
500
+ },
501
+ "required": [
502
+ "type",
503
+ "angle",
504
+ "stops"
505
+ ],
506
+ "additionalProperties": false,
507
+ "type": "object"
508
+ },
509
+ "RichTextShadow": {
510
+ "properties": {
511
+ "offsetX": {
512
+ "anyOf": [
513
+ {
514
+ "type": "number"
515
+ },
516
+ {
517
+ "type": "null"
518
+ }
519
+ ]
520
+ },
521
+ "offsetY": {
522
+ "anyOf": [
523
+ {
524
+ "type": "number"
525
+ },
526
+ {
527
+ "type": "null"
528
+ }
529
+ ]
530
+ },
531
+ "blur": {
532
+ "anyOf": [
533
+ {
534
+ "type": "number",
535
+ "minimum": 0
536
+ },
537
+ {
538
+ "type": "null"
539
+ }
540
+ ]
541
+ },
542
+ "color": {
543
+ "anyOf": [
544
+ {
545
+ "type": "string",
546
+ "enum": [
547
+ "#000000"
548
+ ]
549
+ },
550
+ {
551
+ "type": "null"
552
+ }
553
+ ]
554
+ },
555
+ "opacity": {
556
+ "anyOf": [
557
+ {
558
+ "type": "number",
559
+ "minimum": 0,
560
+ "maximum": 1
561
+ },
562
+ {
563
+ "type": "null"
564
+ }
565
+ ]
566
+ }
567
+ },
568
+ "additionalProperties": false,
569
+ "type": "object",
570
+ "required": [
571
+ "offsetX",
572
+ "offsetY",
573
+ "blur",
574
+ "color",
575
+ "opacity"
576
+ ]
577
+ },
578
+ "RichTextBackground": {
579
+ "properties": {
580
+ "color": {
581
+ "anyOf": [
582
+ {
583
+ "type": "string"
584
+ },
585
+ {
586
+ "type": "null"
587
+ }
588
+ ]
589
+ },
590
+ "opacity": {
591
+ "anyOf": [
592
+ {
593
+ "type": "number",
594
+ "minimum": 0,
595
+ "maximum": 1
596
+ },
597
+ {
598
+ "type": "null"
599
+ }
600
+ ]
601
+ },
602
+ "borderRadius": {
603
+ "anyOf": [
604
+ {
605
+ "type": "number",
606
+ "minimum": 0
607
+ },
608
+ {
609
+ "type": "null"
610
+ }
611
+ ]
612
+ }
613
+ },
614
+ "additionalProperties": false,
615
+ "type": "object",
616
+ "required": [
617
+ "color",
618
+ "opacity",
619
+ "borderRadius"
620
+ ]
621
+ },
622
+ "RichTextAsset": {
623
+ "type": "object",
624
+ "properties": {
625
+ "type": {
626
+ "enum": [
627
+ "rich-text"
628
+ ],
629
+ "type": "string"
630
+ },
631
+ "text": {
632
+ "type": "string"
633
+ },
634
+ "font": {
635
+ "anyOf": [
636
+ {
637
+ "$ref": "#/$defs/RichTextFont"
638
+ },
639
+ {
640
+ "type": "null"
641
+ }
642
+ ]
643
+ },
644
+ "style": {
645
+ "anyOf": [
646
+ {
647
+ "$ref": "#/$defs/RichTextStyle"
648
+ },
649
+ {
650
+ "type": "null"
651
+ }
652
+ ]
653
+ },
654
+ "stroke": {
655
+ "anyOf": [
656
+ {
657
+ "$ref": "#/$defs/RichTextStroke"
658
+ },
659
+ {
660
+ "type": "null"
661
+ }
662
+ ]
663
+ },
664
+ "shadow": {
665
+ "anyOf": [
666
+ {
667
+ "$ref": "#/$defs/RichTextShadow"
668
+ },
669
+ {
670
+ "type": "null"
671
+ }
672
+ ]
673
+ },
674
+ "background": {
675
+ "anyOf": [
676
+ {
677
+ "$ref": "#/$defs/RichTextBackground"
678
+ },
679
+ {
680
+ "type": "null"
681
+ }
682
+ ]
683
+ },
684
+ "border": {
685
+ "anyOf": [
686
+ {
687
+ "type": "object",
688
+ "properties": {
689
+ "width": {
690
+ "anyOf": [
691
+ {
692
+ "type": "number",
693
+ "minimum": 0
694
+ },
695
+ {
696
+ "type": "null"
697
+ }
698
+ ]
699
+ },
700
+ "color": {
701
+ "anyOf": [
702
+ {
703
+ "type": "string"
704
+ },
705
+ {
706
+ "type": "null"
707
+ }
708
+ ]
709
+ },
710
+ "opacity": {
711
+ "anyOf": [
712
+ {
713
+ "type": "number",
714
+ "minimum": 0,
715
+ "maximum": 1
716
+ },
717
+ {
718
+ "type": "null"
719
+ }
720
+ ]
721
+ },
722
+ "radius": {
723
+ "anyOf": [
724
+ {
725
+ "type": "number",
726
+ "minimum": 0
727
+ },
728
+ {
729
+ "type": "null"
730
+ }
731
+ ]
732
+ }
733
+ },
734
+ "additionalProperties": false,
735
+ "required": [
736
+ "width",
737
+ "color",
738
+ "opacity",
739
+ "radius"
740
+ ]
741
+ },
742
+ {
743
+ "type": "null"
744
+ }
745
+ ]
746
+ },
747
+ "padding": {
748
+ "anyOf": [
749
+ {
750
+ "type": "number",
751
+ "minimum": 0
752
+ },
753
+ {
754
+ "properties": {
755
+ "top": {
756
+ "anyOf": [
757
+ {
758
+ "type": "number",
759
+ "minimum": 0
760
+ },
761
+ {
762
+ "type": "null"
763
+ }
764
+ ]
765
+ },
766
+ "right": {
767
+ "anyOf": [
768
+ {
769
+ "type": "number",
770
+ "minimum": 0
771
+ },
772
+ {
773
+ "type": "null"
774
+ }
775
+ ]
776
+ },
777
+ "bottom": {
778
+ "anyOf": [
779
+ {
780
+ "type": "number",
781
+ "minimum": 0
782
+ },
783
+ {
784
+ "type": "null"
785
+ }
786
+ ]
787
+ },
788
+ "left": {
789
+ "anyOf": [
790
+ {
791
+ "type": "number",
792
+ "minimum": 0
793
+ },
794
+ {
795
+ "type": "null"
796
+ }
797
+ ]
798
+ }
799
+ },
800
+ "additionalProperties": false,
801
+ "type": "object",
802
+ "required": [
803
+ "top",
804
+ "right",
805
+ "bottom",
806
+ "left"
807
+ ]
808
+ },
809
+ {
810
+ "type": "null"
811
+ }
812
+ ]
813
+ },
814
+ "align": {
815
+ "anyOf": [
816
+ {
817
+ "$ref": "#/$defs/RichTextAlignment"
818
+ },
819
+ {
820
+ "type": "null"
821
+ }
822
+ ]
823
+ },
824
+ "animation": {
825
+ "anyOf": [
826
+ {
827
+ "$ref": "#/$defs/RichTextAnimation"
828
+ },
829
+ {
830
+ "type": "null"
831
+ }
832
+ ]
833
+ }
834
+ },
835
+ "additionalProperties": false,
836
+ "required": [
837
+ "type",
838
+ "text",
839
+ "font",
840
+ "style",
841
+ "stroke",
842
+ "shadow",
843
+ "background",
844
+ "border",
845
+ "padding",
846
+ "align",
847
+ "animation"
848
+ ]
849
+ },
850
+ "RichTextAlignment": {
851
+ "properties": {
852
+ "horizontal": {
853
+ "anyOf": [
854
+ {
855
+ "type": "string",
856
+ "enum": [
857
+ "left",
858
+ "center",
859
+ "right"
860
+ ]
861
+ },
862
+ {
863
+ "type": "null"
864
+ }
865
+ ]
866
+ },
867
+ "vertical": {
868
+ "anyOf": [
869
+ {
870
+ "type": "string",
871
+ "enum": [
872
+ "top",
873
+ "middle",
874
+ "bottom"
875
+ ]
876
+ },
877
+ {
878
+ "type": "null"
879
+ }
880
+ ]
881
+ }
882
+ },
883
+ "additionalProperties": false,
884
+ "type": "object",
885
+ "required": [
886
+ "horizontal",
887
+ "vertical"
888
+ ]
889
+ },
890
+ "RichTextAnimation": {
891
+ "properties": {
892
+ "preset": {
893
+ "type": "string",
894
+ "enum": [
895
+ "fadeIn",
896
+ "slideIn",
897
+ "typewriter",
898
+ "ascend",
899
+ "shift",
900
+ "movingLetters"
901
+ ]
902
+ },
903
+ "duration": {
904
+ "anyOf": [
905
+ {
906
+ "type": "number",
907
+ "minimum": 0.1,
908
+ "maximum": 30
909
+ },
910
+ {
911
+ "type": "null"
912
+ }
913
+ ]
914
+ },
915
+ "style": {
916
+ "anyOf": [
917
+ {
918
+ "type": "string",
919
+ "enum": [
920
+ "character",
921
+ "word"
922
+ ]
923
+ },
924
+ {
925
+ "type": "null"
926
+ }
927
+ ]
928
+ },
929
+ "direction": {
930
+ "anyOf": [
931
+ {
932
+ "type": "string",
933
+ "enum": [
934
+ "left",
935
+ "right",
936
+ "up",
937
+ "down"
938
+ ]
939
+ },
940
+ {
941
+ "type": "null"
942
+ }
943
+ ]
944
+ }
945
+ },
946
+ "required": [
947
+ "preset",
948
+ "duration",
949
+ "style",
950
+ "direction"
951
+ ],
952
+ "additionalProperties": false,
953
+ "type": "object"
954
+ },
955
+ "RichCaptionActive": {
956
+ "type": "object",
957
+ "properties": {
958
+ "font": {
959
+ "anyOf": [
960
+ {
961
+ "$ref": "#/$defs/RichCaptionActiveFont"
962
+ },
963
+ {
964
+ "type": "null"
965
+ }
966
+ ]
967
+ },
968
+ "stroke": {
969
+ "anyOf": [
970
+ {
971
+ "$ref": "#/$defs/RichTextStroke"
972
+ },
973
+ {
974
+ "type": "null"
975
+ }
976
+ ]
977
+ },
978
+ "scale": {
979
+ "anyOf": [
980
+ {
981
+ "type": "number",
982
+ "minimum": 0.5,
983
+ "maximum": 2
984
+ },
985
+ {
986
+ "type": "null"
987
+ }
988
+ ]
989
+ }
990
+ },
991
+ "additionalProperties": false,
992
+ "required": [
993
+ "font",
994
+ "stroke",
995
+ "scale"
996
+ ]
997
+ },
998
+ "RichCaptionActiveFont": {
999
+ "type": "object",
1000
+ "properties": {
1001
+ "color": {
1002
+ "anyOf": [
1003
+ {
1004
+ "type": "string",
1005
+ "enum": [
1006
+ "#ffff00"
1007
+ ]
1008
+ },
1009
+ {
1010
+ "type": "null"
1011
+ }
1012
+ ]
1013
+ },
1014
+ "background": {
1015
+ "anyOf": [
1016
+ {
1017
+ "type": "string"
1018
+ },
1019
+ {
1020
+ "type": "null"
1021
+ }
1022
+ ]
1023
+ },
1024
+ "opacity": {
1025
+ "anyOf": [
1026
+ {
1027
+ "type": "number",
1028
+ "minimum": 0,
1029
+ "maximum": 1
1030
+ },
1031
+ {
1032
+ "type": "null"
1033
+ }
1034
+ ]
1035
+ }
1036
+ },
1037
+ "additionalProperties": false,
1038
+ "required": [
1039
+ "color",
1040
+ "background",
1041
+ "opacity"
1042
+ ]
1043
+ },
1044
+ "RichCaptionWordAnimation": {
1045
+ "type": "object",
1046
+ "properties": {
1047
+ "style": {
1048
+ "type": "string",
1049
+ "enum": [
1050
+ "karaoke",
1051
+ "highlight",
1052
+ "pop",
1053
+ "fade",
1054
+ "slide",
1055
+ "bounce",
1056
+ "typewriter",
1057
+ "none"
1058
+ ]
1059
+ },
1060
+ "speed": {
1061
+ "anyOf": [
1062
+ {
1063
+ "type": "number",
1064
+ "minimum": 0.5,
1065
+ "maximum": 2
1066
+ },
1067
+ {
1068
+ "type": "null"
1069
+ }
1070
+ ]
1071
+ },
1072
+ "direction": {
1073
+ "anyOf": [
1074
+ {
1075
+ "type": "string",
1076
+ "enum": [
1077
+ "left",
1078
+ "right",
1079
+ "up",
1080
+ "down"
1081
+ ]
1082
+ },
1083
+ {
1084
+ "type": "null"
1085
+ }
1086
+ ]
1087
+ }
1088
+ },
1089
+ "additionalProperties": false,
1090
+ "required": [
1091
+ "style",
1092
+ "speed",
1093
+ "direction"
1094
+ ]
1095
+ }
1096
+ }
1097
+ }
1098
+ }