@yixiaoermail/cli 3.1.1 → 3.1.2
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/bin/ensure-executable.js +25 -0
- package/bin/postinstall.js +18 -0
- package/bin/resolve-binary.js +36 -0
- package/bin/yxer.js +8 -17
- package/dist/yxer-darwin-amd64 +0 -0
- package/dist/yxer-darwin-arm64 +0 -0
- package/dist/yxer-linux-amd64 +0 -0
- package/dist/yxer-linux-arm64 +0 -0
- package/dist/yxer-windows-amd64.exe +0 -0
- package/dist/yxer-windows-arm64.exe +0 -0
- package/package.json +7 -1
- package/references/cli/command-reference.md +234 -0
- package/references/cli/skill-install.md +76 -0
- package/references/legacy/capabilities.md +32 -0
- package/references/platforms/index.md +20 -0
- package/references/workflows/account-selection.md +38 -0
- package/references/workflows/common-rules.md +257 -0
- package/references/workflows/draft-workflow.md +44 -0
- package/references/workflows/local-vs-cloud.md +50 -0
- package/references/workflows/material-workflow.md +43 -0
- package/references/workflows/payload-sourcing.md +70 -0
- package/references/workflows/publish-article.md +66 -0
- package/references/workflows/publish-imageText.md +62 -0
- package/references/workflows/publish-troubleshooting.md +50 -0
- package/references/workflows/publish-video.md +63 -0
- package/schemas/account.schema.json +19 -0
- package/schemas/platforms/acfun.article.schema.json +117 -0
- package/schemas/platforms/acfun.video.schema.json +139 -0
- package/schemas/platforms/aiqiyi.article.schema.json +29 -0
- package/schemas/platforms/aiqiyi.video.schema.json +154 -0
- package/schemas/platforms/baijiahao.article.schema.json +160 -0
- package/schemas/platforms/baijiahao.imageText.schema.json +110 -0
- package/schemas/platforms/baijiahao.video.schema.json +179 -0
- package/schemas/platforms/bilibili.article.schema.json +109 -0
- package/schemas/platforms/bilibili.video.schema.json +175 -0
- package/schemas/platforms/chejiahao.article.schema.json +108 -0
- package/schemas/platforms/chejiahao.video.schema.json +111 -0
- package/schemas/platforms/csdn.article.schema.json +106 -0
- package/schemas/platforms/dayuhao.article.schema.json +106 -0
- package/schemas/platforms/dayuhao.video.schema.json +153 -0
- package/schemas/platforms/dewu.video.schema.json +134 -0
- package/schemas/platforms/douban.article.schema.json +48 -0
- package/schemas/platforms/douyin.article.schema.json +318 -0
- package/schemas/platforms/douyin.imageText.schema.json +217 -0
- package/schemas/platforms/douyin.video.schema.json +744 -0
- package/schemas/platforms/duoduoshipin.video.schema.json +108 -0
- package/schemas/platforms/fengwang.video.schema.json +135 -0
- package/schemas/platforms/jianshu.article.schema.json +33 -0
- package/schemas/platforms/kuaichuanhao.article.schema.json +83 -0
- package/schemas/platforms/kuaishou.imageText.schema.json +170 -0
- package/schemas/platforms/kuaishou.video.schema.json +240 -0
- package/schemas/platforms/meipai.video.schema.json +123 -0
- package/schemas/platforms/meiyou.video.schema.json +96 -0
- package/schemas/platforms/pipixia.video.schema.json +94 -0
- package/schemas/platforms/qiehao.article.schema.json +89 -0
- package/schemas/platforms/qiehao.video.schema.json +147 -0
- package/schemas/platforms/shipinhao.imageText.schema.json +138 -0
- package/schemas/platforms/shipinhao.video.schema.json +236 -0
- package/schemas/platforms/souhuhao.article.schema.json +73 -0
- package/schemas/platforms/souhuhao.video.schema.json +171 -0
- package/schemas/platforms/souhushipin.video.schema.json +115 -0
- package/schemas/platforms/tengxunshipin.video.schema.json +114 -0
- package/schemas/platforms/toutiaohao.article.schema.json +165 -0
- package/schemas/platforms/toutiaohao.imageText.schema.json +83 -0
- package/schemas/platforms/toutiaohao.video.schema.json +134 -0
- package/schemas/platforms/wangyihao.article.schema.json +85 -0
- package/schemas/platforms/wangyihao.video.schema.json +151 -0
- package/schemas/platforms/weishi.video.schema.json +101 -0
- package/schemas/platforms/weixin.account.article.schema.json +148 -0
- package/schemas/platforms/xhs.imageText.schema.json +119 -0
- package/schemas/platforms/xiaohongshu.video.schema.json +224 -0
- package/schemas/platforms/xiaohongshushop.video.schema.json +141 -0
- package/schemas/platforms/xinlang.article.schema.json +69 -0
- package/schemas/platforms/xinlang.imageText.schema.json +85 -0
- package/schemas/platforms/xinlang.video.schema.json +151 -0
- package/schemas/platforms/xueqiuhao.article.schema.json +84 -0
- package/schemas/platforms/yichehao.article.schema.json +140 -0
- package/schemas/platforms/yichehao.video.schema.json +101 -0
- package/schemas/platforms/yidianhao.article.schema.json +77 -0
- package/schemas/platforms/yidianhao.video.schema.json +152 -0
- package/schemas/platforms/zhihu.article.schema.json +104 -0
- package/schemas/platforms/zhihu.imageText.schema.json +61 -0
- package/schemas/platforms/zhihu.video.schema.json +144 -0
- package/schemas/publish.schema.json +26 -0
- package/skills/yixiaoer/SKILL.md +1 -1
- package/skills/yixiaoer/plugin.json +1 -1
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "Xiaohongshu Image-Text Publish Form (Strict Standards)",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"required": [
|
|
5
|
+
"formType",
|
|
6
|
+
"description",
|
|
7
|
+
"images",
|
|
8
|
+
"visibleType"
|
|
9
|
+
],
|
|
10
|
+
"properties": {
|
|
11
|
+
"formType": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"const": "task"
|
|
14
|
+
},
|
|
15
|
+
"title": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"maxLength": 20
|
|
18
|
+
},
|
|
19
|
+
"description": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"minLength": 1,
|
|
22
|
+
"maxLength": 1000
|
|
23
|
+
},
|
|
24
|
+
"visibleType": {
|
|
25
|
+
"type": "number",
|
|
26
|
+
"enum": [
|
|
27
|
+
0,
|
|
28
|
+
1,
|
|
29
|
+
3
|
|
30
|
+
],
|
|
31
|
+
"default": 0
|
|
32
|
+
},
|
|
33
|
+
"images": {
|
|
34
|
+
"type": "array",
|
|
35
|
+
"minItems": 1,
|
|
36
|
+
"maxItems": 9,
|
|
37
|
+
"items": {
|
|
38
|
+
"type": "object",
|
|
39
|
+
"required": [
|
|
40
|
+
"key",
|
|
41
|
+
"size",
|
|
42
|
+
"width",
|
|
43
|
+
"height",
|
|
44
|
+
"format"
|
|
45
|
+
],
|
|
46
|
+
"properties": {
|
|
47
|
+
"key": {
|
|
48
|
+
"type": "string"
|
|
49
|
+
},
|
|
50
|
+
"size": {
|
|
51
|
+
"type": "integer"
|
|
52
|
+
},
|
|
53
|
+
"width": {
|
|
54
|
+
"type": "integer"
|
|
55
|
+
},
|
|
56
|
+
"height": {
|
|
57
|
+
"type": "integer"
|
|
58
|
+
},
|
|
59
|
+
"format": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"enum": [
|
|
62
|
+
"jpg",
|
|
63
|
+
"jpeg",
|
|
64
|
+
"png",
|
|
65
|
+
"gif",
|
|
66
|
+
"webp"
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"location": {
|
|
73
|
+
"type": "object",
|
|
74
|
+
"required": [
|
|
75
|
+
"yixiaoerId",
|
|
76
|
+
"yixiaoerName",
|
|
77
|
+
"raw"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"music": {
|
|
81
|
+
"type": "object",
|
|
82
|
+
"required": [
|
|
83
|
+
"yixiaoerId",
|
|
84
|
+
"yixiaoerName",
|
|
85
|
+
"raw"
|
|
86
|
+
],
|
|
87
|
+
"properties": {
|
|
88
|
+
"yixiaoerId": {
|
|
89
|
+
"type": "string"
|
|
90
|
+
},
|
|
91
|
+
"yixiaoerName": {
|
|
92
|
+
"type": "string"
|
|
93
|
+
},
|
|
94
|
+
"duration": {
|
|
95
|
+
"type": "number"
|
|
96
|
+
},
|
|
97
|
+
"playUrl": {
|
|
98
|
+
"type": "string"
|
|
99
|
+
},
|
|
100
|
+
"raw": {
|
|
101
|
+
"type": "object"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"collection": {
|
|
106
|
+
"type": "object",
|
|
107
|
+
"required": [
|
|
108
|
+
"yixiaoerId",
|
|
109
|
+
"yixiaoerName",
|
|
110
|
+
"raw"
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
"scheduledTime": {
|
|
114
|
+
"type": "number",
|
|
115
|
+
"minimum": 0
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"additionalProperties": false
|
|
119
|
+
}
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "小红书视频发布表单 (XiaoHongShu Video)",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"required": [
|
|
5
|
+
"formType",
|
|
6
|
+
"visibleType"
|
|
7
|
+
],
|
|
8
|
+
"properties": {
|
|
9
|
+
"formType": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"const": "task"
|
|
12
|
+
},
|
|
13
|
+
"title": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"maxLength": 20
|
|
16
|
+
},
|
|
17
|
+
"description": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"maxLength": 1000
|
|
20
|
+
},
|
|
21
|
+
"visibleType": {
|
|
22
|
+
"type": "number",
|
|
23
|
+
"enum": [
|
|
24
|
+
0,
|
|
25
|
+
1,
|
|
26
|
+
3
|
|
27
|
+
],
|
|
28
|
+
"default": 0
|
|
29
|
+
},
|
|
30
|
+
"declaration": {
|
|
31
|
+
"type": "number",
|
|
32
|
+
"enum": [
|
|
33
|
+
1,
|
|
34
|
+
2
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
"createType": {
|
|
38
|
+
"type": "number",
|
|
39
|
+
"enum": [
|
|
40
|
+
0,
|
|
41
|
+
1
|
|
42
|
+
],
|
|
43
|
+
"default": 0
|
|
44
|
+
},
|
|
45
|
+
"location": {
|
|
46
|
+
"type": "object",
|
|
47
|
+
"required": [
|
|
48
|
+
"yixiaoerId",
|
|
49
|
+
"yixiaoerName",
|
|
50
|
+
"raw"
|
|
51
|
+
],
|
|
52
|
+
"properties": {
|
|
53
|
+
"yixiaoerId": {
|
|
54
|
+
"type": "string"
|
|
55
|
+
},
|
|
56
|
+
"yixiaoerName": {
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
"raw": {
|
|
60
|
+
"type": "object"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"collection": {
|
|
65
|
+
"type": "object",
|
|
66
|
+
"required": [
|
|
67
|
+
"yixiaoerId",
|
|
68
|
+
"yixiaoerName",
|
|
69
|
+
"raw"
|
|
70
|
+
],
|
|
71
|
+
"properties": {
|
|
72
|
+
"yixiaoerId": {
|
|
73
|
+
"type": "string"
|
|
74
|
+
},
|
|
75
|
+
"yixiaoerName": {
|
|
76
|
+
"type": "string"
|
|
77
|
+
},
|
|
78
|
+
"raw": {
|
|
79
|
+
"type": "object"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"group": {
|
|
84
|
+
"type": "object",
|
|
85
|
+
"required": [
|
|
86
|
+
"yixiaoerId",
|
|
87
|
+
"yixiaoerName",
|
|
88
|
+
"raw"
|
|
89
|
+
],
|
|
90
|
+
"properties": {
|
|
91
|
+
"yixiaoerId": {
|
|
92
|
+
"type": "string"
|
|
93
|
+
},
|
|
94
|
+
"yixiaoerName": {
|
|
95
|
+
"type": "string"
|
|
96
|
+
},
|
|
97
|
+
"raw": {
|
|
98
|
+
"type": "object"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"bind_live_info": {
|
|
103
|
+
"type": "object",
|
|
104
|
+
"required": [
|
|
105
|
+
"yixiaoerId",
|
|
106
|
+
"yixiaoerName",
|
|
107
|
+
"raw"
|
|
108
|
+
],
|
|
109
|
+
"properties": {
|
|
110
|
+
"yixiaoerId": {
|
|
111
|
+
"type": "string"
|
|
112
|
+
},
|
|
113
|
+
"yixiaoerName": {
|
|
114
|
+
"type": "string"
|
|
115
|
+
},
|
|
116
|
+
"raw": {
|
|
117
|
+
"type": "object"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"shopping_cart": {
|
|
122
|
+
"type": "array",
|
|
123
|
+
"items": {
|
|
124
|
+
"type": "object",
|
|
125
|
+
"required": [
|
|
126
|
+
"yixiaoerId",
|
|
127
|
+
"yixiaoerName",
|
|
128
|
+
"raw"
|
|
129
|
+
],
|
|
130
|
+
"properties": {
|
|
131
|
+
"yixiaoerId": {
|
|
132
|
+
"type": "string"
|
|
133
|
+
},
|
|
134
|
+
"yixiaoerName": {
|
|
135
|
+
"type": "string"
|
|
136
|
+
},
|
|
137
|
+
"yixiaoerImageUrl": {
|
|
138
|
+
"type": "string"
|
|
139
|
+
},
|
|
140
|
+
"yixiaoerDesc": {
|
|
141
|
+
"type": "string"
|
|
142
|
+
},
|
|
143
|
+
"price": {
|
|
144
|
+
"type": "number"
|
|
145
|
+
},
|
|
146
|
+
"raw": {
|
|
147
|
+
"type": "object"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"additionalProperties": true
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"video": {
|
|
154
|
+
"type": "object",
|
|
155
|
+
"required": [
|
|
156
|
+
"key",
|
|
157
|
+
"size",
|
|
158
|
+
"width",
|
|
159
|
+
"height"
|
|
160
|
+
],
|
|
161
|
+
"properties": {
|
|
162
|
+
"key": {
|
|
163
|
+
"type": "string"
|
|
164
|
+
},
|
|
165
|
+
"size": {
|
|
166
|
+
"type": "integer",
|
|
167
|
+
"minimum": 1
|
|
168
|
+
},
|
|
169
|
+
"width": {
|
|
170
|
+
"type": "integer",
|
|
171
|
+
"minimum": 1
|
|
172
|
+
},
|
|
173
|
+
"height": {
|
|
174
|
+
"type": "integer",
|
|
175
|
+
"minimum": 1
|
|
176
|
+
},
|
|
177
|
+
"duration": {
|
|
178
|
+
"type": "number",
|
|
179
|
+
"minimum": 1
|
|
180
|
+
},
|
|
181
|
+
"format": {
|
|
182
|
+
"type": "string",
|
|
183
|
+
"enum": [
|
|
184
|
+
"mp4",
|
|
185
|
+
"mov",
|
|
186
|
+
"flv",
|
|
187
|
+
"avi"
|
|
188
|
+
]
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"cover": {
|
|
193
|
+
"type": "object",
|
|
194
|
+
"required": [
|
|
195
|
+
"key",
|
|
196
|
+
"size",
|
|
197
|
+
"width",
|
|
198
|
+
"height"
|
|
199
|
+
],
|
|
200
|
+
"properties": {
|
|
201
|
+
"key": {
|
|
202
|
+
"type": "string"
|
|
203
|
+
},
|
|
204
|
+
"size": {
|
|
205
|
+
"type": "integer"
|
|
206
|
+
},
|
|
207
|
+
"width": {
|
|
208
|
+
"type": "integer"
|
|
209
|
+
},
|
|
210
|
+
"height": {
|
|
211
|
+
"type": "integer"
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"coverKey": {
|
|
216
|
+
"type": "string"
|
|
217
|
+
},
|
|
218
|
+
"scheduledTime": {
|
|
219
|
+
"type": "number",
|
|
220
|
+
"minimum": 0
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"additionalProperties": false
|
|
224
|
+
}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "小红书店铺视频发布表单 (XiaoHongShu Shop Video)",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"required": [
|
|
5
|
+
"formType",
|
|
6
|
+
"title",
|
|
7
|
+
"description"
|
|
8
|
+
],
|
|
9
|
+
"properties": {
|
|
10
|
+
"formType": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"const": "task"
|
|
13
|
+
},
|
|
14
|
+
"title": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"minLength": 1,
|
|
17
|
+
"maxLength": 20
|
|
18
|
+
},
|
|
19
|
+
"description": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"minLength": 1
|
|
22
|
+
},
|
|
23
|
+
"location": {
|
|
24
|
+
"type": "object",
|
|
25
|
+
"required": [
|
|
26
|
+
"id",
|
|
27
|
+
"text",
|
|
28
|
+
"raw"
|
|
29
|
+
],
|
|
30
|
+
"properties": {
|
|
31
|
+
"id": {
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
"text": {
|
|
35
|
+
"type": "string"
|
|
36
|
+
},
|
|
37
|
+
"raw": {
|
|
38
|
+
"type": "object"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"shoppingCart": {
|
|
43
|
+
"type": "array",
|
|
44
|
+
"minItems": 1,
|
|
45
|
+
"items": {
|
|
46
|
+
"type": "object",
|
|
47
|
+
"required": [
|
|
48
|
+
"goods_id",
|
|
49
|
+
"price"
|
|
50
|
+
],
|
|
51
|
+
"properties": {
|
|
52
|
+
"goods_id": {
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
"price": {
|
|
56
|
+
"type": "number",
|
|
57
|
+
"minimum": 0
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"video": {
|
|
63
|
+
"type": "object",
|
|
64
|
+
"required": [
|
|
65
|
+
"key",
|
|
66
|
+
"size",
|
|
67
|
+
"width",
|
|
68
|
+
"height"
|
|
69
|
+
],
|
|
70
|
+
"properties": {
|
|
71
|
+
"key": {
|
|
72
|
+
"type": "string"
|
|
73
|
+
},
|
|
74
|
+
"size": {
|
|
75
|
+
"type": "integer",
|
|
76
|
+
"minimum": 1
|
|
77
|
+
},
|
|
78
|
+
"width": {
|
|
79
|
+
"type": "integer",
|
|
80
|
+
"minimum": 1
|
|
81
|
+
},
|
|
82
|
+
"height": {
|
|
83
|
+
"type": "integer",
|
|
84
|
+
"minimum": 1
|
|
85
|
+
},
|
|
86
|
+
"duration": {
|
|
87
|
+
"type": "number",
|
|
88
|
+
"minimum": 1
|
|
89
|
+
},
|
|
90
|
+
"format": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"enum": [
|
|
93
|
+
"mp4",
|
|
94
|
+
"mov",
|
|
95
|
+
"flv",
|
|
96
|
+
"avi"
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"cover": {
|
|
102
|
+
"type": "object",
|
|
103
|
+
"required": [
|
|
104
|
+
"key",
|
|
105
|
+
"size",
|
|
106
|
+
"width",
|
|
107
|
+
"height"
|
|
108
|
+
],
|
|
109
|
+
"properties": {
|
|
110
|
+
"key": {
|
|
111
|
+
"type": "string"
|
|
112
|
+
},
|
|
113
|
+
"size": {
|
|
114
|
+
"type": "integer"
|
|
115
|
+
},
|
|
116
|
+
"width": {
|
|
117
|
+
"type": "integer"
|
|
118
|
+
},
|
|
119
|
+
"height": {
|
|
120
|
+
"type": "integer"
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"coverKey": {
|
|
125
|
+
"type": "string"
|
|
126
|
+
},
|
|
127
|
+
"scheduledTime": {
|
|
128
|
+
"type": "number",
|
|
129
|
+
"minimum": 0
|
|
130
|
+
},
|
|
131
|
+
"pubType": {
|
|
132
|
+
"type": "number",
|
|
133
|
+
"enum": [
|
|
134
|
+
0,
|
|
135
|
+
1
|
|
136
|
+
],
|
|
137
|
+
"default": 1
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"additionalProperties": false
|
|
141
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "新浪微博文章发布表单 (Xinlang Article)",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"required": [
|
|
5
|
+
"formType",
|
|
6
|
+
"title",
|
|
7
|
+
"content",
|
|
8
|
+
"covers"
|
|
9
|
+
],
|
|
10
|
+
"properties": {
|
|
11
|
+
"formType": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"const": "task"
|
|
14
|
+
},
|
|
15
|
+
"title": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"minLength": 1,
|
|
18
|
+
"maxLength": 30
|
|
19
|
+
},
|
|
20
|
+
"content": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"minLength": 1,
|
|
23
|
+
"maxLength": 50000
|
|
24
|
+
},
|
|
25
|
+
"covers": {
|
|
26
|
+
"type": "array",
|
|
27
|
+
"minItems": 1,
|
|
28
|
+
"items": {
|
|
29
|
+
"type": "object",
|
|
30
|
+
"required": [
|
|
31
|
+
"key",
|
|
32
|
+
"size",
|
|
33
|
+
"width",
|
|
34
|
+
"height"
|
|
35
|
+
],
|
|
36
|
+
"properties": {
|
|
37
|
+
"key": {
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
"size": {
|
|
41
|
+
"type": "integer",
|
|
42
|
+
"minimum": 1
|
|
43
|
+
},
|
|
44
|
+
"width": {
|
|
45
|
+
"type": "integer",
|
|
46
|
+
"minimum": 1
|
|
47
|
+
},
|
|
48
|
+
"height": {
|
|
49
|
+
"type": "integer",
|
|
50
|
+
"minimum": 1
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"pubType": {
|
|
56
|
+
"type": "number",
|
|
57
|
+
"enum": [
|
|
58
|
+
0,
|
|
59
|
+
1
|
|
60
|
+
],
|
|
61
|
+
"default": 1
|
|
62
|
+
},
|
|
63
|
+
"scheduledTime": {
|
|
64
|
+
"type": "number",
|
|
65
|
+
"minimum": 0
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"additionalProperties": false
|
|
69
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "新浪微博图文发布表单 (Xinlang Image-Text)",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"required": [
|
|
5
|
+
"formType",
|
|
6
|
+
"description",
|
|
7
|
+
"images"
|
|
8
|
+
],
|
|
9
|
+
"properties": {
|
|
10
|
+
"formType": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"const": "task"
|
|
13
|
+
},
|
|
14
|
+
"description": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"minLength": 1,
|
|
17
|
+
"maxLength": 2000
|
|
18
|
+
},
|
|
19
|
+
"images": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"minItems": 1,
|
|
22
|
+
"maxItems": 9,
|
|
23
|
+
"items": {
|
|
24
|
+
"type": "object",
|
|
25
|
+
"required": [
|
|
26
|
+
"key",
|
|
27
|
+
"size",
|
|
28
|
+
"width",
|
|
29
|
+
"height"
|
|
30
|
+
],
|
|
31
|
+
"properties": {
|
|
32
|
+
"key": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"size": {
|
|
36
|
+
"type": "integer",
|
|
37
|
+
"minimum": 1
|
|
38
|
+
},
|
|
39
|
+
"width": {
|
|
40
|
+
"type": "integer",
|
|
41
|
+
"minimum": 1
|
|
42
|
+
},
|
|
43
|
+
"height": {
|
|
44
|
+
"type": "integer",
|
|
45
|
+
"minimum": 1
|
|
46
|
+
},
|
|
47
|
+
"format": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"enum": [
|
|
50
|
+
"jpg",
|
|
51
|
+
"jpeg",
|
|
52
|
+
"png",
|
|
53
|
+
"webp",
|
|
54
|
+
"gif"
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"location": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"required": [
|
|
63
|
+
"yixiaoerId",
|
|
64
|
+
"yixiaoerName",
|
|
65
|
+
"raw"
|
|
66
|
+
],
|
|
67
|
+
"properties": {
|
|
68
|
+
"yixiaoerId": {
|
|
69
|
+
"type": "string"
|
|
70
|
+
},
|
|
71
|
+
"yixiaoerName": {
|
|
72
|
+
"type": "string"
|
|
73
|
+
},
|
|
74
|
+
"raw": {
|
|
75
|
+
"type": "object"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"scheduledTime": {
|
|
80
|
+
"type": "number",
|
|
81
|
+
"minimum": 0
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"additionalProperties": false
|
|
85
|
+
}
|