@shotstack/schemas 1.8.3 → 1.8.4

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 (37) hide show
  1. package/dist/api.bundled.json +204 -972
  2. package/dist/json-schema/asset.json +3 -936
  3. package/dist/json-schema/clip.json +3 -936
  4. package/dist/json-schema/destinations.json +111 -23
  5. package/dist/json-schema/edit.json +256 -1083
  6. package/dist/json-schema/output.json +106 -0
  7. package/dist/json-schema/rich-caption-asset.json +140 -221
  8. package/dist/json-schema/schemas.json +295 -1207
  9. package/dist/json-schema/svg-asset.json +6 -857
  10. package/dist/json-schema/timeline.json +3 -936
  11. package/dist/json-schema/track.json +3 -936
  12. package/dist/schema.d.ts +68 -695
  13. package/dist/zod/zod.gen.cjs +44 -625
  14. package/dist/zod/zod.gen.d.ts +543 -8241
  15. package/dist/zod/zod.gen.js +38 -618
  16. package/dist/zod/zod.gen.ts +50 -382
  17. package/package.json +1 -1
  18. package/dist/json-schema/svg-arrow-shape.json +0 -49
  19. package/dist/json-schema/svg-circle-shape.json +0 -28
  20. package/dist/json-schema/svg-cross-shape.json +0 -42
  21. package/dist/json-schema/svg-ellipse-shape.json +0 -35
  22. package/dist/json-schema/svg-fill.json +0 -169
  23. package/dist/json-schema/svg-gradient-stop.json +0 -25
  24. package/dist/json-schema/svg-heart-shape.json +0 -28
  25. package/dist/json-schema/svg-line-shape.json +0 -35
  26. package/dist/json-schema/svg-linear-gradient-fill.json +0 -80
  27. package/dist/json-schema/svg-path-shape.json +0 -26
  28. package/dist/json-schema/svg-polygon-shape.json +0 -35
  29. package/dist/json-schema/svg-radial-gradient-fill.json +0 -66
  30. package/dist/json-schema/svg-rectangle-shape.json +0 -49
  31. package/dist/json-schema/svg-ring-shape.json +0 -35
  32. package/dist/json-schema/svg-shadow.json +0 -79
  33. package/dist/json-schema/svg-shape.json +0 -404
  34. package/dist/json-schema/svg-solid-fill.json +0 -40
  35. package/dist/json-schema/svg-star-shape.json +0 -42
  36. package/dist/json-schema/svg-stroke.json +0 -115
  37. package/dist/json-schema/svg-transform.json +0 -93
@@ -402,6 +402,112 @@
402
402
  "options"
403
403
  ],
404
404
  "additionalProperties": false
405
+ },
406
+ {
407
+ "properties": {
408
+ "provider": {
409
+ "type": "string",
410
+ "enum": [
411
+ "akamai-netstorage"
412
+ ]
413
+ },
414
+ "options": {
415
+ "anyOf": [
416
+ {
417
+ "type": "object",
418
+ "properties": {
419
+ "host": {
420
+ "type": "string"
421
+ },
422
+ "cpCode": {
423
+ "type": "string"
424
+ },
425
+ "path": {
426
+ "type": [
427
+ "string",
428
+ "null"
429
+ ]
430
+ },
431
+ "filename": {
432
+ "type": [
433
+ "string",
434
+ "null"
435
+ ]
436
+ }
437
+ },
438
+ "required": [
439
+ "host",
440
+ "cpCode",
441
+ "path",
442
+ "filename"
443
+ ],
444
+ "additionalProperties": false
445
+ },
446
+ {
447
+ "type": "null"
448
+ }
449
+ ]
450
+ }
451
+ },
452
+ "type": "object",
453
+ "required": [
454
+ "provider",
455
+ "options"
456
+ ],
457
+ "additionalProperties": false
458
+ },
459
+ {
460
+ "properties": {
461
+ "provider": {
462
+ "type": "string",
463
+ "enum": [
464
+ "azure-blob-storage"
465
+ ]
466
+ },
467
+ "options": {
468
+ "anyOf": [
469
+ {
470
+ "type": "object",
471
+ "properties": {
472
+ "accountName": {
473
+ "type": "string"
474
+ },
475
+ "container": {
476
+ "type": "string"
477
+ },
478
+ "prefix": {
479
+ "type": [
480
+ "string",
481
+ "null"
482
+ ]
483
+ },
484
+ "filename": {
485
+ "type": [
486
+ "string",
487
+ "null"
488
+ ]
489
+ }
490
+ },
491
+ "required": [
492
+ "accountName",
493
+ "container",
494
+ "prefix",
495
+ "filename"
496
+ ],
497
+ "additionalProperties": false
498
+ },
499
+ {
500
+ "type": "null"
501
+ }
502
+ ]
503
+ }
504
+ },
505
+ "type": "object",
506
+ "required": [
507
+ "provider",
508
+ "options"
509
+ ],
510
+ "additionalProperties": false
405
511
  }
