@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.
- package/README.md +89 -89
- package/dist/json-schema/asset.json +3153 -0
- package/dist/json-schema/audio-asset.json +210 -0
- package/dist/json-schema/blueprint.json +380 -0
- package/dist/json-schema/caption-asset.json +285 -0
- package/dist/json-schema/caption-background.json +61 -0
- package/dist/json-schema/caption-detailer.json +275 -0
- package/dist/json-schema/caption-font.json +97 -0
- package/dist/json-schema/caption-margin.json +49 -0
- package/dist/json-schema/chroma-key.json +46 -0
- package/dist/json-schema/clip.json +3653 -0
- package/dist/json-schema/crop.json +69 -0
- package/dist/json-schema/destinations.json +495 -0
- package/dist/json-schema/edit.json +4618 -0
- package/dist/json-schema/flip-transformation.json +37 -0
- package/dist/json-schema/font.json +18 -0
- package/dist/json-schema/google-cloud-storage-destination-options.json +42 -0
- package/dist/json-schema/google-cloud-storage-destination.json +73 -0
- package/dist/json-schema/google-drive-destination-options.json +30 -0
- package/dist/json-schema/google-drive-destination.json +54 -0
- package/dist/json-schema/image-asset.json +104 -0
- package/dist/json-schema/image-to-video-asset.json +151 -0
- package/dist/json-schema/index.cjs +6 -0
- package/dist/json-schema/index.d.ts +11 -0
- package/dist/json-schema/index.js +8 -0
- package/dist/json-schema/luma-asset.json +38 -0
- package/dist/json-schema/merge-field.json +23 -0
- package/dist/json-schema/offset.json +175 -0
- package/dist/json-schema/output.json +771 -0
- package/dist/json-schema/poster.json +18 -0
- package/dist/json-schema/range.json +39 -0
- package/dist/json-schema/rich-caption-active-font.json +54 -0
- package/dist/json-schema/rich-caption-active.json +154 -0
- package/dist/json-schema/rich-caption-asset.json +1098 -0
- package/dist/json-schema/rich-caption-word-animation.json +60 -0
- package/dist/json-schema/rich-text-alignment.json +47 -0
- package/dist/json-schema/rich-text-animation.json +74 -0
- package/dist/json-schema/rich-text-asset.json +737 -0
- package/dist/json-schema/rich-text-background.json +52 -0
- package/dist/json-schema/rich-text-content.json +370 -0
- package/dist/json-schema/rich-text-effects.json +400 -0
- package/dist/json-schema/rich-text-font.json +157 -0
- package/dist/json-schema/rich-text-gradient.json +68 -0
- package/dist/json-schema/rich-text-shadow.json +79 -0
- package/dist/json-schema/rich-text-stroke.json +55 -0
- package/dist/json-schema/rich-text-style.json +165 -0
- package/dist/json-schema/rotate-transformation.json +153 -0
- package/dist/json-schema/s3destination-options.json +59 -0
- package/dist/json-schema/s3destination.json +90 -0
- package/dist/json-schema/schemas.json +5061 -0
- package/dist/json-schema/shape-asset.json +225 -0
- package/dist/json-schema/shotstack-destination.json +33 -0
- package/dist/json-schema/size.json +41 -0
- package/dist/json-schema/skew-transformation.json +175 -0
- package/dist/json-schema/soundtrack.json +47 -0
- package/dist/json-schema/svg-arrow-shape.json +49 -0
- package/dist/json-schema/svg-asset.json +877 -0
- package/dist/json-schema/svg-circle-shape.json +28 -0
- package/dist/json-schema/svg-cross-shape.json +42 -0
- package/dist/json-schema/svg-ellipse-shape.json +35 -0
- package/dist/json-schema/svg-fill.json +169 -0
- package/dist/json-schema/svg-gradient-stop.json +25 -0
- package/dist/json-schema/svg-heart-shape.json +28 -0
- package/dist/json-schema/svg-line-shape.json +35 -0
- package/dist/json-schema/svg-linear-gradient-fill.json +80 -0
- package/dist/json-schema/svg-path-shape.json +26 -0
- package/dist/json-schema/svg-polygon-shape.json +35 -0
- package/dist/json-schema/svg-radial-gradient-fill.json +66 -0
- package/dist/json-schema/svg-rectangle-shape.json +49 -0
- package/dist/json-schema/svg-ring-shape.json +35 -0
- package/dist/json-schema/svg-shadow.json +79 -0
- package/dist/json-schema/svg-shape.json +404 -0
- package/dist/json-schema/svg-solid-fill.json +40 -0
- package/dist/json-schema/svg-star-shape.json +42 -0
- package/dist/json-schema/svg-stroke.json +115 -0
- package/dist/json-schema/svg-transform.json +93 -0
- package/dist/json-schema/template.json +541 -0
- package/dist/json-schema/text-to-image-asset.json +128 -0
- package/dist/json-schema/text-to-speech-asset.json +239 -0
- package/dist/json-schema/thumbnail.json +25 -0
- package/dist/json-schema/timeline.json +3781 -0
- package/dist/json-schema/track.json +3668 -0
- package/dist/json-schema/transformation.json +281 -0
- package/dist/json-schema/transition.json +85 -0
- package/dist/json-schema/tween.json +120 -0
- package/dist/json-schema/video-asset.json +351 -0
- package/dist/json-schema/vimeo-destination-options.json +149 -0
- package/dist/json-schema/vimeo-destination-privacy-options.json +90 -0
- package/dist/json-schema/vimeo-destination.json +178 -0
- package/dist/json-schema/word-timing.json +44 -0
- package/dist/zod/zod.gen.cjs +1080 -921
- package/dist/zod/zod.gen.d.ts +139 -139
- package/dist/zod/zod.gen.js +1081 -922
- package/dist/zod/zod.gen.ts +1583 -1648
- package/package.json +79 -73
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "VideoAsset",
|
|
3
|
+
"strict": true,
|
|
4
|
+
"schema": {
|
|
5
|
+
"description": "The VideoAsset is used to create video sequences from video files. The ...",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"type": {
|
|
9
|
+
"enum": [
|
|
10
|
+
"video"
|
|
11
|
+
],
|
|
12
|
+
"description": "The type of asset -...",
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"src": {
|
|
16
|
+
"description": "The video source URL. The URL must be...",
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"transcode": {
|
|
20
|
+
"anyOf": [
|
|
21
|
+
{
|
|
22
|
+
"type": "boolean",
|
|
23
|
+
"description": "Set to `true` to force re-encoding of the video during preprocessing. This can help resolve compatibility issues, fix rotation ..."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"type": "null"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
"trim": {
|
|
31
|
+
"anyOf": [
|
|
32
|
+
{
|
|
33
|
+
"type": "number",
|
|
34
|
+
"description": "The start trim point of the video clip, in seconds (defaults to 0). Videos will start ..."
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"type": "null"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"volume": {
|
|
42
|
+
"description": "Set the volume of the video clip. Use a number or an array of...",
|
|
43
|
+
"anyOf": [
|
|
44
|
+
{
|
|
45
|
+
"type": "number",
|
|
46
|
+
"description": "The volume level for the video clip. Range varies from...",
|
|
47
|
+
"minimum": 0,
|
|
48
|
+
"maximum": 1
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"type": "array",
|
|
52
|
+
"description": "An array of [Tween](./#tocs_tween) objects used to create...",
|
|
53
|
+
"items": {
|
|
54
|
+
"$ref": "#/$defs/Tween"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"type": "null"
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
"volumeEffect": {
|
|
63
|
+
"anyOf": [
|
|
64
|
+
{
|
|
65
|
+
"type": "string",
|
|
66
|
+
"description": "Preset volume effects to apply to the video asset <ul>\n <li>`fadeIn` - fade volume in only</li...",
|
|
67
|
+
"enum": [
|
|
68
|
+
"none",
|
|
69
|
+
"fadeIn",
|
|
70
|
+
"fadeOut",
|
|
71
|
+
"fadeInFadeOut"
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"type": "null"
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
"speed": {
|
|
80
|
+
"anyOf": [
|
|
81
|
+
{
|
|
82
|
+
"type": "number",
|
|
83
|
+
"description": "Adjust the playback speed of the video clip between 0 (paused) and 10 (10x normal speed) where 1 is normal speed (defaults to 1). Adjusting the speed will also adjust the duration of the clip and may require you to adjust the Clip lengt...",
|
|
84
|
+
"minimum": 0,
|
|
85
|
+
"maximum": 10
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"type": "null"
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
"crop": {
|
|
93
|
+
"anyOf": [
|
|
94
|
+
{
|
|
95
|
+
"$ref": "#/$defs/Crop"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"type": "null"
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
"chromaKey": {
|
|
103
|
+
"anyOf": [
|
|
104
|
+
{
|
|
105
|
+
"$ref": "#/$defs/ChromaKey"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"type": "null"
|
|
109
|
+
}
|
|
110
|
+
]
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"additionalProperties": false,
|
|
114
|
+
"required": [
|
|
115
|
+
"type",
|
|
116
|
+
"src",
|
|
117
|
+
"transcode",
|
|
118
|
+
"trim",
|
|
119
|
+
"volume",
|
|
120
|
+
"volumeEffect",
|
|
121
|
+
"speed",
|
|
122
|
+
"crop",
|
|
123
|
+
"chromaKey"
|
|
124
|
+
],
|
|
125
|
+
"$defs": {
|
|
126
|
+
"Tween": {
|
|
127
|
+
"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 <l...",
|
|
128
|
+
"properties": {
|
|
129
|
+
"from": {
|
|
130
|
+
"anyOf": [
|
|
131
|
+
{
|
|
132
|
+
"type": "string",
|
|
133
|
+
"description": "The initial property valu..."
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"type": "null"
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
},
|
|
140
|
+
"to": {
|
|
141
|
+
"anyOf": [
|
|
142
|
+
{
|
|
143
|
+
"type": "string",
|
|
144
|
+
"description": "The final property valu..."
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"type": "null"
|
|
148
|
+
}
|
|
149
|
+
]
|
|
150
|
+
},
|
|
151
|
+
"start": {
|
|
152
|
+
"anyOf": [
|
|
153
|
+
{
|
|
154
|
+
"type": "number",
|
|
155
|
+
"description": "The time in seconds when the animation ..."
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"type": "null"
|
|
159
|
+
}
|
|
160
|
+
]
|
|
161
|
+
},
|
|
162
|
+
"length": {
|
|
163
|
+
"anyOf": [
|
|
164
|
+
{
|
|
165
|
+
"type": "number",
|
|
166
|
+
"description": "The duration of t..."
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"type": "null"
|
|
170
|
+
}
|
|
171
|
+
]
|
|
172
|
+
},
|
|
173
|
+
"interpolation": {
|
|
174
|
+
"anyOf": [
|
|
175
|
+
{
|
|
176
|
+
"type": "string",
|
|
177
|
+
"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 ...",
|
|
178
|
+
"enum": [
|
|
179
|
+
"linear",
|
|
180
|
+
"bezier",
|
|
181
|
+
"constant"
|
|
182
|
+
]
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"type": "null"
|
|
186
|
+
}
|
|
187
|
+
]
|
|
188
|
+
},
|
|
189
|
+
"easing": {
|
|
190
|
+
"anyOf": [
|
|
191
|
+
{
|
|
192
|
+
"type": "string",
|
|
193
|
+
"description": "The easing function to use for the animation. Easing controls the rate of change of the animated value, allowing for more na...",
|
|
194
|
+
"enum": [
|
|
195
|
+
"ease",
|
|
196
|
+
"easeIn",
|
|
197
|
+
"easeOut",
|
|
198
|
+
"easeInOut",
|
|
199
|
+
"easeInQuad",
|
|
200
|
+
"easeInCubic",
|
|
201
|
+
"easeInQuart",
|
|
202
|
+
"easeInQuint",
|
|
203
|
+
"easeInSine",
|
|
204
|
+
"easeInExpo",
|
|
205
|
+
"easeInCirc",
|
|
206
|
+
"easeInBack",
|
|
207
|
+
"easeOutQuad",
|
|
208
|
+
"easeOutCubic",
|
|
209
|
+
"easeOutQuart",
|
|
210
|
+
"easeOutQuint",
|
|
211
|
+
"easeOutSine",
|
|
212
|
+
"easeOutExpo",
|
|
213
|
+
"easeOutCirc",
|
|
214
|
+
"easeOutBack",
|
|
215
|
+
"easeInOutQuad",
|
|
216
|
+
"easeInOutCubic",
|
|
217
|
+
"easeInOutQuart",
|
|
218
|
+
"easeInOutQuint",
|
|
219
|
+
"easeInOutSine",
|
|
220
|
+
"easeInOutExpo",
|
|
221
|
+
"easeInOutCirc",
|
|
222
|
+
"easeInOutBack"
|
|
223
|
+
]
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"type": "null"
|
|
227
|
+
}
|
|
228
|
+
]
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
"additionalProperties": false,
|
|
232
|
+
"type": "object",
|
|
233
|
+
"required": [
|
|
234
|
+
"from",
|
|
235
|
+
"to",
|
|
236
|
+
"start",
|
|
237
|
+
"length",
|
|
238
|
+
"interpolation",
|
|
239
|
+
"easing"
|
|
240
|
+
]
|
|
241
|
+
},
|
|
242
|
+
"Crop": {
|
|
243
|
+
"description": "Crop the sides of an asset by a relative amount. The size of the crop is specified using a scale between 0 and 1, relative to the scr...",
|
|
244
|
+
"properties": {
|
|
245
|
+
"top": {
|
|
246
|
+
"anyOf": [
|
|
247
|
+
{
|
|
248
|
+
"type": "number",
|
|
249
|
+
"description": "Crop from t...",
|
|
250
|
+
"minimum": 0,
|
|
251
|
+
"maximum": 1
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"type": "null"
|
|
255
|
+
}
|
|
256
|
+
]
|
|
257
|
+
},
|
|
258
|
+
"bottom": {
|
|
259
|
+
"anyOf": [
|
|
260
|
+
{
|
|
261
|
+
"type": "number",
|
|
262
|
+
"description": "Crop from the...",
|
|
263
|
+
"minimum": 0,
|
|
264
|
+
"maximum": 1
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"type": "null"
|
|
268
|
+
}
|
|
269
|
+
]
|
|
270
|
+
},
|
|
271
|
+
"left": {
|
|
272
|
+
"anyOf": [
|
|
273
|
+
{
|
|
274
|
+
"type": "number",
|
|
275
|
+
"description": "Crop from th...",
|
|
276
|
+
"minimum": 0,
|
|
277
|
+
"maximum": 1
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"type": "null"
|
|
281
|
+
}
|
|
282
|
+
]
|
|
283
|
+
},
|
|
284
|
+
"right": {
|
|
285
|
+
"anyOf": [
|
|
286
|
+
{
|
|
287
|
+
"type": "number",
|
|
288
|
+
"description": "Crop from th...",
|
|
289
|
+
"minimum": 0,
|
|
290
|
+
"maximum": 1
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"type": "null"
|
|
294
|
+
}
|
|
295
|
+
]
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
"additionalProperties": false,
|
|
299
|
+
"type": "object",
|
|
300
|
+
"required": [
|
|
301
|
+
"top",
|
|
302
|
+
"bottom",
|
|
303
|
+
"left",
|
|
304
|
+
"right"
|
|
305
|
+
]
|
|
306
|
+
},
|
|
307
|
+
"ChromaKey": {
|
|
308
|
+
"description": "Chroma key is a technique that replaces a specific color in a video with a different background image or vi...",
|
|
309
|
+
"properties": {
|
|
310
|
+
"color": {
|
|
311
|
+
"description": "The chroma key color as a hex value. Use green (#00b140) for green screens o...",
|
|
312
|
+
"type": "string"
|
|
313
|
+
},
|
|
314
|
+
"threshold": {
|
|
315
|
+
"anyOf": [
|
|
316
|
+
{
|
|
317
|
+
"type": "integer",
|
|
318
|
+
"description": "Pixels within this distance from the key color...",
|
|
319
|
+
"minimum": 0,
|
|
320
|
+
"maximum": 250
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"type": "null"
|
|
324
|
+
}
|
|
325
|
+
]
|
|
326
|
+
},
|
|
327
|
+
"halo": {
|
|
328
|
+
"anyOf": [
|
|
329
|
+
{
|
|
330
|
+
"type": "integer",
|
|
331
|
+
"description": "Pixels within the halo distance from the threshold boundary are gi...",
|
|
332
|
+
"minimum": 0,
|
|
333
|
+
"maximum": 250
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"type": "null"
|
|
337
|
+
}
|
|
338
|
+
]
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
"additionalProperties": false,
|
|
342
|
+
"required": [
|
|
343
|
+
"color",
|
|
344
|
+
"threshold",
|
|
345
|
+
"halo"
|
|
346
|
+
],
|
|
347
|
+
"type": "object"
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "VimeoDestinationOptions",
|
|
3
|
+
"strict": true,
|
|
4
|
+
"schema": {
|
|
5
|
+
"description": "Pass additional options to control how Vimeo publishes video, including name, description and privacy settings.",
|
|
6
|
+
"properties": {
|
|
7
|
+
"name": {
|
|
8
|
+
"anyOf": [
|
|
9
|
+
{
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "A name or title for the video that will be displayed on the Vimeo website."
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"type": "null"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"description": {
|
|
19
|
+
"anyOf": [
|
|
20
|
+
{
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "A description of the video that will be displayed on the Vimeo website."
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"type": "null"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"privacy": {
|
|
30
|
+
"anyOf": [
|
|
31
|
+
{
|
|
32
|
+
"description": "Options to control the visibility of videos and privacy features.",
|
|
33
|
+
"$ref": "#/$defs/VimeoDestinationPrivacyOptions"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"type": "null"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"folderUri": {
|
|
41
|
+
"anyOf": [
|
|
42
|
+
{
|
|
43
|
+
"type": "string",
|
|
44
|
+
"description": "The Vimeo folder URI to upload the video to. The folder must already exist in your Vimeo account."
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"type": "null"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"type": "object",
|
|
53
|
+
"additionalProperties": false,
|
|
54
|
+
"required": [
|
|
55
|
+
"name",
|
|
56
|
+
"description",
|
|
57
|
+
"privacy",
|
|
58
|
+
"folderUri"
|
|
59
|
+
],
|
|
60
|
+
"$defs": {
|
|
61
|
+
"VimeoDestinationPrivacyOptions": {
|
|
62
|
+
"description": "Options to control the visibility of videos and privacy features.",
|
|
63
|
+
"properties": {
|
|
64
|
+
"view": {
|
|
65
|
+
"anyOf": [
|
|
66
|
+
{
|
|
67
|
+
"type": "string",
|
|
68
|
+
"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>",
|
|
69
|
+
"enum": [
|
|
70
|
+
"anybody",
|
|
71
|
+
"nobody",
|
|
72
|
+
"contacts",
|
|
73
|
+
"password",
|
|
74
|
+
"unlisted"
|
|
75
|
+
]
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"type": "null"
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
"embed": {
|
|
83
|
+
"anyOf": [
|
|
84
|
+
{
|
|
85
|
+
"type": "string",
|
|
86
|
+
"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>",
|
|
87
|
+
"enum": [
|
|
88
|
+
"public",
|
|
89
|
+
"private",
|
|
90
|
+
"whitelist"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"type": "null"
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
"comments": {
|
|
99
|
+
"anyOf": [
|
|
100
|
+
{
|
|
101
|
+
"type": "string",
|
|
102
|
+
"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>",
|
|
103
|
+
"enum": [
|
|
104
|
+
"anybody",
|
|
105
|
+
"nobody",
|
|
106
|
+
"contacts"
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"type": "null"
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
"download": {
|
|
115
|
+
"anyOf": [
|
|
116
|
+
{
|
|
117
|
+
"type": "boolean",
|
|
118
|
+
"description": "Set whether the video can be downloaded."
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"type": "null"
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
},
|
|
125
|
+
"add": {
|
|
126
|
+
"anyOf": [
|
|
127
|
+
{
|
|
128
|
+
"type": "boolean",
|
|
129
|
+
"description": "Set whether other users can add the video to their collections."
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"type": "null"
|
|
133
|
+
}
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"type": "object",
|
|
138
|
+
"additionalProperties": false,
|
|
139
|
+
"required": [
|
|
140
|
+
"view",
|
|
141
|
+
"embed",
|
|
142
|
+
"comments",
|
|
143
|
+
"download",
|
|
144
|
+
"add"
|
|
145
|
+
]
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "VimeoDestinationPrivacyOptions",
|
|
3
|
+
"strict": true,
|
|
4
|
+
"schema": {
|
|
5
|
+
"description": "Options to control the visibility of videos and privacy features.",
|
|
6
|
+
"properties": {
|
|
7
|
+
"view": {
|
|
8
|
+
"anyOf": [
|
|
9
|
+
{
|
|
10
|
+
"type": "string",
|
|
11
|
+
"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>",
|
|
12
|
+
"enum": [
|
|
13
|
+
"anybody",
|
|
14
|
+
"nobody",
|
|
15
|
+
"contacts",
|
|
16
|
+
"password",
|
|
17
|
+
"unlisted"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"type": "null"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"embed": {
|
|
26
|
+
"anyOf": [
|
|
27
|
+
{
|
|
28
|
+
"type": "string",
|
|
29
|
+
"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>",
|
|
30
|
+
"enum": [
|
|
31
|
+
"public",
|
|
32
|
+
"private",
|
|
33
|
+
"whitelist"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"type": "null"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"comments": {
|
|
42
|
+
"anyOf": [
|
|
43
|
+
{
|
|
44
|
+
"type": "string",
|
|
45
|
+
"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>",
|
|
46
|
+
"enum": [
|
|
47
|
+
"anybody",
|
|
48
|
+
"nobody",
|
|
49
|
+
"contacts"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"type": "null"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"download": {
|
|
58
|
+
"anyOf": [
|
|
59
|
+
{
|
|
60
|
+
"type": "boolean",
|
|
61
|
+
"description": "Set whether the video can be downloaded."
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"type": "null"
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
"add": {
|
|
69
|
+
"anyOf": [
|
|
70
|
+
{
|
|
71
|
+
"type": "boolean",
|
|
72
|
+
"description": "Set whether other users can add the video to their collections."
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"type": "null"
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"type": "object",
|
|
81
|
+
"additionalProperties": false,
|
|
82
|
+
"required": [
|
|
83
|
+
"view",
|
|
84
|
+
"embed",
|
|
85
|
+
"comments",
|
|
86
|
+
"download",
|
|
87
|
+
"add"
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
}
|