@yixiaoermail/cli 3.2.1 → 3.2.3
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 +19 -1
- package/bin/install.js +256 -0
- package/bin/postinstall.js +4 -8
- package/bin/resolve-binary.js +5 -19
- package/bin/yxer.js +18 -12
- package/checksums.txt +6 -0
- package/package.json +29 -28
- package/references/cli/command-design.md +305 -305
- package/references/cli/command-reference.md +35 -35
- package/references/legacy/capabilities.md +13 -13
- package/references/workflows/payload-sourcing.md +17 -17
- package/references/workflows/publish-troubleshooting.md +10 -10
- package/schemas/platforms/acfun.article.schema.json +117 -117
- package/schemas/platforms/acfun.video.schema.json +139 -139
- package/schemas/platforms/aiqiyi.article.schema.json +29 -29
- package/schemas/platforms/aiqiyi.video.schema.json +154 -154
- package/schemas/platforms/baijiahao.article.schema.json +160 -160
- package/schemas/platforms/baijiahao.imageText.schema.json +111 -111
- package/schemas/platforms/baijiahao.video.schema.json +180 -180
- package/schemas/platforms/bilibili.article.schema.json +109 -109
- package/schemas/platforms/bilibili.video.schema.json +175 -175
- package/schemas/platforms/chejiahao.article.schema.json +108 -108
- package/schemas/platforms/chejiahao.video.schema.json +111 -111
- package/schemas/platforms/csdn.article.schema.json +106 -106
- package/schemas/platforms/dayuhao.article.schema.json +106 -106
- package/schemas/platforms/dayuhao.video.schema.json +153 -153
- package/schemas/platforms/dewu.video.schema.json +134 -134
- package/schemas/platforms/douban.article.schema.json +48 -48
- package/schemas/platforms/douyin.article.schema.json +318 -318
- package/schemas/platforms/douyin.imageText.schema.json +287 -287
- package/schemas/platforms/douyin.video.schema.json +852 -852
- package/schemas/platforms/duoduoshipin.video.schema.json +108 -108
- package/schemas/platforms/facebook.video.schema.json +28 -28
- package/schemas/platforms/fengwang.video.schema.json +135 -135
- package/schemas/platforms/instagram.video.schema.json +28 -28
- package/schemas/platforms/jianshu.article.schema.json +33 -33
- package/schemas/platforms/kuaichuanhao.article.schema.json +83 -83
- package/schemas/platforms/kuaishou.imageText.schema.json +171 -171
- package/schemas/platforms/kuaishou.video.schema.json +243 -243
- package/schemas/platforms/meipai.video.schema.json +123 -123
- package/schemas/platforms/meiyou.video.schema.json +96 -96
- package/schemas/platforms/pipixia.video.schema.json +94 -94
- package/schemas/platforms/qiehao.article.schema.json +89 -89
- package/schemas/platforms/qiehao.video.schema.json +147 -147
- package/schemas/platforms/shipinhao.imageText.schema.json +139 -139
- package/schemas/platforms/shipinhao.video.schema.json +237 -237
- package/schemas/platforms/souhuhao.article.schema.json +73 -73
- package/schemas/platforms/souhuhao.video.schema.json +171 -171
- package/schemas/platforms/souhushipin.video.schema.json +115 -115
- package/schemas/platforms/tengxunshipin.video.schema.json +114 -114
- package/schemas/platforms/tiktok.video.schema.json +72 -72
- package/schemas/platforms/toutiaohao.article.schema.json +166 -166
- package/schemas/platforms/toutiaohao.imageText.schema.json +83 -83
- package/schemas/platforms/toutiaohao.video.schema.json +134 -134
- package/schemas/platforms/wangyihao.article.schema.json +85 -85
- package/schemas/platforms/wangyihao.video.schema.json +151 -151
- package/schemas/platforms/weishi.video.schema.json +101 -101
- package/schemas/platforms/weixin.account.article.schema.json +148 -148
- package/schemas/platforms/xhs.imageText.schema.json +131 -131
- package/schemas/platforms/xiaohongshu.video.schema.json +225 -225
- package/schemas/platforms/xiaohongshushop.video.schema.json +142 -142
- package/schemas/platforms/xinlang.article.schema.json +69 -69
- package/schemas/platforms/xinlang.imageText.schema.json +86 -86
- package/schemas/platforms/xinlang.video.schema.json +152 -152
- package/schemas/platforms/xueqiuhao.article.schema.json +84 -84
- package/schemas/platforms/yichehao.article.schema.json +140 -140
- package/schemas/platforms/yichehao.video.schema.json +101 -101
- package/schemas/platforms/yidianhao.article.schema.json +77 -77
- package/schemas/platforms/yidianhao.video.schema.json +152 -152
- package/schemas/platforms/youtube.video.schema.json +92 -92
- package/schemas/platforms/zhihu.article.schema.json +104 -104
- package/schemas/platforms/zhihu.imageText.schema.json +61 -61
- package/schemas/platforms/zhihu.video.schema.json +144 -144
- package/skills/yixiaoer/QUICKSTART.md +4 -4
- package/skills/yixiaoer/SKILL.md +1 -1
- package/skills/yixiaoer/references/cli/command-reference.md +30 -30
- package/skills/yixiaoer/references/create-account-group.md +27 -27
- package/skills/yixiaoer/references/delete-account-group.md +20 -20
- package/skills/yixiaoer/references/domains/accounts-and-env.md +17 -17
- package/skills/yixiaoer/references/domains/install-and-sync.md +41 -13
- package/skills/yixiaoer/references/domains/publish.md +11 -11
- package/skills/yixiaoer/references/execution-standard.md +18 -18
- package/skills/yixiaoer/references/get-account-groups.md +14 -14
- package/skills/yixiaoer/references/get-members.md +28 -28
- package/skills/yixiaoer/references/go-live-process.md +11 -19
- package/skills/yixiaoer/references/keyword-reference.md +4 -4
- package/skills/yixiaoer/references/material-resource.md +8 -8
- package/skills/yixiaoer/references/platforms/article/toutiaohao.md +28 -28
- package/skills/yixiaoer/references/platforms/video/facebook.md +37 -37
- package/skills/yixiaoer/references/platforms/video/index.md +7 -7
- package/skills/yixiaoer/references/platforms/video/instagram.md +40 -40
- package/skills/yixiaoer/references/platforms/video/tiktok.md +50 -50
- package/skills/yixiaoer/references/platforms/video/youtube.md +53 -53
- package/skills/yixiaoer/references/proxy-management.md +9 -9
- package/skills/yixiaoer/references/topic-tags.md +31 -31
- package/skills/yixiaoer/references/troubleshooting-guide.md +2 -2
- package/skills/yixiaoer/references/update-account-group.md +28 -28
- package/skills/yixiaoer/references/upload-resource.md +6 -6
- package/skills/yixiaoer/references/usage-workflow.md +3 -5
- package/skills/yixiaoer/references/workflows/common-rules.md +29 -29
- package/skills/yixiaoer/references/workflows/data-accuracy.md +83 -83
- package/skills/yixiaoer/references/workflows/payload-sourcing.md +24 -24
- package/skills/yixiaoer/references/workflows/publish-troubleshooting.md +10 -10
- 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/references/cli/skill-install.md +0 -76
- package/skills/yixiaoer/plugin.json +0 -21
- package/skills/yixiaoer/references/cli/skill-install.md +0 -65
- package/skills/yixiaoer/references/cli-install-uninstall.md +0 -196
|
@@ -1,160 +1,160 @@
|
|
|
1
|
-
{
|
|
2
|
-
"title": "百家号文章发布表单 (BaijiaHao Article)",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"required": [
|
|
5
|
-
"formType",
|
|
6
|
-
"title",
|
|
7
|
-
"content",
|
|
8
|
-
"covers",
|
|
9
|
-
"pubType"
|
|
10
|
-
],
|
|
11
|
-
"properties": {
|
|
12
|
-
"formType": {
|
|
13
|
-
"type": "string",
|
|
14
|
-
"const": "task"
|
|
15
|
-
},
|
|
16
|
-
"title": {
|
|
17
|
-
"type": "string",
|
|
18
|
-
"minLength": 1,
|
|
19
|
-
"maxLength": 64
|
|
20
|
-
},
|
|
21
|
-
"content": {
|
|
22
|
-
"type": "string",
|
|
23
|
-
"minLength": 1,
|
|
24
|
-
"maxLength": 50000
|
|
25
|
-
},
|
|
26
|
-
"covers": {
|
|
27
|
-
"type": "array",
|
|
28
|
-
"minItems": 1,
|
|
29
|
-
"maxItems": 3,
|
|
30
|
-
"items": {
|
|
31
|
-
"type": "object",
|
|
32
|
-
"required": [
|
|
33
|
-
"key",
|
|
34
|
-
"size",
|
|
35
|
-
"width",
|
|
36
|
-
"height"
|
|
37
|
-
],
|
|
38
|
-
"properties": {
|
|
39
|
-
"key": {
|
|
40
|
-
"type": "string"
|
|
41
|
-
},
|
|
42
|
-
"size": {
|
|
43
|
-
"type": "integer",
|
|
44
|
-
"minimum": 1
|
|
45
|
-
},
|
|
46
|
-
"width": {
|
|
47
|
-
"type": "integer",
|
|
48
|
-
"minimum": 1
|
|
49
|
-
},
|
|
50
|
-
"height": {
|
|
51
|
-
"type": "integer",
|
|
52
|
-
"minimum": 1
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"coverKey": {
|
|
58
|
-
"type": "string"
|
|
59
|
-
},
|
|
60
|
-
"thumbMediaId": {
|
|
61
|
-
"type": "string"
|
|
62
|
-
},
|
|
63
|
-
"category": {
|
|
64
|
-
"type": "array",
|
|
65
|
-
"minItems": 2,
|
|
66
|
-
"maxItems": 2,
|
|
67
|
-
"items": {
|
|
68
|
-
"type": "object",
|
|
69
|
-
"required": [
|
|
70
|
-
"yixiaoerId",
|
|
71
|
-
"yixiaoerName"
|
|
72
|
-
],
|
|
73
|
-
"properties": {
|
|
74
|
-
"yixiaoerId": {
|
|
75
|
-
"type": "string"
|
|
76
|
-
},
|
|
77
|
-
"yixiaoerName": {
|
|
78
|
-
"type": "string"
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
"additionalProperties": false
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"original": {
|
|
85
|
-
"type": "boolean",
|
|
86
|
-
"default": false
|
|
87
|
-
},
|
|
88
|
-
"originalType": {
|
|
89
|
-
"type": "number",
|
|
90
|
-
"enum": [
|
|
91
|
-
0,
|
|
92
|
-
1,
|
|
93
|
-
2
|
|
94
|
-
]
|
|
95
|
-
},
|
|
96
|
-
"originalUrl": {
|
|
97
|
-
"type": "string",
|
|
98
|
-
"format": "uri"
|
|
99
|
-
},
|
|
100
|
-
"reprintType": {
|
|
101
|
-
"type": "number",
|
|
102
|
-
"enum": [
|
|
103
|
-
0,
|
|
104
|
-
1
|
|
105
|
-
]
|
|
106
|
-
},
|
|
107
|
-
"declaration": {
|
|
108
|
-
"type": "number",
|
|
109
|
-
"enum": [
|
|
110
|
-
0,
|
|
111
|
-
1
|
|
112
|
-
],
|
|
113
|
-
"default": 0
|
|
114
|
-
},
|
|
115
|
-
"activity": {
|
|
116
|
-
"type": "object",
|
|
117
|
-
"required": [
|
|
118
|
-
"yixiaoerId",
|
|
119
|
-
"yixiaoerName",
|
|
120
|
-
"raw"
|
|
121
|
-
],
|
|
122
|
-
"properties": {
|
|
123
|
-
"yixiaoerId": {
|
|
124
|
-
"type": "string"
|
|
125
|
-
},
|
|
126
|
-
"yixiaoerName": {
|
|
127
|
-
"type": "string"
|
|
128
|
-
},
|
|
129
|
-
"raw": {
|
|
130
|
-
"type": "object"
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
|
-
"pubType": {
|
|
135
|
-
"type": "number",
|
|
136
|
-
"enum": [
|
|
137
|
-
0,
|
|
138
|
-
1
|
|
139
|
-
],
|
|
140
|
-
"default": 1
|
|
141
|
-
},
|
|
142
|
-
"scheduledTime": {
|
|
143
|
-
"type": "number",
|
|
144
|
-
"minimum": 0
|
|
145
|
-
},
|
|
146
|
-
"publishTime": {
|
|
147
|
-
"type": "string",
|
|
148
|
-
"format": "date-time"
|
|
149
|
-
},
|
|
150
|
-
"statement": {
|
|
151
|
-
"type": "number",
|
|
152
|
-
"enum": [
|
|
153
|
-
1,
|
|
154
|
-
2,
|
|
155
|
-
3
|
|
156
|
-
]
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
"additionalProperties": false
|
|
160
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"title": "百家号文章发布表单 (BaijiaHao Article)",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"required": [
|
|
5
|
+
"formType",
|
|
6
|
+
"title",
|
|
7
|
+
"content",
|
|
8
|
+
"covers",
|
|
9
|
+
"pubType"
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"formType": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"const": "task"
|
|
15
|
+
},
|
|
16
|
+
"title": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"minLength": 1,
|
|
19
|
+
"maxLength": 64
|
|
20
|
+
},
|
|
21
|
+
"content": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"minLength": 1,
|
|
24
|
+
"maxLength": 50000
|
|
25
|
+
},
|
|
26
|
+
"covers": {
|
|
27
|
+
"type": "array",
|
|
28
|
+
"minItems": 1,
|
|
29
|
+
"maxItems": 3,
|
|
30
|
+
"items": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"required": [
|
|
33
|
+
"key",
|
|
34
|
+
"size",
|
|
35
|
+
"width",
|
|
36
|
+
"height"
|
|
37
|
+
],
|
|
38
|
+
"properties": {
|
|
39
|
+
"key": {
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
42
|
+
"size": {
|
|
43
|
+
"type": "integer",
|
|
44
|
+
"minimum": 1
|
|
45
|
+
},
|
|
46
|
+
"width": {
|
|
47
|
+
"type": "integer",
|
|
48
|
+
"minimum": 1
|
|
49
|
+
},
|
|
50
|
+
"height": {
|
|
51
|
+
"type": "integer",
|
|
52
|
+
"minimum": 1
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"coverKey": {
|
|
58
|
+
"type": "string"
|
|
59
|
+
},
|
|
60
|
+
"thumbMediaId": {
|
|
61
|
+
"type": "string"
|
|
62
|
+
},
|
|
63
|
+
"category": {
|
|
64
|
+
"type": "array",
|
|
65
|
+
"minItems": 2,
|
|
66
|
+
"maxItems": 2,
|
|
67
|
+
"items": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"required": [
|
|
70
|
+
"yixiaoerId",
|
|
71
|
+
"yixiaoerName"
|
|
72
|
+
],
|
|
73
|
+
"properties": {
|
|
74
|
+
"yixiaoerId": {
|
|
75
|
+
"type": "string"
|
|
76
|
+
},
|
|
77
|
+
"yixiaoerName": {
|
|
78
|
+
"type": "string"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"additionalProperties": false
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"original": {
|
|
85
|
+
"type": "boolean",
|
|
86
|
+
"default": false
|
|
87
|
+
},
|
|
88
|
+
"originalType": {
|
|
89
|
+
"type": "number",
|
|
90
|
+
"enum": [
|
|
91
|
+
0,
|
|
92
|
+
1,
|
|
93
|
+
2
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
"originalUrl": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"format": "uri"
|
|
99
|
+
},
|
|
100
|
+
"reprintType": {
|
|
101
|
+
"type": "number",
|
|
102
|
+
"enum": [
|
|
103
|
+
0,
|
|
104
|
+
1
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
"declaration": {
|
|
108
|
+
"type": "number",
|
|
109
|
+
"enum": [
|
|
110
|
+
0,
|
|
111
|
+
1
|
|
112
|
+
],
|
|
113
|
+
"default": 0
|
|
114
|
+
},
|
|
115
|
+
"activity": {
|
|
116
|
+
"type": "object",
|
|
117
|
+
"required": [
|
|
118
|
+
"yixiaoerId",
|
|
119
|
+
"yixiaoerName",
|
|
120
|
+
"raw"
|
|
121
|
+
],
|
|
122
|
+
"properties": {
|
|
123
|
+
"yixiaoerId": {
|
|
124
|
+
"type": "string"
|
|
125
|
+
},
|
|
126
|
+
"yixiaoerName": {
|
|
127
|
+
"type": "string"
|
|
128
|
+
},
|
|
129
|
+
"raw": {
|
|
130
|
+
"type": "object"
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"pubType": {
|
|
135
|
+
"type": "number",
|
|
136
|
+
"enum": [
|
|
137
|
+
0,
|
|
138
|
+
1
|
|
139
|
+
],
|
|
140
|
+
"default": 1
|
|
141
|
+
},
|
|
142
|
+
"scheduledTime": {
|
|
143
|
+
"type": "number",
|
|
144
|
+
"minimum": 0
|
|
145
|
+
},
|
|
146
|
+
"publishTime": {
|
|
147
|
+
"type": "string",
|
|
148
|
+
"format": "date-time"
|
|
149
|
+
},
|
|
150
|
+
"statement": {
|
|
151
|
+
"type": "number",
|
|
152
|
+
"enum": [
|
|
153
|
+
1,
|
|
154
|
+
2,
|
|
155
|
+
3
|
|
156
|
+
]
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"additionalProperties": false
|
|
160
|
+
}
|
|
@@ -1,111 +1,111 @@
|
|
|
1
|
-
{
|
|
2
|
-
"title": "百家号图文发布表单 (BaiJiaHao Image-Text)",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"required": [
|
|
5
|
-
"formType",
|
|
6
|
-
"title",
|
|
7
|
-
"description",
|
|
8
|
-
"images",
|
|
9
|
-
"pubType",
|
|
10
|
-
"declaration"
|
|
11
|
-
],
|
|
12
|
-
"properties": {
|
|
13
|
-
"formType": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"const": "task"
|
|
16
|
-
},
|
|
17
|
-
"title": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"minLength": 1,
|
|
20
|
-
"maxLength": 20
|
|
21
|
-
},
|
|
22
|
-
"description": {
|
|
23
|
-
"type": "string",
|
|
24
|
-
"minLength": 1,
|
|
25
|
-
"maxLength": 1000
|
|
26
|
-
},
|
|
27
|
-
"images": {
|
|
28
|
-
"type": "array",
|
|
29
|
-
"minItems": 1,
|
|
30
|
-
"items": {
|
|
31
|
-
"type": "object",
|
|
32
|
-
"required": [
|
|
33
|
-
"key",
|
|
34
|
-
"size",
|
|
35
|
-
"width",
|
|
36
|
-
"height"
|
|
37
|
-
],
|
|
38
|
-
"properties": {
|
|
39
|
-
"key": {
|
|
40
|
-
"type": "string"
|
|
41
|
-
},
|
|
42
|
-
"size": {
|
|
43
|
-
"type": "integer",
|
|
44
|
-
"minimum": 1
|
|
45
|
-
},
|
|
46
|
-
"width": {
|
|
47
|
-
"type": "integer",
|
|
48
|
-
"minimum": 1
|
|
49
|
-
},
|
|
50
|
-
"height": {
|
|
51
|
-
"type": "integer",
|
|
52
|
-
"minimum": 1
|
|
53
|
-
},
|
|
54
|
-
"format": {
|
|
55
|
-
"type": "string",
|
|
56
|
-
"enum": [
|
|
57
|
-
"jpg",
|
|
58
|
-
"jpeg",
|
|
59
|
-
"png",
|
|
60
|
-
"webp"
|
|
61
|
-
]
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
"coverKey": {
|
|
67
|
-
"type": "string"
|
|
68
|
-
},
|
|
69
|
-
"pubType": {
|
|
70
|
-
"type": "number",
|
|
71
|
-
"enum": [
|
|
72
|
-
0,
|
|
73
|
-
1
|
|
74
|
-
],
|
|
75
|
-
"default": 1
|
|
76
|
-
},
|
|
77
|
-
"declaration": {
|
|
78
|
-
"type": "number",
|
|
79
|
-
"enum": [
|
|
80
|
-
0,
|
|
81
|
-
1
|
|
82
|
-
],
|
|
83
|
-
"default": 0
|
|
84
|
-
},
|
|
85
|
-
"location": {
|
|
86
|
-
"type": "object",
|
|
87
|
-
"required": [
|
|
88
|
-
"id",
|
|
89
|
-
"text",
|
|
90
|
-
"raw"
|
|
91
|
-
],
|
|
92
|
-
"properties": {
|
|
93
|
-
"id": {
|
|
94
|
-
"type": "string"
|
|
95
|
-
},
|
|
96
|
-
"text": {
|
|
97
|
-
"type": "string"
|
|
98
|
-
},
|
|
99
|
-
"raw": {
|
|
100
|
-
"type": "object"
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
"additionalProperties": true
|
|
104
|
-
},
|
|
105
|
-
"scheduledTime": {
|
|
106
|
-
"type": "number",
|
|
107
|
-
"minimum": 0
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
"additionalProperties": false
|
|
111
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"title": "百家号图文发布表单 (BaiJiaHao Image-Text)",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"required": [
|
|
5
|
+
"formType",
|
|
6
|
+
"title",
|
|
7
|
+
"description",
|
|
8
|
+
"images",
|
|
9
|
+
"pubType",
|
|
10
|
+
"declaration"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"formType": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"const": "task"
|
|
16
|
+
},
|
|
17
|
+
"title": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"minLength": 1,
|
|
20
|
+
"maxLength": 20
|
|
21
|
+
},
|
|
22
|
+
"description": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"minLength": 1,
|
|
25
|
+
"maxLength": 1000
|
|
26
|
+
},
|
|
27
|
+
"images": {
|
|
28
|
+
"type": "array",
|
|
29
|
+
"minItems": 1,
|
|
30
|
+
"items": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"required": [
|
|
33
|
+
"key",
|
|
34
|
+
"size",
|
|
35
|
+
"width",
|
|
36
|
+
"height"
|
|
37
|
+
],
|
|
38
|
+
"properties": {
|
|
39
|
+
"key": {
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
42
|
+
"size": {
|
|
43
|
+
"type": "integer",
|
|
44
|
+
"minimum": 1
|
|
45
|
+
},
|
|
46
|
+
"width": {
|
|
47
|
+
"type": "integer",
|
|
48
|
+
"minimum": 1
|
|
49
|
+
},
|
|
50
|
+
"height": {
|
|
51
|
+
"type": "integer",
|
|
52
|
+
"minimum": 1
|
|
53
|
+
},
|
|
54
|
+
"format": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"enum": [
|
|
57
|
+
"jpg",
|
|
58
|
+
"jpeg",
|
|
59
|
+
"png",
|
|
60
|
+
"webp"
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"coverKey": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
},
|
|
69
|
+
"pubType": {
|
|
70
|
+
"type": "number",
|
|
71
|
+
"enum": [
|
|
72
|
+
0,
|
|
73
|
+
1
|
|
74
|
+
],
|
|
75
|
+
"default": 1
|
|
76
|
+
},
|
|
77
|
+
"declaration": {
|
|
78
|
+
"type": "number",
|
|
79
|
+
"enum": [
|
|
80
|
+
0,
|
|
81
|
+
1
|
|
82
|
+
],
|
|
83
|
+
"default": 0
|
|
84
|
+
},
|
|
85
|
+
"location": {
|
|
86
|
+
"type": "object",
|
|
87
|
+
"required": [
|
|
88
|
+
"id",
|
|
89
|
+
"text",
|
|
90
|
+
"raw"
|
|
91
|
+
],
|
|
92
|
+
"properties": {
|
|
93
|
+
"id": {
|
|
94
|
+
"type": "string"
|
|
95
|
+
},
|
|
96
|
+
"text": {
|
|
97
|
+
"type": "string"
|
|
98
|
+
},
|
|
99
|
+
"raw": {
|
|
100
|
+
"type": "object"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"additionalProperties": true
|
|
104
|
+
},
|
|
105
|
+
"scheduledTime": {
|
|
106
|
+
"type": "number",
|
|
107
|
+
"minimum": 0
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"additionalProperties": false
|
|
111
|
+
}
|