@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,178 @@
1
+ {
2
+ "name": "VimeoDestination",
3
+ "strict": true,
4
+ "schema": {
5
+ "description": "Send videos to [Vimeo](https://shotstack.io/docs/guide/serving-assets/destinations/vimeo/) video hosting and streaming service. Vimeo credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/vimeo), not in the request.",
6
+ "properties": {
7
+ "provider": {
8
+ "description": "The destination to send video to - set to `vimeo` for Vimeo.",
9
+ "type": "string",
10
+ "enum": [
11
+ "vimeo"
12
+ ]
13
+ },
14
+ "options": {
15
+ "anyOf": [
16
+ {
17
+ "description": "Additional Vimeo configuration and features.",
18
+ "$ref": "#/$defs/VimeoDestinationOptions"
19
+ },
20
+ {
21
+ "type": "null"
22
+ }
23
+ ]
24
+ }
25
+ },
26
+ "type": "object",
27
+ "required": [
28
+ "provider",
29
+ "options"
30
+ ],
31
+ "additionalProperties": false,
32
+ "$defs": {
33
+ "VimeoDestinationOptions": {
34
+ "description": "Pass additional options to control how Vimeo publishes video, including name, description and privacy settings.",
35
+ "properties": {
36
+ "name": {
37
+ "anyOf": [
38
+ {
39
+ "type": "string",
40
+ "description": "A name or title for the video that will be displayed on the Vimeo website."
41
+ },
42
+ {
43
+ "type": "null"
44
+ }
45
+ ]
46
+ },
47
+ "description": {
48
+ "anyOf": [
49
+ {
50
+ "type": "string",
51
+ "description": "A description of the video that will be displayed on the Vimeo website."
52
+ },
53
+ {
54
+ "type": "null"
55
+ }
56
+ ]
57
+ },
58
+ "privacy": {
59
+ "anyOf": [
60
+ {
61
+ "description": "Options to control the visibility of videos and privacy features.",
62
+ "$ref": "#/$defs/VimeoDestinationPrivacyOptions"
63
+ },
64
+ {
65
+ "type": "null"
66
+ }
67
+ ]
68
+ },
69
+ "folderUri": {
70
+ "anyOf": [
71
+ {
72
+ "type": "string",
73
+ "description": "The Vimeo folder URI to upload the video to. The folder must already exist in your Vimeo account."
74
+ },
75
+ {
76
+ "type": "null"
77
+ }
78
+ ]
79
+ }
80
+ },
81
+ "type": "object",
82
+ "additionalProperties": false,
83
+ "required": [
84
+ "name",
85
+ "description",
86
+ "privacy",
87
+ "folderUri"
88
+ ]
89
+ },
90
+ "VimeoDestinationPrivacyOptions": {
91
+ "description": "Options to control the visibility of videos and privacy features.",
92
+ "properties": {
93
+ "view": {
94
+ "anyOf": [
95
+ {
96
+ "type": "string",
97
+ "description": "Set who can view the videos. Available options are: <ul>\n <li>`anybody` - Anyone can view the video.</li>\n <li>`nobody` - Only the video owner can view the video.</li>\n <li>`contacts` - Only contacts can view the video.</li>\n <li>`password` - A password is required to view the video.</li>\n <li>`unlisted` - The video is not listed on Vimeo.</li>\n</ul>",
98
+ "enum": [
99
+ "anybody",
100
+ "nobody",
101
+ "contacts",
102
+ "password",
103
+ "unlisted"
104
+ ]
105
+ },
106
+ {
107
+ "type": "null"
108
+ }
109
+ ]
110
+ },
111
+ "embed": {
112
+ "anyOf": [
113
+ {
114
+ "type": "string",
115
+ "description": "Set who can embed the video. Available options are: <ul>\n <li>`public` - Anyone can embed the video.</li>\n <li>`private` - Only the video owner can embed the video.</li>\n <li>`whitelist` - Only whitelisted domains can embed the video.</li>\n</ul>",
116
+ "enum": [
117
+ "public",
118
+ "private",
119
+ "whitelist"
120
+ ]
121
+ },
122
+ {
123
+ "type": "null"
124
+ }
125
+ ]
126
+ },
127
+ "comments": {
128
+ "anyOf": [
129
+ {
130
+ "type": "string",
131
+ "description": "Set who can comment on the video. Available options are: <ul>\n <li>`anybody` - Anyone can comment on the video.</li>\n <li>`nobody` - Only the video owner can comment on the video.</li>\n <li>`contacts` - Only contacts can comment on the video.</li>\n</ul>",
132
+ "enum": [
133
+ "anybody",
134
+ "nobody",
135
+ "contacts"
136
+ ]
137
+ },
138
+ {
139
+ "type": "null"
140
+ }
141
+ ]
142
+ },
143
+ "download": {
144
+ "anyOf": [
145
+ {
146
+ "type": "boolean",
147
+ "description": "Set whether the video can be downloaded."
148
+ },
149
+ {
150
+ "type": "null"
151
+ }
152
+ ]
153
+ },
154
+ "add": {
155
+ "anyOf": [
156
+ {
157
+ "type": "boolean",
158
+ "description": "Set whether other users can add the video to their collections."
159
+ },
160
+ {
161
+ "type": "null"
162
+ }
163
+ ]
164
+ }
165
+ },
166
+ "type": "object",
167
+ "additionalProperties": false,
168
+ "required": [
169
+ "view",
170
+ "embed",
171
+ "comments",
172
+ "download",
173
+ "add"
174
+ ]
175
+ }
176
+ }
177
+ }
178
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "WordTiming",
3
+ "strict": true,
4
+ "schema": {
5
+ "description": "Word-level timing information for caption animation.",
6
+ "type": "object",
7
+ "properties": {
8
+ "text": {
9
+ "description": "The word text to display.",
10
+ "type": "string"
11
+ },
12
+ "start": {
13
+ "description": "Start time of the word in milliseconds.",
14
+ "type": "number",
15
+ "minimum": 0
16
+ },
17
+ "end": {
18
+ "description": "End time of the word in milliseconds.",
19
+ "type": "number",
20
+ "minimum": 0
21
+ },
22
+ "confidence": {
23
+ "anyOf": [
24
+ {
25
+ "type": "number",
26
+ "description": "Speech-to-text confidence score between 0 and 1.",
27
+ "minimum": 0,
28
+ "maximum": 1
29
+ },
30
+ {
31
+ "type": "null"
32
+ }
33
+ ]
34
+ }
35
+ },
36
+ "additionalProperties": false,
37
+ "required": [
38
+ "text",
39
+ "start",
40
+ "end",
41
+ "confidence"
42
+ ]
43
+ }
44
+ }