@shotstack/schemas 1.6.0 → 1.7.1

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 (95) hide show
  1. package/README.md +89 -89
  2. package/dist/json-schema/asset.json +3153 -0
  3. package/dist/json-schema/audio-asset.json +210 -0
  4. package/dist/json-schema/blueprint.json +380 -0
  5. package/dist/json-schema/caption-asset.json +285 -0
  6. package/dist/json-schema/caption-background.json +61 -0
  7. package/dist/json-schema/caption-detailer.json +275 -0
  8. package/dist/json-schema/caption-font.json +97 -0
  9. package/dist/json-schema/caption-margin.json +49 -0
  10. package/dist/json-schema/chroma-key.json +46 -0
  11. package/dist/json-schema/clip.json +3653 -0
  12. package/dist/json-schema/crop.json +69 -0
  13. package/dist/json-schema/destinations.json +495 -0
  14. package/dist/json-schema/edit.json +4618 -0
  15. package/dist/json-schema/flip-transformation.json +37 -0
  16. package/dist/json-schema/font.json +18 -0
  17. package/dist/json-schema/google-cloud-storage-destination-options.json +42 -0
  18. package/dist/json-schema/google-cloud-storage-destination.json +73 -0
  19. package/dist/json-schema/google-drive-destination-options.json +30 -0
  20. package/dist/json-schema/google-drive-destination.json +54 -0
  21. package/dist/json-schema/image-asset.json +104 -0
  22. package/dist/json-schema/image-to-video-asset.json +151 -0
  23. package/dist/json-schema/index.cjs +6 -0
  24. package/dist/json-schema/index.d.ts +11 -0
  25. package/dist/json-schema/index.js +8 -0
  26. package/dist/json-schema/luma-asset.json +38 -0
  27. package/dist/json-schema/merge-field.json +23 -0
  28. package/dist/json-schema/offset.json +175 -0
  29. package/dist/json-schema/output.json +771 -0
  30. package/dist/json-schema/poster.json +18 -0
  31. package/dist/json-schema/range.json +39 -0
  32. package/dist/json-schema/rich-caption-active-font.json +54 -0
  33. package/dist/json-schema/rich-caption-active.json +154 -0
  34. package/dist/json-schema/rich-caption-asset.json +1098 -0
  35. package/dist/json-schema/rich-caption-word-animation.json +60 -0
  36. package/dist/json-schema/rich-text-alignment.json +47 -0
  37. package/dist/json-schema/rich-text-animation.json +74 -0
  38. package/dist/json-schema/rich-text-asset.json +737 -0
  39. package/dist/json-schema/rich-text-background.json +52 -0
  40. package/dist/json-schema/rich-text-content.json +370 -0
  41. package/dist/json-schema/rich-text-effects.json +400 -0
  42. package/dist/json-schema/rich-text-font.json +157 -0
  43. package/dist/json-schema/rich-text-gradient.json +68 -0
  44. package/dist/json-schema/rich-text-shadow.json +79 -0
  45. package/dist/json-schema/rich-text-stroke.json +55 -0
  46. package/dist/json-schema/rich-text-style.json +165 -0
  47. package/dist/json-schema/rotate-transformation.json +153 -0
  48. package/dist/json-schema/s3destination-options.json +59 -0
  49. package/dist/json-schema/s3destination.json +90 -0
  50. package/dist/json-schema/schemas.json +5061 -0
  51. package/dist/json-schema/shape-asset.json +225 -0
  52. package/dist/json-schema/shotstack-destination.json +33 -0
  53. package/dist/json-schema/size.json +41 -0
  54. package/dist/json-schema/skew-transformation.json +175 -0
  55. package/dist/json-schema/soundtrack.json +47 -0
  56. package/dist/json-schema/svg-arrow-shape.json +49 -0
  57. package/dist/json-schema/svg-asset.json +877 -0
  58. package/dist/json-schema/svg-circle-shape.json +28 -0
  59. package/dist/json-schema/svg-cross-shape.json +42 -0
  60. package/dist/json-schema/svg-ellipse-shape.json +35 -0
  61. package/dist/json-schema/svg-fill.json +169 -0
  62. package/dist/json-schema/svg-gradient-stop.json +25 -0
  63. package/dist/json-schema/svg-heart-shape.json +28 -0
  64. package/dist/json-schema/svg-line-shape.json +35 -0
  65. package/dist/json-schema/svg-linear-gradient-fill.json +80 -0
  66. package/dist/json-schema/svg-path-shape.json +26 -0
  67. package/dist/json-schema/svg-polygon-shape.json +35 -0
  68. package/dist/json-schema/svg-radial-gradient-fill.json +66 -0
  69. package/dist/json-schema/svg-rectangle-shape.json +49 -0
  70. package/dist/json-schema/svg-ring-shape.json +35 -0
  71. package/dist/json-schema/svg-shadow.json +79 -0
  72. package/dist/json-schema/svg-shape.json +404 -0
  73. package/dist/json-schema/svg-solid-fill.json +40 -0
  74. package/dist/json-schema/svg-star-shape.json +42 -0
  75. package/dist/json-schema/svg-stroke.json +115 -0
  76. package/dist/json-schema/svg-transform.json +93 -0
  77. package/dist/json-schema/template.json +541 -0
  78. package/dist/json-schema/text-to-image-asset.json +128 -0
  79. package/dist/json-schema/text-to-speech-asset.json +239 -0
  80. package/dist/json-schema/thumbnail.json +25 -0
  81. package/dist/json-schema/timeline.json +3781 -0
  82. package/dist/json-schema/track.json +3668 -0
  83. package/dist/json-schema/transformation.json +281 -0
  84. package/dist/json-schema/transition.json +85 -0
  85. package/dist/json-schema/tween.json +120 -0
  86. package/dist/json-schema/video-asset.json +351 -0
  87. package/dist/json-schema/vimeo-destination-options.json +149 -0
  88. package/dist/json-schema/vimeo-destination-privacy-options.json +90 -0
  89. package/dist/json-schema/vimeo-destination.json +178 -0
  90. package/dist/json-schema/word-timing.json +44 -0
  91. package/dist/zod/zod.gen.cjs +1080 -921
  92. package/dist/zod/zod.gen.d.ts +139 -139
  93. package/dist/zod/zod.gen.js +1081 -922
  94. package/dist/zod/zod.gen.ts +1583 -1648
  95. package/package.json +79 -73
