@yixiaoermail/cli 3.2.29 → 3.2.31

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 (349) hide show
  1. package/README.md +54 -54
  2. package/bin/ensure-executable.js +25 -25
  3. package/bin/install.js +311 -311
  4. package/bin/postinstall.js +14 -14
  5. package/bin/resolve-binary.js +22 -22
  6. package/bin/yxer.js +100 -100
  7. package/checksums.txt +6 -6
  8. package/package.json +30 -30
  9. package/references/cli/command-design.md +306 -306
  10. package/references/cli/command-reference.md +286 -271
  11. package/references/cli/publish-channels.md +77 -77
  12. package/references/create-account-group.md +27 -27
  13. package/references/delete-account-group.md +20 -20
  14. package/references/domains/accounts-and-env.md +46 -46
  15. package/references/domains/draft-and-material.md +41 -41
  16. package/references/domains/install-and-sync.md +80 -63
  17. package/references/domains/publish.md +91 -87
  18. package/references/domains/troubleshooting.md +38 -38
  19. package/references/execution-standard.md +145 -145
  20. package/references/get-account-groups.md +15 -15
  21. package/references/get-account-increments.md +55 -55
  22. package/references/get-account-overviews.md +56 -56
  23. package/references/get-challenges.md +14 -14
  24. package/references/get-collections.md +41 -41
  25. package/references/get-content-overviews.md +59 -59
  26. package/references/get-drama-tasks.md +43 -43
  27. package/references/get-friends.md +48 -48
  28. package/references/get-games.md +39 -39
  29. package/references/get-goods.md +52 -52
  30. package/references/get-groups.md +35 -35
  31. package/references/get-hot-events.md +14 -14
  32. package/references/get-locations.md +48 -48
  33. package/references/get-members.md +28 -28
  34. package/references/get-miniapps.md +38 -38
  35. package/references/get-music-categories.md +44 -44
  36. package/references/get-music.md +69 -69
  37. package/references/get-publish-activities.md +42 -40
  38. package/references/get-publish-categories.md +67 -67
  39. package/references/get-sync-apps.md +14 -14
  40. package/references/get-topics.md +13 -13
  41. package/references/go-live-process.md +160 -160
  42. package/references/keyword-reference.md +115 -115
  43. package/references/legacy/capabilities.md +39 -39
  44. package/references/material-resource.md +88 -88
  45. package/references/platform-doc-maintenance.md +33 -33
  46. package/references/platform.md +62 -62
  47. package/references/platforms/article/acfun.md +90 -90
  48. package/references/platforms/article/aiqiyi.md +56 -56
  49. package/references/platforms/article/baijiahao.md +94 -94
  50. package/references/platforms/article/bilibili.md +88 -88
  51. package/references/platforms/article/chejiahao.md +81 -81
  52. package/references/platforms/article/csdn.md +86 -86
  53. package/references/platforms/article/dayuhao.md +78 -78
  54. package/references/platforms/article/douban.md +62 -62
  55. package/references/platforms/article/douyin.md +106 -106
  56. package/references/platforms/article/index.md +158 -158
  57. package/references/platforms/article/jianshu.md +56 -56
  58. package/references/platforms/article/kuaichuanhao.md +78 -78
  59. package/references/platforms/article/qiehao.md +78 -78
  60. package/references/platforms/article/souhuhao.md +97 -75
  61. package/references/platforms/article/toutiaohao.md +80 -80
  62. package/references/platforms/article/wangyihao.md +100 -79
  63. package/references/platforms/article/weixingongzhonghao-open.md +86 -86
  64. package/references/platforms/article/weixingongzhonghao.md +174 -174
  65. package/references/platforms/article/xinlangweibo.md +75 -75
  66. package/references/platforms/article/xueqiuhao.md +73 -73
  67. package/references/platforms/article/yichehao.md +92 -92
  68. package/references/platforms/article/yidianhao.md +76 -76
  69. package/references/platforms/article/zhihu.md +75 -75
  70. package/references/platforms/imageText/baijiahao.md +102 -102
  71. package/references/platforms/imageText/douyin.md +113 -111
  72. package/references/platforms/imageText/index.md +117 -117
  73. package/references/platforms/imageText/kuaishou.md +110 -106
  74. package/references/platforms/imageText/shipinhao.md +116 -112
  75. package/references/platforms/imageText/taobaoguanghe.md +26 -26
  76. package/references/platforms/imageText/toutiaohao.md +78 -78
  77. package/references/platforms/imageText/weixingongzhonghao.md +106 -106
  78. package/references/platforms/imageText/xiaohongshu.md +102 -98
  79. package/references/platforms/imageText/xinlangweibo.md +79 -77
  80. package/references/platforms/imageText/zhihu.md +92 -92
  81. package/references/platforms/index.md +20 -20
  82. package/references/platforms/video/acfun.md +82 -82
  83. package/references/platforms/video/aiqiyi.md +89 -89
  84. package/references/platforms/video/baijiahao.md +130 -130
  85. package/references/platforms/video/bilibili-open.md +59 -59
  86. package/references/platforms/video/bilibili.md +80 -80
  87. package/references/platforms/video/chejiahao.md +63 -63
  88. package/references/platforms/video/dayuhao.md +91 -91
  89. package/references/platforms/video/dewu.md +80 -80
  90. package/references/platforms/video/douyin.md +173 -173
  91. package/references/platforms/video/duoduoshipin.md +82 -82
  92. package/references/platforms/video/facebook.md +42 -37
  93. package/references/platforms/video/fengwang.md +81 -81
  94. package/references/platforms/video/index.md +176 -176
  95. package/references/platforms/video/instagram.md +40 -40
  96. package/references/platforms/video/kuaishou-open.md +44 -44
  97. package/references/platforms/video/kuaishou.md +77 -77
  98. package/references/platforms/video/meipai.md +79 -79
  99. package/references/platforms/video/meiyou.md +59 -59
  100. package/references/platforms/video/pipixia.md +58 -58
  101. package/references/platforms/video/qiehao.md +91 -91
  102. package/references/platforms/video/shipinhao.md +142 -142
  103. package/references/platforms/video/souhuhao.md +107 -107
  104. package/references/platforms/video/souhushipin.md +64 -64
  105. package/references/platforms/video/taobaoguanghe.md +26 -26
  106. package/references/platforms/video/tengxunshipin.md +63 -63
  107. package/references/platforms/video/tiktok.md +52 -52
  108. package/references/platforms/video/toutiaohao.md +68 -68
  109. package/references/platforms/video/wangyihao.md +115 -93
  110. package/references/platforms/video/weishi.md +61 -61
  111. package/references/platforms/video/xiaohongshu.md +150 -150
  112. package/references/platforms/video/xiaohongshushop.md +92 -92
  113. package/references/platforms/video/xinlangweibo.md +79 -79
  114. package/references/platforms/video/yichehao.md +61 -61
  115. package/references/platforms/video/yidianhao.md +85 -85
  116. package/references/platforms/video/youtube.md +60 -53
  117. package/references/platforms/video/zhihu.md +85 -85
  118. package/references/protocols/confirmation.md +63 -63
  119. package/references/protocols/error-recovery.md +51 -51
  120. package/references/protocols/execution.md +68 -65
  121. package/references/protocols/provenance.md +65 -62
  122. package/references/protocols/publish-plan.md +5 -0
  123. package/references/proxy-management.md +69 -69
  124. package/references/query-accounts.md +85 -85
  125. package/references/save-draft.md +75 -75
  126. package/references/topic-tags.md +163 -140
  127. package/references/troubleshooting-guide.md +105 -105
  128. package/references/update-account-group.md +28 -28
  129. package/references/upload-resource.md +72 -72
  130. package/references/usage-workflow.md +208 -208
  131. package/references/workflows/account-selection.md +38 -38
  132. package/references/workflows/common-rules.md +291 -291
  133. package/references/workflows/data-accuracy.md +88 -86
  134. package/references/workflows/draft-workflow.md +47 -47
  135. package/references/workflows/local-vs-cloud.md +57 -57
  136. package/references/workflows/material-workflow.md +64 -64
  137. package/references/workflows/payload-sourcing.md +82 -82
  138. package/references/workflows/publish-article.md +75 -73
  139. package/references/workflows/publish-imageText.md +69 -67
  140. package/references/workflows/publish-plan.md +53 -0
  141. package/references/workflows/publish-troubleshooting.md +59 -59
  142. package/references/workflows/publish-video.md +74 -72
  143. package/references/yixiaoer-shared.md +106 -106
  144. package/schemas/account.schema.json +19 -19
  145. package/schemas/platforms/acfun.article.schema.json +117 -117
  146. package/schemas/platforms/acfun.video.schema.json +139 -139
  147. package/schemas/platforms/aiqiyi.article.schema.json +29 -29
  148. package/schemas/platforms/aiqiyi.video.schema.json +154 -154
  149. package/schemas/platforms/baijiahao.article.schema.json +168 -168
  150. package/schemas/platforms/baijiahao.imageText.schema.json +111 -111
  151. package/schemas/platforms/baijiahao.video.schema.json +229 -227
  152. package/schemas/platforms/bilibili-open.video.schema.json +170 -168
  153. package/schemas/platforms/bilibili.article.schema.json +109 -109
  154. package/schemas/platforms/bilibili.video.schema.json +206 -175
  155. package/schemas/platforms/chejiahao.article.schema.json +108 -108
  156. package/schemas/platforms/chejiahao.video.schema.json +111 -111
  157. package/schemas/platforms/csdn.article.schema.json +106 -106
  158. package/schemas/platforms/dayuhao.article.schema.json +106 -106
  159. package/schemas/platforms/dayuhao.video.schema.json +174 -174
  160. package/schemas/platforms/dewu.video.schema.json +134 -134
  161. package/schemas/platforms/douban.article.schema.json +48 -48
  162. package/schemas/platforms/douyin.article.schema.json +326 -326
  163. package/schemas/platforms/douyin.imageText.schema.json +301 -301
  164. package/schemas/platforms/douyin.video.schema.json +948 -930
  165. package/schemas/platforms/duoduoshipin.video.schema.json +124 -124
  166. package/schemas/platforms/facebook.video.schema.json +36 -28
  167. package/schemas/platforms/fengwang.video.schema.json +135 -135
  168. package/schemas/platforms/instagram.video.schema.json +28 -28
  169. package/schemas/platforms/jianshu.article.schema.json +33 -33
  170. package/schemas/platforms/kuaichuanhao.article.schema.json +95 -95
  171. package/schemas/platforms/kuaishou-open.video.schema.json +102 -102
  172. package/schemas/platforms/kuaishou.imageText.schema.json +181 -181
  173. package/schemas/platforms/kuaishou.video.schema.json +275 -274
  174. package/schemas/platforms/meipai.video.schema.json +123 -123
  175. package/schemas/platforms/meiyou.video.schema.json +96 -96
  176. package/schemas/platforms/pipixia.video.schema.json +94 -94
  177. package/schemas/platforms/qiehao.article.schema.json +89 -89
  178. package/schemas/platforms/qiehao.video.schema.json +147 -147
  179. package/schemas/platforms/shipinhao.imageText.schema.json +152 -151
  180. package/schemas/platforms/shipinhao.video.schema.json +291 -283
  181. package/schemas/platforms/souhuhao.article.schema.json +134 -73
  182. package/schemas/platforms/souhuhao.video.schema.json +171 -171
  183. package/schemas/platforms/souhushipin.video.schema.json +115 -115
  184. package/schemas/platforms/taobaoguanghe.imageText.schema.json +56 -56
  185. package/schemas/platforms/taobaoguanghe.video.schema.json +40 -40
  186. package/schemas/platforms/tengxunshipin.video.schema.json +115 -115
  187. package/schemas/platforms/tiktok.video.schema.json +72 -72
  188. package/schemas/platforms/toutiaohao.article.schema.json +166 -162
  189. package/schemas/platforms/toutiaohao.imageText.schema.json +87 -87
  190. package/schemas/platforms/toutiaohao.video.schema.json +138 -138
  191. package/schemas/platforms/wangyihao.article.schema.json +129 -86
  192. package/schemas/platforms/wangyihao.video.schema.json +186 -152
  193. package/schemas/platforms/weishi.video.schema.json +101 -101
  194. package/schemas/platforms/weixin.account-open.article.schema.json +106 -106
  195. package/schemas/platforms/weixin.account.article.schema.json +279 -257
  196. package/schemas/platforms/weixin.account.imageText.schema.json +266 -218
  197. package/schemas/platforms/xhs.imageText.schema.json +133 -133
  198. package/schemas/platforms/xiaohongshu.video.schema.json +226 -226
  199. package/schemas/platforms/xiaohongshushop.video.schema.json +142 -142
  200. package/schemas/platforms/xinlang.article.schema.json +69 -69
  201. package/schemas/platforms/xinlang.imageText.schema.json +107 -107
  202. package/schemas/platforms/xinlang.video.schema.json +182 -182
  203. package/schemas/platforms/xueqiuhao.article.schema.json +84 -84
  204. package/schemas/platforms/yichehao.article.schema.json +140 -140
  205. package/schemas/platforms/yichehao.video.schema.json +101 -101
  206. package/schemas/platforms/yidianhao.article.schema.json +78 -78
  207. package/schemas/platforms/yidianhao.video.schema.json +152 -152
  208. package/schemas/platforms/youtube.video.schema.json +100 -92
  209. package/schemas/platforms/zhihu.article.schema.json +105 -104
  210. package/schemas/platforms/zhihu.imageText.schema.json +61 -61
  211. package/schemas/platforms/zhihu.video.schema.json +144 -144
  212. package/schemas/publish.schema.json +26 -26
  213. package/skills/yixiaoer/QUICKSTART.md +59 -265
  214. package/skills/yixiaoer/SKILL.md +100 -98
  215. package/skills/yixiaoer/references/cli/command-design.md +306 -306
  216. package/skills/yixiaoer/references/cli/command-reference.md +286 -271
  217. package/skills/yixiaoer/references/cli/publish-channels.md +77 -77
  218. package/skills/yixiaoer/references/create-account-group.md +27 -27
  219. package/skills/yixiaoer/references/delete-account-group.md +20 -20
  220. package/skills/yixiaoer/references/domains/accounts-and-env.md +46 -46
  221. package/skills/yixiaoer/references/domains/draft-and-material.md +41 -41
  222. package/skills/yixiaoer/references/domains/install-and-sync.md +80 -63
  223. package/skills/yixiaoer/references/domains/publish.md +91 -87
  224. package/skills/yixiaoer/references/domains/troubleshooting.md +38 -38
  225. package/skills/yixiaoer/references/execution-standard.md +145 -145
  226. package/skills/yixiaoer/references/get-account-groups.md +15 -15
  227. package/skills/yixiaoer/references/get-account-increments.md +55 -55
  228. package/skills/yixiaoer/references/get-account-overviews.md +56 -56
  229. package/skills/yixiaoer/references/get-challenges.md +14 -14
  230. package/skills/yixiaoer/references/get-collections.md +41 -41
  231. package/skills/yixiaoer/references/get-content-overviews.md +59 -59
  232. package/skills/yixiaoer/references/get-drama-tasks.md +43 -43
  233. package/skills/yixiaoer/references/get-friends.md +48 -48
  234. package/skills/yixiaoer/references/get-games.md +39 -39
  235. package/skills/yixiaoer/references/get-goods.md +52 -52
  236. package/skills/yixiaoer/references/get-groups.md +35 -35
  237. package/skills/yixiaoer/references/get-hot-events.md +14 -14
  238. package/skills/yixiaoer/references/get-locations.md +48 -48
  239. package/skills/yixiaoer/references/get-members.md +28 -28
  240. package/skills/yixiaoer/references/get-miniapps.md +38 -38
  241. package/skills/yixiaoer/references/get-music-categories.md +44 -44
  242. package/skills/yixiaoer/references/get-music.md +69 -69
  243. package/skills/yixiaoer/references/get-publish-activities.md +42 -40
  244. package/skills/yixiaoer/references/get-publish-categories.md +67 -67
  245. package/skills/yixiaoer/references/get-sync-apps.md +14 -14
  246. package/skills/yixiaoer/references/get-topics.md +13 -13
  247. package/skills/yixiaoer/references/go-live-process.md +160 -160
  248. package/skills/yixiaoer/references/keyword-reference.md +115 -115
  249. package/skills/yixiaoer/references/legacy/capabilities.md +39 -39
  250. package/skills/yixiaoer/references/material-resource.md +88 -88
  251. package/skills/yixiaoer/references/platform-doc-maintenance.md +33 -33
  252. package/skills/yixiaoer/references/platform.md +62 -62
  253. package/skills/yixiaoer/references/platforms/article/acfun.md +90 -90
  254. package/skills/yixiaoer/references/platforms/article/aiqiyi.md +56 -56
  255. package/skills/yixiaoer/references/platforms/article/baijiahao.md +94 -94
  256. package/skills/yixiaoer/references/platforms/article/bilibili.md +88 -88
  257. package/skills/yixiaoer/references/platforms/article/chejiahao.md +81 -81
  258. package/skills/yixiaoer/references/platforms/article/csdn.md +86 -86
  259. package/skills/yixiaoer/references/platforms/article/dayuhao.md +78 -78
  260. package/skills/yixiaoer/references/platforms/article/douban.md +62 -62
  261. package/skills/yixiaoer/references/platforms/article/douyin.md +106 -106
  262. package/skills/yixiaoer/references/platforms/article/index.md +158 -158
  263. package/skills/yixiaoer/references/platforms/article/jianshu.md +56 -56
  264. package/skills/yixiaoer/references/platforms/article/kuaichuanhao.md +78 -78
  265. package/skills/yixiaoer/references/platforms/article/qiehao.md +78 -78
  266. package/skills/yixiaoer/references/platforms/article/souhuhao.md +97 -75
  267. package/skills/yixiaoer/references/platforms/article/toutiaohao.md +80 -80
  268. package/skills/yixiaoer/references/platforms/article/wangyihao.md +100 -79
  269. package/skills/yixiaoer/references/platforms/article/weixingongzhonghao-open.md +86 -86
  270. package/skills/yixiaoer/references/platforms/article/weixingongzhonghao.md +174 -174
  271. package/skills/yixiaoer/references/platforms/article/xinlangweibo.md +75 -75
  272. package/skills/yixiaoer/references/platforms/article/xueqiuhao.md +73 -73
  273. package/skills/yixiaoer/references/platforms/article/yichehao.md +92 -92
  274. package/skills/yixiaoer/references/platforms/article/yidianhao.md +76 -76
  275. package/skills/yixiaoer/references/platforms/article/zhihu.md +75 -75
  276. package/skills/yixiaoer/references/platforms/imageText/baijiahao.md +102 -102
  277. package/skills/yixiaoer/references/platforms/imageText/douyin.md +113 -111
  278. package/skills/yixiaoer/references/platforms/imageText/index.md +117 -117
  279. package/skills/yixiaoer/references/platforms/imageText/kuaishou.md +110 -106
  280. package/skills/yixiaoer/references/platforms/imageText/shipinhao.md +116 -112
  281. package/skills/yixiaoer/references/platforms/imageText/taobaoguanghe.md +26 -26
  282. package/skills/yixiaoer/references/platforms/imageText/toutiaohao.md +78 -78
  283. package/skills/yixiaoer/references/platforms/imageText/weixingongzhonghao.md +106 -106
  284. package/skills/yixiaoer/references/platforms/imageText/xiaohongshu.md +102 -98
  285. package/skills/yixiaoer/references/platforms/imageText/xinlangweibo.md +79 -77
  286. package/skills/yixiaoer/references/platforms/imageText/zhihu.md +92 -92
  287. package/skills/yixiaoer/references/platforms/index.md +20 -20
  288. package/skills/yixiaoer/references/platforms/video/acfun.md +82 -82
  289. package/skills/yixiaoer/references/platforms/video/aiqiyi.md +89 -89
  290. package/skills/yixiaoer/references/platforms/video/baijiahao.md +130 -130
  291. package/skills/yixiaoer/references/platforms/video/bilibili-open.md +59 -59
  292. package/skills/yixiaoer/references/platforms/video/bilibili.md +80 -80
  293. package/skills/yixiaoer/references/platforms/video/chejiahao.md +63 -63
  294. package/skills/yixiaoer/references/platforms/video/dayuhao.md +91 -91
  295. package/skills/yixiaoer/references/platforms/video/dewu.md +80 -80
  296. package/skills/yixiaoer/references/platforms/video/douyin.md +173 -173
  297. package/skills/yixiaoer/references/platforms/video/duoduoshipin.md +82 -82
  298. package/skills/yixiaoer/references/platforms/video/facebook.md +42 -37
  299. package/skills/yixiaoer/references/platforms/video/fengwang.md +81 -81
  300. package/skills/yixiaoer/references/platforms/video/index.md +176 -176
  301. package/skills/yixiaoer/references/platforms/video/instagram.md +40 -40
  302. package/skills/yixiaoer/references/platforms/video/kuaishou-open.md +44 -44
  303. package/skills/yixiaoer/references/platforms/video/kuaishou.md +77 -77
  304. package/skills/yixiaoer/references/platforms/video/meipai.md +79 -79
  305. package/skills/yixiaoer/references/platforms/video/meiyou.md +59 -59
  306. package/skills/yixiaoer/references/platforms/video/pipixia.md +58 -58
  307. package/skills/yixiaoer/references/platforms/video/qiehao.md +91 -91
  308. package/skills/yixiaoer/references/platforms/video/shipinhao.md +142 -142
  309. package/skills/yixiaoer/references/platforms/video/souhuhao.md +107 -107
  310. package/skills/yixiaoer/references/platforms/video/souhushipin.md +64 -64
  311. package/skills/yixiaoer/references/platforms/video/taobaoguanghe.md +26 -26
  312. package/skills/yixiaoer/references/platforms/video/tengxunshipin.md +63 -63
  313. package/skills/yixiaoer/references/platforms/video/tiktok.md +52 -52
  314. package/skills/yixiaoer/references/platforms/video/toutiaohao.md +68 -68
  315. package/skills/yixiaoer/references/platforms/video/wangyihao.md +115 -93
  316. package/skills/yixiaoer/references/platforms/video/weishi.md +61 -61
  317. package/skills/yixiaoer/references/platforms/video/xiaohongshu.md +150 -150
  318. package/skills/yixiaoer/references/platforms/video/xiaohongshushop.md +92 -92
  319. package/skills/yixiaoer/references/platforms/video/xinlangweibo.md +79 -79
  320. package/skills/yixiaoer/references/platforms/video/yichehao.md +61 -61
  321. package/skills/yixiaoer/references/platforms/video/yidianhao.md +85 -85
  322. package/skills/yixiaoer/references/platforms/video/youtube.md +60 -53
  323. package/skills/yixiaoer/references/platforms/video/zhihu.md +85 -85
  324. package/skills/yixiaoer/references/protocols/confirmation.md +63 -63
  325. package/skills/yixiaoer/references/protocols/error-recovery.md +51 -51
  326. package/skills/yixiaoer/references/protocols/execution.md +68 -65
  327. package/skills/yixiaoer/references/protocols/provenance.md +65 -62
  328. package/skills/yixiaoer/references/protocols/publish-plan.md +5 -0
  329. package/skills/yixiaoer/references/proxy-management.md +69 -69
  330. package/skills/yixiaoer/references/query-accounts.md +85 -85
  331. package/skills/yixiaoer/references/save-draft.md +75 -75
  332. package/skills/yixiaoer/references/topic-tags.md +163 -140
  333. package/skills/yixiaoer/references/troubleshooting-guide.md +105 -105
  334. package/skills/yixiaoer/references/update-account-group.md +28 -28
  335. package/skills/yixiaoer/references/upload-resource.md +72 -72
  336. package/skills/yixiaoer/references/usage-workflow.md +208 -208
  337. package/skills/yixiaoer/references/workflows/account-selection.md +38 -38
  338. package/skills/yixiaoer/references/workflows/common-rules.md +291 -291
  339. package/skills/yixiaoer/references/workflows/data-accuracy.md +88 -86
  340. package/skills/yixiaoer/references/workflows/draft-workflow.md +47 -47
  341. package/skills/yixiaoer/references/workflows/local-vs-cloud.md +57 -57
  342. package/skills/yixiaoer/references/workflows/material-workflow.md +64 -64
  343. package/skills/yixiaoer/references/workflows/payload-sourcing.md +82 -82
  344. package/skills/yixiaoer/references/workflows/publish-article.md +75 -73
  345. package/skills/yixiaoer/references/workflows/publish-imageText.md +69 -67
  346. package/skills/yixiaoer/references/workflows/publish-plan.md +53 -0
  347. package/skills/yixiaoer/references/workflows/publish-troubleshooting.md +59 -59
  348. package/skills/yixiaoer/references/workflows/publish-video.md +74 -72
  349. package/skills/yixiaoer/references/yixiaoer-shared.md +106 -106