406
512
  ]
407
513
  },
@@ -36,88 +36,7 @@
36
36
  "font": {
37
37
  "anyOf": [
38
38
  {
39
- "type": "object",
40
- "properties": {
41
- "family": {
42
- "anyOf": [
43
- {
44
- "type": "string",
45
- "enum": [
46
- "Roboto"
47
- ]
48
- },
49
- {
50
- "type": "null"
51
- }
52
- ]
53
- },
54
- "size": {
55
- "anyOf": [
56
- {
57
- "type": "integer",
58
- "minimum": 1,
59
- "maximum": 500
60
- },
61
- {
62
- "type": "null"
63
- }
64
- ]
65
- },
66
- "weight": {
67
- "anyOf": [
68
- {
69
- "type": "string"
70
- },
71
- {
72
- "type": "null"
73
- }
74
- ]
75
- },
76
- "color": {
77
- "anyOf": [
78
- {
79
- "type": "string",
80
- "enum": [
81
- "#ffffff"
82
- ]
83
- },
84
- {
85
- "type": "null"
86
- }
87
- ]
88
- },
89
- "opacity": {
90
- "anyOf": [
91
- {
92
- "type": "number",
93
- "minimum": 0,
94
- "maximum": 1
95
- },
96
- {
97
- "type": "null"
98
- }
99
- ]
100
- },
101
- "background": {
102
- "anyOf": [
103
- {
104
- "type": "string"
105
- },
106
- {
107
- "type": "null"
108
- }
109
- ]
110
- }
111
- },
112
- "additionalProperties": false,
113
- "required": [
114
- "family",
115
- "size",
116
- "weight",
117
- "color",
118
- "opacity",
119
- "background"
120
- ]
39
+ "$ref": "#/$defs/RichTextFont"
121
40
  },
122
41
  {
123
42
  "type": "null"
@@ -302,6 +221,145 @@
302
221
  "confidence"
303
222
  ]
304
223
  },
224
+ "RichTextFont": {
225
+ "properties": {
226
+ "family": {
227
+ "anyOf": [
228
+ {
229
+ "type": "string",
230
+ "enum": [
231
+ "Open Sans"
232
+ ]
233
+ },
234
+ {
235
+ "type": "null"
236
+ }
237
+ ]
238
+ },
239
+ "size": {
240
+ "anyOf": [
241
+ {
242
+ "type": "integer",
243
+ "minimum": 1,
244
+ "maximum": 500
245
+ },
246
+ {
247
+ "type": "null"
248
+ }
249
+ ]
250
+ },
251
+ "weight": {
252
+ "anyOf": [
253
+ {
254
+ "type": "string"
255
+ },
256
+ {
257
+ "type": "null"
258
+ }
259
+ ]
260
+ },
261
+ "color": {
262
+ "anyOf": [
263
+ {
264
+ "type": "string"
265
+ },
266
+ {
267
+ "type": "null"
268
+ }
269
+ ]
270
+ },
271
+ "opacity": {
272
+ "anyOf": [
273
+ {
274
+ "type": "number",
275
+ "minimum": 0,
276
+ "maximum": 1
277
+ },
278
+ {
279
+ "type": "null"
280
+ }
281
+ ]
282
+ },
283
+ "background": {
284
+ "anyOf": [
285
+ {
286
+ "type": "string"
287
+ },
288
+ {
289
+ "type": "null"
290
+ }
291
+ ]
292
+ },
293
+ "stroke": {
294
+ "anyOf": [
295
+ {
296
+ "$ref": "#/$defs/RichTextStroke"
297
+ },
298
+ {
299
+ "type": "null"
300
+ }
301
+ ]
302
+ }
303
+ },
304
+ "additionalProperties": false,
305
+ "type": "object",
306
+ "required": [
307
+ "family",
308
+ "size",
309
+ "weight",
310
+ "color",
311
+ "opacity",
312
+ "background",
313
+ "stroke"
314
+ ]
315
+ },
316
+ "RichTextStroke": {
317
+ "properties": {
318
+ "width": {
319
+ "anyOf": [
320
+ {
321
+ "type": "number",
322
+ "minimum": 0
323
+ },
324
+ {
325
+ "type": "null"
326
+ }
327
+ ]
328
+ },
329
+ "color": {
330
+ "anyOf": [
331
+ {
332
+ "type": "string",
333
+ "enum": [
334
+ "#000000"
335
+ ]
336
+ },
337
+ {
338
+ "type": "null"
339
+ }
340
+ ]
341
+ },
342
+ "opacity": {
343
+ "anyOf": [
344
+ {
345
+ "type": "number",
346
+ "minimum": 0,
347
+ "maximum": 1
348
+ },
349
+ {
350
+ "type": "null"
351
+ }
352
+ ]
353
+ }
354
+ },
355
+ "additionalProperties": false,
356
+ "type": "object",
357
+ "required": [
358
+ "width",
359
+ "color",
360
+ "opacity"
361
+ ]
362
+ },
305
363
  "RichTextStyle": {
306
364
  "properties": {
307
365
  "letterSpacing": {
@@ -448,53 +506,6 @@
448
506
  "additionalProperties": false,
449
507
  "type": "object"
450
508
  },
451
- "RichTextStroke": {
452
- "properties": {
453
- "width": {
454
- "anyOf": [
455
- {
456
- "type": "number",
457
- "minimum": 0
458
- },
459
- {
460
- "type": "null"
461
- }
462
- ]
463
- },
464
- "color": {
465
- "anyOf": [
466
- {
467
- "type": "string",
468
- "enum": [
469
- "#000000"
470
- ]
471
- },
472
- {
473
- "type": "null"
474
- }
475
- ]
476
- },
477
- "opacity": {
478
- "anyOf": [
479
- {
480
- "type": "number",
481
- "minimum": 0,
482
- "maximum": 1
483
- },
484
- {
485
- "type": "null"
486
- }
487
- ]
488
- }
489
- },
490
- "additionalProperties": false,
491
- "type": "object",
492
- "required": [
493
- "width",
494
- "color",
495
- "opacity"
496
- ]
497
- },
498
509
  "RichTextShadow": {
499
510
  "properties": {
500
511
  "offsetX": {
@@ -836,98 +847,6 @@
836
847
  "animation"
837
848
  ]
838
849
  },
839
- "RichTextFont": {
840
- "properties": {
841
- "family": {
842
- "anyOf": [
843
- {
844
- "type": "string",
845
- "enum": [
846
- "Open Sans"
847
- ]
848
- },
849
- {
850
- "type": "null"
851
- }
852
- ]
853
- },
854
- "size": {
855
- "anyOf": [
856
- {
857
- "type": "integer",
858
- "minimum": 1,
859
- "maximum": 500
860
- },
861
- {
862
- "type": "null"
863
- }
864
- ]
865
- },
866
- "weight": {
867
- "anyOf": [
868
- {
869
- "type": "string"
870
- },
871
- {
872
- "type": "null"
873
- }
874
- ]
875
- },
876
- "color": {
877
- "anyOf": [
878
- {
879
- "type": "string"
880
- },
881
- {
882
- "type": "null"
883
- }
884
- ]
885
- },
886
- "opacity": {
887
- "anyOf": [
888
- {
889
- "type": "number",
890
- "minimum": 0,
891
- "maximum": 1
892
- },
893
- {
894
- "type": "null"
895
- }
896
- ]
897
- },
898
- "background": {
899
- "anyOf": [
900
- {
901
- "type": "string"
902
- },
903
- {
904
- "type": "null"
905
- }
906
- ]
907
- },
908
- "stroke": {
909
- "anyOf": [
910
- {
911
- "$ref": "#/$defs/RichTextStroke"
912
- },
913
- {
914
- "type": "null"
915
- }
916
- ]
917
- }
918
- },
919
- "additionalProperties": false,
920
- "type": "object",
921
- "required": [
922
- "family",
923
- "size",
924
- "weight",
925
- "color",
926
- "opacity",
927
- "background",
928
- "stroke"
929
- ]
930
- },
931
850
  "RichTextAlignment": {
932
851
  "properties": {
933
852
  "horizontal": {