@shotstack/schemas 1.14.1 → 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 +8 -5
  2. package/dist/json-schema/edit.json +3823 -4207
  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 +16 -5
  7. package/dist/zod/zod.gen.cjs +10 -2
  8. package/dist/zod/zod.gen.d.ts +10 -2
  9. package/dist/zod/zod.gen.js +10 -2
  10. package/dist/zod/zod.gen.ts +10 -2
  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 -613
  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 -37
  29. package/dist/json-schema/google-drive-destination.json +0 -68
  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 -907
  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 -4730
  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,613 +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
- "anyOf": [
407
- {
408
- "$ref": "#/$defs/GoogleDriveDestinationOptions"
409
- },
410
- {
411
- "type": "null"
412
- }
413
- ]
414
- }
415
- },
416
- "type": "object",
417
- "required": [
418
- "provider",
419
- "options"
420
- ],
421
- "additionalProperties": false
422
- },
423
- "GoogleDriveDestinationOptions": {
424
- "properties": {
425
- "folderId": {
426
- "anyOf": [
427
- {
428
- "type": "string"
429
- },
430
- {
431
- "type": "null"
432
- }
433
- ]
434
- },
435
- "filename": {
436
- "anyOf": [
437
- {
438
- "type": "string"
439
- },
440
- {
441
- "type": "null"
442
- }
443
- ]
444
- }
445
- },
446
- "type": "object",
447
- "additionalProperties": false,
448
- "required": [
449
- "folderId",
450
- "filename"
451
- ]
452
- },
453
- "VimeoDestination": {
454
- "properties": {
455
- "provider": {
456
- "type": "string",
457
- "enum": [
458
- "vimeo"
459
- ]
460
- },
461
- "options": {
462
- "anyOf": [
463
- {
464
- "$ref": "#/$defs/VimeoDestinationOptions"
465
- },
466
- {
467
- "type": "null"
468
- }
469
- ]
470
- }
471
- },
472
- "type": "object",
473
- "required": [
474
- "provider",
475
- "options"
476
- ],
477
- "additionalProperties": false
478
- },
479
- "VimeoDestinationOptions": {
480
- "properties": {
481
- "name": {
482
- "anyOf": [
483
- {
484
- "type": "string"
485
- },
486
- {
487
- "type": "null"
488
- }
489
- ]
490
- },
491
- "description": {
492
- "anyOf": [
493
- {
494
- "type": "string"
495
- },
496
- {
497
- "type": "null"
498
- }
499
- ]
500
- },
501
- "privacy": {
502
- "anyOf": [
503
- {
504
- "$ref": "#/$defs/VimeoDestinationPrivacyOptions"
505
- },
506
- {
507
- "type": "null"
508
- }
509
- ]
510
- },
511
- "folderUri": {
512
- "anyOf": [
513
- {
514
- "type": "string"
515
- },
516
- {
517
- "type": "null"
518
- }
519
- ]
520
- }
521
- },
522
- "type": "object",
523
- "additionalProperties": false,
524
- "required": [
525
- "name",
526
- "description",
527
- "privacy",
528
- "folderUri"
529
- ]
530
- },
531
- "VimeoDestinationPrivacyOptions": {
532
- "properties": {
533
- "view": {
534
- "anyOf": [
535
- {
536
- "type": "string",
537
- "enum": [
538
- "anybody",
539
- "nobody",
540
- "contacts",
541
- "password",
542
- "unlisted"
543
- ]
544
- },
545
- {
546
- "type": "null"
547
- }
548
- ]
549
- },
550
- "embed": {
551
- "anyOf": [
552
- {
553
- "type": "string",
554
- "enum": [
555
- "public",
556
- "private",
557
- "whitelist"
558
- ]
559
- },
560
- {
561
- "type": "null"
562
- }
563
- ]
564
- },
565
- "comments": {
566
- "anyOf": [
567
- {
568
- "type": "string",
569
- "enum": [
570
- "anybody",
571
- "nobody",
572
- "contacts"
573
- ]
574
- },
575
- {
576
- "type": "null"
577
- }
578
- ]
579
- },
580
- "download": {
581
- "anyOf": [
582
- {
583
- "type": "boolean"
584
- },
585
- {
586
- "type": "null"
587
- }
588
- ]
589
- },
590
- "add": {
591
- "anyOf": [
592
- {
593
- "type": "boolean"
594
- },
595
- {
596
- "type": "null"
597
- }
598
- ]
599
- }
600
- },
601
- "type": "object",
602
- "additionalProperties": false,
603
- "required": [
604
- "view",
605
- "embed",
606
- "comments",
607
- "download",
608
- "add"
609
- ]
610
- }
611
- }
612
- }
613
- }
@@ -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
- }