changedOutput schema / properties / video / anyOf
Previous value: -[
- {
- "properties": {
- "aid": {
- "description": "B 站视频数字 aid,即老 AV 号的数字部分;仅作为备用视频标识。没有 bvid 时,建议拼成 av{aid} 作为 content_id 传入,避免裸数字和专栏/动态 ID 混淆。",
- "title": "Aid",
- "type": "string"
- },
- "author": {
- "description": "视频作者信息。",
- "properties": {
- "avatar_url": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "用户头像链接;不可用时为 null。",
- "title": "Avatar Url"
- },
- "name": {
- "description": "B 站用户名称;不可用时为空字符串。",
- "title": "Name",
- "type": "string"
- },
- "profile_url": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "B 站用户主页链接;可用于打开用户主页;不可用时为 null。",
- "title": "Profile Url"
- },
- "user_id": {
- "description": "B 站用户 user_id;用于标识作者或用户。",
- "title": "User Id",
- "type": "string"
- }
- },
- "required": [
- "user_id",
- "name",
- "avatar_url",
- "profile_url"
- ],
- "title": "BilibiliAuthorData",
- "type": "object"
- },
- "bvid": {
- "description": "B 站视频 BV 号;读取视频详情时可作为 bilibili_get_content_detail_by_id 的 content_id 输入,优先使用 bvid;获取视频评论时也优先复用 bvid。",
- "title": "Bvid",
- "type": "string"
- },
- "coin_count": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "投币数;不可用时为 null。",
- "title": "Coin Count"
- },
- "collect_count": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "收藏数;不可用时为 null。",
- "title": "Collect Count"
- },
- "comment_count": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "评论数;不可用时为 null。",
- "title": "Comment Count"
- },
- "cover_image_url": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "视频封面图链接;不可用时为 null。",
- "title": "Cover Image Url"
- },
- "danmaku_count": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "弹幕数;不可用时为 null。",
- "title": "Danmaku Count"
- },
- "description": {
- "description": "视频简介;不可用时为空字符串。",
- "title": "Description",
- "type": "string"
- },
- "duration_seconds": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "视频时长,单位秒;不可用时为 null。",
- "title": "Duration Seconds"
- },
- "like_count": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "点赞数;不可用时为 null。",
- "title": "Like Count"
- },
- "page_count": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "视频分 P 数量;单 P 视频通常为 1;不可用时为 null。",
- "title": "Page Count"
- },
- "pages": {
- "description": "视频分 P 列表;单 P 视频通常包含 1 项;无可用分 P 信息时为空数组。",
- "items": {
- "properties": {
- "duration_seconds": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "该分 P 时长,单位秒;不可用时为 null。",
- "title": "Duration Seconds"
- },
- "first_frame_url": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "该分 P 首帧图链接;不可用时为 null。",
- "title": "First Frame Url"
- },
- "height": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "该分 P 画面高度;不可用时为 null。",
- "title": "Height"
- },
- "page_number": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "分 P 序号;不可用时为 null。",
- "title": "Page Number"
- },
- "title": {
- "description": "该分 P 标题;不可用时为空字符串。",
- "title": "Title",
- "type": "string"
- },
- "width": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "该分 P 画面宽度;不可用时为 null。",
- "title": "Width"
- }
- },
- "required": [
- "page_number",
- "title",
- "duration_seconds",
- "width",
- "height",
- "first_frame_url"
- ],
- "title": "BilibiliVideoPageData",
- "type": "object"
- },
- "title": "Pages",
- "type": "array"
- },
- "publish_time": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "发布时间,秒级 Unix 时间戳;不可用时为 null。",
- "title": "Publish Time"
- },
- "share_count": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "分享数;不可用时为 null。",
- "title": "Share Count"
- },
- "share_url": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "视频分享页链接;不可用时为 null。",
- "title": "Share Url"
- },
- "title": {
- "description": "视频标题;不可用时为空字符串。",
- "title": "Title",
- "type": "string"
- },
- "topic_tags": {
- "description": "标签列表;无标签时为空数组;每项只返回 name。",
- "items": {
- "properties": {
- "name": {
- "description": "标签名称。",
- "title": "Name",
- "type": "string"
- }
- },
- "required": [
- "name"
- ],
- "title": "BilibiliTopicTagData",
- "type": "object"
- },
- "title": "Topic Tags",
- "type": "array"
- },
- "view_count": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "播放数;不可用时为 null。",
- "title": "View Count"
- }
- },
- "required": [
- "bvid",
- "aid",
- "title",
- "description",
- "publish_time",
- "cover_image_url",
- "share_url",
- "view_count",
- "like_count",
- "collect_count",
- "comment_count",
- "danmaku_count",
- "author",
- "duration_seconds",
- "page_count",
- "pages",
- "coin_count",
- "share_count",
- "topic_tags"
- ],
- "title": "BilibiliVideoDetailData",
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "properties": {
+ "aid": {
+ "description": "B 站视频数字 aid,即老 AV 号的数字部分;仅作为备用视频标识。没有 bvid 时,建议拼成 av{aid} 作为 content_id 传入,避免裸数字和专栏/动态 ID 混淆。",
+ "title": "Aid",
+ "type": "string"
+ },
+ "author": {
+ "description": "视频作者信息。",
+ "properties": {
+ "avatar_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "用户头像链接;不可用时为 null。",
+ "title": "Avatar Url"
+ },
+ "name": {
+ "description": "B 站用户名称;不可用时为空字符串。",
+ "title": "Name",
+ "type": "string"
+ },
+ "profile_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "B 站用户主页链接;可用于打开用户主页;不可用时为 null。",
+ "title": "Profile Url"
+ },
+ "user_id": {
+ "description": "B 站用户 user_id;用于标识作者或用户。",
+ "title": "User Id",
+ "type": "string"
+ }
+ },
+ "required": [
+ "user_id",
+ "name",
+ "avatar_url",
+ "profile_url"
+ ],
+ "title": "BilibiliAuthorData",
+ "type": "object"
+ },
+ "bvid": {
+ "description": "B 站视频 BV 号;读取视频详情时可作为 bilibili_get_content_detail_by_id 的 content_id 输入,优先使用 bvid;获取视频评论时也优先复用 bvid。",
+ "title": "Bvid",
+ "type": "string"
+ },
+ "coin_count": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "投币数;不可用时为 null。",
+ "title": "Coin Count"
+ },
+ "collect_count": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "收藏数;不可用时为 null。",
+ "title": "Collect Count"
+ },
+ "comment_count": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "评论数;不可用时为 null。",
+ "title": "Comment Count"
+ },
+ "content_statement": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "ai_label": {
+ "description": "平台标识类别:ai_generated 明确标注含 AI 生成内容(含部分使用 AI),suspected_ai_generated 疑似或可能含 AI 生成内容,ai_assisted 明确标注 AI 参与创作或编辑但未明确生成,none 当前声明未识别到 AI 标识,不表示内容没有 AI 参与;仅描述标识含义,不表示独立鉴定结果",
+ "enum": [
+ "ai_generated",
+ "suspected_ai_generated",
+ "ai_assisted",
+ "none"
+ ],
+ "title": "Ai Label",
+ "type": "string"
+ },
+ "source": {
+ "description": "声明或识别主体:author 作者自主声明,platform 平台识别或提示,unknown 来源不明;不表示接口供应商",
+ "enum": [
+ "author",
+ "platform",
+ "unknown"
+ ],
+ "title": "Source",
+ "type": "string"
+ },
+ "text": {
+ "description": "平台展示的内容声明或提示原文",
+ "minLength": 1,
+ "pattern": "\\S",
+ "title": "Text",
+ "type": "string"
+ }
+ },
+ "required": [
+ "text",
+ "source",
+ "ai_label"
+ ],
+ "title": "ContentStatement",
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "作品的主要内容声明或提示;未取得有效声明原文时为 null,不表示非 AI 内容"
+ },
+ "cover_image_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "视频封面图链接;不可用时为 null。",
+ "title": "Cover Image Url"
+ },
+ "danmaku_count": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "弹幕数;不可用时为 null。",
+ "title": "Danmaku Count"
+ },
+ "description": {
+ "description": "视频简介;不可用时为空字符串。",
+ "title": "Description",
+ "type": "string"
+ },
+ "duration_seconds": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "视频时长,单位秒;不可用时为 null。",
+ "title": "Duration Seconds"
+ },
+ "like_count": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "点赞数;不可用时为 null。",
+ "title": "Like Count"
+ },
+ "page_count": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "视频分 P 数量;单 P 视频通常为 1;不可用时为 null。",
+ "title": "Page Count"
+ },
+ "pages": {
+ "description": "视频分 P 列表;单 P 视频通常包含 1 项;无可用分 P 信息时为空数组。",
+ "items": {
+ "properties": {
+ "duration_seconds": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "该分 P 时长,单位秒;不可用时为 null。",
+ "title": "Duration Seconds"
+ },
+ "first_frame_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "该分 P 首帧图链接;不可用时为 null。",
+ "title": "First Frame Url"
+ },
+ "height": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "该分 P 画面高度;不可用时为 null。",
+ "title": "Height"
+ },
+ "page_number": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "分 P 序号;不可用时为 null。",
+ "title": "Page Number"
+ },
+ "title": {
+ "description": "该分 P 标题;不可用时为空字符串。",
+ "title": "Title",
+ "type": "string"
+ },
+ "width": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "该分 P 画面宽度;不可用时为 null。",
+ "title": "Width"
+ }
+ },
+ "required": [
+ "page_number",
+ "title",
+ "duration_seconds",
+ "width",
+ "height",
+ "first_frame_url"
+ ],
+ "title": "BilibiliVideoPageData",
+ "type": "object"
+ },
+ "title": "Pages",
+ "type": "array"
+ },
+ "publish_time": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "发布时间,秒级 Unix 时间戳;不可用时为 null。",
+ "title": "Publish Time"
+ },
+ "share_count": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "分享数;不可用时为 null。",
+ "title": "Share Count"
+ },
+ "share_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "视频分享页链接;不可用时为 null。",
+ "title": "Share Url"
+ },
+ "title": {
+ "description": "视频标题;不可用时为空字符串。",
+ "title": "Title",
+ "type": "string"
+ },
+ "topic_tags": {
+ "description": "标签列表;无标签时为空数组;每项只返回 name。",
+ "items": {
+ "properties": {
+ "name": {
+ "description": "标签名称。",
+ "title": "Name",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "title": "BilibiliTopicTagData",
+ "type": "object"
+ },
+ "title": "Topic Tags",
+ "type": "array"
+ },
+ "view_count": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "播放数;不可用时为 null。",
+ "title": "View Count"
+ }
+ },
+ "required": [
+ "bvid",
+ "aid",
+ "title",
+ "description",
+ "publish_time",
+ "cover_image_url",
+ "share_url",
+ "view_count",
+ "like_count",
+ "collect_count",
+ "comment_count",
+ "danmaku_count",
+ "author",
+ "duration_seconds",
+ "page_count",
+ "pages",
+ "coin_count",
+ "share_count",
+ "topic_tags"
+ ],
+ "title": "BilibiliVideoDetailData",
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]