35 lines
1.7 KiB
JSON
35 lines
1.7 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "reasoning-patch.schema.json",
|
|
"title": "Future Map Reasoning Patch",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["record_id", "analysis", "implications", "claims", "classification", "related_documents", "related_signals", "confidence", "novelty", "corpus_documents_consulted", "generated_by"],
|
|
"properties": {
|
|
"record_id": {"type": "string", "pattern": "^fm-signal-[a-z0-9-]+$"},
|
|
"analysis": {"type": "string", "minLength": 20},
|
|
"implications": {"type": "array", "items": {"type": "string", "minLength": 10}, "maxItems": 12},
|
|
"claims": {"type": "array"},
|
|
"classification": {"type": "object"},
|
|
"related_documents": {"type": "array"},
|
|
"related_signals": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["signal_id", "relationship", "relevance", "review_status"],
|
|
"properties": {
|
|
"signal_id": {"type": "string", "pattern": "^fm-signal-[a-z0-9-]+$"},
|
|
"relationship": {"enum": ["supports", "challenges", "updates", "illustrates", "early-warning", "contradicts", "supersedes"]},
|
|
"relevance": {"type": "number", "minimum": 0, "maximum": 1},
|
|
"review_status": {"enum": ["machine-proposed", "human-approved", "rejected"]}
|
|
}
|
|
}
|
|
},
|
|
"confidence": {"enum": ["low", "medium", "high"]},
|
|
"novelty": {"enum": ["new", "reinforcing", "duplicate", "counter-signal", "uncertain"]},
|
|
"corpus_documents_consulted": {"type": "array", "items": {"type": "string"}, "minItems": 1, "uniqueItems": true},
|
|
"generated_by": {"type": "string", "minLength": 1}
|
|
}
|
|
}
|