@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,69 +0,0 @@
1
- {
2
- "name": "Crop",
3
- "strict": true,
4
- "schema": {
5
- "description": "Crop the sides of an asset by a relative amount. The size of the crop is specified using a scale between 0 and 1, relative to the screen width - i.e a left crop of 0.5 will crop half of the asset from the left, a top crop of 0.25 will crop the top by quarter of the asset.",
6
- "properties": {
7
- "top": {
8
- "anyOf": [
9
- {
10
- "type": "number",
11
- "description": "Crop from the top of the asset",
12
- "minimum": 0,
13
- "maximum": 1
14
- },
15
- {
16
- "type": "null"
17
- }
18
- ]
19
- },
20
- "bottom": {
21
- "anyOf": [
22
- {
23
- "type": "number",
24
- "description": "Crop from the bottom of the asset",
25
- "minimum": 0,
26
- "maximum": 1
27
- },
28
- {
29
- "type": "null"
30
- }
31
- ]
32
- },
33
- "left": {
34
- "anyOf": [
35
- {
36
- "type": "number",
37
- "description": "Crop from the left of the asset",
38
- "minimum": 0,
39
- "maximum": 1
40
- },
41
- {
42
- "type": "null"
43
- }
44
- ]
45
- },
46
- "right": {
47
- "anyOf": [
48
- {
49
- "type": "number",
50
- "description": "Crop from the left of the asset",
51
- "minimum": 0,
52
- "maximum": 1
53
- },
54
- {
55
- "type": "null"
56
- }
57
- ]
58
- }
59
- },
60
- "additionalProperties": false,
61
- "type": "object",
62
- "required": [
63
- "top",
64
- "bottom",
65
- "left",
66
- "right"
67
- ]
68
- }
69
- }
@@ -1,599 +0,0 @@
1
- {
2
- "name": "Destinations",
3
- "strict": true,
4
- "schema": {
5
- "anyOf": [
6
- {
7
- "$ref": "#/$defs/ShotstackDestination"
8
- },
9
- {
10
- "$ref": "#/$defs/S3Destination"
11
- },
12
- {
13
- "$ref": "#/$defs/GoogleCloudStorageDestination"
14
- },
15
- {
16
- "$ref": "#/$defs/GoogleDriveDestination"
17
- },
18
- {
19
- "$ref": "#/$defs/VimeoDestination"
20
- },
21
- {
22
- "properties": {
23
- "provider": {
24
- "type": "string",
25
- "enum": [
26
- "tiktok"
27
- ]
28
- },
29
- "options": {
30
- "anyOf": [
31
- {
32
- "type": "object",
33
- "properties": {
34
- "title": {
35
- "anyOf": [
36
- {
37
- "type": "string"
38
- },
39
- {
40
- "type": "null"
41
- }
42
- ]
43
- },
44
- "privacyLevel": {
45
- "anyOf": [
46
- {
47
- "type": "string",
48
- "enum": [
49
- "public",
50
- "friends",
51
- "private"
52
- ]
53
- },
54
- {
55
- "type": "null"
56
- }
57
- ]
58
- },
59
- "disableDuet": {
60
- "anyOf": [
61
- {
62
- "type": "boolean"
63
- },
64
- {
65
- "type": "null"
66
- }
67
- ]
68
- },
69
- "disableStitch": {
70
- "anyOf": [
71
- {
72
- "type": "boolean"
73
- },
74
- {
75
- "type": "null"
76
- }
77
- ]
78
- },
79
- "disableComment": {
80
- "anyOf": [
81
- {
82
- "type": "boolean"
83
- },
84
- {
85
- "type": "null"
86
- }
87
- ]
88
- }
89
- },
90
- "additionalProperties": false,
91
- "required": [
92
- "title",
93
- "privacyLevel",
94
- "disableDuet",
95
- "disableStitch",
96
- "disableComment"
97
- ]
98
- },
99
- {
100
- "type": "null"
101
- }
102
- ]
103
- }
104
- },
105
- "type": "object",
106
- "required": [
107
- "provider",
108
- "options"
109
- ],
110
- "additionalProperties": false
111
- },
112
- {
113
- "properties": {
114
- "provider": {
115
- "type": "string",
116
- "enum": [
117
- "akamai-netstorage"
118
- ]
119
- },
120
- "options": {
121
- "anyOf": [
122
- {
123
- "type": "object",
124
- "properties": {
125
- "host": {
126
- "type": "string"
127
- },
128
- "cpCode": {
129
- "type": "string"
130
- },
131
- "path": {
132
- "anyOf": [
133
- {
134
- "type": "string"
135
- },
136
- {
137
- "type": "null"
138
- }
139
- ]
140
- },
141
- "filename": {
142
- "anyOf": [
143
- {
144
- "type": "string"
145
- },
146
- {
147
- "type": "null"
148
- }
149
- ]
150
- }
151
- },
152
- "required": [
153
- "host",
154
- "cpCode",
155
- "path",
156
- "filename"
157
- ],
158
- "additionalProperties": false
159
- },
160
- {
161
- "type": "null"
162
- }
163
- ]
164
- }
165
- },
166
- "type": "object",
167
- "required": [
168
- "provider",
169
- "options"
170
- ],
171
- "additionalProperties": false
172
- },
173
- {
174
- "properties": {
175
- "provider": {
176
- "type": "string",
177
- "enum": [
178
- "azure-blob-storage"
179
- ]
180
- },
181
- "options": {
182
- "anyOf": [
183
- {
184
- "type": "object",
185
- "properties": {
186
- "accountName": {
187
- "type": "string"
188
- },
189
- "container": {
190
- "type": "string"
191
- },
192
- "prefix": {
193
- "anyOf": [
194
- {
195
- "type": "string"
196
- },
197
- {
198
- "type": "null"
199
- }
200
- ]
201
- },
202
- "filename": {
203
- "anyOf": [
204
- {
205
- "type": "string"
206
- },
207
- {
208
- "type": "null"
209
- }
210
- ]
211
- }
212
- },
213
- "required": [
214
- "accountName",
215
- "container",
216
- "prefix",
217
- "filename"
218
- ],
219
- "additionalProperties": false
220
- },
221
- {
222
- "type": "null"
223
- }
224
- ]
225
- }
226
- },
227
- "type": "object",
228
- "required": [
229
- "provider",
230
- "options"
231
- ],
232
- "additionalProperties": false
233
- }
234
- ],
235
- "$defs": {
236
- "ShotstackDestination": {
237
- "properties": {
238
- "provider": {
239
- "type": "string",
240
- "enum": [
241
- "shotstack"
242
- ]
243
- },
244
- "exclude": {
245
- "anyOf": [
246
- {
247
- "type": "boolean"
248
- },
249
- {
250
- "type": "null"
251
- }
252
- ]
253
- }
254
- },
255
- "type": "object",
256
- "required": [
257
- "provider",
258
- "exclude"
259
- ],
260
- "additionalProperties": false
261
- },
262
- "S3Destination": {
263
- "properties": {
264
- "provider": {
265
- "type": "string",
266
- "enum": [
267
- "s3"
268
- ]
269
- },
270
- "options": {
271
- "anyOf": [
272
- {
273
- "$ref": "#/$defs/S3DestinationOptions"
274
- },
275
- {
276
- "type": "null"
277
- }
278
- ]
279
- }
280
- },
281
- "type": "object",
282
- "required": [
283
- "provider",
284
- "options"
285
- ],
286
- "additionalProperties": false
287
- },
288
- "S3DestinationOptions": {
289
- "properties": {
290
- "region": {
291
- "type": "string"
292
- },
293
- "bucket": {
294
- "type": "string"
295
- },
296
- "prefix": {
297
- "anyOf": [
298
- {
299
- "type": "string"
300
- },
301
- {
302
- "type": "null"
303
- }
304
- ]
305
- },
306
- "filename": {
307
- "anyOf": [
308
- {
309
- "type": "string"
310
- },
311
- {
312
- "type": "null"
313
- }
314
- ]
315
- },
316
- "acl": {
317
- "anyOf": [
318
- {
319
- "type": "string"
320
- },
321
- {
322
- "type": "null"
323
- }
324
- ]
325
- }
326
- },
327
- "required": [
328
- "region",
329
- "bucket",
330
- "prefix",
331
- "filename",
332
- "acl"
333
- ],
334
- "type": "object",
335
- "additionalProperties": false
336
- },
337
- "GoogleCloudStorageDestination": {
338
- "properties": {
339
- "provider": {
340
- "type": "string",
341
- "enum": [
342
- "google-cloud-storage"
343
- ]
344
- },
345
- "options": {
346
- "anyOf": [
347
- {
348
- "$ref": "#/$defs/GoogleCloudStorageDestinationOptions"
349
- },
350
- {
351
- "type": "null"
352
- }
353
- ]
354
- }
355
- },
356
- "type": "object",
357
- "required": [
358
- "provider",
359
- "options"
360
- ],
361
- "additionalProperties": false
362
- },
363
- "GoogleCloudStorageDestinationOptions": {
364
- "properties": {
365
- "bucket": {
366
- "type": "string"
367
- },
368
- "prefix": {
369
- "anyOf": [
370
- {
371
- "type": "string"
372
- },
373
- {
374
- "type": "null"
375
- }
376
- ]
377
- },
378
- "filename": {
379
- "anyOf": [
380
- {
381
- "type": "string"
382
- },
383
- {
384
- "type": "null"
385
- }
386
- ]
387
- }
388
- },
389
- "required": [
390
- "bucket",
391
- "prefix",
392
- "filename"
393
- ],
394
- "type": "object",
395
- "additionalProperties": false
396
- },
397
- "GoogleDriveDestination": {
398
- "properties": {
399
- "provider": {
400
- "type": "string",
401
- "enum": [
402
- "google-drive"
403
- ]
404
- },
405
- "options": {
406
- "$ref": "#/$defs/GoogleDriveDestinationOptions"
407
- }
408
- },
409
- "type": "object",
410
- "required": [
411
- "provider",
412
- "options"
413
- ],
414
- "additionalProperties": false
415
- },
416
- "GoogleDriveDestinationOptions": {
417
- "properties": {
418
- "folderId": {
419
- "type": "string"
420
- },
421
- "filename": {
422
- "anyOf": [
423
- {
424
- "type": "string"
425
- },
426
- {
427
- "type": "null"
428
- }
429
- ]
430
- }
431
- },
432
- "required": [
433
- "folderId",
434
- "filename"
435
- ],
436
- "type": "object",
437
- "additionalProperties": false
438
- },
439
- "VimeoDestination": {
440
- "properties": {
441
- "provider": {
442
- "type": "string",
443
- "enum": [
444
- "vimeo"
445
- ]
446
- },
447
- "options": {
448
- "anyOf": [
449
- {
450
- "$ref": "#/$defs/VimeoDestinationOptions"
451
- },
452
- {
453
- "type": "null"
454
- }
455
- ]
456
- }
457
- },
458
- "type": "object",
459
- "required": [
460
- "provider",
461
- "options"
462
- ],
463
- "additionalProperties": false
464
- },
465
- "VimeoDestinationOptions": {
466
- "properties": {
467
- "name": {
468
- "anyOf": [
469
- {
470
- "type": "string"
471
- },
472
- {
473
- "type": "null"
474
- }
475
- ]
476
- },
477
- "description": {
478
- "anyOf": [
479
- {
480
- "type": "string"
481
- },
482
- {
483
- "type": "null"
484
- }
485
- ]
486
- },
487
- "privacy": {
488
- "anyOf": [
489
- {
490
- "$ref": "#/$defs/VimeoDestinationPrivacyOptions"
491
- },
492
- {
493
- "type": "null"
494
- }
495
- ]
496
- },
497
- "folderUri": {
498
- "anyOf": [
499
- {
500
- "type": "string"
501
- },
502
- {
503
- "type": "null"
504
- }
505
- ]
506
- }
507
- },
508
- "type": "object",
509
- "additionalProperties": false,
510
- "required": [
511
- "name",
512
- "description",
513
- "privacy",
514
- "folderUri"
515
- ]
516
- },
517
- "VimeoDestinationPrivacyOptions": {
518
- "properties": {
519
- "view": {
520
- "anyOf": [
521
- {
522
- "type": "string",
523
- "enum": [
524
- "anybody",
525
- "nobody",
526
- "contacts",
527
- "password",
528
- "unlisted"
529
- ]
530
- },
531
- {
532
- "type": "null"
533
- }
534
- ]
535
- },
536
- "embed": {
537
- "anyOf": [
538
- {
539
- "type": "string",
540
- "enum": [
541
- "public",
542
- "private",
543
- "whitelist"
544
- ]
545
- },
546
- {
547
- "type": "null"
548
- }
549
- ]
550
- },
551
- "comments": {
552
- "anyOf": [
553
- {
554
- "type": "string",
555
- "enum": [
556
- "anybody",
557
- "nobody",
558
- "contacts"
559
- ]
560
- },
561
- {
562
- "type": "null"
563
- }
564
- ]
565
- },
566
- "download": {
567
- "anyOf": [
568
- {
569
- "type": "boolean"
570
- },
571
- {
572
- "type": "null"
573
- }
574
- ]
575
- },
576
- "add": {
577
- "anyOf": [
578
- {
579
- "type": "boolean"
580
- },
581
- {
582
- "type": "null"
583
- }
584
- ]
585
- }
586
- },
587
- "type": "object",
588
- "additionalProperties": false,
589
- "required": [
590
- "view",
591
- "embed",
592
- "comments",
593
- "download",
594
- "add"
595
- ]
596
- }
597
- }
598
- }
599
- }
@@ -1,37 +0,0 @@
1
- {
2
- "name": "FlipTransformation",
3
- "strict": true,
4
- "schema": {
5
- "description": "Flip a clip vertically or horizontally. Acts as a mirror effect of the clip along the selected plane.",
6
- "type": "object",
7
- "additionalProperties": false,
8
- "properties": {
9
- "horizontal": {
10
- "anyOf": [
11
- {
12
- "type": "boolean",
13
- "description": "Flip a clip horizontally."
14
- },
15
- {
16
- "type": "null"
17
- }
18
- ]
19
- },
20
- "vertical": {
21
- "anyOf": [
22
- {
23
- "type": "boolean",
24
- "description": "Flip a clip vertically."
25
- },
26
- {
27
- "type": "null"
28
- }
29
- ]
30
- }
31
- },
32
- "required": [
33
- "horizontal",
34
- "vertical"
35
- ]
36
- }
37
- }