16 lines
846 B
JSON
16 lines
846 B
JSON
{
|
|
"$comment": "生成前人感约束合同。结构化规则证据与 writer 投影分开,禁止把案例卡当正文素材。",
|
|
"type": "object",
|
|
"required": ["schema_version", "work_ref", "built_from", "negative_constraints", "positive_samples", "protected_spans", "blacklist", "writer_constraints"],
|
|
"properties": {
|
|
"schema_version": {"type": "string", "enum": ["ai-flavor-prevention-v1", "ai-flavor-prevention-v2"]},
|
|
"work_ref": {"type": "string", "minLength": 1},
|
|
"built_from": {"type": "object"},
|
|
"negative_constraints": {"type": "array"},
|
|
"positive_samples": {"type": "array"},
|
|
"protected_spans": {"type": "array", "items": {"type": "string"}},
|
|
"blacklist": {"type": "array", "items": {"type": "string"}},
|
|
"writer_constraints": {"type": "array", "items": {"type": "string", "minLength": 1}}
|
|
}
|
|
}
|