@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,175 +0,0 @@
1
- {
2
- "name": "Offset",
3
- "strict": true,
4
- "schema": {
5
- "description": "Offsets the position of an asset horizontally or vertically by a relative distance.",
6
- "properties": {
7
- "x": {
8
- "description": "Offset an asset on the horizontal axis (left or right). Use a number or an array of [Tween](./#tocs_tween) objects to create a custom animation.",
9
- "anyOf": [
10
- {
11
- "type": "number",
12
- "description": "Range varies from -10 to 10. Positive numbers move the asset right, negative left. The distance moved is relative to the width of the viewport - i.e. an X offset of 0.5 will move the asset half the screen width to the right.",
13
- "minimum": -10,
14
- "maximum": 10
15
- },
16
- {
17
- "type": "array",
18
- "description": "An array of [Tween](./#tocs_tween) objects used to create a custom animation. Animate the X offset of an asset over time.",
19
- "items": {
20
- "$ref": "#/$defs/Tween"
21
- }
22
- },
23
- {
24
- "type": "null"
25
- }
26
- ]
27
- },
28
- "y": {
29
- "description": "Offset an asset on the vertical axis (up or down). Use a number or an array of [Tween](./#tocs_tween) objects to create a custom animation.",
30
- "anyOf": [
31
- {
32
- "type": "number",
33
- "description": "Range varies from -10 to 10. Positive numbers move the asset up, negative down. The distance moved is relative to the height of the viewport - i.e. an Y offset of 0.5 will move the asset half the screen height up.",
34
- "minimum": -10,
35
- "maximum": 10
36
- },
37
- {
38
- "type": "array",
39
- "description": "An array of [Tween](./#tocs_tween) objects used to create a custom animation. Animate the Y offset of an asset over time.",
40
- "items": {
41
- "$ref": "#/$defs/Tween"
42
- }
43
- },
44
- {
45
- "type": "null"
46
- }
47
- ]
48
- }
49
- },
50
- "additionalProperties": false,
51
- "type": "object",
52
- "required": [
53
- "x",
54
- "y"
55
- ],
56
- "$defs": {
57
- "Tween": {
58
- "description": "Use a Tween to [animate properties over time](/docs/guide/architecting-an-application/animations/). The following properties are currently supported and can be animated:\n <ul>\n <li>Opacity - animate the transparency of a clip.</li>\n <li>Offset - animate the x and y position of a clip.</li>\n <li>Rotation - animate the rotation of a clip.</li>\n <li>Skew - animate the horizontal and vertical shearing effect.</li>\n <li>Volume - animate the audio volume of a clip.</li>\n </ul>",
59
- "properties": {
60
- "from": {
61
- "anyOf": [
62
- {
63
- "type": "string",
64
- "description": "The initial property value at the start of the animation."
65
- },
66
- {
67
- "type": "null"
68
- }
69
- ]
70
- },
71
- "to": {
72
- "anyOf": [
73
- {
74
- "type": "string",
75
- "description": "The final property value at the end of the animation."
76
- },
77
- {
78
- "type": "null"
79
- }
80
- ]
81
- },
82
- "start": {
83
- "anyOf": [
84
- {
85
- "type": "number",
86
- "description": "The time in seconds when the animation starts, relative to the clip, not the timeline."
87
- },
88
- {
89
- "type": "null"
90
- }
91
- ]
92
- },
93
- "length": {
94
- "anyOf": [
95
- {
96
- "type": "number",
97
- "description": "The duration of the animation in seconds."
98
- },
99
- {
100
- "type": "null"
101
- }
102
- ]
103
- },
104
- "interpolation": {
105
- "anyOf": [
106
- {
107
- "type": "string",
108
- "description": "The interpolation method to use for the animation. Available options are: <ul>\n <li>`linear` - a linear interpolation between the start and end values.</li>\n <li>`bezier` - a bezier curve interpolation between the start and end values.</li>\n <li>`constant` - an interpolation where the property instantly jumps from the start to the end value, without any gradual transition.</li>\n</ul>",
109
- "enum": [
110
- "linear",
111
- "bezier",
112
- "constant"
113
- ]
114
- },
115
- {
116
- "type": "null"
117
- }
118
- ]
119
- },
120
- "easing": {
121
- "anyOf": [
122
- {
123
- "type": "string",
124
- "description": "The easing function to use for the animation. Easing controls the rate of change of the animated value, allowing for more natural motion by speeding up or slowing down the animation at different points. Only applicable if interpolation is set to `bezier`.",
125
- "enum": [
126
- "ease",
127
- "easeIn",
128
- "easeOut",
129
- "easeInOut",
130
- "easeInQuad",
131
- "easeInCubic",
132
- "easeInQuart",
133
- "easeInQuint",
134
- "easeInSine",
135
- "easeInExpo",
136
- "easeInCirc",
137
- "easeInBack",
138
- "easeOutQuad",
139
- "easeOutCubic",
140
- "easeOutQuart",
141
- "easeOutQuint",
142
- "easeOutSine",
143
- "easeOutExpo",
144
- "easeOutCirc",
145
- "easeOutBack",
146
- "easeInOutQuad",
147
- "easeInOutCubic",
148
- "easeInOutQuart",
149
- "easeInOutQuint",
150
- "easeInOutSine",
151
- "easeInOutExpo",
152
- "easeInOutCirc",
153
- "easeInOutBack"
154
- ]
155
- },
156
- {
157
- "type": "null"
158
- }
159
- ]
160
- }
161
- },
162
- "additionalProperties": false,
163
- "type": "object",
164
- "required": [
165
- "from",
166
- "to",
167
- "start",
168
- "length",
169
- "interpolation",
170
- "easing"
171
- ]
172
- }
173
- }
174
- }
175
- }