@yixiaoermail/cli 3.2.28 → 3.2.30
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/checksums.txt +6 -6
- package/package.json +1 -1
- package/references/get-publish-activities.md +20 -18
- package/references/platforms/article/souhuhao.md +22 -0
- package/references/platforms/article/wangyihao.md +21 -0
- package/references/platforms/article/weixingongzhonghao.md +39 -2
- package/references/platforms/imageText/douyin.md +2 -0
- package/references/platforms/imageText/kuaishou.md +4 -0
- package/references/platforms/imageText/shipinhao.md +4 -0
- package/references/platforms/imageText/weixingongzhonghao.md +17 -1
- package/references/platforms/imageText/xiaohongshu.md +4 -0
- package/references/platforms/imageText/xinlangweibo.md +2 -0
- package/references/platforms/video/tiktok.md +2 -0
- package/references/platforms/video/wangyihao.md +22 -0
- package/references/topic-tags.md +26 -3
- package/schemas/platforms/shipinhao.imageText.schema.json +2 -1
- package/schemas/platforms/souhuhao.article.schema.json +44 -0
- package/schemas/platforms/wangyihao.article.schema.json +43 -0
- package/schemas/platforms/wangyihao.video.schema.json +34 -0
- package/schemas/platforms/weixin.account.article.schema.json +109 -0
- package/schemas/platforms/weixin.account.imageText.schema.json +100 -0
- package/schemas/platforms/zhihu.article.schema.json +2 -1
- package/skills/yixiaoer/SKILL.md +1 -1
- package/skills/yixiaoer/references/get-publish-activities.md +20 -18
- package/skills/yixiaoer/references/platforms/article/souhuhao.md +22 -0
- package/skills/yixiaoer/references/platforms/article/wangyihao.md +21 -0
- package/skills/yixiaoer/references/platforms/article/weixingongzhonghao.md +39 -2
- package/skills/yixiaoer/references/platforms/imageText/douyin.md +2 -0
- package/skills/yixiaoer/references/platforms/imageText/kuaishou.md +4 -0
- package/skills/yixiaoer/references/platforms/imageText/shipinhao.md +4 -0
- package/skills/yixiaoer/references/platforms/imageText/weixingongzhonghao.md +17 -1
- package/skills/yixiaoer/references/platforms/imageText/xiaohongshu.md +4 -0
- package/skills/yixiaoer/references/platforms/imageText/xinlangweibo.md +2 -0
- package/skills/yixiaoer/references/platforms/video/tiktok.md +2 -0
- package/skills/yixiaoer/references/platforms/video/wangyihao.md +22 -0
- package/skills/yixiaoer/references/topic-tags.md +26 -3
package/checksums.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
ec29579a7d9244f555076ca040da39a1dc3d64d5d638b67e0c262788a053a852 yxer-cli-3.2.30-windows-amd64.zip
|
|
2
|
+
5d51dab2fced80360b8415c7b98414c4fd165eaae543d126d34a46c80d82855e yxer-cli-3.2.30-windows-arm64.zip
|
|
3
|
+
8f467eadc468331dd184f1b450292eded7e6a83a0c1f73d67b954792a56138b4 yxer-cli-3.2.30-darwin-amd64.tar.gz
|
|
4
|
+
266d5c3b8a6e7401ea98235894bf8c9f1bb14e7b1e42287cb7545a17c8a4487f yxer-cli-3.2.30-darwin-arm64.tar.gz
|
|
5
|
+
c49bc8034908002e38cca61c1351cda2a4a30fa686e3ecfb7b3213a239f30c99 yxer-cli-3.2.30-linux-amd64.tar.gz
|
|
6
|
+
ca2de817a7844c381b07231e50cb26de87864acec196f548973a4ed26d9dc2d5 yxer-cli-3.2.30-linux-arm64.tar.gz
|
package/package.json
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
#
|
|
1
|
+
# 获取征文/激励活动 (Get Activities)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
按账号查询平台可参与的征文或激励活动。发布时,将查询返回的完整活动对象填入平台契约声明的 `activity` 字段。
|
|
4
|
+
|
|
5
|
+
网易号发布页把该选择项显示为“活动话题”,CLI 中仍使用 `contentPublishForm.activity`。网易号视频和文章的查询结果结构不同,分别遵循[视频发布字段说明](./platforms/video/wangyihao.md)和[文章发布字段说明](./platforms/article/wangyihao.md)中的 `raw` 必填字段;不能跨内容类型复用活动对象。
|
|
4
6
|
|
|
5
7
|
## 触发场景 (Trigger)
|
|
6
8
|
- **意图辨析**:当用户希望参加平台官方活动以获取额外流量激励或奖金,并需要获取活动 ID 进行发布挂载时触发。
|
|
7
9
|
- **典型提示词**:
|
|
8
|
-
-
|
|
10
|
+
- “最近网易号有什么文章活动?”
|
|
9
11
|
- “帮我找一下适合这个视频参加的活动”
|
|
10
12
|
- “查看特定分类下的激励任务”
|
|
11
13
|
|
|
@@ -13,28 +15,28 @@
|
|
|
13
15
|
|
|
14
16
|
### 参数列表 (Payload Properties)
|
|
15
17
|
|
|
16
|
-
|
|
|
18
|
+
| 参数 | 类型 | 必填 | 说明 |
|
|
17
19
|
| :--- | :--- | :--- | :--- |
|
|
18
|
-
| `
|
|
19
|
-
| `
|
|
20
|
-
| `
|
|
21
|
-
| `
|
|
22
|
-
| `keyword` | `string` | 否 | 按关键字搜索 (别名: `keyWord`) |
|
|
20
|
+
| `account_id` | `string` | **是** | 蚁小二平台账号 ID |
|
|
21
|
+
| `--type` | `string` | 否 | 内容类型:`video` 或 `article`,默认 `article`;应与目标发布类型一致 |
|
|
22
|
+
| `--category-id` | `string` | 否 | 限定活动所属分类 |
|
|
23
|
+
| `--query` | `string` | 否 | 活动关键词;`--keyword` 是兼容别名 |
|
|
23
24
|
|
|
24
25
|
## 执行逻辑 (Logic Flow)
|
|
25
|
-
1.
|
|
26
|
-
2.
|
|
27
|
-
3.
|
|
28
|
-
4. **指令执行**:当前能力正在迁移到 `yxer` CLI,本文档不再推荐脚本直调。
|
|
29
|
-
5. **挂载建议**:获取活动列表后,将 `activityId` 反馈给用户或自动准备发布 Payload。
|
|
26
|
+
1. 先确认目标账号及发布类型。
|
|
27
|
+
2. 如用户给出活动名称,使用 `--query` 缩小结果;必要时使用 `--category-id`。
|
|
28
|
+
3. 从结果中选择活动后,将**完整对象**复制到对应平台的 `contentPublishForm.activity`,不要只填写 ID 或自行拼接 `raw`。
|
|
30
29
|
|
|
31
30
|
## 返回数据 (Response)
|
|
32
31
|
|
|
33
|
-
|
|
32
|
+
活动对象包含平台侧标识和原始数据;CLI 的动态字段契约使用 `yixiaoerId`、`yixiaoerName`、`raw`。保留查询结果中的全部字段。
|
|
34
33
|
|
|
35
34
|
## 调用指令 (Command)
|
|
36
35
|
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
```bash
|
|
37
|
+
yxer query activities ACCOUNT_ID --type video --json
|
|
38
|
+
yxer query activities ACCOUNT_ID --type article --query "活动关键词" --json
|
|
39
|
+
yxer query activities ACCOUNT_ID --type article --category-id CATEGORY_ID --json
|
|
40
40
|
```
|
|
41
|
+
|
|
42
|
+
网易号发布时,`--type` 必须与发布内容一致:视频使用 `video`,文章使用 `article`。将查询返回的选中列表项完整放入网易号 payload 的 `contentPublishForm.activity`,包括完整的 `raw`。
|
|
@@ -27,9 +27,25 @@
|
|
|
27
27
|
| `content` | `string` | **是** | 文章正文 (HTML 格式) | - |
|
|
28
28
|
| `desc` | `string` | **是** | 文章摘要或描述 | - |
|
|
29
29
|
| `covers` | `Array` | **是** | 文章封面列表 (`OldCover[]`) | - |
|
|
30
|
+
| `statement` | `object` | 否 | 文章创作声明,优先使用此契约:`type`、`quote` 和 `sourceUrl`,具体见下方。 | `{ "type": 0, "quote": false }` |
|
|
31
|
+
| `declaration` | `number` | 否 | **旧字段,已弃用**。仅为兼容历史 payload;新 payload 请使用 `statement`。 | - |
|
|
30
32
|
| `pubType` | `number` | **是** | 发布类型: 0-草稿, 1-直接发布 | 1 |
|
|
31
33
|
| `scheduledTime` | `number` | 否 | 定时发布时间 (13 位 Unix 时间戳,单位: 毫秒) | - |
|
|
32
34
|
|
|
35
|
+
### 创作声明契约(当前本地分支)
|
|
36
|
+
|
|
37
|
+
搜狐号文章使用独立的文章声明枚举,与搜狐号视频的 `declaration` 枚举不同。当前本地分支的表单契约是 `statement` 对象:
|
|
38
|
+
|
|
39
|
+
这是 CLI `contentPublishForm` 层的字段名;平台原始字段 `creationStatement` / `additionalStatement` 不作为 CLI payload 字段直接填写。
|
|
40
|
+
|
|
41
|
+
| `statement` 字段 | 类型 | 必填 | 说明 |
|
|
42
|
+
| :--- | :--- | :--- | :--- |
|
|
43
|
+
| `type` | `number` | **是** | `0`-无需声明,`1`-含有虚构演绎内容,`2`-含有 AI 生成内容,`3`-含有营销信息,`4`-内容为转载,`5`-内容为个人观点。AI 声明使用 `2`。 |
|
|
44
|
+
| `quote` | `boolean` | 否 | 是否开启补充引用声明,默认 `false`。 |
|
|
45
|
+
| `sourceUrl` | `string` | 条件必填 | 当 `quote: true` 时必填;填写完整的 HTTP(S) 来源链接。 |
|
|
46
|
+
|
|
47
|
+
`statement` 存在时优先于旧 `declaration`。旧字段仅用于兼容:旧 `declaration: 3` 会转换为文章 AI 值 `statement.type: 2`,旧值 `4` 转换为虚构演绎值 `1`;不要将搜狐号视频档的枚举直接用于文章。旧 `declaration: 1` 在文章枚举中表示虚构演绎,并不表示 AI。
|
|
48
|
+
|
|
33
49
|
## 2. Payload 完整示例
|
|
34
50
|
|
|
35
51
|
```json
|
|
@@ -47,6 +63,10 @@
|
|
|
47
63
|
"title": "这是文章标题",
|
|
48
64
|
"content": "<h1>搜狐号文章</h1><p>正文内容...</p>",
|
|
49
65
|
"desc": "这是文章的摘要",
|
|
66
|
+
"statement": {
|
|
67
|
+
"type": 2,
|
|
68
|
+
"quote": false
|
|
69
|
+
},
|
|
50
70
|
"covers": [
|
|
51
71
|
{ "key": "article_cover_key", "size": 102400, "width": 800, "height": 600 }
|
|
52
72
|
],
|
|
@@ -58,6 +78,8 @@
|
|
|
58
78
|
}
|
|
59
79
|
```
|
|
60
80
|
|
|
81
|
+
如需补充引用来源,声明对象示例为 `{"type": 0, "quote": true, "sourceUrl": "https://example.com/source"}`;`quote` 开启但缺少有效 HTTP(S) 链接时,发布校验会失败。
|
|
82
|
+
|
|
61
83
|
## 3. 复杂对象结构说明
|
|
62
84
|
|
|
63
85
|
### 3.1 OldCover (封面对象)
|
|
@@ -30,10 +30,20 @@
|
|
|
30
30
|
| `declaration` | `number` | 否 | 创作申明: 1-AI生成, 2-个人原创, 3-取材网络, 4-虚构演绎 | - |
|
|
31
31
|
| `type`| `number` | 否 | 是否勾选原创: 0-不勾选, 1-勾选 | `0` |
|
|
32
32
|
| `pubType` | `number` | **是** | 发布类型: 0-草稿, 1-直接发布 | 1 |
|
|
33
|
+
| `activity` | `object` | 否 | 网易号发布页称为“活动话题”。使用 `yxer query activities <account_id> --type article --json` 返回的文章活动列表项,完整保留 `yixiaoerId`、`yixiaoerName` 和 `raw`;`raw.subjectId`、`raw.title`、`raw.url` 必须为非空字符串,`raw.essayId` 必须为数字。 | - |
|
|
33
34
|
| `scheduledTime` | `number` | 否 | 定时发布时间 (13 位 Unix 时间戳,单位: 毫秒) | - |
|
|
34
35
|
|
|
35
36
|
## 2. Payload 完整示例
|
|
36
37
|
|
|
38
|
+
网易号界面中的“活动话题”在 CLI payload 中使用 `contentPublishForm.activity` 字段,不是 `topics`、`challenge` 或正文里的 `<topic>`。按目标账号查询文章活动,并把选中的完整列表项原样放入 `activity`;不要只传活动名/ID,也不要自行拼 `raw`。
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
yxer query activities ACCOUNT_ID --type article --json
|
|
42
|
+
yxer query activities ACCOUNT_ID --type article --query "活动关键词" --json
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
示例中的 `activity` 仅展示结构。正式发布时必须用查询结果中的真实完整对象替换;其中至少要有 `yixiaoerId`、`yixiaoerName`、`raw.subjectId`、数字类型的 `raw.essayId`、`raw.title` 和 `raw.url`。
|
|
46
|
+
|
|
37
47
|
```json
|
|
38
48
|
{
|
|
39
49
|
"action": "publish",
|
|
@@ -53,6 +63,16 @@
|
|
|
53
63
|
{ "key": "article_cover_key", "size": 102400, "width": 800, "height": 600 }
|
|
54
64
|
],
|
|
55
65
|
"declaration": 1,
|
|
66
|
+
"activity": {
|
|
67
|
+
"yixiaoerId": "<活动查询结果中的 yixiaoerId>",
|
|
68
|
+
"yixiaoerName": "<活动查询结果中的 yixiaoerName>",
|
|
69
|
+
"raw": {
|
|
70
|
+
"subjectId": "<查询结果 raw.subjectId>",
|
|
71
|
+
"essayId": 123456,
|
|
72
|
+
"title": "<查询结果 raw.title>",
|
|
73
|
+
"url": "<查询结果 raw.url>"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
56
76
|
"type": 1,
|
|
57
77
|
"pubType": 1
|
|
58
78
|
}
|
|
@@ -77,3 +97,4 @@
|
|
|
77
97
|
| 目标数据 | 对应 Action | 相关文档 |
|
|
78
98
|
| :--- | :--- | :--- |
|
|
79
99
|
| `covers.key` | `upload` | [资源上传](../../upload-resource.md) |
|
|
100
|
+
| `activity`(网易号界面称“活动话题”) | `activities` | [获取征文/激励活动](../../get-publish-activities.md) |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> [!IMPORTANT]
|
|
4
4
|
> **前提条件 (Prerequisite)**:
|
|
5
|
-
> 在使用本平台的特定参数之前,你 **必须** 已经阅读并理解了 [文章发布首页 (Index)](./index.md) 中定义的 Payload
|
|
5
|
+
> 在使用本平台的特定参数之前,你 **必须** 已经阅读并理解了 [文章发布首页 (Index)](./index.md) 中定义的 Payload 根结构。本页描述微信公众号 `platformForms["微信公众号"]` 中的平台字段。
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
## 触发场景 (Trigger)
|
|
@@ -31,10 +31,19 @@
|
|
|
31
31
|
| `notifySubscribers` | `number` | **是** | 是否群发: 0-不群发, 1-群发 | `0` |
|
|
32
32
|
| `pubType` | `number` | **是** | 草稿: 0-草稿, 1-直接发布 | `1` |
|
|
33
33
|
| `scheduledTime` | `number` | 否 | 定时发布时间 (13 位 Unix 时间戳,单位: 毫秒) | - |
|
|
34
|
+
| `prePubTime` | `number` | 否 | `scheduledTime` 的兼容别名,13 位 Unix 毫秒时间戳 | - |
|
|
34
35
|
| `sex` | `number` | 否 | 群发性别: 0-全部, 1-男, 2-女 | `0` |
|
|
35
36
|
| `country` | `string` | 否 | 群发国家 | - |
|
|
36
37
|
| `province` | `string` | 否 | 群发省份 | - |
|
|
37
38
|
| `city` | `string` | 否 | 群发城市 | - |
|
|
39
|
+
| `needOpenComment` | `number` | 否 | 平台级默认留言设置:0 关闭,1 关注用户,2 关注满 7 天用户,3 所有人可留言 | `0` |
|
|
40
|
+
| `needOpenReply` | `number` | 否 | 平台级默认留言回复范围,使用公众号表单提供的枚举值 | - |
|
|
41
|
+
| `collection` | `object` | 否 | 平台级合集,完整使用目标账号 `wechat-collections --type article` 查询项 | - |
|
|
42
|
+
| `rewardSettings` | `object` | 否 | 平台级赞赏设置,字段结构见下方 | - |
|
|
43
|
+
|
|
44
|
+
每篇文章也可单独设置 `needOpenComment`、`needOpenReply`、`disableRecommend`、`collection` 和 `rewardSettings`。这些文章级值填写在 `articles[]` 对象中,会覆盖图文级默认设置。
|
|
45
|
+
|
|
46
|
+
表单会话中,平台级合集可用 `publish form choose <session.json> collection` 选择;文章级合集和分类分别使用 `article.collection`、`article.categories`,默认写入第一篇文章。用 `--path publishArgs.platformForms.微信公众号.articles[索引].collection` 或 `...categories[索引]` 指定其他文章或分类项。查询来源必须是目标账号的 `yxer query wechat-collections ... --type article --json` 或 `yxer query categories ... --type article --json`。赞赏账号、自动回复和公益项目通过对应查询命令取值后,使用 `publish form set` 写入 `rewardSettings` 对象。
|
|
38
47
|
|
|
39
48
|
## 2. Payload 完整示例
|
|
40
49
|
|
|
@@ -73,6 +82,11 @@
|
|
|
73
82
|
},
|
|
74
83
|
"quickRepost": 1,
|
|
75
84
|
"quickPrivateMessage": 1,
|
|
85
|
+
"disableRecommend": 0,
|
|
86
|
+
"needOpenComment": 3,
|
|
87
|
+
"needOpenReply": 2,
|
|
88
|
+
"collection": { "yixiaoerId": "collection-id", "yixiaoerName": "合集名称", "raw": "query 返回值" },
|
|
89
|
+
"rewardSettings": { "enabled": false, "type": "disabled" },
|
|
76
90
|
"categories": [
|
|
77
91
|
{ "yixiaoerId": "cat_001", "yixiaoerName": "科普", "raw": {} }
|
|
78
92
|
]
|
|
@@ -80,7 +94,11 @@
|
|
|
80
94
|
],
|
|
81
95
|
"notifySubscribers": 1,
|
|
82
96
|
"pubType": 1,
|
|
83
|
-
"sex": 0
|
|
97
|
+
"sex": 0,
|
|
98
|
+
"needOpenComment": 0,
|
|
99
|
+
"needOpenReply": 2,
|
|
100
|
+
"collection": { "yixiaoerId": "collection-id", "yixiaoerName": "合集名称", "raw": "query 返回值" },
|
|
101
|
+
"rewardSettings": { "enabled": false, "type": "disabled" }
|
|
84
102
|
}
|
|
85
103
|
}
|
|
86
104
|
}
|
|
@@ -103,6 +121,24 @@
|
|
|
103
121
|
| `categories` | `Array` | 否 | 申明原创时设置的文章分类 (`Category[]`) |
|
|
104
122
|
| `quickPrivateMessage` | `number` | 否 | 快捷私信 (与留言互斥): 0-否, 1-是 |
|
|
105
123
|
| `contentSourceUrl` | `string` | 否 | 原文地址链接 |
|
|
124
|
+
| `disableRecommend` | `number` | 否 | 平台推荐:0 允许,1 不允许 |
|
|
125
|
+
| `needOpenComment` | `number` | 否 | 留言范围:0 关闭,1 关注用户,2 关注满 7 天用户,3 所有人可留言 |
|
|
126
|
+
| `needOpenReply` | `number` | 否 | 留言回复范围,使用公众号表单提供的枚举值 |
|
|
127
|
+
| `collection` | `object` | 否 | 当前文章所属合集,使用目标账号的合集查询结果 |
|
|
128
|
+
| `rewardSettings` | `object` | 否 | 当前文章赞赏设置;开启赞赏前须声明原创 |
|
|
129
|
+
|
|
130
|
+
`rewardSettings` 支持 `enabled`、`type`(`author` / `charity` / `disabled`)、`account`、`accountId`、`autoReplyEnabled`、`autoReplies`、`replyId`、`charityProject` 和 `charityProjectInfo`。赞赏账号、回复和公益项目必须取自对应公众号账号的实际查询结果。
|
|
131
|
+
|
|
132
|
+
可用以下命令查询公众号设置候选:
|
|
133
|
+
|
|
134
|
+
```bash
|
|
135
|
+
yxer query wechat-reward-authors <account_id> --json
|
|
136
|
+
yxer query wechat-reward-replies <account_id> --json
|
|
137
|
+
yxer query wechat-charity-projects <account_id> --query <关键词> --json
|
|
138
|
+
yxer query wechat-collections <account_id> --type article --json
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
赞赏账号和回复将查询结果中的 `yixiaoerId` 转为数值后写入 `accountId` / `replyId`,名称写入 `account` / `autoReplies[0]`。公益项目将查询项的 `raw` 写入 `charityProjectInfo`。
|
|
106
142
|
|
|
107
143
|
#### 文章内嵌内容说明
|
|
108
144
|
|
|
@@ -135,3 +171,4 @@
|
|
|
135
171
|
| :--- | :--- | :--- |
|
|
136
172
|
| `cover.key` | `upload` | [资源上传](../../upload-resource.md) |
|
|
137
173
|
| `authorName` | `accounts` | [查询账号列表](../../query-accounts.md) |
|
|
174
|
+
| `articles[].collection`、`collection` | `query wechat-collections --type article` | [查询合集](../../get-collections.md) |
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
| `formType` | `string` | **是** | 固定值: `task` | `task` |
|
|
30
30
|
| `title` | `string` | 否 | 标题 (最多 20 字) | - |
|
|
31
31
|
| `description` | `string` | 否 | 图文描述,支持 HTML (`<p>`, `<topic>`)。最多 30 字符。 | - |
|
|
32
|
+
| `declaration` | `number` | 否 | 创作声明:`0`-不声明,`3`-内容由 AI 生成,`4`-可能引人不适,`5`-虚构演绎,`6`-危险行为,`7`-个人观点,`8`-含营销推广信息。AI 声明使用 `3`。 | `0` |
|
|
32
33
|
| `images` | `Array` | **是** | 图片数组 (`OldImage[]`) | - |
|
|
33
34
|
| `location` | `Object` | 否 | 地址信息 (`PlatformDataItem`) | - |
|
|
34
35
|
| `music` | `Object` | 否 | 音乐信息 (`MusicItem`) | - |
|
|
@@ -88,6 +89,7 @@
|
|
|
88
89
|
"formType": "task",
|
|
89
90
|
"title": "抖音图文标题",
|
|
90
91
|
"description": "<p>内容描述 <topic text='合拍' raw='{\"id\":\"xxx\",\"name\":\"合拍\"}'>#合拍</topic></p>",
|
|
92
|
+
"declaration": 3,
|
|
91
93
|
"images": [
|
|
92
94
|
{ "key": "img_1", "size": 1024, "width": 1080, "height": 1440, "format": "jpg" },
|
|
93
95
|
{ "key": "img_2", "size": 1024, "width": 1080, "height": 1440, "format": "jpg" }
|
|
@@ -28,9 +28,12 @@
|
|
|
28
28
|
| `location` | `PlatformDataItem` | **否** | 位置信息 | - |
|
|
29
29
|
| `music` | `PlatformDataItem` | **否** | 音乐信息 | - |
|
|
30
30
|
| `visibleType` | `number` | **是** | 可见类型: 0-公开, 1-私密, 3-好友可见 | 0 |
|
|
31
|
+
| `declaration` | `number` | 否 | 内容声明:`0`-不声明,`1`-内容为 AI 生成,`2`-演绎情节,`3`-个人观点。AI 声明使用 `1`。 | `0` |
|
|
31
32
|
| `scheduledTime` | `number` | **否** | 定时发布时间 (13 位 Unix 时间戳,单位: 毫秒) | - |
|
|
32
33
|
| `collection` | `Category` | **否** | 合集信息 | - |
|
|
33
34
|
|
|
35
|
+
2026-10-14 实测补充:传 `declaration: 1` 后,手机客户端可见 AI 声明;网页版后台不显示声明标识。网页版不显示不代表字段没有生效。
|
|
36
|
+
|
|
34
37
|
## 2. 复杂对象结构说明
|
|
35
38
|
|
|
36
39
|
### OldImage
|
|
@@ -88,6 +91,7 @@
|
|
|
88
91
|
"contentPublishForm": {
|
|
89
92
|
"formType": "task",
|
|
90
93
|
"description": "<p>快手动态内容 <topic text='快手' raw='{\"id\":\"xxx\",\"name\":\"快手\"}'>#快手</topic></p>",
|
|
94
|
+
"declaration": 1,
|
|
91
95
|
"images": [
|
|
92
96
|
{ "key": "img_ks_01", "size": 1024, "width": 1080, "height": 1440, "format": "jpg" }
|
|
93
97
|
],
|
|
@@ -32,8 +32,11 @@
|
|
|
32
32
|
| `music` | `Object` | 否 | 音乐对象 (`MusicItem`) | - |
|
|
33
33
|
| `scheduledTime` | `number` | 否 | 定时发布时间 (13 位 Unix 时间戳,单位: 毫秒) | - |
|
|
34
34
|
| `collection` | `Object` | 否 | 合集信息,使用 `Collection` 结构 | - |
|
|
35
|
+
| `declaration` | `number` | 否 | 创作声明:0-无需标注,1-含AI生成内容,2-营销广告,3-虚构剧情,7-转载,8-个人观点 | 0 |
|
|
35
36
|
| `pubType` | `number` | **是** | 发布类型: 0-平台草稿, 1-直接发布 | 1 |
|
|
36
37
|
|
|
38
|
+
含 AI 生成内容时,请设置 `contentPublishForm.declaration` 为 `1`。
|
|
39
|
+
|
|
37
40
|
## 1.1 封面派生规则
|
|
38
41
|
|
|
39
42
|
视频号图文没有单独的外部封面参数。只需提供 `contentPublishForm.images`;CLI 会在内部默认使用 `images[0]` 派生 `cover` / `coverKey`,不要在 payload 中额外手写封面字段。
|
|
@@ -90,6 +93,7 @@
|
|
|
90
93
|
"formType": "task",
|
|
91
94
|
"title": "视频号动态标题",
|
|
92
95
|
"description": "<p>视频号图文内容 <topic text='微信' raw='{\"id\":\"xxx\",\"name\":\"微信\"}'>#微信</topic></p>",
|
|
96
|
+
"declaration": 1,
|
|
93
97
|
"pubType": 0,
|
|
94
98
|
"images": [
|
|
95
99
|
{ "key": "img_sph_01", "size": 1024, "width": 1080, "height": 1440, "format": "jpg" }
|
|
@@ -38,10 +38,20 @@
|
|
|
38
38
|
| `notifySubscribers` | number | `0` 不群发,`1` 群发 | `0` |
|
|
39
39
|
| `sex` | number | `0` 全部,`1` 男,`2` 女 | `0` |
|
|
40
40
|
| `scheduledTime` | integer | 13 位 Unix 毫秒时间戳;必须不早于当前时间 2 小时 | 立即发布(不传) |
|
|
41
|
+
| `prePubTime` | integer | `scheduledTime` 的兼容别名,13 位 Unix 毫秒时间戳 | 立即发布(不传) |
|
|
41
42
|
| `needOpenComment` | number | `0` 关闭留言,`1` 仅关注用户,`2` 关注满 7 天,`3` 所有人可留言 | `0` |
|
|
43
|
+
| `needOpenReply` | number | 留言回复范围,使用公众号表单提供的枚举值 | `2` |
|
|
42
44
|
| `statement` | number | 内容合规声明:`0` 无需声明,`1` AI 生成,`3` 剧情演绎仅供娱乐,`4` 个人观点仅供参考,`5` 健康医疗分享仅供参考,`6` 投资观点仅供参考 | `0` |
|
|
43
45
|
| `disableRecommend` | number | `0` 允许平台推荐,`1` 不允许平台推荐 | `0` |
|
|
44
46
|
| `pubType` | number | `1` 直接发布,`0` 保存到平台草稿箱 | `1` |
|
|
47
|
+
| `location` | object | 位置对象,使用 `yxer query locations <account_id> --json` 返回项中的 `id`、`text` 和完整 `raw` | - |
|
|
48
|
+
| `collection` | object | 图文合集,使用 `yxer query wechat-collections <account_id> --type imageText --json` 返回的完整对象 | - |
|
|
49
|
+
| `linkSetting` | object | 关联内容、小程序或小店商品。按 UI 字段传入 `type`、`source`、`title`,以及对应的 URL、AppID、路径或商品字段 | - |
|
|
50
|
+
| `rewardSettings` | object | 赞赏设置,结构见下方;开启前须声明原创 | - |
|
|
51
|
+
|
|
52
|
+
赞赏对象支持 `enabled`、`type`(`author` / `charity` / `disabled`)、`account`、`accountId`、`autoReplyEnabled`、`autoReplies`、`replyId`、`charityProject` 和 `charityProjectInfo`。账号、回复和公益项目 ID 必须来自该公众号账号的查询结果:`yxer query wechat-reward-authors`、`wechat-reward-replies` 和 `wechat-charity-projects`。也可使用表单字段 `rewardType`、`rewardAccount`、`rewardAccountId`、`rewardAutoReplyEnabled`、`rewardAutoReplies`、`rewardReplyId`、`charityProject`、`charityProjectInfo`;服务端会将这些字段组装为 `rewardSettings`。
|
|
53
|
+
|
|
54
|
+
`linkSetting` 的 `type` 可为 `content`、`miniProgram` 或 `shopProduct`;`source` 可为 `published`、`url`、`miniProgram` 或 `shopProduct`。输入的内容链接用 `yxer query wechat-content-link-info <account_id> --url <url>` 解析;已发表内容用 `yxer query wechat-published-contents <account_id>` 搜索。小程序使用 `yxer query miniapps` 获取候选;小店商品使用 `yxer query goods` 查询。小程序使用 `appId` 和 `path`,小店商品使用 `productId`、`productEncryptKey`、`productType` 与 `biz`。保留查询/解析结果中的标题和标识。
|
|
45
55
|
|
|
46
56
|
### 图片和封面
|
|
47
57
|
|
|
@@ -72,7 +82,11 @@
|
|
|
72
82
|
"needOpenComment": 3,
|
|
73
83
|
"statement": 4,
|
|
74
84
|
"disableRecommend": 0,
|
|
75
|
-
"pubType": 1
|
|
85
|
+
"pubType": 1,
|
|
86
|
+
"location": { "id": "location-id", "text": "长沙市", "raw": { "...": "完整 query 返回对象" } },
|
|
87
|
+
"collection": { "yixiaoerId": "collection-id", "yixiaoerName": "合集名称", "raw": "query 返回值" },
|
|
88
|
+
"linkSetting": { "type": "content", "source": "url", "title": "关联内容标题", "url": "https://example.com/article" },
|
|
89
|
+
"rewardSettings": { "enabled": false, "type": "disabled" }
|
|
76
90
|
}
|
|
77
91
|
}
|
|
78
92
|
]
|
|
@@ -87,4 +101,6 @@
|
|
|
87
101
|
- 要群发时设置 `notifySubscribers=1`;`sex` 只表达群发人群性别。
|
|
88
102
|
- 描述字段使用 `desc`;不要把公众号图文写成其他平台通用的 `description`。
|
|
89
103
|
- 设置了 `scheduledTime` 时,CLI 会在本地 preflight 阶段拒绝距离当前不足 2 小时的时间。
|
|
104
|
+
- `prePubTime` 和 `scheduledTime` 都可用于定时发布;新 payload 优先使用 `prePubTime`。
|
|
105
|
+
- 位置与合集应使用查询命令返回的完整对象;不要根据名称手工构造 ID 或 `raw`。
|
|
90
106
|
- `pubType=0` 是目标平台草稿箱,不是蚁小二内部草稿;蚁小二内部草稿仍使用顶层 `isDraft=true`。
|
|
@@ -34,8 +34,11 @@
|
|
|
34
34
|
| `scheduledTime` | `number` | 否 | 定时发布时间 (13 位 Unix 时间戳,单位: 毫秒) | - |
|
|
35
35
|
| `collection` | `Object` | 否 | 合集信息,使用 `Collection` 结构 | - |
|
|
36
36
|
| `visibleType` | `number` | **是** | 可见类型: 0-公开, 1-私密, 3-好友可见 | 0 |
|
|
37
|
+
| `declaration` | `number` | 否 | 内容类型声明:`1`-虚构演绎,`2`-笔记含 AI 合成内容,`3`-已在正文中自主标注,`4`-自行拍摄,`5`-转载。AI 声明使用 `2`。 | - |
|
|
37
38
|
| `createType` | `number` | 否 | 原创申明: 0-不申明, 1-原创 | 0 |
|
|
38
39
|
|
|
40
|
+
`declaration` 是内容类型声明,和 `createType` 的原创标记分别传入;发布 AI 生成图文时使用 `declaration: 2`,无需改写 `createType`。
|
|
41
|
+
|
|
39
42
|
## 2. 复杂对象结构说明
|
|
40
43
|
|
|
41
44
|
### OldImage
|
|
@@ -79,6 +82,7 @@
|
|
|
79
82
|
{ "key": "img_xhs_01", "size": 1024, "width": 1080, "height": 1440, "format": "jpg" }
|
|
80
83
|
],
|
|
81
84
|
"visibleType": 0,
|
|
85
|
+
"declaration": 2,
|
|
82
86
|
"createType": 1
|
|
83
87
|
}
|
|
84
88
|
}
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
| :--- | :--- | :--- | :--- | :--- |
|
|
26
26
|
| `formType` | `string` | **是** | 固定值: `task` | `task` |
|
|
27
27
|
| `description` | `string` | **是** | 微博博文内容,支持 HTML (`<p>`, `<topic>`)。最多 1000 字符。 | - |
|
|
28
|
+
| `declaration` | `number` | 否 | 内容声明:`1`-内容由 AI 生成,`2`-内容为虚构演绎,`3`-内容为转载,`4`-内容为自主创作。AI 声明使用 `1`。 | - |
|
|
28
29
|
| `images` | `Array` | **是** | 图片数组 (`OldImage[]`) | - |
|
|
29
30
|
| `location` | `Object` | 否 | 位置信息 (`PlatformDataItem`) | - |
|
|
30
31
|
| `scheduledTime` | `number` | 否 | 定时发布时间 (13 位 Unix 时间戳,单位: 毫秒) | - |
|
|
@@ -60,6 +61,7 @@
|
|
|
60
61
|
"contentPublishForm": {
|
|
61
62
|
"formType": "task",
|
|
62
63
|
"description": "<p>微博动态内容 <topic text='微博' raw='{\"id\":\"xxx\",\"name\":\"微博\"}'>#微博</topic></p>",
|
|
64
|
+
"declaration": 1,
|
|
63
65
|
"images": [
|
|
64
66
|
{ "key": "img_wb_01", "size": 1024, "width": 1080, "height": 1440, "format": "jpg" }
|
|
65
67
|
]
|
|
@@ -22,6 +22,8 @@
|
|
|
22
22
|
|
|
23
23
|
`thumbnail` 和 `videoKey` 是前端中间态字段;CLI 发布时应使用 `yxer upload` 后的 `accountForms[].video`、`accountForms[].cover` 和 `coverKey`。
|
|
24
24
|
|
|
25
|
+
`description` 推荐填写纯文本,可直接包含 `#话题` 和 `@提及`。CLI 的通用预处理可能将话题转换为 `<topic>` 等结构化 HTML;服务端会在 TikTok 发布前统一转换为纯文本,保留话题、提及文字和段落换行,无需在调用端自行删除标签。
|
|
26
|
+
|
|
25
27
|
## 示例
|
|
26
28
|
|
|
27
29
|
```json
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
| `description` | `string` | 否 | 视频描述 | - |
|
|
27
27
|
| `tags` | `string[]` | **是** | 视频标签 | - |
|
|
28
28
|
| `category` | `object[]` | **是** | 视频分类,使用 `CascadingPlatformDataItem[]` 结构 | - |
|
|
29
|
+
| `activity` | `object` | 否 | 网易号发布页称为“活动话题”。使用 `yxer query activities <account_id> --type video --json` 返回的视频活动列表项,完整保留 `yixiaoerId`、`yixiaoerName` 和 `raw`;`raw.subjectId`、`raw.activityId` 必须是非空字符串。 | - |
|
|
29
30
|
| `declaration` | `number` | 否 | 创作申明:1-内容由AI生成, 2-个人原创, 3-取材网络, 4-虚构演绎 | - |
|
|
30
31
|
| `createType` | `number` | 否 | 创作类型:0-非原创, 1-原创 | 0 |
|
|
31
32
|
| `pubType` | `number` | **是** | 发布类型: 0-草稿, 1-直接发布 | 1 |
|
|
@@ -48,6 +49,15 @@
|
|
|
48
49
|
|
|
49
50
|
## 3. JSON 示例
|
|
50
51
|
|
|
52
|
+
网易号界面中的“活动话题”在 CLI payload 中使用 `contentPublishForm.activity` 字段,不是 `topics`、`challenge` 或正文里的 `<topic>`。按目标账号查询视频活动,并把选中的完整列表项原样放入 `activity`;不要只传活动名/ID,也不要自行拼 `raw`。
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
yxer query activities ACCOUNT_ID --type video --json
|
|
56
|
+
yxer query activities ACCOUNT_ID --type video --query "活动关键词" --json
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
示例中的 `activity` 仅展示结构。正式发布时必须用查询结果中的真实完整对象替换;其中至少要有 `yixiaoerId`、`yixiaoerName`、`raw.subjectId` 和 `raw.activityId`。
|
|
60
|
+
|
|
51
61
|
```json
|
|
52
62
|
{
|
|
53
63
|
"publishType": "video",
|
|
@@ -75,6 +85,17 @@
|
|
|
75
85
|
"raw": { "id": "1", "name": "科技" }
|
|
76
86
|
}
|
|
77
87
|
],
|
|
88
|
+
"activity": {
|
|
89
|
+
"yixiaoerId": "<活动查询结果中的 yixiaoerId>",
|
|
90
|
+
"yixiaoerName": "<活动查询结果中的 yixiaoerName>",
|
|
91
|
+
"raw": {
|
|
92
|
+
"subjectId": "<查询结果 raw.subjectId>",
|
|
93
|
+
"activityId": "<查询结果 raw.activityId>",
|
|
94
|
+
"activityName": "<保留查询结果中的其余 raw 字段>",
|
|
95
|
+
"activityUrl": "<保留查询结果中的其余 raw 字段>",
|
|
96
|
+
"subjectTitle": "<保留查询结果中的其余 raw 字段>"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
78
99
|
"createType": 1,
|
|
79
100
|
"declaration": 2,
|
|
80
101
|
"pubType": 1
|
|
@@ -91,3 +112,4 @@
|
|
|
91
112
|
| :--- | :--- | :--- |
|
|
92
113
|
| `video.key` | `upload` | [资源上传](../../upload-resource.md) |
|
|
93
114
|
| `category` | `category` | [获取发布分类](../../get-publish-categories.md) |
|
|
115
|
+
| `activity`(网易号界面称“活动话题”) | `activities` | [获取征文/激励活动](../../get-publish-activities.md) |
|
package/references/topic-tags.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 话题标签格式规范
|
|
2
2
|
|
|
3
|
-
适用范围:发布 payload 中涉及 `topics`、`tags`、`challenge`,或 `description` / `desc` / `content` 中的 `<topic>` 标签时,必须先读取本文档。
|
|
3
|
+
适用范围:发布 payload 中涉及 `topics`、`tags`、`challenge`、`activity`,或 `description` / `desc` / `content` 中的 `<topic>` 标签时,必须先读取本文档。
|
|
4
4
|
|
|
5
5
|
## 目的
|
|
6
6
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
## 总规则
|
|
12
12
|
|
|
13
13
|
- Agent 必须优先以目标平台 schema 和平台文档为准。
|
|
14
|
-
-
|
|
14
|
+
- 字段中的话题/活动数据,如 `topics`、`tags`、`challenge`、`activity`,必须按各平台 schema 和平台文档定义的字段结构传入。
|
|
15
15
|
- 只有当平台文档明确要求在 `description`、`desc` 或 `content` 中嵌入话题标签时,才使用 `<topic>` HTML。
|
|
16
16
|
- `description` / `desc` / `content` 中的 `<topic>` 规则,不适用于 `topics`、`tags`、`challenge` 等字段对象。
|
|
17
17
|
- CLI 内部兼容逻辑只处理 `description` 字段:将普通 `#话题` 归一化为 `<topic>` HTML;不会处理 `content`,也不会改变 `tags` / `topics` / `challenge` 字段结构。
|
|
@@ -76,7 +76,30 @@
|
|
|
76
76
|
- 必须透传完整对象
|
|
77
77
|
- 不要把 `challenge` 和 `tags` / `topics` 混用
|
|
78
78
|
|
|
79
|
-
### 4.
|
|
79
|
+
### 4. `activity`
|
|
80
|
+
|
|
81
|
+
用于平台征文、激励等活动挂载场景,是一个动态活动对象,不是 `topics` 数组或正文标签。
|
|
82
|
+
|
|
83
|
+
标准结构:
|
|
84
|
+
|
|
85
|
+
```json
|
|
86
|
+
{
|
|
87
|
+
"yixiaoerId": "activity_id",
|
|
88
|
+
"yixiaoerName": "活动名",
|
|
89
|
+
"raw": {}
|
|
90
|
+
}
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
规则:
|
|
94
|
+
|
|
95
|
+
- 必须来自 `yxer query activities <account_id> --type <video|article>`,查询类型要与目标发布类型一致
|
|
96
|
+
- 只能在平台 schema/文档声明 `activity` 字段时挂载
|
|
97
|
+
- 必须保留查询返回的完整对象和 `raw`,不要只传活动 ID 或名称
|
|
98
|
+
- `activity` 表示征文/激励活动;热点使用 `hot_event`,挑战/话题使用 `challenge` 或平台定义的 `topics`,不要互相替代
|
|
99
|
+
|
|
100
|
+
网易号发布页面将该选择项显示为“活动话题”,但 CLI payload 仍使用 `activity` 字段,并通过 `yxer query activities` 查询。网易号视频要求 `raw.subjectId`、`raw.activityId`;网易号文章要求 `raw.subjectId`、数字类型的 `raw.essayId`、`raw.title`、`raw.url`。这些是网易号各自的活动列表项契约,不要改用 `topics` / `challenge`,也不要把一种内容类型的查询结果用于另一种。
|
|
101
|
+
|
|
102
|
+
### 5. 描述类字段/正文中的 `<topic>` HTML
|
|
80
103
|
|
|
81
104
|
仅用于平台文档明确说明 `description`、`desc` 或 `content` 支持 `<topic>` 标签的场景,例如抖音图文。
|
|
82
105
|
|
|
@@ -56,6 +56,50 @@
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
|
+
"statement": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"description": "当前搜狐号文章声明契约。新 payload 优先使用此对象;文章枚举与搜狐号视频 declaration 枚举不同。",
|
|
62
|
+
"required": [
|
|
63
|
+
"type"
|
|
64
|
+
],
|
|
65
|
+
"properties": {
|
|
66
|
+
"type": {
|
|
67
|
+
"type": "integer",
|
|
68
|
+
"enum": [
|
|
69
|
+
0,
|
|
70
|
+
1,
|
|
71
|
+
2,
|
|
72
|
+
3,
|
|
73
|
+
4,
|
|
74
|
+
5
|
|
75
|
+
],
|
|
76
|
+
"description": "文章声明:0-无需声明,1-含有虚构演绎内容,2-含有AI生成内容,3-含有营销信息,4-内容为转载,5-内容为个人观点。"
|
|
77
|
+
},
|
|
78
|
+
"quote": {
|
|
79
|
+
"type": "boolean",
|
|
80
|
+
"default": false,
|
|
81
|
+
"description": "是否开启补充引用声明;为 true 时必须提供 sourceUrl。"
|
|
82
|
+
},
|
|
83
|
+
"sourceUrl": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"description": "引用来源完整 HTTP(S) 链接;仅在 quote=true 时需要。"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"additionalProperties": false
|
|
89
|
+
},
|
|
90
|
+
"declaration": {
|
|
91
|
+
"type": "integer",
|
|
92
|
+
"enum": [
|
|
93
|
+
0,
|
|
94
|
+
1,
|
|
95
|
+
2,
|
|
96
|
+
3,
|
|
97
|
+
4,
|
|
98
|
+
5
|
|
99
|
+
],
|
|
100
|
+
"deprecated": true,
|
|
101
|
+
"description": "旧文章声明字段,仅兼容历史 payload。新 payload 使用 statement.type;旧值3映射为文章AI值2,旧值4映射为虚构演绎值1。"
|
|
102
|
+
},
|
|
59
103
|
"pubType": {
|
|
60
104
|
"type": "number",
|
|
61
105
|
"enum": [
|
|
@@ -59,6 +59,49 @@
|
|
|
59
59
|
],
|
|
60
60
|
"default": 1
|
|
61
61
|
},
|
|
62
|
+
"activity": {
|
|
63
|
+
"type": "object",
|
|
64
|
+
"description": "网易号发布页称为活动话题。完整复制 yxer query activities <account_id> --type article 查询结果中的文章活动列表项;raw.subjectId、raw.title、raw.url 必须为非空字符串,raw.essayId 必须为数字。",
|
|
65
|
+
"required": [
|
|
66
|
+
"yixiaoerId",
|
|
67
|
+
"yixiaoerName",
|
|
68
|
+
"raw"
|
|
69
|
+
],
|
|
70
|
+
"properties": {
|
|
71
|
+
"yixiaoerId": {
|
|
72
|
+
"type": "string"
|
|
73
|
+
},
|
|
74
|
+
"yixiaoerName": {
|
|
75
|
+
"type": "string"
|
|
76
|
+
},
|
|
77
|
+
"raw": {
|
|
78
|
+
"type": "object",
|
|
79
|
+
"required": [
|
|
80
|
+
"subjectId",
|
|
81
|
+
"essayId",
|
|
82
|
+
"title",
|
|
83
|
+
"url"
|
|
84
|
+
],
|
|
85
|
+
"properties": {
|
|
86
|
+
"subjectId": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"minLength": 1
|
|
89
|
+
},
|
|
90
|
+
"essayId": {
|
|
91
|
+
"type": "number"
|
|
92
|
+
},
|
|
93
|
+
"title": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"minLength": 1
|
|
96
|
+
},
|
|
97
|
+
"url": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"minLength": 1
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
62
105
|
"declaration": {
|
|
63
106
|
"type": "number",
|
|
64
107
|
"enum": [
|