root.schema_version
详见上方设计说明与本字段机器规则。
机器规则
{
"const": "1.0.0-rc.1"
}一次保存完整回答,关联多个品牌、完整来源清单及有序截图 URL。不含 analytics 或聚合指标。
设计版本:1.0.0-rc.1
修订日期:2026-11-11
本稿保留原文的批次、品牌、提示词、回答、引用、证据和失败记录结构,补齐字段语义、机器校验和旧版迁移边界。本公开页面用于审阅和实现验证,不代表客户已确认新契约,也不改变客户文件或历史数据。正式版本号及启用日期,需在试交付和消费端确认后确定。
已明确的本次范围:一个提示词可监测多个品牌;保留返回文章的完整清单及可见顺序;正文引用标记单独保存;截图在 JSON 内交 URL,不打包图片;不增加 analytics。提及、列表位置和界面引用关系属于采集观察,不自动升级为推荐排名或事实核验结论。
本稿提出的规则:以下字段、枚举、对账和验收约束是候选技术方案。采样次数、平台范围、链接保留截止时间、续签方式、正式验收条件和旧接口切换安排仍需确认。示例中的品牌、回答、URL 和状态均为虚构,用于测试结构,不能用于客户分析或作为真实采集证据。
配套文件包括机器 JSON Schema、独立示例 JSON、本地校验脚本、验证说明和迁移说明。Schema 负责结构校验,脚本负责跨字段约束。真实截图、链接访问、来源清单完整性和脱敏仍需采集侧或人工核验,不能仅靠 JSON 声明证明。
本方案的目标是交付可追溯、可解析、能明确表达缺口的采集数据。回答原文只保存一次,多个品牌的观察、来源和截图通过 ID 关联。同一回答提及多个品牌,不增加独立样本数。
| 原稿问题 | 本稿处理 |
|---|---|
| 结构图与实际字段名不一致 | 以扁平的 answer_original、answer_translated 和 other_entities_mentioned 为准 |
| 自然提及被解释为主动推荐 | 改为非点名提及;不从提及判断推荐 |
| 一条来源仅有一个展示面和 marker | 来源放 items,具体出现位置放 occurrences;同源多处出现分别记录 |
| null、unavailable 和原因字段并存 | 统一观察值 null、封闭状态枚举、局部 JSON Pointer 原因表 |
| 失败只记录次数和最后时间 | 增加采样计划、逐次尝试、恢复样本关联和对账规则 |
| 截断答案仍可能被视为成功 | 分开留存记录与合格记录,按验收配置决定资格 |
| URL 过期后仅靠 hash 保证可核验 | 明确保留期限和续签,校验值不恢复失效链接 |
| 只有文字上的 Schema 校验要求 | 附机器 Schema、语义校验脚本、正反例测试和能力边界 |
| 未交代旧版兼容 | 增加逐字段迁移说明;不声称已兼容现有客户程序 |
一个 JSON 文件对应一个采集批次,UTF-8 编码。保留七个顶层字段,不增加 analytics。
交付文件
├─ schema_version
├─ delivery
├─ collection_run
│ ├─ annotation
│ ├─ translation 可选
│ ├─ acceptance_profile
│ ├─ evidence_policy
│ ├─ unavailable_reasons 有未知配置时使用
│ └─ sample_plan[]
├─ brands[]
├─ prompts[]
├─ samples[]
│ ├─ 回答身份及采集时间
│ ├─ environment
│ ├─ answer_original 与翻译字段
│ ├─ brand_results[]
│ ├─ other_entities_mentioned[]
│ ├─ citations
│ │ ├─ surfaces[]
│ │ └─ items[].occurrences[]
│ ├─ evidence
│ ├─ quality
│ ├─ quality_flags[]
│ ├─ unavailable_reasons
│ └─ legacy_source 历史迁移时使用
└─ failures[]
└─ attempt_records[]
1.0.0-rc.1,不能以它冒充正式客户版本。本稿明确区分“记录已返回”和“按候选验收规则合格”。samples 可以保留被排除的回答,因此 delivered_sample_count 不再简单等于数组长度。
| 字段 | 类型 | 要求与定义 |
|---|---|---|
| delivery_id | string | 必填,批次标识 |
| delivered_at_utc | string | 必填,UTC 交付时间,带 Z |
| planned_sample_count | integer | 必填,等于 sample_plan 的计划条数 |
| delivered_sample_count | integer | 必填,合格的最终样本数,等于 accepted 计划数 |
| recorded_sample_count | integer | 必填,samples 数组实际条数,包含留存但排除的回答 |
| failed_final_count | integer | 必填,最终 failed 或 excluded 的计划数;重试次数不计入 |
| repeats_per_prompt | integer | 可选,仅所有平台与提示词组合采用相同次数时填写 |
| aggregation_note | string | 可选,仅解释交付或分组口径,不存放聚合结果 |
最终批次必须满足:
planned_sample_count = delivered_sample_count + failed_final_count
recorded_sample_count = len(samples)
delivered_sample_count = accepted 计划数 = acceptance_status 为 accepted 的样本数
failed_final_count = outcome 为 failed 或 excluded 的计划数
例如:计划 3 个独立样本;1 个首次成功、1 个重试后成功、1 个最终失败,则 planned=3、delivered=2、failed_final=1。重试产生的第 4 次请求不能把计划数改成 4。若失败过程中保留了不合格回答,它可进入 samples,但必须 excluded,并与对应计划关联。
| 字段 | 类型 | 要求与定义 |
|---|---|---|
| collector_version | string | 必填,采集程序或流程版本 |
| annotation.method | enum | rule / llm / human / hybrid |
| annotation.version | string | 必填,匹配规则、提示或标注流程版本 |
| annotation.reviewed_by | enum | none / sampled / full;为保留原字段名而继续使用,含义是人工复核范围,不是复核人姓名 |
| translation.method | enum | 可选对象中的必填项,none / machine / human |
| translation.source_language | string | 可选,仅全批原文语言一致时填写;若填写,必须与所有样本 answer_language 一致 |
| acceptance_profile | object | 必填,见下文;不能把建议规则写成已获客户确认 |
| evidence_policy | object | 必填,约定 URL 可用期限与更新方式 |
| sample_plan | array | 必填,最终的逐项采样计划 |
| unavailable_reasons | object | 配置中存在 null 时使用,相对 collection_run 的 JSON Pointer → 原因 |
| 字段 | 类型 | 定义 |
|---|---|---|
| confirmation_state | enum | proposed 为待确认建议;confirmed 为已有明确确认 |
| approval_reference | string | confirmed 时必填,指向实际确认记录的可核查编号或描述;不得虚构 |
| require_logged_in | boolean | 是否要求已登录采集 |
| require_original_prompt | boolean | 是否要求实际提交文本逐字等于原题 |
| require_complete_answer | boolean | 是否要求回答原文完整 |
| require_complete_citations | boolean | 是否要求全部展示面的来源清单检查完整 |
| require_complete_screenshots | boolean | 是否要求截图覆盖完整回答及全部可见来源 |
| require_verified_geography | boolean | 是否要求实际采集环境的 IP 地理位置已核验 |
| require_all_brand_evaluations | boolean | 是否要求每个监测品牌都有明确 mentioned 或 not_mentioned 结论;uncertain 与 not_evaluated 不满足此项 |
本项目建议上述条件启用,但具体配置的确认状态不能由供应商自行升级。confirmed 不是“文档写好了”,而是对应规则已被明确接受。关于登录、完整原文、引用、截图和网络地域的要求,应按双方确认的验收配置落实;技术细节和链接时限需明确约定。
地域字段记录实际查询到的出口地理位置;本候选稿不额外要求 IP 截图或同路由证明,也不把地区查询结果解释为平台实际识别的位置。
| 字段 | 类型 | 定义 |
|---|---|---|
| availability_until_utc | string 或 null | 承诺证据仍可获取的截止时间;待确认草稿可以为 null 并说明原因 |
| refresh_method | string 或 null | 签名链接失效或临近到期时如何取得更新 URL;不得填写尚未具备的续签服务承诺 |
正式交付前需确认并填写两项。URL 本身到期时间与文件保留期限是两个概念;续签不应变更证据文件内容和 hash。未约定续签时,应使用覆盖约定期限的可用 URL。换了 URL 的交付文件须重新检查链接,不用更换稳定 sample_id。
| 字段 | 类型 | 定义 |
|---|---|---|
| plan_id | string | 必填,逻辑采样计划 ID |
| prompt_id | string | 必填,原题引用 |
| platform | string | 必填,约定的平台标识,不允许同一平台混用别名 |
| sample_index | integer | 必填,同一原题和平台下从 1 开始的独立采样序号 |
| outcome | enum | accepted / failed / excluded,最终批次不得含未完成计划 |
| final_sample_id | string | 有最终留存回答时填写;accepted 时必填,无回答的 failed 计划省略 |
prompt_id + platform + sample_index 在批次内唯一。以计划明细为准,不以成功记录反推计划范围。未跑的平台或问题不能因为总数凑齐而被掩盖。每个计划至多对应一个最终留存样本,失败后恢复仍沿用原 plan_id。
保留 failures 作为异常计划汇总。只要某计划出现失败、排除或重试,就记录一条;首次成功的计划不必创建一条“空失败”。
| 字段 | 类型 | 定义 |
|---|---|---|
| failure_id | string | 必填,异常汇总 ID |
| plan_id / prompt_id / platform / sample_index | string / integer | 必填,必须与计划一致 |
| attempts | integer | 必填,实际尝试总次数,非独立样本数 |
| final_status | enum | failed / excluded / recovered |
| reason_code | enum | 异常原因,见枚举表;recovered 时仍保留导致重试的原因 |
| reason_detail | string | 可选,平台提示或异常摘要,不包含凭据 |
| last_attempt_at_utc | string 或 null | 最后尝试结束时间;历史缺失时 null 加原因 |
| recovered_sample_id | string | recovered 时必填,指向同一计划的最终 accepted 样本 |
| attempt_records | array | 逐次尝试,按 attempt_index 排列 |
| unavailable_reasons | object | 相对当前 failure 的 JSON Pointer → 原因 |
attempt_records 每条包含 attempt_id、attempt_index、started_at_utc、ended_at_utc、status、evidence_urls。status 为 succeeded / failed / excluded。失败或排除须写 reason_code,可补 reason_detail;evidence_urls 是该次尝试相关证据链接,可为空,不混入其他轮次截图。
对新采集,attempts 必须等于 attempt_records 长度,序号连续,最后状态与汇总和计划一致。恢复成功的最后一次为 succeeded,且其序号与最终 sample.attempt_index 相同。只保留最近一次成功、隐去此前失败,不算完整重试记录。
历史文件若仅有“重试 3 次”而没有逐次记录,可保留已知 attempts,attempt_records=[],并说明历史缺失。不得补造 3 个时间或尝试对象。这类记录不能通过正式生产交付门禁。
brands 是本批次监测对象,prompts 保存客户原题。品牌角色是当前批次的业务角色,不是机构永久属性。
| 字段 | 类型 | 定义 |
|---|---|---|
| brand_id | string | 必填,品牌 ID |
| name | string | 必填,标准名称 |
| aliases | string array | 必填,匹配候选别名,可为空;不是本条回答实际命中的名称清单 |
| excluded_aliases | string array | 可选,明确不应匹配的同名或近似称呼 |
| brand_type | enum | 必填,client / competitor / industry_reference |
| location_text | string | 可选,已知地点,未知时省略,不推断 |
| official_domains | string array | 可选,已核定官方域名;平台账号页不能仅凭宿主域名判为品牌官网 |
| 字段 | 类型 | 定义 |
|---|---|---|
| prompt_id | string | 必填,原题 ID |
| original | string | 必填,客户原题逐字保存 |
| language | string | 必填,BCP 47,如 zh-CN |
| intent | enum | brand_intro / comparison / recommendation / reputation / how_to / other |
| topic_tags | string array | 可选,业务分类标签 |
| monitored_brand_ids | string array | 必填,本题需要检查的品牌 ID,无重复 |
| brands_in_prompt | string array | 必填,监测品牌中在原题被点名的品牌 ID,是 monitored_brand_ids 的子集 |
brands_in_prompt 的范围限定为“监测品牌中的被点名者”,不宣称覆盖原题中所有未监测机构。若需要管理其他原题实体,可另行扩展,不强行把它们加入监测范围。
品牌没有在题目中被点名,却在回答中出现,只能说明非点名提及。负面提醒、反例和背景介绍同样可能提及品牌。自然提及率不能直接命名为推荐率。
一条 sample 保存一个计划的最终留存回答。是否合格由 quality.acceptance_status 表示;不能仅凭“存在 sample”判为合格。
| 字段 | 类型 | 定义 |
|---|---|---|
| sample_id | string | 必填,样本 ID |
| plan_id / prompt_id | string | 必填,计划及原题引用 |
| sample_index | integer | 必填,独立采样序号,与计划一致 |
| attempt_index | integer | 必填,产出此回答的尝试序号,首次为 1 |
| platform | string | 必填,与计划一致 |
| collection_method | enum | web / app / api;本项目按实际渠道填写,不以 API 结果冒充 Web |
| origin | enum | native_capture / legacy_import / example |
| prompt_submitted | string 或 null | 必填,实际提交文本;历史未记录时 null 加原因,不能用规范化题面冒充实际提交文本;已知且与原题不同时加 prompt_modified |
| submitted_at_utc | string 或 null | 提交时间;历史未记录时 null 加原因 |
| captured_at_utc | string 或 null | 最终回答的截取时间;历史未记录时 null 加原因 |
| unavailable_reasons | object | 相对当前 sample 的 JSON Pointer → 非空原因文字 |
| legacy_source | object | 历史迁移使用,包含 file_name、sha256、record_path,指回原始记录 |
legacy_source.sha256 是原始源文件的校验值,不是后来导出文件的校验值。原 sample_id 尽量保留;需要防碰撞时保留可逆映射,不能丢失原 ID。
| 字段 | 类型 | 定义 |
|---|---|---|
| account_state | enum | logged_in / logged_out / unknown |
| model_ui | string 或 null | 界面显示的模型名,不按默认模型补写 |
| search_enabled | enum | on / off / auto / unknown;是界面搜索状态,不表示这轮一定发生了检索 |
| search_ui | string 或 null | 可选,搜索相关控件原文 |
| conversation_state | enum | new_chat / continued / unknown;历史不明使用 unknown |
| memory_personalization | enum | off / on / unknown |
| ui_language | string 或 null | 界面语言,历史不明时 null 加原因 |
| network_geography.country | string 或 null | 实际采集环境查询到的出口国家 |
| network_geography.city | string 或 null | 可选,查询到的城市,不把国家精度冒充城市精度 |
| network_geography.source | string 或 null | 查询服务或已有证明的来源描述 |
| network_geography.observed_at_utc | string 或 null | 查询时间 |
网络地域只说明出口网络的地理位置,不保证平台以该位置提供答案。默认不交完整公网 IP;如业务确需,先另行明确授权和交付范围。地域信息不需要在本稿中追加 IP 截图或同路由证明。
| 字段 | 类型 | 定义 |
|---|---|---|
| answer_original | string | 必填,非空,保留完整可见回答及引用标记;没有回答时不构造空 sample |
| answer_language | string | 必填,原文语言 |
| answer_translated | string | 可选,只供阅读,不替代原文 |
| translation_target_language | string | 有翻译时必填,译文语言 |
正文应按采集规则一次性冻结,然后计算 offset。禁止在计算位置后再替换空格、删除 marker、规范化 Unicode 或改写段落。若为跨系统统一换行而使用 LF,必须在冻结前完成,且记录规则版本。原始抓取可保留换行来源以供复核。
每个 sample 必须覆盖该题所有 monitored_brand_ids,且每品牌恰好一条。品牌没有出现也要明确记录;没有检查则写 not_evaluated。
| 字段 | 类型 | 定义 |
|---|---|---|
| brand_id | string | 必填,监测品牌引用 |
| mention_status | enum | mentioned / not_mentioned / uncertain / not_evaluated |
| reason | string | uncertain 或 not_evaluated 时必填 |
| mentions | array | 必填,逐处命中证据;not_mentioned 与 not_evaluated 时为空 |
| mentions.name_in_answer | string | 原文实际出现的称呼,不复制全局 aliases |
| mentions.evidence_quote | string | 保留上下文的原文证据片段 |
| mentions.start / end | integer | evidence_quote 的字符范围 |
| mentions.name_start / name_end | integer | name_in_answer 的准确字符范围,应包含于证据片段范围内 |
| mentions.list_position | integer | ordered_list 时必填,界面可见有序列表中的位置,从 1 开始;其他类型省略 |
| mentions.position_kind | enum | 可选,ordered_list / unordered_list / inline / comparison |
| mentions.citation_ids | string array | 必填,平台对该处正文展示的来源关联,无则为空 |
| mentions.sentiment | enum | 可选,positive / neutral / negative / mixed;不是首版必采项 |
| mentions.factual_issue | enum | 可选,none / suspected / confirmed;须有相应核验方法,不能默认填 none 冒充已核验 |
状态语义:
ordered_list 仅表示有序列表。平台列出的“1、2、3”不自动代表推荐优先级。需要研究明确推荐或排序时,应另行定义任务、证据和判断方式,不扩充本次范围。
记录回答中出现但不在本批 brands 中的同类实体,每项含 name、evidence_quote、start、end。该集合只用于保留观察到的其他实体,不自动把它们升级为竞品、正式监测对象或已确认品牌。
本稿区分两件事:文章或来源本身,以及它在界面上出现的位置。每个已确认同一的来源在 items 中只存一次;同一来源在面板、正文、搜索结果或脚注出现多次,用 occurrences 分别保存。
| 字段 | 类型 | 定义 |
|---|---|---|
| status | enum | complete / partial / none_shown / not_checked |
| checked_surfaces | enum array | 实际完成过检查的展示面,不含 not_checked 或 unavailable 的展示面 |
| scope_note | string | partial 时必填,说明具体缺什么;其他状态可补充 |
| surfaces | array | 必填,四类展示面各一条,即使该平台没有显示也要说明 |
| items | array | 必填,来源实体清单,不能只留域名 |
surfaces 每项包含:
| 字段 | 类型 | 定义 |
|---|---|---|
| surface | enum | source_panel / inline / search_result / footnote |
| status | enum | complete / partial / none_shown / not_checked / unavailable |
| captured_count | integer | 该展示面已记录的 occurrence 数,不是去重文章数 |
| displayed_total | integer 或 null | 可选,平台明确显示的总条数;未显示时 null 加原因,不靠猜测 |
| scope_note | string | partial、not_checked 或 unavailable 时必填 |
整体状态规则:四个展示面都已检查且均为 none_shown、items=[],才可标 none_shown;都未检查且无来源记录时为 not_checked;全部为 complete 或 none_shown,且至少一项 complete,才能为 complete;其他存在缺口的组合为 partial。unknown 展示位置的来源不能进入完整清单。
“完整”是对平台在这一轮实际展示范围的声明,不是对互联网所有相关资料的声明。平台显示“共 N 条”时,要与记录数核对;需要展开、滚动或分页而未完成时,必须标 partial。没有展示总数也可以经实际穷尽检查判完整,但仅有 captured_count 本身不能证明完整。
| 字段 | 类型 | 定义 |
|---|---|---|
| citation_id | string | 必填,样本内来源 ID |
| title | string 或 null | 可选,平台可见标题,未取得时不根据网页猜写 |
| url | string 或 null | 必填,平台原始链接;可见来源无可提取链接时 null 加原因,并如实标缺口 |
| final_url | string 或 null | 可选,实际访问后确认的最终地址,未访问不补写 |
| domain | string 或 null | 可选,按明确规则解析的注册域名;跳转包装页与最终发布站点要区分 |
| excerpt | string 或 null | 可选,平台显示摘要,不填自行生成摘要 |
| source_type | enum | 来源类别,见枚举表,无法确定用 unknown |
| owner_brand_id | string | 可选,已确认归属的监测品牌,未知时省略 |
| fetch_status | enum | ok / failed / not_attempted,表示来源网页本身是否抓取成功 |
| occurrences | array | 必填,至少一项,保存所有已采集到的出现记录 |
不得仅凭域名相同合并文章;也不得擅自删除 URL 参数或追踪包装后声称是同一篇。可确认同一来源时复用 citation_id;不能确认则保留独立记录并说明限制。域名解析规则及使用最终 URL 还是原始 URL 应在采集程序版本中固定,不凭域名推断事实归属。
| 字段 | 类型 | 定义 |
|---|---|---|
| occurrence_id | string | 必填,在当前 sample 内唯一 |
| surface | enum | source_panel / inline / search_result / footnote / unknown |
| display_order | integer 或 null | 列表展示面条件必填,同一展示面从 1 起;无法恢复时 null 加原因 |
| citation_marker | string 或 null | 可选,正文标记原文,如 [3] 或 †;不可用面板序号代填 |
| answer_links | array | 必填,每项 quote、start、end;没有可确认正文关联时为空 |
source_panel、search_result、footnote 是列表展示面,display_order 必须出现;已观察到具体位置时填正整数。inline 没有独立列表序号时可省略 display_order。未知位置不把 items 数组下标充作来源排名。
同一展示面的已知序号不得重复;当声明某个列表面 complete 时,序号需与实际完整列表连续对应。正文 marker 可与面板顺序不同,也可能重复出现;每次出现用独立 occurrence 记录。同一段文字挂多个来源时,各来源各有对应 occurrence 和 answer_links。
例:某文章位于面板第 1 条,却在正文中用 [3] 出现两次,可保存一个 citation_id 和三个 occurrences:面板出现一次,以及两个带 [3] 的正文位置。不能把它算作三篇不同文章。
mentions.citation_ids 和 answer_links 只记录可观察的界面关联,不宣称已核实文章支持句子里的每个事实。无法确定 marker 指向何处时保留 marker 和缺口说明,不凭数字推断。
图片只通过 JSON 中的 URL 提供,不要求图片压缩包。每个 sample 的证据必须来自该轮,按阅读顺序记录。跨轮借图、截图缺段或无法确认来源时必须说明,不得宣称完整。
| 字段 | 类型 | 定义 |
|---|---|---|
| sequence | integer | 必填,样本内阅读顺序,从 1 连续递增 |
| kind | enum | answer / citations / search_result / settings / other |
| url | string | 必填,客户可取得的图片 URL,不是仅供应商内部可见地址 |
| access_mode | enum | public / signed_url;不使用 delivered_in_package |
| expires_at_utc | string | signed_url 时必填,真实签名有效期 |
| sha256 | string 或 null | 文件 SHA-256,正式生产须有真实值;历史缺失与示例不得填假 hash |
| width / height | integer 或 null | 图片像素尺寸,真实未知时 null 加原因 |
| captured_at_utc | string 或 null | 截图时间,不用导出时间代替 |
| access_checked_at_utc | string 或 null | 最近一次按交付访问方式核验 URL 的时间 |
| answer_ranges | array | 每项 start、end,声明该图覆盖的原文范围,无正文覆盖时为空 |
| citation_occurrence_ids | string array | 该图覆盖的来源出现记录,可为空 |
answer_ranges 使用与原文相同的 Unicode code point 范围。程序只能核查声明范围是否拼接覆盖全文;这些范围是否真的出现在图中,需要查看图片。范围重叠允许,不得有未说明的正文缺口。引用截图覆盖的 occurrence ID 也须能在图中找到。
| 字段 | 枚举 | 定义 |
|---|---|---|
| answer_coverage | complete / partial / not_checked | 截图是否完整覆盖同轮回答 |
| citations_coverage | complete / partial / none_shown / not_checked | 是否覆盖同轮全部已展示来源 |
| redaction_status | verified / not_checked | 是否实际复核截图和抓取内容的隐私脱敏 |
| access_status | accessible / inaccessible / not_checked | 是否实际核验交付方可按约定方式取得链接 |
填写 verified 或 accessible 必须有真实操作依据,不可因字段必填而默认填入。完整截图的验收需要检查裁切、顺序、缺段、脱敏、对应轮次与可访问性,不仅检查图片数量。
可选,仅在能够安全提供时交付。保留 kind(dom_snapshot / network_response / html)、url、sha256、contains_pii,并使用与截图相同的 access_mode 与签名有效期规则。contains_pii 必须为 false 才能交付;这项布尔值不是自动脱敏证明。
原始网络响应可能包含 Cookie、令牌或账户资料,不能未经审查直接上传。截图也需排除账户信息和非本任务内容。即使没有提供 raw_capture,仍需提供约定的完整截图和回答原文。
SHA-256 只能校验客户已经拿到的文件是否一致。若链接过期且文件没有保留,hash 本身无法恢复文件。正式交付应满足:
枚举小写英文加下划线,区分大小写。供应商不能静默新增枚举值。消费端先检查 schema_version,再选择对应 Schema;遇到不支持的版本或非法枚举时隔离并报错,不能默默把它当成“未提及”或正常样本。
消费端如需前向兼容,可以在自身程序中保留原值并标记“暂不识别”,但不得把非法值改写成当前 Schema 不存在的 unknown 后声称通过。新增字段和枚举仍需公布兼容说明;原字段含义或类型变化应按破坏性变更处理,不能仅改小版本遮掩。
| 字段 | 允许值 |
|---|---|
| mention_status | mentioned / not_mentioned / uncertain / not_evaluated |
| citations.status | complete / partial / none_shown / not_checked |
| surfaces.status | complete / partial / none_shown / not_checked / unavailable |
| surface | source_panel / inline / search_result / footnote;出现记录另允许 unknown |
| source_type | official_brand / government / media / health_platform / ugc / academic / encyclopedia / other / unknown |
| position_kind | ordered_list / unordered_list / inline / comparison |
| collection_method | web / app / api |
| failure reason | login_required / captcha / rate_limited / timeout / no_answer / content_blocked / platform_error / network_error / other |
| brand_type | client / competitor / industry_reference |
| origin | native_capture / legacy_import / example |
| quality.answer_status | complete / partial / unknown |
| quality.acceptance_status | accepted / excluded |
| plan.outcome | accepted / failed / excluded |
| failures.final_status | failed / excluded / recovered |
| attempt.status | succeeded / failed / excluded |
其余枚举以各节字段表和配套 Schema 为准,二者必须同步发布。表中中文解释不作为机器枚举值。
/environment/model_ui,或 /citations/items/0/url。嵌套数组按零基下标;键中的 ~ 与 / 按 JSON Pointer 规则转义。/attempt_records:旧文件没有逐次尝试明细时,可指向空数组并解释无法恢复;这不允许通过生产门禁。数组调整顺序后也要更新原因路径,不能保留失效路径。示例:
{
"unavailable_reasons": {
"/environment/model_ui": "该轮界面未显示模型名",
"/captured_at_utc": "历史文件未记录截取时间,无法恢复"
}
}
第一层,结构校验。 使用配套 JSON Schema 验证类型、必填、枚举和基本条件,不接收未声明的字段。
第二层,语义校验。 使用本地脚本验证引用、计划对账、原文位置、状态一致性、重试关系、截图覆盖声明、原因路径及时间有效性。
第三层,真实证据验收。 采集侧或人工确认本轮真实已登录 Web 回答、实际提交原题、回答生成完整、展开过全部来源、图片实际内容、访问权限、真实文件 hash、脱敏和地域来源。前两层不能自动完成第三层。
| 字段 | 定义 |
|---|---|
| answer_status | complete / partial / unknown,说明回答完整性 |
| acceptance_status | accepted / excluded,按当前验收配置判定,不是客户签收证明 |
| exclusion_reasons | 排除原因数组;accepted 时为空,excluded 时必须说明 |
演示中的 accepted 只是虚构条件下的候选规则示意,不能用于正式交付。旧版的“暂可统计”也不自动等于这里的 accepted。
质量标记补充说明,不代替状态字段或验收结论。
| 标记 | 含义 |
|---|---|
| prompt_modified | 实际提交文本与客户原题不同 |
| citation_list_not_confirmed_complete | 来源清单未确认完整 |
| citation_origin_unknown | 至少一条来源无法确认展示位置 |
| model_unavailable | 界面未提供模型信息 |
| search_state_unknown | 搜索开关状态未知 |
| answer_truncated | 回答截断或尚未生成完整 |
| translation_machine_only | 仅机器翻译,原文为准 |
| annotation_unreviewed | 标注未经人工复核 |
| possible_factual_error | 观察到可能的事实问题,不等于已完成事实核验 |
| demo_only | 虚构演示,不得用于客户分析 |
| legacy_import | 来自旧版迁移,需查看来源与缺口 |
| brand_evaluation_incomplete | 至少一个监测品牌尚未完成评估 |
| screenshot_incomplete | 截图覆盖不完整或未确认 |
| account_state_unknown | 登录状态未知 |
| geography_unavailable | 无法确认要求的网络地域 |
本稿不交付提及率、平均排名、综合评分、情感分或波动指数,不增加 analytics。客户以后需要分析时,应另行确认分母、排除、分组、权重和来源样本;不能将本稿字段默认为分析授权。
完整可解析示例保存在配套 example-delivery.json,并由同一文件生成本文附录。它与本稿、geo-delivery-1.0.0-rc.1.schema.json 和 validate_delivery.py 同版发布,避免独立编辑造成漂移。
示例至少展示:多品牌、非点名提及、明确未提及、同一来源多处出现、面板顺序与正文 marker 不同、缺失观察值、截图覆盖声明、一次失败后恢复、一次最终失败,以及按独立计划对账。含 emoji 的原文用于验证 code point 位置。
所有 example.com 地址都是占位 URL,不会尝试访问;不存在真实证据可用性或 hash 验证结果。未知 hash、尺寸等使用 null 和原因,不生成一串零冒充校验值。例子必须带 origin=example 和 demo_only;运行生产模式应被拒绝。
校验方式和测试结果见 VALIDATION.md。离线检查的成功范围以验证报告为准,不能据此宣称已经完成真实批次验收。即使结构与语义均通过,仍须补齐第三层真实证据核验。
本稿是新契约候选,不直接覆盖旧文件。旧版消费程序和 CSV 使用方式尚未完整确认;是否双轨输出、何时切换、保留多久,需要先与使用方确认。对“旧字段和结构尽量少变”的要求,应通过兼容导出与明确映射落实,而不是声称完全兼容。
迁移时遵循:
详细逐字段映射及 CSV 约束见本文附录,同时保存在配套 legacy-migration-notes.md。
正式使用前应确认以下具体事项,不把本稿中的建议当作既成承诺:
建议发布顺序:冻结候选字段 → 同步 Schema 和示例 → 真实小批试交付 → 验证旧版映射及消费端 → 确认业务边界 → 发布正式契约。此次公开技术参考不切换既有客户接口,不发送客户交付文件。
以下 194 个字段根据同一份 JSON Schema 生成;字段名不翻译。条件规则在每个对象的展开项中。
没有匹配字段。
root.schema_version详见上方设计说明与本字段机器规则。
{
"const": "1.0.0-rc.1"
}root.delivery详见上方设计说明与本字段机器规则。
{
"$ref": "#/$defs/delivery"
}root.collection_run详见上方设计说明与本字段机器规则。
{
"$ref": "#/$defs/collection_run"
}root.brands详见上方设计说明与本字段机器规则。
{
"type": "array",
"items": {
"$ref": "#/$defs/brand"
},
"minItems": 1
}root.prompts详见上方设计说明与本字段机器规则。
{
"type": "array",
"items": {
"$ref": "#/$defs/prompt"
},
"minItems": 1
}root.samples详见上方设计说明与本字段机器规则。
{
"type": "array",
"items": {
"$ref": "#/$defs/sample"
},
"minItems": 0
}root.failures详见上方设计说明与本字段机器规则。
{
"type": "array",
"items": {
"$ref": "#/$defs/failure"
},
"minItems": 0
}{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://www.querentdata.com/schema/1.0.0-rc.1/geo-delivery-1.0.0-rc.1.schema.json",
"title": "GEO delivery contract 1.0.0-rc.1 — review candidate",
"description": "Review candidate, not client approval. Structural validation must be followed by the companion semantic validator and independent evidence checks.",
"required": [
"schema_version",
"delivery",
"collection_run",
"brands",
"prompts",
"samples",
"failures"
],
"additionalProperties": false,
"$defs": {
"unavailable_reasons": {
"type": "object",
"propertyNames": {
"pattern": "^(?:/(?:[^~/]|~[01])*)+$"
},
"additionalProperties": {
"type": "string",
"minLength": 1
},
"minProperties": 1
},
"range": {
"type": "object",
"properties": {
"start": {
"type": "integer",
"minimum": 0
},
"end": {
"type": "integer",
"minimum": 0
}
},
"required": [
"start",
"end"
],
"additionalProperties": false
},
"answer_link": {
"type": "object",
"properties": {
"quote": {
"type": "string",
"minLength": 1
},
"start": {
"type": "integer",
"minimum": 0
},
"end": {
"type": "integer",
"minimum": 0
}
},
"required": [
"quote",
"start",
"end"
],
"additionalProperties": false
},
"acceptance_profile": {
"type": "object",
"properties": {
"confirmation_state": {
"type": "string",
"enum": [
"proposed",
"confirmed"
]
},
"approval_reference": {
"type": "string",
"minLength": 1
},
"require_logged_in": {
"type": "boolean"
},
"require_original_prompt": {
"type": "boolean"
},
"require_complete_answer": {
"type": "boolean"
},
"require_complete_citations": {
"type": "boolean"
},
"require_complete_screenshots": {
"type": "boolean"
},
"require_verified_geography": {
"type": "boolean"
},
"require_all_brand_evaluations": {
"type": "boolean"
}
},
"required": [
"confirmation_state",
"require_logged_in",
"require_original_prompt",
"require_complete_answer",
"require_complete_citations",
"require_complete_screenshots",
"require_verified_geography",
"require_all_brand_evaluations"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"confirmation_state": {
"enum": [
"confirmed"
]
}
},
"required": [
"confirmation_state"
]
},
"then": {
"required": [
"approval_reference"
]
}
}
]
},
"plan": {
"type": "object",
"properties": {
"plan_id": {
"type": "string",
"minLength": 1
},
"prompt_id": {
"type": "string",
"minLength": 1
},
"platform": {
"type": "string",
"minLength": 1
},
"sample_index": {
"type": "integer",
"minimum": 1
},
"outcome": {
"type": "string",
"enum": [
"accepted",
"failed",
"excluded"
]
},
"final_sample_id": {
"type": "string",
"minLength": 1
}
},
"required": [
"plan_id",
"prompt_id",
"platform",
"sample_index",
"outcome"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"outcome": {
"enum": [
"accepted"
]
}
},
"required": [
"outcome"
]
},
"then": {
"required": [
"final_sample_id"
]
}
},
{
"if": {
"properties": {
"outcome": {
"enum": [
"failed"
]
}
},
"required": [
"outcome"
]
},
"then": {
"not": {
"required": [
"final_sample_id"
]
}
}
}
]
},
"delivery": {
"type": "object",
"properties": {
"delivery_id": {
"type": "string",
"minLength": 1
},
"delivered_at_utc": {
"type": "string",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$"
},
"planned_sample_count": {
"type": "integer",
"minimum": 0
},
"delivered_sample_count": {
"type": "integer",
"minimum": 0
},
"recorded_sample_count": {
"type": "integer",
"minimum": 0
},
"failed_final_count": {
"type": "integer",
"minimum": 0
},
"repeats_per_prompt": {
"type": "integer",
"minimum": 1
},
"aggregation_note": {
"type": "string",
"minLength": 1
}
},
"required": [
"delivery_id",
"delivered_at_utc",
"planned_sample_count",
"delivered_sample_count",
"recorded_sample_count",
"failed_final_count"
],
"additionalProperties": false
},
"collection_run": {
"type": "object",
"properties": {
"collector_version": {
"type": "string",
"minLength": 1
},
"annotation": {
"type": "object",
"properties": {
"method": {
"type": "string",
"enum": [
"rule",
"llm",
"human",
"hybrid"
]
},
"version": {
"type": "string",
"minLength": 1
},
"reviewed_by": {
"type": "string",
"enum": [
"none",
"sampled",
"full"
]
}
},
"required": [
"method",
"version",
"reviewed_by"
],
"additionalProperties": false
},
"translation": {
"type": "object",
"properties": {
"method": {
"type": "string",
"enum": [
"none",
"machine",
"human"
]
},
"source_language": {
"type": "string",
"minLength": 1
}
},
"required": [
"method"
],
"additionalProperties": false
},
"sample_plan": {
"type": "array",
"items": {
"$ref": "#/$defs/plan"
},
"minItems": 1
},
"acceptance_profile": {
"$ref": "#/$defs/acceptance_profile"
},
"evidence_policy": {
"type": "object",
"properties": {
"availability_until_utc": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$"
},
{
"type": "null"
}
]
},
"refresh_method": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}
},
"required": [
"availability_until_utc",
"refresh_method"
],
"additionalProperties": false
},
"unavailable_reasons": {
"$ref": "#/$defs/unavailable_reasons"
}
},
"required": [
"collector_version",
"annotation",
"sample_plan",
"acceptance_profile",
"evidence_policy"
],
"additionalProperties": false
},
"brand": {
"type": "object",
"properties": {
"brand_id": {
"type": "string",
"minLength": 1
},
"name": {
"type": "string",
"minLength": 1
},
"aliases": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"excluded_aliases": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"brand_type": {
"type": "string",
"enum": [
"client",
"competitor",
"industry_reference"
]
},
"location_text": {
"type": "string",
"minLength": 1
},
"official_domains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
},
"required": [
"brand_id",
"name",
"aliases",
"brand_type"
],
"additionalProperties": false
},
"prompt": {
"type": "object",
"properties": {
"prompt_id": {
"type": "string",
"minLength": 1
},
"original": {
"type": "string",
"minLength": 1
},
"language": {
"type": "string",
"minLength": 1
},
"intent": {
"type": "string",
"enum": [
"brand_intro",
"comparison",
"recommendation",
"reputation",
"how_to",
"other"
]
},
"topic_tags": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"monitored_brand_ids": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1,
"uniqueItems": true
},
"brands_in_prompt": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
},
"required": [
"prompt_id",
"original",
"language",
"intent",
"monitored_brand_ids",
"brands_in_prompt"
],
"additionalProperties": false
},
"geography": {
"type": "object",
"properties": {
"country": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"city": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"source": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"observed_at_utc": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$"
},
{
"type": "null"
}
]
}
},
"required": [
"country",
"source",
"observed_at_utc"
],
"additionalProperties": false
},
"environment": {
"type": "object",
"properties": {
"account_state": {
"type": "string",
"enum": [
"logged_in",
"logged_out",
"unknown"
]
},
"model_ui": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"search_enabled": {
"type": "string",
"enum": [
"on",
"off",
"auto",
"unknown"
]
},
"search_ui": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"conversation_state": {
"type": "string",
"enum": [
"new_chat",
"continued",
"unknown"
]
},
"memory_personalization": {
"type": "string",
"enum": [
"off",
"on",
"unknown"
]
},
"ui_language": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"network_geography": {
"$ref": "#/$defs/geography"
}
},
"required": [
"account_state",
"model_ui",
"search_enabled",
"conversation_state",
"memory_personalization",
"ui_language",
"network_geography"
],
"additionalProperties": false
},
"mention": {
"type": "object",
"properties": {
"name_in_answer": {
"type": "string",
"minLength": 1
},
"evidence_quote": {
"type": "string",
"minLength": 1
},
"start": {
"type": "integer",
"minimum": 0
},
"end": {
"type": "integer",
"minimum": 0
},
"name_start": {
"type": "integer",
"minimum": 0
},
"name_end": {
"type": "integer",
"minimum": 0
},
"position_kind": {
"type": "string",
"enum": [
"ordered_list",
"unordered_list",
"inline",
"comparison"
]
},
"list_position": {
"type": "integer",
"minimum": 1
},
"sentiment": {
"type": "string",
"enum": [
"positive",
"neutral",
"negative",
"mixed"
]
},
"citation_ids": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"factual_issue": {
"type": "string",
"enum": [
"none",
"suspected",
"confirmed"
]
}
},
"required": [
"name_in_answer",
"evidence_quote",
"start",
"end",
"name_start",
"name_end",
"citation_ids"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"position_kind": {
"enum": [
"ordered_list"
]
}
},
"required": [
"position_kind"
]
},
"then": {
"required": [
"list_position"
]
}
},
{
"if": {
"required": [
"list_position"
]
},
"then": {
"required": [
"position_kind"
],
"properties": {
"position_kind": {
"const": "ordered_list"
}
}
}
}
]
},
"brand_result": {
"type": "object",
"properties": {
"brand_id": {
"type": "string",
"minLength": 1
},
"mention_status": {
"type": "string",
"enum": [
"mentioned",
"not_mentioned",
"uncertain",
"not_evaluated"
]
},
"reason": {
"type": "string",
"minLength": 1
},
"mentions": {
"type": "array",
"items": {
"$ref": "#/$defs/mention"
},
"minItems": 0
}
},
"required": [
"brand_id",
"mention_status",
"mentions"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"mention_status": {
"enum": [
"uncertain",
"not_evaluated"
]
}
},
"required": [
"mention_status"
]
},
"then": {
"required": [
"reason"
]
}
},
{
"if": {
"properties": {
"mention_status": {
"enum": [
"mentioned",
"uncertain"
]
}
},
"required": [
"mention_status"
]
},
"then": {
"properties": {
"mentions": {
"minItems": 1
}
}
}
},
{
"if": {
"properties": {
"mention_status": {
"enum": [
"not_mentioned",
"not_evaluated"
]
}
},
"required": [
"mention_status"
]
},
"then": {
"properties": {
"mentions": {
"maxItems": 0
}
}
}
}
]
},
"entity": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"evidence_quote": {
"type": "string",
"minLength": 1
},
"start": {
"type": "integer",
"minimum": 0
},
"end": {
"type": "integer",
"minimum": 0
}
},
"required": [
"name",
"evidence_quote",
"start",
"end"
],
"additionalProperties": false
},
"surface": {
"type": "object",
"properties": {
"surface": {
"type": "string",
"enum": [
"source_panel",
"inline",
"search_result",
"footnote"
]
},
"status": {
"type": "string",
"enum": [
"complete",
"partial",
"none_shown",
"not_checked",
"unavailable"
]
},
"captured_count": {
"type": "integer",
"minimum": 0
},
"displayed_total": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"scope_note": {
"type": "string",
"minLength": 1
}
},
"required": [
"surface",
"status",
"captured_count"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"status": {
"enum": [
"partial",
"not_checked",
"unavailable"
]
}
},
"required": [
"status"
]
},
"then": {
"required": [
"scope_note"
]
}
},
{
"if": {
"properties": {
"status": {
"enum": [
"none_shown",
"not_checked",
"unavailable"
]
}
},
"required": [
"status"
]
},
"then": {
"properties": {
"captured_count": {
"const": 0
}
}
}
}
]
},
"occurrence": {
"type": "object",
"properties": {
"occurrence_id": {
"type": "string",
"minLength": 1
},
"surface": {
"type": "string",
"enum": [
"source_panel",
"inline",
"search_result",
"footnote",
"unknown"
]
},
"display_order": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
]
},
"citation_marker": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"answer_links": {
"type": "array",
"items": {
"$ref": "#/$defs/answer_link"
},
"minItems": 0
}
},
"required": [
"occurrence_id",
"surface",
"answer_links"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"surface": {
"enum": [
"source_panel",
"search_result",
"footnote"
]
}
},
"required": [
"surface"
]
},
"then": {
"required": [
"display_order"
]
}
}
]
},
"citation": {
"type": "object",
"properties": {
"citation_id": {
"type": "string",
"minLength": 1
},
"title": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"url": {
"anyOf": [
{
"type": "string",
"format": "uri",
"pattern": "^https?://[^\\s]+$"
},
{
"type": "null"
}
]
},
"final_url": {
"anyOf": [
{
"type": "string",
"format": "uri",
"pattern": "^https?://[^\\s]+$"
},
{
"type": "null"
}
]
},
"domain": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"excerpt": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"source_type": {
"type": "string",
"enum": [
"official_brand",
"government",
"media",
"health_platform",
"ugc",
"academic",
"encyclopedia",
"other",
"unknown"
]
},
"owner_brand_id": {
"type": "string",
"minLength": 1
},
"fetch_status": {
"type": "string",
"enum": [
"ok",
"failed",
"not_attempted"
]
},
"occurrences": {
"type": "array",
"items": {
"$ref": "#/$defs/occurrence"
},
"minItems": 1
}
},
"required": [
"citation_id",
"url",
"source_type",
"fetch_status",
"occurrences"
],
"additionalProperties": false
},
"citations": {
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"complete",
"partial",
"none_shown",
"not_checked"
]
},
"checked_surfaces": {
"type": "array",
"items": {
"type": "string",
"enum": [
"source_panel",
"inline",
"search_result",
"footnote"
]
},
"minItems": 0,
"uniqueItems": true
},
"scope_note": {
"type": "string",
"minLength": 1
},
"surfaces": {
"type": "array",
"items": {
"$ref": "#/$defs/surface"
},
"minItems": 4
},
"items": {
"type": "array",
"items": {
"$ref": "#/$defs/citation"
},
"minItems": 0
}
},
"required": [
"status",
"checked_surfaces",
"surfaces",
"items"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"status": {
"enum": [
"partial"
]
}
},
"required": [
"status"
]
},
"then": {
"required": [
"scope_note"
]
}
},
{
"if": {
"properties": {
"status": {
"enum": [
"none_shown",
"not_checked"
]
}
},
"required": [
"status"
]
},
"then": {
"properties": {
"items": {
"maxItems": 0
}
}
}
}
]
},
"screenshot": {
"type": "object",
"properties": {
"sequence": {
"type": "integer",
"minimum": 1
},
"kind": {
"type": "string",
"enum": [
"answer",
"citations",
"search_result",
"settings",
"other"
]
},
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://[^\\s]+$"
},
"access_mode": {
"type": "string",
"enum": [
"public",
"signed_url"
]
},
"expires_at_utc": {
"type": "string",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$"
},
"sha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
},
"width": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
]
},
"height": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
]
},
"captured_at_utc": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$"
},
{
"type": "null"
}
]
},
"access_checked_at_utc": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$"
},
{
"type": "null"
}
]
},
"answer_ranges": {
"type": "array",
"items": {
"$ref": "#/$defs/range"
},
"minItems": 0
},
"citation_occurrence_ids": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
},
"required": [
"sequence",
"kind",
"url",
"access_mode",
"sha256",
"width",
"height",
"captured_at_utc",
"access_checked_at_utc",
"answer_ranges",
"citation_occurrence_ids"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"access_mode": {
"enum": [
"signed_url"
]
}
},
"required": [
"access_mode"
]
},
"then": {
"required": [
"expires_at_utc"
]
}
},
{
"if": {
"properties": {
"access_mode": {
"enum": [
"public"
]
}
},
"required": [
"access_mode"
]
},
"then": {
"not": {
"required": [
"expires_at_utc"
]
}
}
}
]
},
"raw_capture": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"dom_snapshot",
"network_response",
"html"
]
},
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://[^\\s]+$"
},
"sha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
},
"contains_pii": {
"const": false
},
"access_mode": {
"type": "string",
"enum": [
"public",
"signed_url"
]
},
"expires_at_utc": {
"type": "string",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$"
}
},
"required": [
"kind",
"url",
"sha256",
"contains_pii",
"access_mode"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"access_mode": {
"enum": [
"signed_url"
]
}
},
"required": [
"access_mode"
]
},
"then": {
"required": [
"expires_at_utc"
]
}
},
{
"if": {
"properties": {
"access_mode": {
"enum": [
"public"
]
}
},
"required": [
"access_mode"
]
},
"then": {
"not": {
"required": [
"expires_at_utc"
]
}
}
}
]
},
"evidence": {
"type": "object",
"properties": {
"screenshots": {
"type": "array",
"items": {
"$ref": "#/$defs/screenshot"
},
"minItems": 0
},
"answer_coverage": {
"type": "string",
"enum": [
"complete",
"partial",
"not_checked"
]
},
"citations_coverage": {
"type": "string",
"enum": [
"complete",
"partial",
"none_shown",
"not_checked"
]
},
"redaction_status": {
"type": "string",
"enum": [
"verified",
"not_checked"
]
},
"access_status": {
"type": "string",
"enum": [
"accessible",
"inaccessible",
"not_checked"
]
},
"raw_capture": {
"$ref": "#/$defs/raw_capture"
}
},
"required": [
"screenshots",
"answer_coverage",
"citations_coverage",
"redaction_status",
"access_status"
],
"additionalProperties": false
},
"sample": {
"type": "object",
"properties": {
"sample_id": {
"type": "string",
"minLength": 1
},
"plan_id": {
"type": "string",
"minLength": 1
},
"prompt_id": {
"type": "string",
"minLength": 1
},
"platform": {
"type": "string",
"minLength": 1
},
"sample_index": {
"type": "integer",
"minimum": 1
},
"attempt_index": {
"type": "integer",
"minimum": 1
},
"origin": {
"type": "string",
"enum": [
"native_capture",
"legacy_import",
"example"
]
},
"legacy_source": {
"type": "object",
"properties": {
"file_name": {
"type": "string",
"minLength": 1
},
"sha256": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"record_path": {
"type": "string",
"minLength": 1
}
},
"required": [
"file_name",
"sha256",
"record_path"
],
"additionalProperties": false
},
"collection_method": {
"type": "string",
"enum": [
"web",
"app",
"api"
]
},
"prompt_submitted": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"submitted_at_utc": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$"
},
{
"type": "null"
}
]
},
"captured_at_utc": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$"
},
{
"type": "null"
}
]
},
"environment": {
"$ref": "#/$defs/environment"
},
"answer_original": {
"type": "string",
"minLength": 1
},
"answer_language": {
"type": "string",
"minLength": 1
},
"answer_translated": {
"type": "string",
"minLength": 1
},
"translation_target_language": {
"type": "string",
"minLength": 1
},
"brand_results": {
"type": "array",
"items": {
"$ref": "#/$defs/brand_result"
},
"minItems": 0
},
"other_entities_mentioned": {
"type": "array",
"items": {
"$ref": "#/$defs/entity"
},
"minItems": 0
},
"citations": {
"$ref": "#/$defs/citations"
},
"evidence": {
"$ref": "#/$defs/evidence"
},
"quality_flags": {
"type": "array",
"items": {
"type": "string",
"enum": [
"prompt_modified",
"citation_list_not_confirmed_complete",
"citation_origin_unknown",
"model_unavailable",
"search_state_unknown",
"answer_truncated",
"translation_machine_only",
"annotation_unreviewed",
"possible_factual_error",
"demo_only",
"legacy_import",
"brand_evaluation_incomplete",
"screenshot_incomplete",
"account_state_unknown",
"geography_unavailable"
]
},
"minItems": 0,
"uniqueItems": true
},
"quality": {
"type": "object",
"properties": {
"answer_status": {
"type": "string",
"enum": [
"complete",
"partial",
"unknown"
]
},
"acceptance_status": {
"type": "string",
"enum": [
"accepted",
"excluded"
]
},
"exclusion_reasons": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
},
"required": [
"answer_status",
"acceptance_status",
"exclusion_reasons"
],
"additionalProperties": false
},
"unavailable_reasons": {
"$ref": "#/$defs/unavailable_reasons"
}
},
"required": [
"sample_id",
"plan_id",
"prompt_id",
"platform",
"sample_index",
"attempt_index",
"origin",
"collection_method",
"prompt_submitted",
"submitted_at_utc",
"captured_at_utc",
"environment",
"answer_original",
"answer_language",
"brand_results",
"other_entities_mentioned",
"citations",
"evidence",
"quality_flags",
"quality"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"origin": {
"enum": [
"legacy_import"
]
}
},
"required": [
"origin"
]
},
"then": {
"required": [
"legacy_source"
]
}
},
{
"if": {
"properties": {
"origin": {
"enum": [
"example"
]
}
},
"required": [
"origin"
]
},
"then": {
"properties": {
"quality_flags": {
"contains": {
"const": "demo_only"
}
}
}
}
},
{
"dependentRequired": {
"answer_translated": [
"translation_target_language"
],
"translation_target_language": [
"answer_translated"
]
}
},
{
"if": {
"properties": {
"quality": {
"properties": {
"acceptance_status": {
"const": "excluded"
}
}
}
}
},
"then": {
"properties": {
"quality": {
"properties": {
"exclusion_reasons": {
"minItems": 1
}
}
}
}
},
"else": {
"properties": {
"quality": {
"properties": {
"exclusion_reasons": {
"maxItems": 0
}
}
}
}
}
}
]
},
"attempt": {
"type": "object",
"properties": {
"attempt_id": {
"type": "string",
"minLength": 1
},
"attempt_index": {
"type": "integer",
"minimum": 1
},
"started_at_utc": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$"
},
{
"type": "null"
}
]
},
"ended_at_utc": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$"
},
{
"type": "null"
}
]
},
"status": {
"type": "string",
"enum": [
"succeeded",
"failed",
"excluded"
]
},
"reason_code": {
"type": "string",
"enum": [
"login_required",
"captcha",
"rate_limited",
"timeout",
"no_answer",
"content_blocked",
"platform_error",
"network_error",
"other"
]
},
"reason_detail": {
"type": "string",
"minLength": 1
},
"evidence_urls": {
"type": "array",
"items": {
"type": "string",
"format": "uri",
"pattern": "^https?://[^\\s]+$"
},
"minItems": 0,
"uniqueItems": true
}
},
"required": [
"attempt_id",
"attempt_index",
"started_at_utc",
"ended_at_utc",
"status",
"evidence_urls"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"status": {
"enum": [
"failed",
"excluded"
]
}
},
"required": [
"status"
]
},
"then": {
"required": [
"reason_code"
]
}
}
]
},
"failure": {
"type": "object",
"properties": {
"failure_id": {
"type": "string",
"minLength": 1
},
"plan_id": {
"type": "string",
"minLength": 1
},
"prompt_id": {
"type": "string",
"minLength": 1
},
"platform": {
"type": "string",
"minLength": 1
},
"sample_index": {
"type": "integer",
"minimum": 1
},
"attempts": {
"type": "integer",
"minimum": 0
},
"final_status": {
"type": "string",
"enum": [
"failed",
"excluded",
"recovered"
]
},
"reason_code": {
"type": "string",
"enum": [
"login_required",
"captcha",
"rate_limited",
"timeout",
"no_answer",
"content_blocked",
"platform_error",
"network_error",
"other"
]
},
"reason_detail": {
"type": "string",
"minLength": 1
},
"last_attempt_at_utc": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$"
},
{
"type": "null"
}
]
},
"recovered_sample_id": {
"type": "string",
"minLength": 1
},
"attempt_records": {
"type": "array",
"items": {
"$ref": "#/$defs/attempt"
},
"minItems": 0
},
"unavailable_reasons": {
"$ref": "#/$defs/unavailable_reasons"
}
},
"required": [
"failure_id",
"plan_id",
"prompt_id",
"platform",
"sample_index",
"attempts",
"final_status",
"reason_code",
"last_attempt_at_utc",
"attempt_records"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"final_status": {
"enum": [
"recovered"
]
}
},
"required": [
"final_status"
]
},
"then": {
"required": [
"recovered_sample_id"
]
}
},
{
"if": {
"properties": {
"final_status": {
"enum": [
"failed",
"excluded"
]
}
},
"required": [
"final_status"
]
},
"then": {
"not": {
"required": [
"recovered_sample_id"
]
}
}
}
]
}
}
}range.start详见上方设计说明与本字段机器规则。
{
"type": "integer",
"minimum": 0
}range.endinteger;evidence_quote 的字符范围
{
"type": "integer",
"minimum": 0
}{
"required": [
"start",
"end"
],
"additionalProperties": false
}answer_link.quote详见上方设计说明与本字段机器规则。
{
"type": "string",
"minLength": 1
}answer_link.start详见上方设计说明与本字段机器规则。
{
"type": "integer",
"minimum": 0
}answer_link.endinteger;evidence_quote 的字符范围
{
"type": "integer",
"minimum": 0
}{
"required": [
"quote",
"start",
"end"
],
"additionalProperties": false
}acceptance_profile.confirmation_stateenum;proposed 为待确认建议;confirmed 为已有明确确认
{
"type": "string",
"enum": [
"proposed",
"confirmed"
]
}acceptance_profile.approval_referencestring;confirmed 时必填,指向实际确认记录的可核查编号或描述;不得虚构
{
"type": "string",
"minLength": 1
}acceptance_profile.require_logged_inboolean;是否要求已登录采集
{
"type": "boolean"
}acceptance_profile.require_original_promptboolean;是否要求实际提交文本逐字等于原题
{
"type": "boolean"
}acceptance_profile.require_complete_answerboolean;是否要求回答原文完整
{
"type": "boolean"
}acceptance_profile.require_complete_citationsboolean;是否要求全部展示面的来源清单检查完整
{
"type": "boolean"
}acceptance_profile.require_complete_screenshotsboolean;是否要求截图覆盖完整回答及全部可见来源
{
"type": "boolean"
}acceptance_profile.require_verified_geographyboolean;是否要求实际采集环境的 IP 地理位置已核验
{
"type": "boolean"
}acceptance_profile.require_all_brand_evaluationsboolean;是否要求每个监测品牌都有明确 mentioned 或 not_mentioned 结论;uncertain 与 not_evaluated 不满足此项
{
"type": "boolean"
}{
"required": [
"confirmation_state",
"require_logged_in",
"require_original_prompt",
"require_complete_answer",
"require_complete_citations",
"require_complete_screenshots",
"require_verified_geography",
"require_all_brand_evaluations"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"confirmation_state": {
"enum": [
"confirmed"
]
}
},
"required": [
"confirmation_state"
]
},
"then": {
"required": [
"approval_reference"
]
}
}
]
}plan.plan_idstring;必填,逻辑采样计划 ID
{
"type": "string",
"minLength": 1
}plan.prompt_idstring;必填,原题引用
{
"type": "string",
"minLength": 1
}plan.platformstring;必填,约定的平台标识,不允许同一平台混用别名
{
"type": "string",
"minLength": 1
}plan.sample_indexinteger;必填,同一原题和平台下从 1 开始的独立采样序号
{
"type": "integer",
"minimum": 1
}plan.outcomeenum;accepted / failed / excluded,最终批次不得含未完成计划
{
"type": "string",
"enum": [
"accepted",
"failed",
"excluded"
]
}plan.final_sample_idstring;有最终留存回答时填写;accepted 时必填,无回答的 failed 计划省略
{
"type": "string",
"minLength": 1
}{
"required": [
"plan_id",
"prompt_id",
"platform",
"sample_index",
"outcome"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"outcome": {
"enum": [
"accepted"
]
}
},
"required": [
"outcome"
]
},
"then": {
"required": [
"final_sample_id"
]
}
},
{
"if": {
"properties": {
"outcome": {
"enum": [
"failed"
]
}
},
"required": [
"outcome"
]
},
"then": {
"not": {
"required": [
"final_sample_id"
]
}
}
}
]
}delivery.delivery_idstring;必填,批次标识
{
"type": "string",
"minLength": 1
}delivery.delivered_at_utcstring;必填,UTC 交付时间,带 Z
{
"type": "string",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$"
}delivery.planned_sample_countinteger;必填,等于 sample_plan 的计划条数
{
"type": "integer",
"minimum": 0
}delivery.delivered_sample_countinteger;必填,合格的最终样本数,等于 accepted 计划数
{
"type": "integer",
"minimum": 0
}delivery.recorded_sample_countinteger;必填,samples 数组实际条数,包含留存但排除的回答
{
"type": "integer",
"minimum": 0
}delivery.failed_final_countinteger;必填,最终 failed 或 excluded 的计划数;重试次数不计入
{
"type": "integer",
"minimum": 0
}delivery.repeats_per_promptinteger;可选,仅所有平台与提示词组合采用相同次数时填写
{
"type": "integer",
"minimum": 1
}delivery.aggregation_notestring;可选,仅解释交付或分组口径,不存放聚合结果
{
"type": "string",
"minLength": 1
}{
"required": [
"delivery_id",
"delivered_at_utc",
"planned_sample_count",
"delivered_sample_count",
"recorded_sample_count",
"failed_final_count"
],
"additionalProperties": false
}collection_run.collector_versionstring;必填,采集程序或流程版本
{
"type": "string",
"minLength": 1
}collection_run.annotation详见上方设计说明与本字段机器规则。
{
"type": "object",
"properties": {
"method": {
"type": "string",
"enum": [
"rule",
"llm",
"human",
"hybrid"
]
},
"version": {
"type": "string",
"minLength": 1
},
"reviewed_by": {
"type": "string",
"enum": [
"none",
"sampled",
"full"
]
}
},
"required": [
"method",
"version",
"reviewed_by"
],
"additionalProperties": false
}collection_run.annotation.method详见上方设计说明与本字段机器规则。
{
"type": "string",
"enum": [
"rule",
"llm",
"human",
"hybrid"
]
}collection_run.annotation.version详见上方设计说明与本字段机器规则。
{
"type": "string",
"minLength": 1
}collection_run.annotation.reviewed_by详见上方设计说明与本字段机器规则。
{
"type": "string",
"enum": [
"none",
"sampled",
"full"
]
}collection_run.translation详见上方设计说明与本字段机器规则。
{
"type": "object",
"properties": {
"method": {
"type": "string",
"enum": [
"none",
"machine",
"human"
]
},
"source_language": {
"type": "string",
"minLength": 1
}
},
"required": [
"method"
],
"additionalProperties": false
}collection_run.translation.method详见上方设计说明与本字段机器规则。
{
"type": "string",
"enum": [
"none",
"machine",
"human"
]
}collection_run.translation.source_language详见上方设计说明与本字段机器规则。
{
"type": "string",
"minLength": 1
}collection_run.sample_planarray;必填,最终的逐项采样计划
{
"type": "array",
"items": {
"$ref": "#/$defs/plan"
},
"minItems": 1
}collection_run.acceptance_profileobject;必填,见下文;不能把建议规则写成已获客户确认
{
"$ref": "#/$defs/acceptance_profile"
}collection_run.evidence_policyobject;必填,约定 URL 可用期限与更新方式
{
"type": "object",
"properties": {
"availability_until_utc": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$"
},
{
"type": "null"
}
]
},
"refresh_method": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}
},
"required": [
"availability_until_utc",
"refresh_method"
],
"additionalProperties": false
}collection_run.evidence_policy.availability_until_utcstring 或 null;承诺证据仍可获取的截止时间;待确认草稿可以为 null 并说明原因
{
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$"
},
{
"type": "null"
}
]
}collection_run.evidence_policy.refresh_methodstring 或 null;签名链接失效或临近到期时如何取得更新 URL;不得填写尚未具备的续签服务承诺
{
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}collection_run.unavailable_reasonsobject;配置中存在 null 时使用,相对 collection_run 的 JSON Pointer → 原因
{
"$ref": "#/$defs/unavailable_reasons"
}{
"required": [
"collector_version",
"annotation",
"sample_plan",
"acceptance_profile",
"evidence_policy"
],
"additionalProperties": false
}brand.brand_idstring;必填,品牌 ID
{
"type": "string",
"minLength": 1
}brand.namestring;必填,标准名称
{
"type": "string",
"minLength": 1
}brand.aliasesstring array;必填,匹配候选别名,可为空;不是本条回答实际命中的名称清单
{
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}brand.excluded_aliasesstring array;可选,明确不应匹配的同名或近似称呼
{
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}brand.brand_typeenum;必填,client / competitor / industry_reference
{
"type": "string",
"enum": [
"client",
"competitor",
"industry_reference"
]
}brand.location_textstring;可选,已知地点,未知时省略,不推断
{
"type": "string",
"minLength": 1
}brand.official_domainsstring array;可选,已核定官方域名;平台账号页不能仅凭宿主域名判为品牌官网
{
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}{
"required": [
"brand_id",
"name",
"aliases",
"brand_type"
],
"additionalProperties": false
}prompt.prompt_idstring;必填,原题引用
{
"type": "string",
"minLength": 1
}prompt.originalstring;必填,客户原题逐字保存
{
"type": "string",
"minLength": 1
}prompt.languagestring;必填,BCP 47,如 zh-CN
{
"type": "string",
"minLength": 1
}prompt.intentenum;brand_intro / comparison / recommendation / reputation / how_to / other
{
"type": "string",
"enum": [
"brand_intro",
"comparison",
"recommendation",
"reputation",
"how_to",
"other"
]
}prompt.topic_tagsstring array;可选,业务分类标签
{
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}prompt.monitored_brand_idsstring array;必填,本题需要检查的品牌 ID,无重复
{
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1,
"uniqueItems": true
}prompt.brands_in_promptstring array;必填,监测品牌中在原题被点名的品牌 ID,是 monitored_brand_ids 的子集
{
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}{
"required": [
"prompt_id",
"original",
"language",
"intent",
"monitored_brand_ids",
"brands_in_prompt"
],
"additionalProperties": false
}geography.country详见上方设计说明与本字段机器规则。
{
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}geography.city详见上方设计说明与本字段机器规则。
{
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}geography.source详见上方设计说明与本字段机器规则。
{
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}geography.observed_at_utc详见上方设计说明与本字段机器规则。
{
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$"
},
{
"type": "null"
}
]
}{
"required": [
"country",
"source",
"observed_at_utc"
],
"additionalProperties": false
}environment.account_stateenum;logged_in / logged_out / unknown
{
"type": "string",
"enum": [
"logged_in",
"logged_out",
"unknown"
]
}environment.model_uistring 或 null;界面显示的模型名,不按默认模型补写
{
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}environment.search_enabledenum;on / off / auto / unknown;是界面搜索状态,不表示这轮一定发生了检索
{
"type": "string",
"enum": [
"on",
"off",
"auto",
"unknown"
]
}environment.search_uistring 或 null;可选,搜索相关控件原文
{
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}environment.conversation_stateenum;new_chat / continued / unknown;历史不明使用 unknown
{
"type": "string",
"enum": [
"new_chat",
"continued",
"unknown"
]
}environment.memory_personalizationenum;off / on / unknown
{
"type": "string",
"enum": [
"off",
"on",
"unknown"
]
}environment.ui_languagestring 或 null;界面语言,历史不明时 null 加原因
{
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}environment.network_geography详见上方设计说明与本字段机器规则。
{
"$ref": "#/$defs/geography"
}{
"required": [
"account_state",
"model_ui",
"search_enabled",
"conversation_state",
"memory_personalization",
"ui_language",
"network_geography"
],
"additionalProperties": false
}mention.name_in_answer详见上方设计说明与本字段机器规则。
{
"type": "string",
"minLength": 1
}mention.evidence_quote详见上方设计说明与本字段机器规则。
{
"type": "string",
"minLength": 1
}mention.start详见上方设计说明与本字段机器规则。
{
"type": "integer",
"minimum": 0
}mention.endinteger;evidence_quote 的字符范围
{
"type": "integer",
"minimum": 0
}mention.name_start详见上方设计说明与本字段机器规则。
{
"type": "integer",
"minimum": 0
}mention.name_endinteger;name_in_answer 的准确字符范围,应包含于证据片段范围内
{
"type": "integer",
"minimum": 0
}mention.position_kindordered_list / unordered_list / inline / comparison
{
"type": "string",
"enum": [
"ordered_list",
"unordered_list",
"inline",
"comparison"
]
}mention.list_position详见上方设计说明与本字段机器规则。
{
"type": "integer",
"minimum": 1
}mention.sentiment详见上方设计说明与本字段机器规则。
{
"type": "string",
"enum": [
"positive",
"neutral",
"negative",
"mixed"
]
}mention.citation_ids详见上方设计说明与本字段机器规则。
{
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}mention.factual_issue详见上方设计说明与本字段机器规则。
{
"type": "string",
"enum": [
"none",
"suspected",
"confirmed"
]
}{
"required": [
"name_in_answer",
"evidence_quote",
"start",
"end",
"name_start",
"name_end",
"citation_ids"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"position_kind": {
"enum": [
"ordered_list"
]
}
},
"required": [
"position_kind"
]
},
"then": {
"required": [
"list_position"
]
}
},
{
"if": {
"required": [
"list_position"
]
},
"then": {
"required": [
"position_kind"
],
"properties": {
"position_kind": {
"const": "ordered_list"
}
}
}
}
]
}brand_result.brand_idstring;必填,品牌 ID
{
"type": "string",
"minLength": 1
}brand_result.mention_statusenum;mentioned / not_mentioned / uncertain / not_evaluated
{
"type": "string",
"enum": [
"mentioned",
"not_mentioned",
"uncertain",
"not_evaluated"
]
}brand_result.reasonstring;uncertain 或 not_evaluated 时必填
{
"type": "string",
"minLength": 1
}brand_result.mentionsarray;必填,逐处命中证据;not_mentioned 与 not_evaluated 时为空
{
"type": "array",
"items": {
"$ref": "#/$defs/mention"
},
"minItems": 0
}{
"required": [
"brand_id",
"mention_status",
"mentions"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"mention_status": {
"enum": [
"uncertain",
"not_evaluated"
]
}
},
"required": [
"mention_status"
]
},
"then": {
"required": [
"reason"
]
}
},
{
"if": {
"properties": {
"mention_status": {
"enum": [
"mentioned",
"uncertain"
]
}
},
"required": [
"mention_status"
]
},
"then": {
"properties": {
"mentions": {
"minItems": 1
}
}
}
},
{
"if": {
"properties": {
"mention_status": {
"enum": [
"not_mentioned",
"not_evaluated"
]
}
},
"required": [
"mention_status"
]
},
"then": {
"properties": {
"mentions": {
"maxItems": 0
}
}
}
}
]
}entity.namestring;必填,标准名称
{
"type": "string",
"minLength": 1
}entity.evidence_quote详见上方设计说明与本字段机器规则。
{
"type": "string",
"minLength": 1
}entity.start详见上方设计说明与本字段机器规则。
{
"type": "integer",
"minimum": 0
}entity.endinteger;evidence_quote 的字符范围
{
"type": "integer",
"minimum": 0
}{
"required": [
"name",
"evidence_quote",
"start",
"end"
],
"additionalProperties": false
}surface.surfaceenum;source_panel / inline / search_result / footnote
{
"type": "string",
"enum": [
"source_panel",
"inline",
"search_result",
"footnote"
]
}surface.statusenum;complete / partial / none_shown / not_checked
{
"type": "string",
"enum": [
"complete",
"partial",
"none_shown",
"not_checked",
"unavailable"
]
}surface.captured_countinteger;该展示面已记录的 occurrence 数,不是去重文章数
{
"type": "integer",
"minimum": 0
}surface.displayed_totalinteger 或 null;可选,平台明确显示的总条数;未显示时 null 加原因,不靠猜测
{
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
}surface.scope_notestring;partial 时必填,说明具体缺什么;其他状态可补充
{
"type": "string",
"minLength": 1
}{
"required": [
"surface",
"status",
"captured_count"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"status": {
"enum": [
"partial",
"not_checked",
"unavailable"
]
}
},
"required": [
"status"
]
},
"then": {
"required": [
"scope_note"
]
}
},
{
"if": {
"properties": {
"status": {
"enum": [
"none_shown",
"not_checked",
"unavailable"
]
}
},
"required": [
"status"
]
},
"then": {
"properties": {
"captured_count": {
"const": 0
}
}
}
}
]
}occurrence.occurrence_idstring;必填,在当前 sample 内唯一
{
"type": "string",
"minLength": 1
}occurrence.surfaceenum;source_panel / inline / search_result / footnote
{
"type": "string",
"enum": [
"source_panel",
"inline",
"search_result",
"footnote",
"unknown"
]
}occurrence.display_orderinteger 或 null;列表展示面条件必填,同一展示面从 1 起;无法恢复时 null 加原因
{
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
]
}occurrence.citation_markerstring 或 null;可选,正文标记原文,如 [3] 或 †;不可用面板序号代填
{
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}occurrence.answer_linksarray;必填,每项 quote、start、end;没有可确认正文关联时为空
{
"type": "array",
"items": {
"$ref": "#/$defs/answer_link"
},
"minItems": 0
}{
"required": [
"occurrence_id",
"surface",
"answer_links"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"surface": {
"enum": [
"source_panel",
"search_result",
"footnote"
]
}
},
"required": [
"surface"
]
},
"then": {
"required": [
"display_order"
]
}
}
]
}citation.citation_idstring;必填,样本内来源 ID
{
"type": "string",
"minLength": 1
}citation.titlestring 或 null;可选,平台可见标题,未取得时不根据网页猜写
{
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}citation.urlstring 或 null;必填,平台原始链接;可见来源无可提取链接时 null 加原因,并如实标缺口
{
"anyOf": [
{
"type": "string",
"format": "uri",
"pattern": "^https?://[^\\s]+$"
},
{
"type": "null"
}
]
}citation.final_urlstring 或 null;可选,实际访问后确认的最终地址,未访问不补写
{
"anyOf": [
{
"type": "string",
"format": "uri",
"pattern": "^https?://[^\\s]+$"
},
{
"type": "null"
}
]
}citation.domainstring 或 null;可选,按明确规则解析的注册域名;跳转包装页与最终发布站点要区分
{
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}citation.excerptstring 或 null;可选,平台显示摘要,不填自行生成摘要
{
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}citation.source_typeenum;来源类别,见枚举表,无法确定用 unknown
{
"type": "string",
"enum": [
"official_brand",
"government",
"media",
"health_platform",
"ugc",
"academic",
"encyclopedia",
"other",
"unknown"
]
}citation.owner_brand_idstring;可选,已确认归属的监测品牌,未知时省略
{
"type": "string",
"minLength": 1
}citation.fetch_statusenum;ok / failed / not_attempted,表示来源网页本身是否抓取成功
{
"type": "string",
"enum": [
"ok",
"failed",
"not_attempted"
]
}citation.occurrencesarray;必填,至少一项,保存所有已采集到的出现记录
{
"type": "array",
"items": {
"$ref": "#/$defs/occurrence"
},
"minItems": 1
}{
"required": [
"citation_id",
"url",
"source_type",
"fetch_status",
"occurrences"
],
"additionalProperties": false
}citations.statusenum;complete / partial / none_shown / not_checked
{
"type": "string",
"enum": [
"complete",
"partial",
"none_shown",
"not_checked"
]
}citations.checked_surfacesenum array;实际完成过检查的展示面,不含 not_checked 或 unavailable 的展示面
{
"type": "array",
"items": {
"type": "string",
"enum": [
"source_panel",
"inline",
"search_result",
"footnote"
]
},
"minItems": 0,
"uniqueItems": true
}citations.scope_notestring;partial 时必填,说明具体缺什么;其他状态可补充
{
"type": "string",
"minLength": 1
}citations.surfacesarray;必填,四类展示面各一条,即使该平台没有显示也要说明
{
"type": "array",
"items": {
"$ref": "#/$defs/surface"
},
"minItems": 4
}citations.itemsarray;必填,来源实体清单,不能只留域名
{
"type": "array",
"items": {
"$ref": "#/$defs/citation"
},
"minItems": 0
}{
"required": [
"status",
"checked_surfaces",
"surfaces",
"items"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"status": {
"enum": [
"partial"
]
}
},
"required": [
"status"
]
},
"then": {
"required": [
"scope_note"
]
}
},
{
"if": {
"properties": {
"status": {
"enum": [
"none_shown",
"not_checked"
]
}
},
"required": [
"status"
]
},
"then": {
"properties": {
"items": {
"maxItems": 0
}
}
}
}
]
}screenshot.sequenceinteger;必填,样本内阅读顺序,从 1 连续递增
{
"type": "integer",
"minimum": 1
}screenshot.kindenum;answer / citations / search_result / settings / other
{
"type": "string",
"enum": [
"answer",
"citations",
"search_result",
"settings",
"other"
]
}screenshot.urlstring 或 null;必填,平台原始链接;可见来源无可提取链接时 null 加原因,并如实标缺口
{
"type": "string",
"format": "uri",
"pattern": "^https?://[^\\s]+$"
}screenshot.access_modeenum;public / signed_url;不使用 delivered_in_package
{
"type": "string",
"enum": [
"public",
"signed_url"
]
}screenshot.expires_at_utcstring;signed_url 时必填,真实签名有效期
{
"type": "string",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$"
}screenshot.sha256string 或 null;文件 SHA-256,正式生产须有真实值;历史缺失与示例不得填假 hash
{
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}screenshot.widthinteger 或 null;图片像素尺寸,真实未知时 null 加原因
{
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
]
}screenshot.heightinteger 或 null;图片像素尺寸,真实未知时 null 加原因
{
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
]
}screenshot.captured_at_utcstring 或 null;最终回答的截取时间;历史未记录时 null 加原因
{
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$"
},
{
"type": "null"
}
]
}screenshot.access_checked_at_utcstring 或 null;最近一次按交付访问方式核验 URL 的时间
{
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$"
},
{
"type": "null"
}
]
}screenshot.answer_rangesarray;每项 start、end,声明该图覆盖的原文范围,无正文覆盖时为空
{
"type": "array",
"items": {
"$ref": "#/$defs/range"
},
"minItems": 0
}screenshot.citation_occurrence_idsstring array;该图覆盖的来源出现记录,可为空
{
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}{
"required": [
"sequence",
"kind",
"url",
"access_mode",
"sha256",
"width",
"height",
"captured_at_utc",
"access_checked_at_utc",
"answer_ranges",
"citation_occurrence_ids"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"access_mode": {
"enum": [
"signed_url"
]
}
},
"required": [
"access_mode"
]
},
"then": {
"required": [
"expires_at_utc"
]
}
},
{
"if": {
"properties": {
"access_mode": {
"enum": [
"public"
]
}
},
"required": [
"access_mode"
]
},
"then": {
"not": {
"required": [
"expires_at_utc"
]
}
}
}
]
}raw_capture.kindenum;answer / citations / search_result / settings / other
{
"type": "string",
"enum": [
"dom_snapshot",
"network_response",
"html"
]
}raw_capture.urlstring 或 null;必填,平台原始链接;可见来源无可提取链接时 null 加原因,并如实标缺口
{
"type": "string",
"format": "uri",
"pattern": "^https?://[^\\s]+$"
}raw_capture.sha256string 或 null;文件 SHA-256,正式生产须有真实值;历史缺失与示例不得填假 hash
{
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}raw_capture.contains_pii详见上方设计说明与本字段机器规则。
{
"const": false
}raw_capture.access_modeenum;public / signed_url;不使用 delivered_in_package
{
"type": "string",
"enum": [
"public",
"signed_url"
]
}raw_capture.expires_at_utcstring;signed_url 时必填,真实签名有效期
{
"type": "string",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$"
}{
"required": [
"kind",
"url",
"sha256",
"contains_pii",
"access_mode"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"access_mode": {
"enum": [
"signed_url"
]
}
},
"required": [
"access_mode"
]
},
"then": {
"required": [
"expires_at_utc"
]
}
},
{
"if": {
"properties": {
"access_mode": {
"enum": [
"public"
]
}
},
"required": [
"access_mode"
]
},
"then": {
"not": {
"required": [
"expires_at_utc"
]
}
}
}
]
}evidence.screenshots详见上方设计说明与本字段机器规则。
{
"type": "array",
"items": {
"$ref": "#/$defs/screenshot"
},
"minItems": 0
}evidence.answer_coveragecomplete / partial / not_checked;截图是否完整覆盖同轮回答
{
"type": "string",
"enum": [
"complete",
"partial",
"not_checked"
]
}evidence.citations_coveragecomplete / partial / none_shown / not_checked;是否覆盖同轮全部已展示来源
{
"type": "string",
"enum": [
"complete",
"partial",
"none_shown",
"not_checked"
]
}evidence.redaction_statusverified / not_checked;是否实际复核截图和抓取内容的隐私脱敏
{
"type": "string",
"enum": [
"verified",
"not_checked"
]
}evidence.access_statusaccessible / inaccessible / not_checked;是否实际核验交付方可按约定方式取得链接
{
"type": "string",
"enum": [
"accessible",
"inaccessible",
"not_checked"
]
}evidence.raw_capture详见上方设计说明与本字段机器规则。
{
"$ref": "#/$defs/raw_capture"
}{
"required": [
"screenshots",
"answer_coverage",
"citations_coverage",
"redaction_status",
"access_status"
],
"additionalProperties": false
}sample.sample_idstring;必填,样本 ID
{
"type": "string",
"minLength": 1
}sample.plan_idstring;必填,逻辑采样计划 ID
{
"type": "string",
"minLength": 1
}sample.prompt_idstring;必填,原题引用
{
"type": "string",
"minLength": 1
}sample.platformstring;必填,约定的平台标识,不允许同一平台混用别名
{
"type": "string",
"minLength": 1
}sample.sample_indexinteger;必填,同一原题和平台下从 1 开始的独立采样序号
{
"type": "integer",
"minimum": 1
}sample.attempt_indexinteger;必填,产出此回答的尝试序号,首次为 1
{
"type": "integer",
"minimum": 1
}sample.originenum;native_capture / legacy_import / example
{
"type": "string",
"enum": [
"native_capture",
"legacy_import",
"example"
]
}sample.legacy_sourceobject;历史迁移使用,包含 file_name、sha256、record_path,指回原始记录
{
"type": "object",
"properties": {
"file_name": {
"type": "string",
"minLength": 1
},
"sha256": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"record_path": {
"type": "string",
"minLength": 1
}
},
"required": [
"file_name",
"sha256",
"record_path"
],
"additionalProperties": false
}sample.legacy_source.file_name详见上方设计说明与本字段机器规则。
{
"type": "string",
"minLength": 1
}sample.legacy_source.sha256string 或 null;文件 SHA-256,正式生产须有真实值;历史缺失与示例不得填假 hash
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
}sample.legacy_source.record_path详见上方设计说明与本字段机器规则。
{
"type": "string",
"minLength": 1
}sample.collection_methodenum;web / app / api;本项目按实际渠道填写,不以 API 结果冒充 Web
{
"type": "string",
"enum": [
"web",
"app",
"api"
]
}sample.prompt_submittedstring 或 null;必填,实际提交文本;历史未记录时 null 加原因,不能用规范化题面冒充实际提交文本;已知且与原题不同时加 prompt_modified
{
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}sample.submitted_at_utcstring 或 null;提交时间;历史未记录时 null 加原因
{
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$"
},
{
"type": "null"
}
]
}sample.captured_at_utcstring 或 null;最终回答的截取时间;历史未记录时 null 加原因
{
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$"
},
{
"type": "null"
}
]
}sample.environment详见上方设计说明与本字段机器规则。
{
"$ref": "#/$defs/environment"
}sample.answer_originalstring;必填,非空,保留完整可见回答及引用标记;没有回答时不构造空 sample
{
"type": "string",
"minLength": 1
}sample.answer_languagestring;必填,原文语言
{
"type": "string",
"minLength": 1
}sample.answer_translatedstring;可选,只供阅读,不替代原文
{
"type": "string",
"minLength": 1
}sample.translation_target_languagestring;有翻译时必填,译文语言
{
"type": "string",
"minLength": 1
}sample.brand_results详见上方设计说明与本字段机器规则。
{
"type": "array",
"items": {
"$ref": "#/$defs/brand_result"
},
"minItems": 0
}sample.other_entities_mentioned详见上方设计说明与本字段机器规则。
{
"type": "array",
"items": {
"$ref": "#/$defs/entity"
},
"minItems": 0
}sample.citations详见上方设计说明与本字段机器规则。
{
"$ref": "#/$defs/citations"
}sample.evidence详见上方设计说明与本字段机器规则。
{
"$ref": "#/$defs/evidence"
}sample.quality_flags详见上方设计说明与本字段机器规则。
{
"type": "array",
"items": {
"type": "string",
"enum": [
"prompt_modified",
"citation_list_not_confirmed_complete",
"citation_origin_unknown",
"model_unavailable",
"search_state_unknown",
"answer_truncated",
"translation_machine_only",
"annotation_unreviewed",
"possible_factual_error",
"demo_only",
"legacy_import",
"brand_evaluation_incomplete",
"screenshot_incomplete",
"account_state_unknown",
"geography_unavailable"
]
},
"minItems": 0,
"uniqueItems": true
}sample.quality详见上方设计说明与本字段机器规则。
{
"type": "object",
"properties": {
"answer_status": {
"type": "string",
"enum": [
"complete",
"partial",
"unknown"
]
},
"acceptance_status": {
"type": "string",
"enum": [
"accepted",
"excluded"
]
},
"exclusion_reasons": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
},
"required": [
"answer_status",
"acceptance_status",
"exclusion_reasons"
],
"additionalProperties": false
}sample.quality.answer_statuscomplete / partial / unknown,说明回答完整性
{
"type": "string",
"enum": [
"complete",
"partial",
"unknown"
]
}sample.quality.acceptance_statusaccepted / excluded,按当前验收配置判定,不是客户签收证明
{
"type": "string",
"enum": [
"accepted",
"excluded"
]
}sample.quality.exclusion_reasons排除原因数组;accepted 时为空,excluded 时必须说明
{
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}sample.unavailable_reasonsobject;配置中存在 null 时使用,相对 collection_run 的 JSON Pointer → 原因
{
"$ref": "#/$defs/unavailable_reasons"
}{
"required": [
"sample_id",
"plan_id",
"prompt_id",
"platform",
"sample_index",
"attempt_index",
"origin",
"collection_method",
"prompt_submitted",
"submitted_at_utc",
"captured_at_utc",
"environment",
"answer_original",
"answer_language",
"brand_results",
"other_entities_mentioned",
"citations",
"evidence",
"quality_flags",
"quality"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"origin": {
"enum": [
"legacy_import"
]
}
},
"required": [
"origin"
]
},
"then": {
"required": [
"legacy_source"
]
}
},
{
"if": {
"properties": {
"origin": {
"enum": [
"example"
]
}
},
"required": [
"origin"
]
},
"then": {
"properties": {
"quality_flags": {
"contains": {
"const": "demo_only"
}
}
}
}
},
{
"dependentRequired": {
"answer_translated": [
"translation_target_language"
],
"translation_target_language": [
"answer_translated"
]
}
},
{
"if": {
"properties": {
"quality": {
"properties": {
"acceptance_status": {
"const": "excluded"
}
}
}
}
},
"then": {
"properties": {
"quality": {
"properties": {
"exclusion_reasons": {
"minItems": 1
}
}
}
}
},
"else": {
"properties": {
"quality": {
"properties": {
"exclusion_reasons": {
"maxItems": 0
}
}
}
}
}
}
]
}attempt.attempt_id详见上方设计说明与本字段机器规则。
{
"type": "string",
"minLength": 1
}attempt.attempt_indexinteger;必填,产出此回答的尝试序号,首次为 1
{
"type": "integer",
"minimum": 1
}attempt.started_at_utc详见上方设计说明与本字段机器规则。
{
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$"
},
{
"type": "null"
}
]
}attempt.ended_at_utc详见上方设计说明与本字段机器规则。
{
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$"
},
{
"type": "null"
}
]
}attempt.statusenum;complete / partial / none_shown / not_checked
{
"type": "string",
"enum": [
"succeeded",
"failed",
"excluded"
]
}attempt.reason_codeenum;异常原因,见枚举表;recovered 时仍保留导致重试的原因
{
"type": "string",
"enum": [
"login_required",
"captcha",
"rate_limited",
"timeout",
"no_answer",
"content_blocked",
"platform_error",
"network_error",
"other"
]
}attempt.reason_detailstring;可选,平台提示或异常摘要,不包含凭据
{
"type": "string",
"minLength": 1
}attempt.evidence_urls详见上方设计说明与本字段机器规则。
{
"type": "array",
"items": {
"type": "string",
"format": "uri",
"pattern": "^https?://[^\\s]+$"
},
"minItems": 0,
"uniqueItems": true
}{
"required": [
"attempt_id",
"attempt_index",
"started_at_utc",
"ended_at_utc",
"status",
"evidence_urls"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"status": {
"enum": [
"failed",
"excluded"
]
}
},
"required": [
"status"
]
},
"then": {
"required": [
"reason_code"
]
}
}
]
}failure.failure_idstring;必填,异常汇总 ID
{
"type": "string",
"minLength": 1
}failure.plan_idstring;必填,逻辑采样计划 ID
{
"type": "string",
"minLength": 1
}failure.prompt_idstring;必填,原题引用
{
"type": "string",
"minLength": 1
}failure.platformstring;必填,约定的平台标识,不允许同一平台混用别名
{
"type": "string",
"minLength": 1
}failure.sample_indexinteger;必填,同一原题和平台下从 1 开始的独立采样序号
{
"type": "integer",
"minimum": 1
}failure.attemptsinteger;必填,实际尝试总次数,非独立样本数
{
"type": "integer",
"minimum": 0
}failure.final_statusenum;failed / excluded / recovered
{
"type": "string",
"enum": [
"failed",
"excluded",
"recovered"
]
}failure.reason_codeenum;异常原因,见枚举表;recovered 时仍保留导致重试的原因
{
"type": "string",
"enum": [
"login_required",
"captcha",
"rate_limited",
"timeout",
"no_answer",
"content_blocked",
"platform_error",
"network_error",
"other"
]
}failure.reason_detailstring;可选,平台提示或异常摘要,不包含凭据
{
"type": "string",
"minLength": 1
}failure.last_attempt_at_utcstring 或 null;最后尝试结束时间;历史缺失时 null 加原因
{
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$"
},
{
"type": "null"
}
]
}failure.recovered_sample_idstring;recovered 时必填,指向同一计划的最终 accepted 样本
{
"type": "string",
"minLength": 1
}failure.attempt_recordsarray;逐次尝试,按 attempt_index 排列
{
"type": "array",
"items": {
"$ref": "#/$defs/attempt"
},
"minItems": 0
}failure.unavailable_reasonsobject;配置中存在 null 时使用,相对 collection_run 的 JSON Pointer → 原因
{
"$ref": "#/$defs/unavailable_reasons"
}{
"required": [
"failure_id",
"plan_id",
"prompt_id",
"platform",
"sample_index",
"attempts",
"final_status",
"reason_code",
"last_attempt_at_utc",
"attempt_records"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"final_status": {
"enum": [
"recovered"
]
}
},
"required": [
"final_status"
]
},
"then": {
"required": [
"recovered_sample_id"
]
}
},
{
"if": {
"properties": {
"final_status": {
"enum": [
"failed",
"excluded"
]
}
},
"required": [
"final_status"
]
},
"then": {
"not": {
"required": [
"recovered_sample_id"
]
}
}
}
]
}