@shotstack/schemas 1.14.0 → 1.15.0

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