@shotstack/schemas 1.5.9 → 1.7.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 (91) hide show
  1. package/README.md +89 -89
  2. package/dist/json-schema/asset.json +3123 -0
  3. package/dist/json-schema/audio-asset.json +180 -0
  4. package/dist/json-schema/caption-asset.json +285 -0
  5. package/dist/json-schema/caption-background.json +61 -0
  6. package/dist/json-schema/caption-font.json +97 -0
  7. package/dist/json-schema/caption-margin.json +49 -0
  8. package/dist/json-schema/chroma-key.json +46 -0
  9. package/dist/json-schema/clip.json +3575 -0
  10. package/dist/json-schema/crop.json +69 -0
  11. package/dist/json-schema/destinations.json +495 -0
  12. package/dist/json-schema/edit.json +4540 -0
  13. package/dist/json-schema/flip-transformation.json +37 -0
  14. package/dist/json-schema/font.json +18 -0
  15. package/dist/json-schema/google-cloud-storage-destination-options.json +42 -0
  16. package/dist/json-schema/google-cloud-storage-destination.json +73 -0
  17. package/dist/json-schema/google-drive-destination-options.json +30 -0
  18. package/dist/json-schema/google-drive-destination.json +54 -0
  19. package/dist/json-schema/image-asset.json +104 -0
  20. package/dist/json-schema/image-to-video-asset.json +151 -0
  21. package/dist/json-schema/index.cjs +1 -0
  22. package/dist/json-schema/index.d.ts +6 -0
  23. package/dist/json-schema/index.js +3 -0
  24. package/dist/json-schema/luma-asset.json +38 -0
  25. package/dist/json-schema/merge-field.json +23 -0
  26. package/dist/json-schema/offset.json +145 -0
  27. package/dist/json-schema/output.json +771 -0
  28. package/dist/json-schema/poster.json +18 -0
  29. package/dist/json-schema/range.json +39 -0
  30. package/dist/json-schema/rich-caption-active-font.json +54 -0
  31. package/dist/json-schema/rich-caption-active.json +154 -0
  32. package/dist/json-schema/rich-caption-asset.json +1098 -0
  33. package/dist/json-schema/rich-caption-word-animation.json +60 -0
  34. package/dist/json-schema/rich-text-alignment.json +47 -0
  35. package/dist/json-schema/rich-text-animation.json +74 -0
  36. package/dist/json-schema/rich-text-asset.json +737 -0
  37. package/dist/json-schema/rich-text-background.json +52 -0
  38. package/dist/json-schema/rich-text-font.json +157 -0
  39. package/dist/json-schema/rich-text-gradient.json +68 -0
  40. package/dist/json-schema/rich-text-shadow.json +79 -0
  41. package/dist/json-schema/rich-text-stroke.json +55 -0
  42. package/dist/json-schema/rich-text-style.json +165 -0
  43. package/dist/json-schema/rotate-transformation.json +123 -0
  44. package/dist/json-schema/s3destination-options.json +59 -0
  45. package/dist/json-schema/s3destination.json +90 -0
  46. package/dist/json-schema/schemas.json +4983 -0
  47. package/dist/json-schema/shape-asset.json +225 -0
  48. package/dist/json-schema/shotstack-destination.json +33 -0
  49. package/dist/json-schema/size.json +41 -0
  50. package/dist/json-schema/skew-transformation.json +145 -0
  51. package/dist/json-schema/soundtrack.json +47 -0
  52. package/dist/json-schema/svg-arrow-shape.json +49 -0
  53. package/dist/json-schema/svg-asset.json +877 -0
  54. package/dist/json-schema/svg-circle-shape.json +28 -0
  55. package/dist/json-schema/svg-cross-shape.json +42 -0
  56. package/dist/json-schema/svg-ellipse-shape.json +35 -0
  57. package/dist/json-schema/svg-fill.json +169 -0
  58. package/dist/json-schema/svg-gradient-stop.json +25 -0
  59. package/dist/json-schema/svg-heart-shape.json +28 -0
  60. package/dist/json-schema/svg-line-shape.json +35 -0
  61. package/dist/json-schema/svg-linear-gradient-fill.json +80 -0
  62. package/dist/json-schema/svg-path-shape.json +26 -0
  63. package/dist/json-schema/svg-polygon-shape.json +35 -0
  64. package/dist/json-schema/svg-radial-gradient-fill.json +66 -0
  65. package/dist/json-schema/svg-rectangle-shape.json +49 -0
  66. package/dist/json-schema/svg-ring-shape.json +35 -0
  67. package/dist/json-schema/svg-shadow.json +79 -0
  68. package/dist/json-schema/svg-shape.json +404 -0
  69. package/dist/json-schema/svg-solid-fill.json +40 -0
  70. package/dist/json-schema/svg-star-shape.json +42 -0
  71. package/dist/json-schema/svg-stroke.json +115 -0
  72. package/dist/json-schema/svg-transform.json +93 -0
  73. package/dist/json-schema/text-to-image-asset.json +128 -0
  74. package/dist/json-schema/text-to-speech-asset.json +209 -0
  75. package/dist/json-schema/thumbnail.json +25 -0
  76. package/dist/json-schema/timeline.json +3703 -0
  77. package/dist/json-schema/track.json +3590 -0
  78. package/dist/json-schema/transformation.json +251 -0
  79. package/dist/json-schema/transition.json +37 -0
  80. package/dist/json-schema/tween.json +90 -0
  81. package/dist/json-schema/video-asset.json +321 -0
  82. package/dist/json-schema/vimeo-destination-options.json +149 -0
  83. package/dist/json-schema/vimeo-destination-privacy-options.json +90 -0
  84. package/dist/json-schema/vimeo-destination.json +178 -0
  85. package/dist/json-schema/word-timing.json +44 -0
  86. package/dist/schema.d.ts +77 -77
  87. package/dist/zod/zod.gen.cjs +1080 -921
  88. package/dist/zod/zod.gen.d.ts +139 -139
  89. package/dist/zod/zod.gen.js +1081 -922
  90. package/dist/zod/zod.gen.ts +1583 -1648
  91. package/package.json +79 -73
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "Poster",
3
+ "strict": true,
4
+ "schema": {
5
+ "description": "Generate a poster image for the video at a specific point from the timeline. The poster image size will match the size of the output video.",
6
+ "properties": {
7
+ "capture": {
8
+ "description": "The point on the timeline in seconds to capture a single frame to use as the poster image.",
9
+ "type": "number"
10
+ }
11
+ },
12
+ "additionalProperties": false,
13
+ "required": [
14
+ "capture"
15
+ ],
16
+ "type": "object"
17
+ }
18
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "Range",
3
+ "strict": true,
4
+ "schema": {
5
+ "description": "Specify a time range to render, i.e. to render only a portion of a video or audio file. Omit this setting to export the entire video. Range can also be used to render a frame at a specific time point - setting a range and output format as `jpg` will output a single frame image at the range `start` point.",
6
+ "properties": {
7
+ "start": {
8
+ "anyOf": [
9
+ {
10
+ "type": "number",
11
+ "description": "The point on the timeline, in seconds, to start the render from - i.e. start at second 3.",
12
+ "minimum": 0
13
+ },
14
+ {
15
+ "type": "null"
16
+ }
17
+ ]
18
+ },
19
+ "length": {
20
+ "anyOf": [
21
+ {
22
+ "type": "number",
23
+ "description": "The length of the portion of the video or audio to render - i.e. render 6 seconds of the video.",
24
+ "minimum": 0
25
+ },
26
+ {
27
+ "type": "null"
28
+ }
29
+ ]
30
+ }
31
+ },
32
+ "additionalProperties": false,
33
+ "type": "object",
34
+ "required": [
35
+ "start",
36
+ "length"
37
+ ]
38
+ }
39
+ }
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "RichCaptionActiveFont",
3
+ "strict": true,
4
+ "schema": {
5
+ "description": "Font properties for the active/highlighted word.",
6
+ "type": "object",
7
+ "properties": {
8
+ "color": {
9
+ "anyOf": [
10
+ {
11
+ "type": "string",
12
+ "description": "The active word color using hexadecimal color notation.",
13
+ "enum": [
14
+ "#ffff00"
15
+ ]
16
+ },
17
+ {
18
+ "type": "null"
19
+ }
20
+ ]
21
+ },
22
+ "background": {
23
+ "anyOf": [
24
+ {
25
+ "type": "string",
26
+ "description": "The background color behind the active word using hexadecimal color notation."
27
+ },
28
+ {
29
+ "type": "null"
30
+ }
31
+ ]
32
+ },
33
+ "opacity": {
34
+ "anyOf": [
35
+ {
36
+ "type": "number",
37
+ "description": "The opacity of the active word where 1 is opaque and 0 is transparent.",
38
+ "minimum": 0,
39
+ "maximum": 1
40
+ },
41
+ {
42
+ "type": "null"
43
+ }
44
+ ]
45
+ }
46
+ },
47
+ "additionalProperties": false,
48
+ "required": [
49
+ "color",
50
+ "background",
51
+ "opacity"
52
+ ]
53
+ }
54
+ }
@@ -0,0 +1,154 @@
1
+ {
2
+ "name": "RichCaptionActive",
3
+ "strict": true,
4
+ "schema": {
5
+ "description": "Styling properties for the active/highlighted word.",
6
+ "type": "object",
7
+ "properties": {
8
+ "font": {
9
+ "anyOf": [
10
+ {
11
+ "description": "Font properties for the active word.",
12
+ "$ref": "#/$defs/RichCaptionActiveFont"
13
+ },
14
+ {
15
+ "type": "null"
16
+ }
17
+ ]
18
+ },
19
+ "stroke": {
20
+ "anyOf": [
21
+ {
22
+ "description": "Stroke properties for the active word.",
23
+ "$ref": "#/$defs/RichTextStroke"
24
+ },
25
+ {
26
+ "type": "null"
27
+ }
28
+ ]
29
+ },
30
+ "scale": {
31
+ "anyOf": [
32
+ {
33
+ "type": "number",
34
+ "description": "Scale multiplier for the active word. 1.0 is normal size, 1.2 is 20% larger.",
35
+ "minimum": 0.5,
36
+ "maximum": 2
37
+ },
38
+ {
39
+ "type": "null"
40
+ }
41
+ ]
42
+ }
43
+ },
44
+ "additionalProperties": false,
45
+ "required": [
46
+ "font",
47
+ "stroke",
48
+ "scale"
49
+ ],
50
+ "$defs": {
51
+ "RichCaptionActiveFont": {
52
+ "description": "Font properties for the active/highlighted word.",
53
+ "type": "object",
54
+ "properties": {
55
+ "color": {
56
+ "anyOf": [
57
+ {
58
+ "type": "string",
59
+ "description": "The active word color using hexadecimal color notation.",
60
+ "enum": [
61
+ "#ffff00"
62
+ ]
63
+ },
64
+ {
65
+ "type": "null"
66
+ }
67
+ ]
68
+ },
69
+ "background": {
70
+ "anyOf": [
71
+ {
72
+ "type": "string",
73
+ "description": "The background color behind the active word using hexadecimal color notation."
74
+ },
75
+ {
76
+ "type": "null"
77
+ }
78
+ ]
79
+ },
80
+ "opacity": {
81
+ "anyOf": [
82
+ {
83
+ "type": "number",
84
+ "description": "The opacity of the active word where 1 is opaque and 0 is transparent.",
85
+ "minimum": 0,
86
+ "maximum": 1
87
+ },
88
+ {
89
+ "type": "null"
90
+ }
91
+ ]
92
+ }
93
+ },
94
+ "additionalProperties": false,
95
+ "required": [
96
+ "color",
97
+ "background",
98
+ "opacity"
99
+ ]
100
+ },
101
+ "RichTextStroke": {
102
+ "description": "Text stroke (outline) properties.",
103
+ "properties": {
104
+ "width": {
105
+ "anyOf": [
106
+ {
107
+ "type": "number",
108
+ "description": "The width of the stroke in pixels. Must be 0 or greater.",
109
+ "minimum": 0
110
+ },
111
+ {
112
+ "type": "null"
113
+ }
114
+ ]
115
+ },
116
+ "color": {
117
+ "anyOf": [
118
+ {
119
+ "type": "string",
120
+ "description": "The stroke color using hexadecimal color notation.",
121
+ "enum": [
122
+ "#000000"
123
+ ]
124
+ },
125
+ {
126
+ "type": "null"
127
+ }
128
+ ]
129
+ },
130
+ "opacity": {
131
+ "anyOf": [
132
+ {
133
+ "type": "number",
134
+ "description": "The opacity of the stroke where 1 is opaque and 0 is transparent.",
135
+ "minimum": 0,
136
+ "maximum": 1
137
+ },
138
+ {
139
+ "type": "null"
140
+ }
141
+ ]
142
+ }
143
+ },
144
+ "additionalProperties": false,
145
+ "type": "object",
146
+ "required": [
147
+ "width",
148
+ "color",
149
+ "opacity"
150
+ ]
151
+ }
152
+ }
153
+ }
154
+ }