23 lines
1.5 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"$comment": "发现合同(专题-09 §4.2,含 U0 修正 #2 arbitration_note 与 #3 context_window 规格)。spans 为多点结构:密度/语义层的分布式命中逐点登记。",
"type": "object",
"required": ["id", "text_hash", "rule_id", "rule_version", "spans", "context_window", "layer", "evidence", "possible_function", "confidence", "decision_proposal"],
"properties": {
"id": {"type": "string", "minLength": 1},
"text_hash": {"type": "string", "minLength": 7},
"rule_id": {"type": "string"},
"rule_version": {"type": "integer"},
"spans": {"type": "array", "minItems": 1, "items": {"type": "string", "minLength": 1}},
"context_window": {"type": "string", "$comment": "span 前后各 12 字符,换行转空格(config context_window_chars)"},
"layer": {"type": "string", "enum": ["mechanical", "lexical", "structural", "density", "semantic"]},
"evidence": {"type": "string", "minLength": 2},
"possible_function": {"type": "string", "$comment": "none / unknown / 具名功能 / pending_arbitration"},
"confidence": {"type": "string", "enum": ["high", "medium", "low", "candidate"]},
"decision_proposal": {"type": "string", "enum": ["repair", "keep", "ask", "pending"]},
"arbitration_note": {"type": "string"},
"carrier": {"type": "string", "enum": ["narration", "dialogue", "monologue", "in_text_carrier", "mixed", "unknown"]},
"default_disposition": {"type": "string", "enum": ["blocking", "candidate", "advisory"]},
"carve_out_candidates": {"type": "array", "items": {"type": "string"}}
}
}