@@ -1,930 +1,948 @@
1
- {
2
- "title": "Douyin Video Publish Form (Strict Standards)",
3
- "type": "object",
4
- "required": [
5
- "formType"
6
- ],
7
- "properties": {
8
- "formType": {
9
- "type": "string",
10
- "const": "task"
11
- },
12
- "title": {
13
- "type": "string",
14
- "minLength": 1,
15
- "maxLength": 30
16
- },
17
- "description": {
18
- "type": "string",
19
- "minLength": 1,
20
- "maxLength": 1000
21
- },
22
- "horizontalCover": {
23
- "type": "object",
24
- "required": [
25
- "key",
26
- "size",
27
- "width",
28
- "height"
29
- ],
30
- "properties": {
31
- "key": {
32
- "type": "string"
33
- },
34
- "size": {
35
- "type": "integer",
36
- "minimum": 1
37
- },
38
- "width": {
39
- "type": "integer",
40
- "minimum": 1
41
- },
42
- "height": {
43
- "type": "integer",
44
- "minimum": 1
45
- }
46
- }
47
- },
48
- "tags": {
49
- "type": "array",
50
- "items": {
51
- "type": "string"
52
- },
53
- "minItems": 1,
54
- "maxItems": 10
55
- },
56
- "video": {
57
- "type": "object",
58
- "properties": {
59
- "key": {
60
- "type": "string"
61
- },
62
- "size": {
63
- "type": "integer"
64
- },
65
- "width": {
66
- "type": "integer"
67
- },
68
- "height": {
69
- "type": "integer"
70
- }
71
- }
72
- },
73
- "visibleType": {
74
- "type": "number",
75
- "enum": [
76
- 0,
77
- 1,
78
- 3
79
- ],
80
- "default": 0
81
- },
82
- "scheduledTime": {
83
- "type": "number",
84
- "minimum": 0
85
- },
86
- "location": {
87
- "type": "object",
88
- "required": [
89
- "isScp",
90
- "data"
91
- ],
92
- "properties": {
93
- "isScp": {
94
- "type": "boolean"
95
- },
96
- "data": {
97
- "type": "object",
98
- "required": [
99
- "yixiaoerId",
100
- "yixiaoerName",
101
- "raw"
102
- ],
103
- "properties": {
104
- "yixiaoerId": {
105
- "type": "string"
106
- },
107
- "yixiaoerName": {
108
- "type": "string"
109
- },
110
- "raw": {
111
- "type": "object"
112
- }
113
- },
114
- "additionalProperties": true
115
- }
116
- },
117
- "additionalProperties": false
118
- },
119
- "music": {
120
- "type": "object",
121
- "required": [
122
- "yixiaoerId",
123
- "yixiaoerName",
124
- "raw"
125
- ],
126
- "properties": {
127
- "yixiaoerId": {
128
- "type": "string"
129
- },
130
- "yixiaoerName": {
131
- "type": "string"
132
- },
133
- "raw": {
134
- "type": "object"
135
- }
136
- }
137
- },
138
- "challenge": {
139
- "type": "object",
140
- "required": [
141
- "yixiaoerId",
142
- "yixiaoerName",
143
- "raw"
144
- ],
145
- "properties": {
146
- "yixiaoerId": {
147
- "type": "string"
148
- },
149
- "yixiaoerName": {
150
- "type": "string"
151
- },
152
- "raw": {
153
- "type": "object"
154
- }
155
- }
156
- },
157
- "declaration": {
158
- "type": "number",
159
- "enum": [
160
- 0,
161
- 3,
162
- 4,
163
- 5,
164
- 6,
165
- 7,
166
- 8
167
- ],
168
- "default": 0
169
- },
170
- "allow_save": {
171
- "type": "number",
172
- "enum": [
173
- 0,
174
- 1
175
- ],
176
- "default": 0
177
- },
178
- "shopping_cart": {
179
- "type": "array",
180
- "minItems": 1,
181
- "items": {
182
- "type": "object",
183
- "required": [
184
- "sale_title",
185
- "images",
186
- "data"
187
- ],
188
- "properties": {
189
- "sale_title": {
190
- "type": "string",
191
- "maxLength": 10
192
- },
193
- "images": {
194
- "type": "array",
195
- "minItems": 1,
196
- "items": {
197
- "type": "string"
198
- }
199
- },
200
- "data": {
201
- "type": "object",
202
- "required": [
203
- "yixiaoerId",
204
- "yixiaoerName",
205
- "raw"
206
- ],
207
- "properties": {
208
- "yixiaoerId": {
209
- "type": "string"
210
- },
211
- "yixiaoerName": {
212
- "type": "string"
213
- },
214
- "raw": {
215
- "type": "object"
216
- }
217
- },
218
- "additionalProperties": true
219
- }
220
- },
221
- "additionalProperties": false
222
- }
223
- },
224
- "collection": {
225
- "type": "object",
226
- "required": [
227
- "yixiaoerId",
228
- "yixiaoerName",
229
- "raw"
230
- ],
231
- "properties": {
232
- "yixiaoerId": {
233
- "type": "string"
234
- },
235
- "yixiaoerName": {
236
- "type": "string"
237
- },
238
- "raw": {
239
- "type": "object"
240
- }
241
- }
242
- },
243
- "sub_collection": {
244
- "type": "object",
245
- "required": [
246
- "yixiaoerId",
247
- "yixiaoerName",
248
- "raw"
249
- ],
250
- "properties": {
251
- "yixiaoerId": {
252
- "type": "string"
253
- },
254
- "yixiaoerName": {
255
- "type": "string"
256
- },
257
- "raw": {
258
- "type": "object"
259
- }
260
- }
261
- },
262
- "sync_apps": {
263
- "type": "array",
264
- "items": {
265
- "type": "object",
266
- "required": [
267
- "yixiaoerId",
268
- "yixiaoerName",
269
- "raw"
270
- ],
271
- "properties": {
272
- "yixiaoerId": {
273
- "type": "string"
274
- },
275
- "yixiaoerName": {
276
- "type": "string"
277
- },
278
- "raw": {
279
- "type": "object"
280
- }
281
- }
282
- }
283
- },
284
- "hot_event": {
285
- "type": "object",
286
- "required": [
287
- "yixiaoerId",
288
- "yixiaoerName",
289
- "raw"
290
- ],
291
- "properties": {
292
- "yixiaoerId": {
293
- "type": "string"
294
- },
295
- "yixiaoerName": {
296
- "type": "string"
297
- },
298
- "raw": {
299
- "type": "object"
300
- }
301
- }
302
- },
303
- "mini_app": {
304
- "type": "object",
305
- "required": [
306
- "yixiaoerId",
307
- "yixiaoerName",
308
- "raw"
309
- ],
310
- "properties": {
311
- "yixiaoerId": {
312
- "type": "string"
313
- },
314
- "yixiaoerName": {
315
- "type": "string"
316
- },
317
- "raw": {
318
- "type": "object"
319
- }
320
- }
321
- },
322
- "film": {
323
- "type": "object",
324
- "required": [
325
- "yixiaoerId",
326
- "yixiaoerName",
327
- "raw"
328
- ],
329
- "properties": {
330
- "yixiaoerId": {
331
- "type": "string"
332
- },
333
- "yixiaoerName": {
334
- "type": "string"
335
- },
336
- "raw": {
337
- "type": "object"
338
- }
339
- },
340
- "additionalProperties": true
341
- },
342
- "cooperation_info": {
343
- "type": "array",
344
- "items": {
345
- "type": "object",
346
- "required": [
347
- "co_type",
348
- "user_list"
349
- ],
350
- "properties": {
351
- "co_type": {
352
- "type": "object"
353
- },
354
- "user_list": {
355
- "type": "array",
356
- "items": {
357
- "type": "object"
358
- }
359
- }
360
- },
361
- "additionalProperties": true
362
- }
363
- },
364
- "game": {
365
- "type": "object",
366
- "required": [
367
- "yixiaoerId",
368
- "yixiaoerName",
369
- "raw"
370
- ],
371
- "properties": {
372
- "yixiaoerId": {
373
- "type": "string"
374
- },
375
- "yixiaoerName": {
376
- "type": "string"
377
- },
378
- "raw": {
379
- "type": "object"
380
- }
381
- }
382
- },
383
- "accountForms": {
384
- "type": "array",
385
- "minItems": 1,
386
- "items": {
387
- "type": "object",
388
- "required": [
389
- "platformAccountId",
390
- "contentPublishForm",
391
- "video"
392
- ],
393
- "properties": {
394
- "platformAccountId": {
395
- "type": "string"
396
- },
397
- "contentPublishForm": {
398
- "type": "object",
399
- "required": [
400
- "formType"
401
- ],
402
- "properties": {
403
- "formType": {
404
- "type": "string",
405
- "const": "task"
406
- },
407
- "title": {
408
- "type": "string",
409
- "minLength": 1,
410
- "maxLength": 30
411
- },
412
- "description": {
413
- "type": "string",
414
- "minLength": 1,
415
- "maxLength": 1000
416
- },
417
- "horizontalCover": {
418
- "type": "object",
419
- "required": [
420
- "key",
421
- "size",
422
- "width",
423
- "height"
424
- ],
425
- "properties": {
426
- "key": {
427
- "type": "string"
428
- },
429
- "size": {
430
- "type": "integer",
431
- "minimum": 1
432
- },
433
- "width": {
434
- "type": "integer",
435
- "minimum": 1
436
- },
437
- "height": {
438
- "type": "integer",
439
- "minimum": 1
440
- }
441
- }
442
- },
443
- "tags": {
444
- "type": "array",
445
- "items": {
446
- "type": "string"
447
- },
448
- "minItems": 1,
449
- "maxItems": 10
450
- },
451
- "visibleType": {
452
- "type": "number",
453
- "enum": [
454
- 0,
455
- 1,
456
- 3
457
- ],
458
- "default": 0
459
- },
460
- "scheduledTime": {
461
- "type": "number",
462
- "minimum": 0
463
- },
464
- "location": {
465
- "type": "object",
466
- "required": [
467
- "isScp",
468
- "data"
469
- ],
470
- "properties": {
471
- "isScp": {
472
- "type": "boolean"
473
- },
474
- "data": {
475
- "type": "object",
476
- "required": [
477
- "yixiaoerId",
478
- "yixiaoerName",
479
- "raw"
480
- ],
481
- "properties": {
482
- "yixiaoerId": {
483
- "type": "string"
484
- },
485
- "yixiaoerName": {
486
- "type": "string"
487
- },
488
- "raw": {
489
- "type": "object"
490
- }
491
- },
492
- "additionalProperties": true
493
- }
494
- },
495
- "additionalProperties": false
496
- },
497
- "music": {
498
- "type": "object",
499
- "required": [
500
- "yixiaoerId",
501
- "yixiaoerName",
502
- "raw"
503
- ],
504
- "properties": {
505
- "yixiaoerId": {
506
- "type": "string"
507
- },
508
- "yixiaoerName": {
509
- "type": "string"
510
- },
511
- "raw": {
512
- "type": "object"
513
- }
514
- }
515
- },
516
- "challenge": {
517
- "type": "object",
518
- "required": [
519
- "yixiaoerId",
520
- "yixiaoerName",
521
- "raw"
522
- ],
523
- "properties": {
524
- "yixiaoerId": {
525
- "type": "string"
526
- },
527
- "yixiaoerName": {
528
- "type": "string"
529
- },
530
- "raw": {
531
- "type": "object"
532
- }
533
- }
534
- },
535
- "declaration": {
536
- "type": "number",
537
- "enum": [
538
- 0,
539
- 3,
540
- 4,
541
- 5,
542
- 6,
543
- 7,
544
- 8
545
- ],
546
- "default": 0
547
- },
548
- "allow_save": {
549
- "type": "number",
550
- "enum": [
551
- 0,
552
- 1
553
- ],
554
- "default": 0
555
- },
556
- "shopping_cart": {
557
- "type": "array",
558
- "minItems": 1,
559
- "items": {
560
- "type": "object",
561
- "required": [
562
- "sale_title",
563
- "images",
564
- "data"
565
- ],
566
- "properties": {
567
- "sale_title": {
568
- "type": "string",
569
- "maxLength": 10
570
- },
571
- "images": {
572
- "type": "array",
573
- "minItems": 1,
574
- "items": {
575
- "type": "string"
576
- }
577
- },
578
- "data": {
579
- "type": "object",
580
- "required": [
581
- "yixiaoerId",
582
- "yixiaoerName",
583
- "raw"
584
- ],
585
- "properties": {
586
- "yixiaoerId": {
587
- "type": "string"
588
- },
589
- "yixiaoerName": {
590
- "type": "string"
591
- },
592
- "raw": {
593
- "type": "object"
594
- }
595
- },
596
- "additionalProperties": true
597
- }
598
- },
599
- "additionalProperties": false
600
- }
601
- },
602
- "collection": {
603
- "type": "object",
604
- "required": [
605
- "yixiaoerId",
606
- "yixiaoerName",
607
- "raw"
608
- ],
609
- "properties": {
610
- "yixiaoerId": {
611
- "type": "string"
612
- },
613
- "yixiaoerName": {
614
- "type": "string"
615
- },
616
- "raw": {
617
- "type": "object"
618
- }
619
- }
620
- },
621
- "sub_collection": {
622
- "type": "object",
623
- "required": [
624
- "yixiaoerId",
625
- "yixiaoerName",
626
- "raw"
627
- ],
628
- "properties": {
629
- "yixiaoerId": {
630
- "type": "string"
631
- },
632
- "yixiaoerName": {
633
- "type": "string"
634
- },
635
- "raw": {
636
- "type": "object"
637
- }
638
- }
639
- },
640
- "sync_apps": {
641
- "type": "array",
642
- "items": {
643
- "type": "object",
644
- "required": [
645
- "yixiaoerId",
646
- "yixiaoerName",
647
- "raw"
648
- ],
649
- "properties": {
650
- "yixiaoerId": {
651
- "type": "string"
652
- },
653
- "yixiaoerName": {
654
- "type": "string"
655
- },
656
- "raw": {
657
- "type": "object"
658
- }
659
- }
660
- }
661
- },
662
- "hot_event": {
663
- "type": "object",
664
- "required": [
665
- "yixiaoerId",
666
- "yixiaoerName",
667
- "raw"
668
- ],
669
- "properties": {
670
- "yixiaoerId": {
671
- "type": "string"
672
- },
673
- "yixiaoerName": {
674
- "type": "string"
675
- },
676
- "raw": {
677
- "type": "object"
678
- }
679
- }
680
- },
681
- "mini_app": {
682
- "type": "object",
683
- "required": [
684
- "yixiaoerId",
685
- "yixiaoerName",
686
- "raw"
687
- ],
688
- "properties": {
689
- "yixiaoerId": {
690
- "type": "string"
691
- },
692
- "yixiaoerName": {
693
- "type": "string"
694
- },
695
- "raw": {
696
- "type": "object"
697
- }
698
- }
699
- },
700
- "film": {
701
- "type": "object",
702
- "required": [
703
- "yixiaoerId",
704
- "yixiaoerName",
705
- "raw"
706
- ],
707
- "properties": {
708
- "yixiaoerId": {
709
- "type": "string"
710
- },
711
- "yixiaoerName": {
712
- "type": "string"
713
- },
714
- "raw": {
715
- "type": "object"
716
- }
717
- },
718
- "additionalProperties": true
719
- },
720
- "cooperation_info": {
721
- "type": "array",
722
- "items": {
723
- "type": "object",
724
- "required": [
725
- "co_type",
726
- "user_list"
727
- ],
728
- "properties": {
729
- "co_type": {
730
- "type": "object"
731
- },
732
- "user_list": {
733
- "type": "array",
734
- "items": {
735
- "type": "object"
736
- }
737
- }
738
- },
739
- "additionalProperties": true
740
- }
741
- },
742
- "game": {
743
- "type": "object",
744
- "required": [
745
- "yixiaoerId",
746
- "yixiaoerName",
747
- "raw"
748
- ],
749
- "properties": {
750
- "yixiaoerId": {
751
- "type": "string"
752
- },
753
- "yixiaoerName": {
754
- "type": "string"
755
- },
756
- "raw": {
757
- "type": "object"
758
- }
759
- }
760
- },
761
- "group_shopping": {
762
- "type": "object",
763
- "required": [
764
- "brand_switch_value",
765
- "sale_title",
766
- "data"
767
- ],
768
- "properties": {
769
- "brand_switch_value": {
770
- "type": "number",
771
- "enum": [
772
- 0,
773
- 1,
774
- 2
775
- ]
776
- },
777
- "sale_title": {
778
- "type": "string",
779
- "maxLength": 10
780
- },
781
- "data": {
782
- "type": "object",
783
- "required": [
784
- "yixiaoerId",
785
- "yixiaoerName",
786
- "raw"
787
- ],
788
- "properties": {
789
- "yixiaoerId": {
790
- "type": "string"
791
- },
792
- "yixiaoerName": {
793
- "type": "string"
794
- },
795
- "raw": {
796
- "type": "object"
797
- }
798
- },
799
- "additionalProperties": true
800
- }
801
- },
802
- "additionalProperties": false
803
- },
804
- "tagType": {
805
- "type": "string",
806
- "enum": [
807
- "位置",
808
- "团购",
809
- "购物车",
810
- "小程序",
811
- "影视综艺",
812
- "游戏手柄"
813
- ]
814
- }
815
- },
816
- "additionalProperties": false
817
- },
818
- "video": {
819
- "type": "object",
820
- "required": [
821
- "key",
822
- "size",
823
- "width",
824
- "height"
825
- ],
826
- "properties": {
827
- "key": {
828
- "type": "string"
829
- },
830
- "size": {
831
- "type": "integer",
832
- "minimum": 1
833
- },
834
- "width": {
835
- "type": "integer",
836
- "minimum": 1
837
- },
838
- "height": {
839
- "type": "integer",
840
- "minimum": 1
841
- }
842
- }
843
- },
844
- "cover": {
845
- "type": "object",
846
- "required": [
847
- "key",
848
- "size",
849
- "width",
850
- "height"
851
- ],
852
- "properties": {
853
- "key": {
854
- "type": "string"
855
- },
856
- "size": {
857
- "type": "integer"
858
- },
859
- "width": {
860
- "type": "integer"
861
- },
862
- "height": {
863
- "type": "integer"
864
- }
865
- }
866
- },
867
- "coverKey": {
868
- "type": "string"
869
- }
870
- },
871
- "additionalProperties": false
872
- }
873
- },
874
- "group_shopping": {
875
- "type": "object",
876
- "required": [
877
- "brand_switch_value",
878
- "sale_title",
879
- "data"
880
- ],
881
- "properties": {
882
- "brand_switch_value": {
883
- "type": "number",
884
- "enum": [
885
- 0,
886
- 1,
887
- 2
888
- ]
889
- },
890
- "sale_title": {
891
- "type": "string",
892
- "maxLength": 10
893
- },
894
- "data": {
895
- "type": "object",
896
- "required": [
897
- "yixiaoerId",
898
- "yixiaoerName",
899
- "raw"
900
- ],
901
- "properties": {
902
- "yixiaoerId": {
903
- "type": "string"
904
- },
905
- "yixiaoerName": {
906
- "type": "string"
907
- },
908
- "raw": {
909
- "type": "object"
910
- }
911
- },
912
- "additionalProperties": true
913
- }
914
- },
915
- "additionalProperties": false
916
- },
917
- "tagType": {
918
- "type": "string",
919
- "enum": [
920
- "位置",
921
- "团购",
922
- "购物车",
923
- "小程序",
924
- "影视综艺",
925
- "游戏手柄"
926
- ]
927
- }
928
- },
929
- "additionalProperties": false
930
- }
1
+ {
2
+ "title": "Douyin Video Publish Form (Strict Standards)",
3
+ "x-publish-constraints": {
4
+ "videoMaxBytes": 17179869184,
5
+ "videoMaxDurationSeconds": 3600,
6
+ "scheduledMinDelayMilliseconds": 7200000,
7
+ "scheduledMaxDelayMilliseconds": 1209600000
8
+ },
9
+ "x-conditional-required": [
10
+ {
11
+ "if": { "field": "visibleType", "op": "notEquals", "value": 0 },
12
+ "forbidNonEmpty": ["cooperation_info", "sync_apps"],
13
+ "message": "非公开(仅自己/好友可见)不支持共创与同步发布,请清空 cooperation_info 与 sync_apps"
14
+ },
15
+ {
16
+ "if": { "field": "video.width", "op": "gtField", "value": "video.height" },
17
+ "required": ["horizontalCover"],
18
+ "message": "横版视频必须提供横版封面 horizontalCover"
19
+ }
20
+ ],
21
+ "type": "object",
22
+ "required": [
23
+ "formType"
24
+ ],
25
+ "properties": {
26
+ "formType": {
27
+ "type": "string",
28
+ "const": "task"
29
+ },
30
+ "title": {
31
+ "type": "string",
32
+ "minLength": 1,
33
+ "maxLength": 30
34
+ },
35
+ "description": {
36
+ "type": "string",
37
+ "minLength": 1,
38
+ "maxLength": 1000
39
+ },
40
+ "horizontalCover": {
41
+ "type": "object",
42
+ "required": [
43
+ "key",
44
+ "size",
45
+ "width",
46
+ "height"
47
+ ],
48
+ "properties": {
49
+ "key": {
50
+ "type": "string"
51
+ },
52
+ "size": {
53
+ "type": "integer",
54
+ "minimum": 1
55
+ },
56
+ "width": {
57
+ "type": "integer",
58
+ "minimum": 1
59
+ },
60
+ "height": {
61
+ "type": "integer",
62
+ "minimum": 1
63
+ }
64
+ }
65
+ },
66
+ "tags": {
67
+ "type": "array",
68
+ "items": {
69
+ "type": "string"
70
+ },
71
+ "minItems": 1,
72
+ "maxItems": 10
73
+ },
74
+ "video": {
75
+ "type": "object",
76
+ "properties": {
77
+ "key": {
78
+ "type": "string"
79
+ },
80
+ "size": {
81
+ "type": "integer"
82
+ },
83
+ "width": {
84
+ "type": "integer"
85
+ },
86
+ "height": {
87
+ "type": "integer"
88
+ }
89
+ }
90
+ },
91
+ "visibleType": {
92
+ "type": "number",
93
+ "enum": [
94
+ 0,
95
+ 1,
96
+ 3
97
+ ],
98
+ "default": 0
99
+ },
100
+ "scheduledTime": {
101
+ "type": "number",
102
+ "minimum": 0
103
+ },
104
+ "location": {
105
+ "type": "object",
106
+ "required": [
107
+ "isScp",
108
+ "data"
109
+ ],
110
+ "properties": {
111
+ "isScp": {
112
+ "type": "boolean"
113
+ },
114
+ "data": {
115
+ "type": "object",
116
+ "required": [
117
+ "yixiaoerId",
118
+ "yixiaoerName",
119
+ "raw"
120
+ ],
121
+ "properties": {
122
+ "yixiaoerId": {
123
+ "type": "string"
124
+ },
125
+ "yixiaoerName": {
126
+ "type": "string"
127
+ },
128
+ "raw": {
129
+ "type": "object"
130
+ }
131
+ },
132
+ "additionalProperties": true
133
+ }
134
+ },
135
+ "additionalProperties": false
136
+ },
137
+ "music": {
138
+ "type": "object",
139
+ "required": [
140
+ "yixiaoerId",
141
+ "yixiaoerName",
142
+ "raw"
143
+ ],
144
+ "properties": {
145
+ "yixiaoerId": {
146
+ "type": "string"
147
+ },
148
+ "yixiaoerName": {
149
+ "type": "string"
150
+ },
151
+ "raw": {
152
+ "type": "object"
153
+ }
154
+ }
155
+ },
156
+ "challenge": {
157
+ "type": "object",
158
+ "required": [
159
+ "yixiaoerId",
160
+ "yixiaoerName",
161
+ "raw"
162
+ ],
163
+ "properties": {
164
+ "yixiaoerId": {
165
+ "type": "string"
166
+ },
167
+ "yixiaoerName": {
168
+ "type": "string"
169
+ },
170
+ "raw": {
171
+ "type": "object"
172
+ }
173
+ }
174
+ },
175
+ "declaration": {
176
+ "type": "number",
177
+ "enum": [
178
+ 0,
179
+ 3,
180
+ 4,
181
+ 5,
182
+ 6,
183
+ 7,
184
+ 8
185
+ ],
186
+ "default": 0
187
+ },
188
+ "allow_save": {
189
+ "type": "number",
190
+ "enum": [
191
+ 0,
192
+ 1
193
+ ],
194
+ "default": 0
195
+ },
196
+ "shopping_cart": {
197
+ "type": "array",
198
+ "minItems": 1,
199
+ "items": {
200
+ "type": "object",
201
+ "required": [
202
+ "sale_title",
203
+ "images",
204
+ "data"
205
+ ],
206
+ "properties": {
207
+ "sale_title": {
208
+ "type": "string",
209
+ "maxLength": 10
210
+ },
211
+ "images": {
212
+ "type": "array",
213
+ "minItems": 1,
214
+ "items": {
215
+ "type": "string"
216
+ }
217
+ },
218
+ "data": {
219
+ "type": "object",
220
+ "required": [
221
+ "yixiaoerId",
222
+ "yixiaoerName",
223
+ "raw"
224
+ ],
225
+ "properties": {
226
+ "yixiaoerId": {
227
+ "type": "string"
228
+ },
229
+ "yixiaoerName": {
230
+ "type": "string"
231
+ },
232
+ "raw": {
233
+ "type": "object"
234
+ }
235
+ },
236
+ "additionalProperties": true
237
+ }
238
+ },
239
+ "additionalProperties": false
240
+ }
241
+ },
242
+ "collection": {
243
+ "type": "object",
244
+ "required": [
245
+ "yixiaoerId",
246
+ "yixiaoerName",
247
+ "raw"
248
+ ],
249
+ "properties": {
250
+ "yixiaoerId": {
251
+ "type": "string"
252
+ },
253
+ "yixiaoerName": {
254
+ "type": "string"
255
+ },
256
+ "raw": {
257
+ "type": "object"
258
+ }
259
+ }
260
+ },
261
+ "sub_collection": {
262
+ "type": "object",
263
+ "required": [
264
+ "yixiaoerId",
265
+ "yixiaoerName",
266
+ "raw"
267
+ ],
268
+ "properties": {
269
+ "yixiaoerId": {
270
+ "type": "string"
271
+ },
272
+ "yixiaoerName": {
273
+ "type": "string"
274
+ },
275
+ "raw": {
276
+ "type": "object"
277
+ }
278
+ }
279
+ },
280
+ "sync_apps": {
281
+ "type": "array",
282
+ "items": {
283
+ "type": "object",
284
+ "required": [
285
+ "yixiaoerId",
286
+ "yixiaoerName",
287
+ "raw"
288
+ ],
289
+ "properties": {
290
+ "yixiaoerId": {
291
+ "type": "string"
292
+ },
293
+ "yixiaoerName": {
294
+ "type": "string"
295
+ },
296
+ "raw": {
297
+ "type": "object"
298
+ }
299
+ }
300
+ }
301
+ },
302
+ "hot_event": {
303
+ "type": "object",
304
+ "required": [
305
+ "yixiaoerId",
306
+ "yixiaoerName",
307
+ "raw"
308
+ ],
309
+ "properties": {
310
+ "yixiaoerId": {
311
+ "type": "string"
312
+ },
313
+ "yixiaoerName": {
314
+ "type": "string"
315
+ },
316
+ "raw": {
317
+ "type": "object"
318
+ }
319
+ }
320
+ },
321
+ "mini_app": {
322
+ "type": "object",
323
+ "required": [
324
+ "yixiaoerId",
325
+ "yixiaoerName",
326
+ "raw"
327
+ ],
328
+ "properties": {
329
+ "yixiaoerId": {
330
+ "type": "string"
331
+ },
332
+ "yixiaoerName": {
333
+ "type": "string"
334
+ },
335
+ "raw": {
336
+ "type": "object"
337
+ }
338
+ }
339
+ },
340
+ "film": {
341
+ "type": "object",
342
+ "required": [
343
+ "yixiaoerId",
344
+ "yixiaoerName",
345
+ "raw"
346
+ ],
347
+ "properties": {
348
+ "yixiaoerId": {
349
+ "type": "string"
350
+ },
351
+ "yixiaoerName": {
352
+ "type": "string"
353
+ },
354
+ "raw": {
355
+ "type": "object"
356
+ }
357
+ },
358
+ "additionalProperties": true
359
+ },
360
+ "cooperation_info": {
361
+ "type": "array",
362
+ "items": {
363
+ "type": "object",
364
+ "required": [
365
+ "co_type",
366
+ "user_list"
367
+ ],
368
+ "properties": {
369
+ "co_type": {
370
+ "type": "object"
371
+ },
372
+ "user_list": {
373
+ "type": "array",
374
+ "items": {
375
+ "type": "object"
376
+ }
377
+ }
378
+ },
379
+ "additionalProperties": true
380
+ }
381
+ },
382
+ "game": {
383
+ "type": "object",
384
+ "required": [
385
+ "yixiaoerId",
386
+ "yixiaoerName",
387
+ "raw"
388
+ ],
389
+ "properties": {
390
+ "yixiaoerId": {
391
+ "type": "string"
392
+ },
393
+ "yixiaoerName": {
394
+ "type": "string"
395
+ },
396
+ "raw": {
397
+ "type": "object"
398
+ }
399
+ }
400
+ },
401
+ "accountForms": {
402
+ "type": "array",
403
+ "minItems": 1,
404
+ "items": {
405
+ "type": "object",
406
+ "required": [
407
+ "platformAccountId",
408
+ "contentPublishForm",
409
+ "video"
410
+ ],
411
+ "properties": {
412
+ "platformAccountId": {
413
+ "type": "string"
414
+ },
415
+ "contentPublishForm": {
416
+ "type": "object",
417
+ "required": [
418
+ "formType"
419
+ ],
420
+ "properties": {
421
+ "formType": {
422
+ "type": "string",
423
+ "const": "task"
424
+ },
425
+ "title": {
426
+ "type": "string",
427
+ "minLength": 1,
428
+ "maxLength": 30
429
+ },
430
+ "description": {
431
+ "type": "string",
432
+ "minLength": 1,
433
+ "maxLength": 1000
434
+ },
435
+ "horizontalCover": {
436
+ "type": "object",
437
+ "required": [
438
+ "key",
439
+ "size",
440
+ "width",
441
+ "height"
442
+ ],
443
+ "properties": {
444
+ "key": {
445
+ "type": "string"
446
+ },
447
+ "size": {
448
+ "type": "integer",
449
+ "minimum": 1
450
+ },
451
+ "width": {
452
+ "type": "integer",
453
+ "minimum": 1
454
+ },
455
+ "height": {
456
+ "type": "integer",
457
+ "minimum": 1
458
+ }
459
+ }
460
+ },
461
+ "tags": {
462
+ "type": "array",
463
+ "items": {
464
+ "type": "string"
465
+ },
466
+ "minItems": 1,
467
+ "maxItems": 10
468
+ },
469
+ "visibleType": {
470
+ "type": "number",
471
+ "enum": [
472
+ 0,
473
+ 1,
474
+ 3
475
+ ],
476
+ "default": 0
477
+ },
478
+ "scheduledTime": {
479
+ "type": "number",
480
+ "minimum": 0
481
+ },
482
+ "location": {
483
+ "type": "object",
484
+ "required": [
485
+ "isScp",
486
+ "data"
487
+ ],
488
+ "properties": {
489
+ "isScp": {
490
+ "type": "boolean"
491
+ },
492
+ "data": {
493
+ "type": "object",
494
+ "required": [
495
+ "yixiaoerId",
496
+ "yixiaoerName",
497
+ "raw"
498
+ ],
499
+ "properties": {
500
+ "yixiaoerId": {
501
+ "type": "string"
502
+ },
503
+ "yixiaoerName": {
504
+ "type": "string"
505
+ },
506
+ "raw": {
507
+ "type": "object"
508
+ }
509
+ },
510
+ "additionalProperties": true
511
+ }
512
+ },
513
+ "additionalProperties": false
514
+ },
515
+ "music": {
516
+ "type": "object",
517
+ "required": [
518
+ "yixiaoerId",
519
+ "yixiaoerName",
520
+ "raw"
521
+ ],
522
+ "properties": {
523
+ "yixiaoerId": {
524
+ "type": "string"
525
+ },
526
+ "yixiaoerName": {
527
+ "type": "string"
528
+ },
529
+ "raw": {
530
+ "type": "object"
531
+ }
532
+ }
533
+ },
534
+ "challenge": {
535
+ "type": "object",
536
+ "required": [
537
+ "yixiaoerId",
538
+ "yixiaoerName",
539
+ "raw"
540
+ ],
541
+ "properties": {
542
+ "yixiaoerId": {
543
+ "type": "string"
544
+ },
545
+ "yixiaoerName": {
546
+ "type": "string"
547
+ },
548
+ "raw": {
549
+ "type": "object"
550
+ }
551
+ }
552
+ },
553
+ "declaration": {
554
+ "type": "number",
555
+ "enum": [
556
+ 0,
557
+ 3,
558
+ 4,
559
+ 5,
560
+ 6,
561
+ 7,
562
+ 8
563
+ ],
564
+ "default": 0
565
+ },
566
+ "allow_save": {
567
+ "type": "number",
568
+ "enum": [
569
+ 0,
570
+ 1
571
+ ],
572
+ "default": 0
573
+ },
574
+ "shopping_cart": {
575
+ "type": "array",
576
+ "minItems": 1,
577
+ "items": {
578
+ "type": "object",
579
+ "required": [
580
+ "sale_title",
581
+ "images",
582
+ "data"
583
+ ],
584
+ "properties": {
585
+ "sale_title": {
586
+ "type": "string",
587
+ "maxLength": 10
588
+ },
589
+ "images": {
590
+ "type": "array",
591
+ "minItems": 1,
592
+ "items": {
593
+ "type": "string"
594
+ }
595
+ },
596
+ "data": {
597
+ "type": "object",
598
+ "required": [
599
+ "yixiaoerId",
600
+ "yixiaoerName",
601
+ "raw"
602
+ ],
603
+ "properties": {
604
+ "yixiaoerId": {
605
+ "type": "string"
606
+ },
607
+ "yixiaoerName": {
608
+ "type": "string"
609
+ },
610
+ "raw": {
611
+ "type": "object"
612
+ }
613
+ },
614
+ "additionalProperties": true
615
+ }
616
+ },
617
+ "additionalProperties": false
618
+ }
619
+ },
620
+ "collection": {
621
+ "type": "object",
622
+ "required": [
623
+ "yixiaoerId",
624
+ "yixiaoerName",
625
+ "raw"
626
+ ],
627
+ "properties": {
628
+ "yixiaoerId": {
629
+ "type": "string"
630
+ },
631
+ "yixiaoerName": {
632
+ "type": "string"
633
+ },
634
+ "raw": {
635
+ "type": "object"
636
+ }
637
+ }
638
+ },
639
+ "sub_collection": {
640
+ "type": "object",
641
+ "required": [
642
+ "yixiaoerId",
643
+ "yixiaoerName",
644
+ "raw"
645
+ ],
646
+ "properties": {
647
+ "yixiaoerId": {
648
+ "type": "string"
649
+ },
650
+ "yixiaoerName": {
651
+ "type": "string"
652
+ },
653
+ "raw": {
654
+ "type": "object"
655
+ }
656
+ }
657
+ },
658
+ "sync_apps": {
659
+ "type": "array",
660
+ "items": {
661
+ "type": "object",
662
+ "required": [
663
+ "yixiaoerId",
664
+ "yixiaoerName",
665
+ "raw"
666
+ ],
667
+ "properties": {
668
+ "yixiaoerId": {
669
+ "type": "string"
670
+ },
671
+ "yixiaoerName": {
672
+ "type": "string"
673
+ },
674
+ "raw": {
675
+ "type": "object"
676
+ }
677
+ }
678
+ }
679
+ },
680
+ "hot_event": {
681
+ "type": "object",
682
+ "required": [
683
+ "yixiaoerId",
684
+ "yixiaoerName",
685
+ "raw"
686
+ ],
687
+ "properties": {
688
+ "yixiaoerId": {
689
+ "type": "string"
690
+ },
691
+ "yixiaoerName": {
692
+ "type": "string"
693
+ },
694
+ "raw": {
695
+ "type": "object"
696
+ }
697
+ }
698
+ },
699
+ "mini_app": {
700
+ "type": "object",
701
+ "required": [
702
+ "yixiaoerId",
703
+ "yixiaoerName",
704
+ "raw"
705
+ ],
706
+ "properties": {
707
+ "yixiaoerId": {
708
+ "type": "string"
709
+ },
710
+ "yixiaoerName": {
711
+ "type": "string"
712
+ },
713
+ "raw": {
714
+ "type": "object"
715
+ }
716
+ }
717
+ },
718
+ "film": {
719
+ "type": "object",
720
+ "required": [
721
+ "yixiaoerId",
722
+ "yixiaoerName",
723
+ "raw"
724
+ ],
725
+ "properties": {
726
+ "yixiaoerId": {
727
+ "type": "string"
728
+ },
729
+ "yixiaoerName": {
730
+ "type": "string"
731
+ },
732
+ "raw": {
733
+ "type": "object"
734
+ }
735
+ },
736
+ "additionalProperties": true
737
+ },
738
+ "cooperation_info": {
739
+ "type": "array",
740
+ "items": {
741
+ "type": "object",
742
+ "required": [
743
+ "co_type",
744
+ "user_list"
745
+ ],
746
+ "properties": {
747
+ "co_type": {
748
+ "type": "object"
749
+ },
750
+ "user_list": {
751
+ "type": "array",
752
+ "items": {
753
+ "type": "object"
754
+ }
755
+ }
756
+ },
757
+ "additionalProperties": true
758
+ }
759
+ },
760
+ "game": {
761
+ "type": "object",
762
+ "required": [
763
+ "yixiaoerId",
764
+ "yixiaoerName",
765
+ "raw"
766
+ ],
767
+ "properties": {
768
+ "yixiaoerId": {
769
+ "type": "string"
770
+ },
771
+ "yixiaoerName": {
772
+ "type": "string"
773
+ },
774
+ "raw": {
775
+ "type": "object"
776
+ }
777
+ }
778
+ },
779
+ "group_shopping": {
780
+ "type": "object",
781
+ "required": [
782
+ "brand_switch_value",
783
+ "sale_title",
784
+ "data"
785
+ ],
786
+ "properties": {
787
+ "brand_switch_value": {
788
+ "type": "number",
789
+ "enum": [
790
+ 0,
791
+ 1,
792
+ 2
793
+ ]
794
+ },
795
+ "sale_title": {
796
+ "type": "string",
797
+ "maxLength": 10
798
+ },
799
+ "data": {
800
+ "type": "object",
801
+ "required": [
802
+ "yixiaoerId",
803
+ "yixiaoerName",
804
+ "raw"
805
+ ],
806
+ "properties": {
807
+ "yixiaoerId": {
808
+ "type": "string"
809
+ },
810
+ "yixiaoerName": {
811
+ "type": "string"
812
+ },
813
+ "raw": {
814
+ "type": "object"
815
+ }
816
+ },
817
+ "additionalProperties": true
818
+ }
819
+ },
820
+ "additionalProperties": false
821
+ },
822
+ "tagType": {
823
+ "type": "string",
824
+ "enum": [
825
+ "位置",
826
+ "团购",
827
+ "购物车",
828
+ "小程序",
829
+ "影视综艺",
830
+ "游戏手柄"
831
+ ]
832
+ }
833
+ },
834
+ "additionalProperties": false
835
+ },
836
+ "video": {
837
+ "type": "object",
838
+ "required": [
839
+ "key",
840
+ "size",
841
+ "width",
842
+ "height"
843
+ ],
844
+ "properties": {
845
+ "key": {
846
+ "type": "string"
847
+ },
848
+ "size": {
849
+ "type": "integer",
850
+ "minimum": 1
851
+ },
852
+ "width": {
853
+ "type": "integer",
854
+ "minimum": 1
855
+ },
856
+ "height": {
857
+ "type": "integer",
858
+ "minimum": 1
859
+ }
860
+ }
861
+ },
862
+ "cover": {
863
+ "type": "object",
864
+ "required": [
865
+ "key",
866
+ "size",
867
+ "width",
868
+ "height"
869
+ ],
870
+ "properties": {
871
+ "key": {
872
+ "type": "string"
873
+ },
874
+ "size": {
875
+ "type": "integer"
876
+ },
877
+ "width": {
878
+ "type": "integer"
879
+ },
880
+ "height": {
881
+ "type": "integer"
882
+ }
883
+ }
884
+ },
885
+ "coverKey": {
886
+ "type": "string"
887
+ }
888
+ },
889
+ "additionalProperties": false
890
+ }
891
+ },
892
+ "group_shopping": {
893
+ "type": "object",
894
+ "required": [
895
+ "brand_switch_value",
896
+ "sale_title",
897
+ "data"
898
+ ],
899
+ "properties": {
900
+ "brand_switch_value": {
901
+ "type": "number",
902
+ "enum": [
903
+ 0,
904
+ 1,
905
+ 2
906
+ ]
907
+ },
908
+ "sale_title": {
909
+ "type": "string",
910
+ "maxLength": 10
911
+ },
912
+ "data": {
913
+ "type": "object",
914
+ "required": [
915
+ "yixiaoerId",
916
+ "yixiaoerName",
917
+ "raw"
918
+ ],
919
+ "properties": {
920
+ "yixiaoerId": {
921
+ "type": "string"
922
+ },
923
+ "yixiaoerName": {
924
+ "type": "string"
925
+ },
926
+ "raw": {
927
+ "type": "object"
928
+ }
929
+ },
930
+ "additionalProperties": true
931
+ }
932
+ },
933
+ "additionalProperties": false
934
+ },
935
+ "tagType": {
936
+ "type": "string",
937
+ "enum": [
938
+ "位置",
939
+ "团购",
940
+ "购物车",
941
+ "小程序",
942
+ "影视综艺",
943
+ "游戏手柄"
944
+ ]
945
+ }
946
+ },
947
+ "additionalProperties": false
948
+ }