@shotstack/schemas 1.9.7 → 1.9.9
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.
- package/dist/api.bundled.json +164 -922
- package/dist/json-schema/asset.json +23 -14
- package/dist/json-schema/clip.json +23 -14
- package/dist/json-schema/destinations.json +28 -12
- package/dist/json-schema/edit.json +51 -26
- package/dist/json-schema/output.json +28 -12
- package/dist/json-schema/rich-caption-active-font.json +25 -1
- package/dist/json-schema/rich-caption-active.json +26 -16
- package/dist/json-schema/rich-caption-asset.json +23 -14
- package/dist/json-schema/schemas.json +59 -33
- package/dist/json-schema/timeline.json +23 -14
- package/dist/json-schema/track.json +23 -14
- package/dist/schema.d.ts +12 -521
- package/dist/zod/zod.gen.cjs +22 -525
- package/dist/zod/zod.gen.d.ts +262 -773
- package/dist/zod/zod.gen.js +19 -521
- package/dist/zod/zod.gen.ts +19 -303
- package/package.json +1 -1
|
@@ -1828,31 +1828,38 @@
|
|
|
1828
1828
|
"type": "null"
|
|
1829
1829
|
}
|
|
1830
1830
|
]
|
|
1831
|
-
},
|
|
1832
|
-
"scale": {
|
|
1833
|
-
"anyOf": [
|
|
1834
|
-
{
|
|
1835
|
-
"type": "number",
|
|
1836
|
-
"minimum": 0.5,
|
|
1837
|
-
"maximum": 2
|
|
1838
|
-
},
|
|
1839
|
-
{
|
|
1840
|
-
"type": "null"
|
|
1841
|
-
}
|
|
1842
|
-
]
|
|
1843
1831
|
}
|
|
1844
1832
|
},
|
|
1845
1833
|
"additionalProperties": false,
|
|
1846
1834
|
"required": [
|
|
1847
1835
|
"font",
|
|
1848
1836
|
"stroke",
|
|
1849
|
-
"shadow"
|
|
1850
|
-
"scale"
|
|
1837
|
+
"shadow"
|
|
1851
1838
|
]
|
|
1852
1839
|
},
|
|
1853
1840
|
"RichCaptionActiveFont": {
|
|
1854
1841
|
"type": "object",
|
|
1855
1842
|
"properties": {
|
|
1843
|
+
"family": {
|
|
1844
|
+
"anyOf": [
|
|
1845
|
+
{
|
|
1846
|
+
"type": "string"
|
|
1847
|
+
},
|
|
1848
|
+
{
|
|
1849
|
+
"type": "null"
|
|
1850
|
+
}
|
|
1851
|
+
]
|
|
1852
|
+
},
|
|
1853
|
+
"weight": {
|
|
1854
|
+
"anyOf": [
|
|
1855
|
+
{
|
|
1856
|
+
"type": "string"
|
|
1857
|
+
},
|
|
1858
|
+
{
|
|
1859
|
+
"type": "null"
|
|
1860
|
+
}
|
|
1861
|
+
]
|
|
1862
|
+
},
|
|
1856
1863
|
"color": {
|
|
1857
1864
|
"anyOf": [
|
|
1858
1865
|
{
|
|
@@ -1915,6 +1922,8 @@
|
|
|
1915
1922
|
},
|
|
1916
1923
|
"additionalProperties": false,
|
|
1917
1924
|
"required": [
|
|
1925
|
+
"family",
|
|
1926
|
+
"weight",
|
|
1918
1927
|
"color",
|
|
1919
1928
|
"background",
|
|
1920
1929
|
"opacity",
|
|
@@ -2060,31 +2060,38 @@
|
|
|
2060
2060
|
"type": "null"
|
|
2061
2061
|
}
|
|
2062
2062
|
]
|
|
2063
|
-
},
|
|
2064
|
-
"scale": {
|
|
2065
|
-
"anyOf": [
|
|
2066
|
-
{
|
|
2067
|
-
"type": "number",
|
|
2068
|
-
"minimum": 0.5,
|
|
2069
|
-
"maximum": 2
|
|
2070
|
-
},
|
|
2071
|
-
{
|
|
2072
|
-
"type": "null"
|
|
2073
|
-
}
|
|
2074
|
-
]
|
|
2075
2063
|
}
|
|
2076
2064
|
},
|
|
2077
2065
|
"additionalProperties": false,
|
|
2078
2066
|
"required": [
|
|
2079
2067
|
"font",
|
|
2080
2068
|
"stroke",
|
|
2081
|
-
"shadow"
|
|
2082
|
-
"scale"
|
|
2069
|
+
"shadow"
|
|
2083
2070
|
]
|
|
2084
2071
|
},
|
|
2085
2072
|
"RichCaptionActiveFont": {
|
|
2086
2073
|
"type": "object",
|
|
2087
2074
|
"properties": {
|
|
2075
|
+
"family": {
|
|
2076
|
+
"anyOf": [
|
|
2077
|
+
{
|
|
2078
|
+
"type": "string"
|
|
2079
|
+
},
|
|
2080
|
+
{
|
|
2081
|
+
"type": "null"
|
|
2082
|
+
}
|
|
2083
|
+
]
|
|
2084
|
+
},
|
|
2085
|
+
"weight": {
|
|
2086
|
+
"anyOf": [
|
|
2087
|
+
{
|
|
2088
|
+
"type": "string"
|
|
2089
|
+
},
|
|
2090
|
+
{
|
|
2091
|
+
"type": "null"
|
|
2092
|
+
}
|
|
2093
|
+
]
|
|
2094
|
+
},
|
|
2088
2095
|
"color": {
|
|
2089
2096
|
"anyOf": [
|
|
2090
2097
|
{
|
|
@@ -2147,6 +2154,8 @@
|
|
|
2147
2154
|
},
|
|
2148
2155
|
"additionalProperties": false,
|
|
2149
2156
|
"required": [
|
|
2157
|
+
"family",
|
|
2158
|
+
"weight",
|
|
2150
2159
|
"color",
|
|
2151
2160
|
"background",
|
|
2152
2161
|
"opacity",
|
|
@@ -129,15 +129,23 @@
|
|
|
129
129
|
"type": "string"
|
|
130
130
|
},
|
|
131
131
|
"path": {
|
|
132
|
-
"
|
|
133
|
-
|
|
134
|
-
|
|
132
|
+
"anyOf": [
|
|
133
|
+
{
|
|
134
|
+
"type": "string"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"type": "null"
|
|
138
|
+
}
|
|
135
139
|
]
|
|
136
140
|
},
|
|
137
141
|
"filename": {
|
|
138
|
-
"
|
|
139
|
-
|
|
140
|
-
|
|
142
|
+
"anyOf": [
|
|
143
|
+
{
|
|
144
|
+
"type": "string"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"type": "null"
|
|
148
|
+
}
|
|
141
149
|
]
|
|
142
150
|
}
|
|
143
151
|
},
|
|
@@ -182,15 +190,23 @@
|
|
|
182
190
|
"type": "string"
|
|
183
191
|
},
|
|
184
192
|
"prefix": {
|
|
185
|
-
"
|
|
186
|
-
|
|
187
|
-
|
|
193
|
+
"anyOf": [
|
|
194
|
+
{
|
|
195
|
+
"type": "string"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"type": "null"
|
|
199
|
+
}
|
|
188
200
|
]
|
|
189
201
|
},
|
|
190
202
|
"filename": {
|
|
191
|
-
"
|
|
192
|
-
|
|
193
|
-
|
|
203
|
+
"anyOf": [
|
|
204
|
+
{
|
|
205
|
+
"type": "string"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"type": "null"
|
|
209
|
+
}
|
|
194
210
|
]
|
|
195
211
|
}
|
|
196
212
|
},
|
|
@@ -2244,31 +2244,38 @@
|
|
|
2244
2244
|
"type": "null"
|
|
2245
2245
|
}
|
|
2246
2246
|
]
|
|
2247
|
-
},
|
|
2248
|
-
"scale": {
|
|
2249
|
-
"anyOf": [
|
|
2250
|
-
{
|
|
2251
|
-
"type": "number",
|
|
2252
|
-
"minimum": 0.5,
|
|
2253
|
-
"maximum": 2
|
|
2254
|
-
},
|
|
2255
|
-
{
|
|
2256
|
-
"type": "null"
|
|
2257
|
-
}
|
|
2258
|
-
]
|
|
2259
2247
|
}
|
|
2260
2248
|
},
|
|
2261
2249
|
"additionalProperties": false,
|
|
2262
2250
|
"required": [
|
|
2263
2251
|
"font",
|
|
2264
2252
|
"stroke",
|
|
2265
|
-
"shadow"
|
|
2266
|
-
"scale"
|
|
2253
|
+
"shadow"
|
|
2267
2254
|
]
|
|
2268
2255
|
},
|
|
2269
2256
|
"RichCaptionActiveFont": {
|
|
2270
2257
|
"type": "object",
|
|
2271
2258
|
"properties": {
|
|
2259
|
+
"family": {
|
|
2260
|
+
"anyOf": [
|
|
2261
|
+
{
|
|
2262
|
+
"type": "string"
|
|
2263
|
+
},
|
|
2264
|
+
{
|
|
2265
|
+
"type": "null"
|
|
2266
|
+
}
|
|
2267
|
+
]
|
|
2268
|
+
},
|
|
2269
|
+
"weight": {
|
|
2270
|
+
"anyOf": [
|
|
2271
|
+
{
|
|
2272
|
+
"type": "string"
|
|
2273
|
+
},
|
|
2274
|
+
{
|
|
2275
|
+
"type": "null"
|
|
2276
|
+
}
|
|
2277
|
+
]
|
|
2278
|
+
},
|
|
2272
2279
|
"color": {
|
|
2273
2280
|
"anyOf": [
|
|
2274
2281
|
{
|
|
@@ -2331,6 +2338,8 @@
|
|
|
2331
2338
|
},
|
|
2332
2339
|
"additionalProperties": false,
|
|
2333
2340
|
"required": [
|
|
2341
|
+
"family",
|
|
2342
|
+
"weight",
|
|
2334
2343
|
"color",
|
|
2335
2344
|
"background",
|
|
2336
2345
|
"opacity",
|
|
@@ -3518,15 +3527,23 @@
|
|
|
3518
3527
|
"type": "string"
|
|
3519
3528
|
},
|
|
3520
3529
|
"path": {
|
|
3521
|
-
"
|
|
3522
|
-
|
|
3523
|
-
|
|
3530
|
+
"anyOf": [
|
|
3531
|
+
{
|
|
3532
|
+
"type": "string"
|
|
3533
|
+
},
|
|
3534
|
+
{
|
|
3535
|
+
"type": "null"
|
|
3536
|
+
}
|
|
3524
3537
|
]
|
|
3525
3538
|
},
|
|
3526
3539
|
"filename": {
|
|
3527
|
-
"
|
|
3528
|
-
|
|
3529
|
-
|
|
3540
|
+
"anyOf": [
|
|
3541
|
+
{
|
|
3542
|
+
"type": "string"
|
|
3543
|
+
},
|
|
3544
|
+
{
|
|
3545
|
+
"type": "null"
|
|
3546
|
+
}
|
|
3530
3547
|
]
|
|
3531
3548
|
}
|
|
3532
3549
|
},
|
|
@@ -3571,15 +3588,23 @@
|
|
|
3571
3588
|
"type": "string"
|
|
3572
3589
|
},
|
|
3573
3590
|
"prefix": {
|
|
3574
|
-
"
|
|
3575
|
-
|
|
3576
|
-
|
|
3591
|
+
"anyOf": [
|
|
3592
|
+
{
|
|
3593
|
+
"type": "string"
|
|
3594
|
+
},
|
|
3595
|
+
{
|
|
3596
|
+
"type": "null"
|
|
3597
|
+
}
|
|
3577
3598
|
]
|
|
3578
3599
|
},
|
|
3579
3600
|
"filename": {
|
|
3580
|
-
"
|
|
3581
|
-
|
|
3582
|
-
|
|
3601
|
+
"anyOf": [
|
|
3602
|
+
{
|
|
3603
|
+
"type": "string"
|
|
3604
|
+
},
|
|
3605
|
+
{
|
|
3606
|
+
"type": "null"
|
|
3607
|
+
}
|
|
3583
3608
|
]
|
|
3584
3609
|
}
|
|
3585
3610
|
},
|
|
@@ -423,15 +423,23 @@
|
|
|
423
423
|
"type": "string"
|
|
424
424
|
},
|
|
425
425
|
"path": {
|
|
426
|
-
"
|
|
427
|
-
|
|
428
|
-
|
|
426
|
+
"anyOf": [
|
|
427
|
+
{
|
|
428
|
+
"type": "string"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"type": "null"
|
|
432
|
+
}
|
|
429
433
|
]
|
|
430
434
|
},
|
|
431
435
|
"filename": {
|
|
432
|
-
"
|
|
433
|
-
|
|
434
|
-
|
|
436
|
+
"anyOf": [
|
|
437
|
+
{
|
|
438
|
+
"type": "string"
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"type": "null"
|
|
442
|
+
}
|
|
435
443
|
]
|
|
436
444
|
}
|
|
437
445
|
},
|
|
@@ -476,15 +484,23 @@
|
|
|
476
484
|
"type": "string"
|
|
477
485
|
},
|
|
478
486
|
"prefix": {
|
|
479
|
-
"
|
|
480
|
-
|
|
481
|
-
|
|
487
|
+
"anyOf": [
|
|
488
|
+
{
|
|
489
|
+
"type": "string"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"type": "null"
|
|
493
|
+
}
|
|
482
494
|
]
|
|
483
495
|
},
|
|
484
496
|
"filename": {
|
|
485
|
-
"
|
|
486
|
-
|
|
487
|
-
|
|
497
|
+
"anyOf": [
|
|
498
|
+
{
|
|
499
|
+
"type": "string"
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"type": "null"
|
|
503
|
+
}
|
|
488
504
|
]
|
|
489
505
|
}
|
|
490
506
|
},
|
|
@@ -5,6 +5,28 @@
|
|
|
5
5
|
"description": "Font properties for the active/highlighted word.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
|
+
"family": {
|
|
9
|
+
"anyOf": [
|
|
10
|
+
{
|
|
11
|
+
"type": "string",
|
|
12
|
+
"description": "The font family for the active word. Inherits from the base font.family when not set."
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"type": "null"
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"weight": {
|
|
20
|
+
"anyOf": [
|
|
21
|
+
{
|
|
22
|
+
"type": "string",
|
|
23
|
+
"description": "The weight of the font for the active word. Can be a number (100-900) or a string. Inherits from the base font.weight when not set.\n"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"type": "null"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
},
|
|
8
30
|
"color": {
|
|
9
31
|
"anyOf": [
|
|
10
32
|
{
|
|
@@ -44,7 +66,7 @@
|
|
|
44
66
|
"anyOf": [
|
|
45
67
|
{
|
|
46
68
|
"type": "number",
|
|
47
|
-
"description": "The font size of the active word in pixels.
|
|
69
|
+
"description": "The font size of the active word in pixels.",
|
|
48
70
|
"minimum": 1,
|
|
49
71
|
"maximum": 500
|
|
50
72
|
},
|
|
@@ -72,6 +94,8 @@
|
|
|
72
94
|
},
|
|
73
95
|
"additionalProperties": false,
|
|
74
96
|
"required": [
|
|
97
|
+
"family",
|
|
98
|
+
"weight",
|
|
75
99
|
"color",
|
|
76
100
|
"background",
|
|
77
101
|
"opacity",
|
|
@@ -49,33 +49,41 @@
|
|
|
49
49
|
"type": "null"
|
|
50
50
|
}
|
|
51
51
|
]
|
|
52
|
-
},
|
|
53
|
-
"scale": {
|
|
54
|
-
"anyOf": [
|
|
55
|
-
{
|
|
56
|
-
"type": "number",
|
|
57
|
-
"description": "Scale multiplier for the active word. 1.0 is normal size, 1.2 is 20% larger.",
|
|
58
|
-
"minimum": 0.5,
|
|
59
|
-
"maximum": 2
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"type": "null"
|
|
63
|
-
}
|
|
64
|
-
]
|
|
65
52
|
}
|
|
66
53
|
},
|
|
67
54
|
"additionalProperties": false,
|
|
68
55
|
"required": [
|
|
69
56
|
"font",
|
|
70
57
|
"stroke",
|
|
71
|
-
"shadow"
|
|
72
|
-
"scale"
|
|
58
|
+
"shadow"
|
|
73
59
|
],
|
|
74
60
|
"$defs": {
|
|
75
61
|
"RichCaptionActiveFont": {
|
|
76
62
|
"description": "Font properties for the active/highlighted word.",
|
|
77
63
|
"type": "object",
|
|
78
64
|
"properties": {
|
|
65
|
+
"family": {
|
|
66
|
+
"anyOf": [
|
|
67
|
+
{
|
|
68
|
+
"type": "string",
|
|
69
|
+
"description": "The font family for the active word. Inherits from the base font.family when not set."
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"type": "null"
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
"weight": {
|
|
77
|
+
"anyOf": [
|
|
78
|
+
{
|
|
79
|
+
"type": "string",
|
|
80
|
+
"description": "The weight of the font for the active word. Can be a number (100-900) or a string. Inherits from the base font.weight when not set.\n"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"type": "null"
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
},
|
|
79
87
|
"color": {
|
|
80
88
|
"anyOf": [
|
|
81
89
|
{
|
|
@@ -115,7 +123,7 @@
|
|
|
115
123
|
"anyOf": [
|
|
116
124
|
{
|
|
117
125
|
"type": "number",
|
|
118
|
-
"description": "The font size of the active word in pixels.
|
|
126
|
+
"description": "The font size of the active word in pixels.",
|
|
119
127
|
"minimum": 1,
|
|
120
128
|
"maximum": 500
|
|
121
129
|
},
|
|
@@ -143,6 +151,8 @@
|
|
|
143
151
|
},
|
|
144
152
|
"additionalProperties": false,
|
|
145
153
|
"required": [
|
|
154
|
+
"family",
|
|
155
|
+
"weight",
|
|
146
156
|
"color",
|
|
147
157
|
"background",
|
|
148
158
|
"opacity",
|
|
@@ -1076,31 +1076,38 @@
|
|
|
1076
1076
|
"type": "null"
|
|
1077
1077
|
}
|
|
1078
1078
|
]
|
|
1079
|
-
},
|
|
1080
|
-
"scale": {
|
|
1081
|
-
"anyOf": [
|
|
1082
|
-
{
|
|
1083
|
-
"type": "number",
|
|
1084
|
-
"minimum": 0.5,
|
|
1085
|
-
"maximum": 2
|
|
1086
|
-
},
|
|
1087
|
-
{
|
|
1088
|
-
"type": "null"
|
|
1089
|
-
}
|
|
1090
|
-
]
|
|
1091
1079
|
}
|
|
1092
1080
|
},
|
|
1093
1081
|
"additionalProperties": false,
|
|
1094
1082
|
"required": [
|
|
1095
1083
|
"font",
|
|
1096
1084
|
"stroke",
|
|
1097
|
-
"shadow"
|
|
1098
|
-
"scale"
|
|
1085
|
+
"shadow"
|
|
1099
1086
|
]
|
|
1100
1087
|
},
|
|
1101
1088
|
"RichCaptionActiveFont": {
|
|
1102
1089
|
"type": "object",
|
|
1103
1090
|
"properties": {
|
|
1091
|
+
"family": {
|
|
1092
|
+
"anyOf": [
|
|
1093
|
+
{
|
|
1094
|
+
"type": "string"
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
"type": "null"
|
|
1098
|
+
}
|
|
1099
|
+
]
|
|
1100
|
+
},
|
|
1101
|
+
"weight": {
|
|
1102
|
+
"anyOf": [
|
|
1103
|
+
{
|
|
1104
|
+
"type": "string"
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
"type": "null"
|
|
1108
|
+
}
|
|
1109
|
+
]
|
|
1110
|
+
},
|
|
1104
1111
|
"color": {
|
|
1105
1112
|
"anyOf": [
|
|
1106
1113
|
{
|
|
@@ -1163,6 +1170,8 @@
|
|
|
1163
1170
|
},
|
|
1164
1171
|
"additionalProperties": false,
|
|
1165
1172
|
"required": [
|
|
1173
|
+
"family",
|
|
1174
|
+
"weight",
|
|
1166
1175
|
"color",
|
|
1167
1176
|
"background",
|
|
1168
1177
|
"opacity",
|