@shotstack/schemas 1.7.1 → 1.8.2

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 (36) hide show
  1. package/README.md +89 -89
  2. package/dist/api.bundled.json +49 -833
  3. package/dist/json-schema/asset.json +84 -855
  4. package/dist/json-schema/clip.json +84 -855
  5. package/dist/json-schema/edit.json +84 -855
  6. package/dist/json-schema/rich-caption-asset.json +221 -140
  7. package/dist/json-schema/schemas.json +93 -951
  8. package/dist/json-schema/svg-asset.json +6 -857
  9. package/dist/json-schema/timeline.json +84 -855
  10. package/dist/json-schema/track.json +84 -855
  11. package/dist/schema.d.ts +43 -660
  12. package/dist/zod/zod.gen.cjs +914 -1640
  13. package/dist/zod/zod.gen.d.ts +306 -8714
  14. package/dist/zod/zod.gen.js +911 -1636
  15. package/dist/zod/zod.gen.ts +1593 -1880
  16. package/package.json +79 -79
  17. package/dist/json-schema/svg-arrow-shape.json +0 -49
  18. package/dist/json-schema/svg-circle-shape.json +0 -28
  19. package/dist/json-schema/svg-cross-shape.json +0 -42
  20. package/dist/json-schema/svg-ellipse-shape.json +0 -35
  21. package/dist/json-schema/svg-fill.json +0 -169
  22. package/dist/json-schema/svg-gradient-stop.json +0 -25
  23. package/dist/json-schema/svg-heart-shape.json +0 -28
  24. package/dist/json-schema/svg-line-shape.json +0 -35
  25. package/dist/json-schema/svg-linear-gradient-fill.json +0 -80
  26. package/dist/json-schema/svg-path-shape.json +0 -26
  27. package/dist/json-schema/svg-polygon-shape.json +0 -35
  28. package/dist/json-schema/svg-radial-gradient-fill.json +0 -66
  29. package/dist/json-schema/svg-rectangle-shape.json +0 -49
  30. package/dist/json-schema/svg-ring-shape.json +0 -35
  31. package/dist/json-schema/svg-shadow.json +0 -79
  32. package/dist/json-schema/svg-shape.json +0 -404
  33. package/dist/json-schema/svg-solid-fill.json +0 -40
  34. package/dist/json-schema/svg-star-shape.json +0 -42
  35. package/dist/json-schema/svg-stroke.json +0 -115
  36. package/dist/json-schema/svg-transform.json +0 -93
@@ -36,7 +36,88 @@
36
36
  "font": {
37
37
  "anyOf": [
38
38
  {
39
- "$ref": "#/$defs/RichTextFont"
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
+ ]
40
121
  },
41
122
  {
42
123
  "type": "null"
@@ -221,145 +302,6 @@
221
302
  "confidence"
222
303
  ]
223
304
  },
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
- },
363
305
  "RichTextStyle": {
364
306
  "properties": {
365
307
  "letterSpacing": {
@@ -506,6 +448,53 @@
506
448
  "additionalProperties": false,
507
449
  "type": "object"
508
450
  },
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
+ },
509
498
  "RichTextShadow": {
510
499
  "properties": {
511
500
  "offsetX": {
@@ -847,6 +836,98 @@
847
836
  "animation"
848
837
  ]
849
838
  },
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
+ },
850
931
  "RichTextAlignment": {
851
932
  "properties": {
852
933
  "horizontal": {