@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,78 +0,0 @@
1
- {
2
- "name": "RichTextBackground",
3
- "strict": true,
4
- "schema": {
5
- "description": "Background styling properties for the text bounding box.",
6
- "properties": {
7
- "color": {
8
- "anyOf": [
9
- {
10
- "type": "string",
11
- "description": "The background color using hexadecimal color notation."
12
- },
13
- {
14
- "type": "null"
15
- }
16
- ]
17
- },
18
- "opacity": {
19
- "anyOf": [
20
- {
21
- "type": "number",
22
- "description": "The opacity of the background where 1 is opaque and 0 is transparent.",
23
- "minimum": 0,
24
- "maximum": 1
25
- },
26
- {
27
- "type": "null"
28
- }
29
- ]
30
- },
31
- "borderRadius": {
32
- "anyOf": [
33
- {
34
- "type": "number",
35
- "description": "The border radius of the background box in pixels. Must be 0 or greater.",
36
- "minimum": 0
37
- },
38
- {
39
- "type": "null"
40
- }
41
- ]
42
- },
43
- "wrap": {
44
- "anyOf": [
45
- {
46
- "type": "boolean",
47
- "description": "When true, the background pill shrinks to fit the rendered text bounding box plus the\nasset's padding (and stroke width, if present), producing a pill or badge effect. When\nfalse (default), the background fills the full asset content area. Available on\nrich-text and rich-caption assets only; not supported on legacy `type: text`.\n"
48
- },
49
- {
50
- "type": "null"
51
- }
52
- ]
53
- },
54
- "padding": {
55
- "anyOf": [
56
- {
57
- "type": "integer",
58
- "description": "Inner padding in pixels between the wrap pill edge and the rendered text. Only takes\neffect when `wrap: true`. When omitted, the renderer applies a sensible default\nproportional to the font size (approximately 12% of the active page font size on\nrich-caption assets). Set to 0 for a pill that hugs the text exactly. Available on\nrich-text and rich-caption assets only.\n",
59
- "minimum": 0,
60
- "maximum": 200
61
- },
62
- {
63
- "type": "null"
64
- }
65
- ]
66
- }
67
- },
68
- "additionalProperties": false,
69
- "type": "object",
70
- "required": [
71
- "color",
72
- "opacity",
73
- "borderRadius",
74
- "wrap",
75
- "padding"
76
- ]
77
- }
78
- }
@@ -1,394 +0,0 @@
1
- {
2
- "name": "RichTextContent",
3
- "strict": true,
4
- "schema": {
5
- "type": "object",
6
- "properties": {
7
- "assets": {
8
- "type": "array",
9
- "items": {
10
- "$ref": "#/$defs/RichTextAsset"
11
- }
12
- }
13
- },
14
- "additionalProperties": false,
15
- "required": [
16
- "assets"
17
- ],
18
- "$defs": {
19
- "RichTextAsset": {
20
- "type": "object",
21
- "properties": {
22
- "type": {
23
- "enum": [
24
- "rich-text"
25
- ],
26
- "type": "string"
27
- },
28
- "text": {
29
- "type": "string"
30
- },
31
- "font": {
32
- "anyOf": [
33
- {
34
- "$ref": "#/$defs/RichTextFont"
35
- },
36
- {
37
- "type": "null"
38
- }
39
- ]
40
- },
41
- "background": {
42
- "anyOf": [
43
- {
44
- "$ref": "#/$defs/RichTextBackground"
45
- },
46
- {
47
- "type": "null"
48
- }
49
- ]
50
- },
51
- "border": {
52
- "anyOf": [
53
- {
54
- "type": "object",
55
- "properties": {
56
- "width": {
57
- "anyOf": [
58
- {
59
- "type": "number",
60
- "minimum": 0
61
- },
62
- {
63
- "type": "null"
64
- }
65
- ]
66
- },
67
- "color": {
68
- "anyOf": [
69
- {
70
- "type": "string"
71
- },
72
- {
73
- "type": "null"
74
- }
75
- ]
76
- },
77
- "opacity": {
78
- "anyOf": [
79
- {
80
- "type": "number",
81
- "minimum": 0,
82
- "maximum": 1
83
- },
84
- {
85
- "type": "null"
86
- }
87
- ]
88
- },
89
- "radius": {
90
- "anyOf": [
91
- {
92
- "type": "number",
93
- "minimum": 0
94
- },
95
- {
96
- "type": "null"
97
- }
98
- ]
99
- }
100
- },
101
- "additionalProperties": false,
102
- "required": [
103
- "width",
104
- "color",
105
- "opacity",
106
- "radius"
107
- ]
108
- },
109
- {
110
- "type": "null"
111
- }
112
- ]
113
- },
114
- "padding": {
115
- "anyOf": [
116
- {
117
- "type": "number",
118
- "minimum": 0
119
- },
120
- {
121
- "properties": {
122
- "top": {
123
- "anyOf": [
124
- {
125
- "type": "number",
126
- "minimum": 0
127
- },
128
- {
129
- "type": "null"
130
- }
131
- ]
132
- },
133
- "right": {
134
- "anyOf": [
135
- {
136
- "type": "number",
137
- "minimum": 0
138
- },
139
- {
140
- "type": "null"
141
- }
142
- ]
143
- },
144
- "bottom": {
145
- "anyOf": [
146
- {
147
- "type": "number",
148
- "minimum": 0
149
- },
150
- {
151
- "type": "null"
152
- }
153
- ]
154
- },
155
- "left": {
156
- "anyOf": [
157
- {
158
- "type": "number",
159
- "minimum": 0
160
- },
161
- {
162
- "type": "null"
163
- }
164
- ]
165
- }
166
- },
167
- "additionalProperties": false,
168
- "type": "object",
169
- "required": [
170
- "top",
171
- "right",
172
- "bottom",
173
- "left"
174
- ]
175
- },
176
- {
177
- "type": "null"
178
- }
179
- ]
180
- },
181
- "align": {
182
- "anyOf": [
183
- {
184
- "$ref": "#/$defs/RichTextAlignment"
185
- },
186
- {
187
- "type": "null"
188
- }
189
- ]
190
- }
191
- },
192
- "additionalProperties": false,
193
- "required": [
194
- "type",
195
- "text",
196
- "font",
197
- "background",
198
- "border",
199
- "padding",
200
- "align"
201
- ]
202
- },
203
- "RichTextFont": {
204
- "properties": {
205
- "family": {
206
- "anyOf": [
207
- {
208
- "type": "string",
209
- "enum": [
210
- "Open Sans"
211
- ]
212
- },
213
- {
214
- "type": "null"
215
- }
216
- ]
217
- },
218
- "size": {
219
- "anyOf": [
220
- {
221
- "type": "integer",
222
- "minimum": 1,
223
- "maximum": 500
224
- },
225
- {
226
- "type": "null"
227
- }
228
- ]
229
- },
230
- "weight": {
231
- "anyOf": [
232
- {
233
- "type": "string"
234
- },
235
- {
236
- "type": "null"
237
- }
238
- ]
239
- },
240
- "color": {
241
- "anyOf": [
242
- {
243
- "type": "string"
244
- },
245
- {
246
- "type": "null"
247
- }
248
- ]
249
- },
250
- "opacity": {
251
- "anyOf": [
252
- {
253
- "type": "number",
254
- "minimum": 0,
255
- "maximum": 1
256
- },
257
- {
258
- "type": "null"
259
- }
260
- ]
261
- },
262
- "background": {
263
- "anyOf": [
264
- {
265
- "type": "string"
266
- },
267
- {
268
- "type": "null"
269
- }
270
- ]
271
- }
272
- },
273
- "additionalProperties": false,
274
- "type": "object",
275
- "required": [
276
- "family",
277
- "size",
278
- "weight",
279
- "color",
280
- "opacity",
281
- "background"
282
- ]
283
- },
284
- "RichTextBackground": {
285
- "properties": {
286
- "color": {
287
- "anyOf": [
288
- {
289
- "type": "string"
290
- },
291
- {
292
- "type": "null"
293
- }
294
- ]
295
- },
296
- "opacity": {
297
- "anyOf": [
298
- {
299
- "type": "number",
300
- "minimum": 0,
301
- "maximum": 1
302
- },
303
- {
304
- "type": "null"
305
- }
306
- ]
307
- },
308
- "borderRadius": {
309
- "anyOf": [
310
- {
311
- "type": "number",
312
- "minimum": 0
313
- },
314
- {
315
- "type": "null"
316
- }
317
- ]
318
- },
319
- "wrap": {
320
- "anyOf": [
321
- {
322
- "type": "boolean"
323
- },
324
- {
325
- "type": "null"
326
- }
327
- ]
328
- },
329
- "padding": {
330
- "anyOf": [
331
- {
332
- "type": "integer",
333
- "minimum": 0,
334
- "maximum": 200
335
- },
336
- {
337
- "type": "null"
338
- }
339
- ]
340
- }
341
- },
342
- "additionalProperties": false,
343
- "type": "object",
344
- "required": [
345
- "color",
346
- "opacity",
347
- "borderRadius",
348
- "wrap",
349
- "padding"
350
- ]
351
- },
352
- "RichTextAlignment": {
353
- "properties": {
354
- "horizontal": {
355
- "anyOf": [
356
- {
357
- "type": "string",
358
- "enum": [
359
- "left",
360
- "center",
361
- "right"
362
- ]
363
- },
364
- {
365
- "type": "null"
366
- }
367
- ]
368
- },
369
- "vertical": {
370
- "anyOf": [
371
- {
372
- "type": "string",
373
- "enum": [
374
- "top",
375
- "middle",
376
- "bottom"
377
- ]
378
- },
379
- {
380
- "type": "null"
381
- }
382
- ]
383
- }
384
- },
385
- "additionalProperties": false,
386
- "type": "object",
387
- "required": [
388
- "horizontal",
389
- "vertical"
390
- ]
391
- }
392
- }
393
- }
394
- }