@@ -0,0 +1,60 @@
1
+ {
2
+ "name": "RichCaptionWordAnimation",
3
+ "strict": true,
4
+ "schema": {
5
+ "description": "Word-level animation properties for caption effects.",
6
+ "type": "object",
7
+ "properties": {
8
+ "style": {
9
+ "description": "The animation style to apply to words: <ul>\n <li>`karaoke` - Word-by-word color fill as spoken (shows all words, highlights active)</li>\n <li>`highlight` - Word changes to active color when spoken (shows all words)</li>\n <li>`pop` - Each word scales up when active</li>\n <li>`fade` - Gradual opacity transition per word</li>\n <li>`slide` - Words slide in from a direction</li>\n <li>`bounce` - Spring animation on word appearance</li>\n <li>`typewriter` - Words appear one by one and stay visible</li>\n <li>`none` - No animation, all words visible immediately</li>\n</ul>",
10
+ "type": "string",
11
+ "enum": [
12
+ "karaoke",
13
+ "highlight",
14
+ "pop",
15
+ "fade",
16
+ "slide",
17
+ "bounce",
18
+ "typewriter",
19
+ "none"
20
+ ]
21
+ },
22
+ "speed": {
23
+ "anyOf": [
24
+ {
25
+ "type": "number",
26
+ "description": "Animation speed multiplier. 1.0 is normal speed, 0.5 is half speed, 2.0 is double speed.",
27
+ "minimum": 0.5,
28
+ "maximum": 2
29
+ },
30
+ {
31
+ "type": "null"
32
+ }
33
+ ]
34
+ },
35
+ "direction": {
36
+ "anyOf": [
37
+ {
38
+ "type": "string",
39
+ "description": "Direction for directional animations (slide). Only applicable when style is `slide`.",
40
+ "enum": [
41
+ "left",
42
+ "right",
43
+ "up",
44
+ "down"
45
+ ]
46
+ },
47
+ {
48
+ "type": "null"
49
+ }
50
+ ]
51
+ }
52
+ },
53
+ "additionalProperties": false,
54
+ "required": [
55
+ "style",
56
+ "speed",
57
+ "direction"
58
+ ]
59
+ }
60
+ }
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "RichTextAlignment",
3
+ "strict": true,
4
+ "schema": {
5
+ "description": "Text alignment properties (horizontal and vertical).",
6
+ "properties": {
7
+ "horizontal": {
8
+ "anyOf": [
9
+ {
10
+ "type": "string",
11
+ "description": "The horizontal alignment of the text.",
12
+ "enum": [
13
+ "left",
14
+ "center",
15
+ "right"
16
+ ]
17
+ },
18
+ {
19
+ "type": "null"
20
+ }
21
+ ]
22
+ },
23
+ "vertical": {
24
+ "anyOf": [
25
+ {
26
+ "type": "string",
27
+ "description": "The vertical alignment of the text within the bounding box.",
28
+ "enum": [
29
+ "top",
30
+ "middle",
31
+ "bottom"
32
+ ]
33
+ },
34
+ {
35
+ "type": "null"
36
+ }
37
+ ]
38
+ }
39
+ },
40
+ "additionalProperties": false,
41
+ "type": "object",
42
+ "required": [
43
+ "horizontal",
44
+ "vertical"
45
+ ]
46
+ }
47
+ }
@@ -0,0 +1,74 @@
1
+ {
2
+ "name": "RichTextAnimation",
3
+ "strict": true,
4
+ "schema": {
5
+ "description": "Animation properties for text entrance effects.",
6
+ "properties": {
7
+ "preset": {
8
+ "description": "The animation preset to apply. Available presets: <ul>\n <li>`fadeIn` - fadeIn in animation</li>\n <li>`slideIn` - slide in from a direction</li>\n <li>`typewriter` - typewriter effect</li>\n <li>`ascend` - ascend from a direction</li>\n <li>`shift` - shift in from a direction</li>\n <li>`movingLetters` - letters move in from a direction</li>\n</ul>",
9
+ "type": "string",
10
+ "enum": [
11
+ "fadeIn",
12
+ "slideIn",
13
+ "typewriter",
14
+ "ascend",
15
+ "shift",
16
+ "movingLetters"
17
+ ]
18
+ },
19
+ "duration": {
20
+ "anyOf": [
21
+ {
22
+ "type": "number",
23
+ "description": "Override animation duration in seconds. Must be between 0.1 and 30 seconds.",
24
+ "minimum": 0.1,
25
+ "maximum": 30
26
+ },
27
+ {
28
+ "type": "null"
29
+ }
30
+ ]
31
+ },
32
+ "style": {
33
+ "anyOf": [
34
+ {
35
+ "type": "string",
36
+ "description": "Animation style - animate by character or by word. Only applicable for typewriter and shift animations.",
37
+ "enum": [
38
+ "character",
39
+ "word"
40
+ ]
41
+ },
42
+ {
43
+ "type": "null"
44
+ }
45
+ ]
46
+ },
47
+ "direction": {
48
+ "anyOf": [
49
+ {
50
+ "type": "string",
51
+ "description": "Direction for directional animations. Required for slideIn, ascend, shift, and movingLetters presets. <ul>\n <li>`ascend` - supports: up, down</li>\n <li>`shift` - supports: left, right, up, down</li>\n <li>`slideIn` - supports: left, right, up, down</li>\n <li>`movingLetters` - supports: left, right, up, down</li>\n</ul>",
52
+ "enum": [
53
+ "left",
54
+ "right",
55
+ "up",
56
+ "down"
57
+ ]
58
+ },
59
+ {
60
+ "type": "null"
61
+ }
62
+ ]
63
+ }
64
+ },
65
+ "required": [
66
+ "preset",
67
+ "duration",
68
+ "style",
69
+ "direction"
70
+ ],
71
+ "additionalProperties": false,
72
+ "type": "object"
73
+ }
74
+ }