@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
|
@@ -2176,7 +2176,7 @@
|
|
|
2176
2176
|
"anyOf": [
|
|
2177
2177
|
{
|
|
2178
2178
|
"type": "number",
|
|
2179
|
-
"description": "The font size
|
|
2179
|
+
"description": "The font size in pixels. Can be used as an alternative to font.size.",
|
|
2180
2180
|
"minimum": 1,
|
|
2181
2181
|
"maximum": 500
|
|
2182
2182
|
},
|
|
@@ -2386,33 +2386,41 @@
|
|
|
2386
2386
|
"type": "null"
|
|
2387
2387
|
}
|
|
2388
2388
|
]
|
|
2389
|
-
},
|
|
2390
|
-
"scale": {
|
|
2391
|
-
"anyOf": [
|
|
2392
|
-
{
|
|
2393
|
-
"type": "number",
|
|
2394
|
-
"description": "Scale multiplier for the active word. 1.0 is normal size, 1.2 is 20% larger.",
|
|
2395
|
-
"minimum": 0.5,
|
|
2396
|
-
"maximum": 2
|
|
2397
|
-
},
|
|
2398
|
-
{
|
|
2399
|
-
"type": "null"
|
|
2400
|
-
}
|
|
2401
|
-
]
|
|
2402
2389
|
}
|
|
2403
2390
|
},
|
|
2404
2391
|
"additionalProperties": false,
|
|
2405
2392
|
"required": [
|
|
2406
2393
|
"font",
|
|
2407
2394
|
"stroke",
|
|
2408
|
-
"shadow"
|
|
2409
|
-
"scale"
|
|
2395
|
+
"shadow"
|
|
2410
2396
|
]
|
|
2411
2397
|
},
|
|
2412
2398
|
"RichCaptionActiveFont": {
|
|
2413
2399
|
"description": "Font properties for the active/highlighted word.",
|
|
2414
2400
|
"type": "object",
|
|
2415
2401
|
"properties": {
|
|
2402
|
+
"family": {
|
|
2403
|
+
"anyOf": [
|
|
2404
|
+
{
|
|
2405
|
+
"type": "string",
|
|
2406
|
+
"description": "The font family for the active word. Inherits from the base font.family when not set."
|
|
2407
|
+
},
|
|
2408
|
+
{
|
|
2409
|
+
"type": "null"
|
|
2410
|
+
}
|
|
2411
|
+
]
|
|
2412
|
+
},
|
|
2413
|
+
"weight": {
|
|
2414
|
+
"anyOf": [
|
|
2415
|
+
{
|
|
2416
|
+
"type": "string",
|
|
2417
|
+
"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"
|
|
2418
|
+
},
|
|
2419
|
+
{
|
|
2420
|
+
"type": "null"
|
|
2421
|
+
}
|
|
2422
|
+
]
|
|
2423
|
+
},
|
|
2416
2424
|
"color": {
|
|
2417
2425
|
"anyOf": [
|
|
2418
2426
|
{
|
|
@@ -2452,7 +2460,7 @@
|
|
|
2452
2460
|
"anyOf": [
|
|
2453
2461
|
{
|
|
2454
2462
|
"type": "number",
|
|
2455
|
-
"description": "The font size of the active word in pixels.
|
|
2463
|
+
"description": "The font size of the active word in pixels.",
|
|
2456
2464
|
"minimum": 1,
|
|
2457
2465
|
"maximum": 500
|
|
2458
2466
|
},
|
|
@@ -2480,6 +2488,8 @@
|
|
|
2480
2488
|
},
|
|
2481
2489
|
"additionalProperties": false,
|
|
2482
2490
|
"required": [
|
|
2491
|
+
"family",
|
|
2492
|
+
"weight",
|
|
2483
2493
|
"color",
|
|
2484
2494
|
"background",
|
|
2485
2495
|
"opacity",
|
|
@@ -3778,17 +3788,25 @@
|
|
|
3778
3788
|
"type": "string"
|
|
3779
3789
|
},
|
|
3780
3790
|
"path": {
|
|
3781
|
-
"
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3791
|
+
"anyOf": [
|
|
3792
|
+
{
|
|
3793
|
+
"description": "A remote directory path/prefix for the file being sent, i.e. `videos` or `customerId/videos`.",
|
|
3794
|
+
"type": "string"
|
|
3795
|
+
},
|
|
3796
|
+
{
|
|
3797
|
+
"type": "null"
|
|
3798
|
+
}
|
|
3785
3799
|
]
|
|
3786
3800
|
},
|
|
3787
3801
|
"filename": {
|
|
3788
|
-
"
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3802
|
+
"anyOf": [
|
|
3803
|
+
{
|
|
3804
|
+
"description": "Use your own filename instead of the default filenames generated by Shotstack. Note: omit the file extension as this will be appended depending on the output format. Also `-poster.jpg` and `-thumb.jpg` will be appended for poster and thumbnail images.",
|
|
3805
|
+
"type": "string"
|
|
3806
|
+
},
|
|
3807
|
+
{
|
|
3808
|
+
"type": "null"
|
|
3809
|
+
}
|
|
3792
3810
|
]
|
|
3793
3811
|
}
|
|
3794
3812
|
},
|
|
@@ -3838,17 +3856,25 @@
|
|
|
3838
3856
|
"type": "string"
|
|
3839
3857
|
},
|
|
3840
3858
|
"prefix": {
|
|
3841
|
-
"
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3859
|
+
"anyOf": [
|
|
3860
|
+
{
|
|
3861
|
+
"description": "A virtual directory prefix for the blob being sent, i.e. `videos` or `customerId/videos`.",
|
|
3862
|
+
"type": "string"
|
|
3863
|
+
},
|
|
3864
|
+
{
|
|
3865
|
+
"type": "null"
|
|
3866
|
+
}
|
|
3845
3867
|
]
|
|
3846
3868
|
},
|
|
3847
3869
|
"filename": {
|
|
3848
|
-
"
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3870
|
+
"anyOf": [
|
|
3871
|
+
{
|
|
3872
|
+
"description": "Use your own filename instead of the default filenames generated by Shotstack. Note: omit the file extension as this will be appended depending on the output format. Also `-poster.jpg` and `-thumb.jpg` will be appended for poster and thumbnail images.",
|
|
3873
|
+
"type": "string"
|
|
3874
|
+
},
|
|
3875
|
+
{
|
|
3876
|
+
"type": "null"
|
|
3877
|
+
}
|
|
3852
3878
|
]
|
|
3853
3879
|
}
|
|
3854
3880
|
},
|
|
@@ -2188,31 +2188,38 @@
|
|
|
2188
2188
|
"type": "null"
|
|
2189
2189
|
}
|
|
2190
2190
|
]
|
|
2191
|
-
},
|
|
2192
|
-
"scale": {
|
|
2193
|
-
"anyOf": [
|
|
2194
|
-
{
|
|
2195
|
-
"type": "number",
|
|
2196
|
-
"minimum": 0.5,
|
|
2197
|
-
"maximum": 2
|
|
2198
|
-
},
|
|
2199
|
-
{
|
|
2200
|
-
"type": "null"
|
|
2201
|
-
}
|
|
2202
|
-
]
|
|
2203
2191
|
}
|
|
2204
2192
|
},
|
|
2205
2193
|
"additionalProperties": false,
|
|
2206
2194
|
"required": [
|
|
2207
2195
|
"font",
|
|
2208
2196
|
"stroke",
|
|
2209
|
-
"shadow"
|
|
2210
|
-
"scale"
|
|
2197
|
+
"shadow"
|
|
2211
2198
|
]
|
|
2212
2199
|
},
|
|
2213
2200
|
"RichCaptionActiveFont": {
|
|
2214
2201
|
"type": "object",
|
|
2215
2202
|
"properties": {
|
|
2203
|
+
"family": {
|
|
2204
|
+
"anyOf": [
|
|
2205
|
+
{
|
|
2206
|
+
"type": "string"
|
|
2207
|
+
},
|
|
2208
|
+
{
|
|
2209
|
+
"type": "null"
|
|
2210
|
+
}
|
|
2211
|
+
]
|
|
2212
|
+
},
|
|
2213
|
+
"weight": {
|
|
2214
|
+
"anyOf": [
|
|
2215
|
+
{
|
|
2216
|
+
"type": "string"
|
|
2217
|
+
},
|
|
2218
|
+
{
|
|
2219
|
+
"type": "null"
|
|
2220
|
+
}
|
|
2221
|
+
]
|
|
2222
|
+
},
|
|
2216
2223
|
"color": {
|
|
2217
2224
|
"anyOf": [
|
|
2218
2225
|
{
|
|
@@ -2275,6 +2282,8 @@
|
|
|
2275
2282
|
},
|
|
2276
2283
|
"additionalProperties": false,
|
|
2277
2284
|
"required": [
|
|
2285
|
+
"family",
|
|
2286
|
+
"weight",
|
|
2278
2287
|
"color",
|
|
2279
2288
|
"background",
|
|
2280
2289
|
"opacity",
|
|
@@ -2075,31 +2075,38 @@
|
|
|
2075
2075
|
"type": "null"
|
|
2076
2076
|
}
|
|
2077
2077
|
]
|
|
2078
|
-
},
|
|
2079
|
-
"scale": {
|
|
2080
|
-
"anyOf": [
|
|
2081
|
-
{
|
|
2082
|
-
"type": "number",
|
|
2083
|
-
"minimum": 0.5,
|
|
2084
|
-
"maximum": 2
|
|
2085
|
-
},
|
|
2086
|
-
{
|
|
2087
|
-
"type": "null"
|
|
2088
|
-
}
|
|
2089
|
-
]
|
|
2090
2078
|
}
|
|
2091
2079
|
},
|
|
2092
2080
|
"additionalProperties": false,
|
|
2093
2081
|
"required": [
|
|
2094
2082
|
"font",
|
|
2095
2083
|
"stroke",
|
|
2096
|
-
"shadow"
|
|
2097
|
-
"scale"
|
|
2084
|
+
"shadow"
|
|
2098
2085
|
]
|
|
2099
2086
|
},
|
|
2100
2087
|
"RichCaptionActiveFont": {
|
|
2101
2088
|
"type": "object",
|
|
2102
2089
|
"properties": {
|
|
2090
|
+
"family": {
|
|
2091
|
+
"anyOf": [
|
|
2092
|
+
{
|
|
2093
|
+
"type": "string"
|
|
2094
|
+
},
|
|
2095
|
+
{
|
|
2096
|
+
"type": "null"
|
|
2097
|
+
}
|
|
2098
|
+
]
|
|
2099
|
+
},
|
|
2100
|
+
"weight": {
|
|
2101
|
+
"anyOf": [
|
|
2102
|
+
{
|
|
2103
|
+
"type": "string"
|
|
2104
|
+
},
|
|
2105
|
+
{
|
|
2106
|
+
"type": "null"
|
|
2107
|
+
}
|
|
2108
|
+
]
|
|
2109
|
+
},
|
|
2103
2110
|
"color": {
|
|
2104
2111
|
"anyOf": [
|
|
2105
2112
|
{
|
|
@@ -2162,6 +2169,8 @@
|
|
|
2162
2169
|
},
|
|
2163
2170
|
"additionalProperties": false,
|
|
2164
2171
|
"required": [
|
|
2172
|
+
"family",
|
|
2173
|
+
"weight",
|
|
2165
2174
|
"color",
|
|
2166
2175
|
"background",
|
|
2167
2176
|
"opacity",
|