18 lines
1.0 KiB
JSON

{
"$comment": "样例合同(专题-09 §8.2 四类样例)。每条必须带标注理由:为什么该修/为什么不能改/边界在哪/改了会出什么事。可选 case_card_id 把 Canonical 样例追溯到案例卡。",
"type": "object",
"required": ["id", "type", "carrier", "source", "text", "note"],
"properties": {
"id": {"type": "string", "minLength": 2},
"type": {"type": "string", "enum": ["sf", "snf", "boundary", "regression"]},
"rules": {"type": "array", "items": {"type": "string"}},
"carrier": {"type": "string", "enum": ["narration", "dialogue", "monologue", "in_text_carrier", "mixed"]},
"source": {"type": "string", "enum": ["hand_written", "synthetic", "public_domain", "licensed"]},
"text": {"type": "string", "minLength": 4},
"note": {"type": "string", "minLength": 4},
"case_card_id": {"type": "string", "minLength": 2},
"source_ref": {"type": "string", "minLength": 1},
"source_license": {"type": "string", "enum": ["owned", "licensed", "public_domain", "synthetic"]}
}
}