extract_commitments.json¶
Source: schemas/extract_commitments.json
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "extract_commitments",
"description": "Slice 16 structured output for the extract_commitments task_type. A commitment is a speech-act promising a future action; Donna only surfaces explicit statements (no inference).",
"type": "object",
"properties": {
"summary": {
"type": "string",
"description": "1-2 sentence overview of the day's commitment texture."
},
"commitments": {
"type": "array",
"description": "Explicit commitments extracted from today's chat and task signals. May be empty.",
"items": {
"type": "object",
"properties": {
"statement": {"type": "string"},
"owner": {"type": "string"},
"due_hint": {"type": ["string", "null"]},
"source_ref": {"type": "string"},
"confidence": {"type": "string", "enum": ["high", "medium", "low"]}
},
"required": ["statement", "owner", "due_hint", "source_ref", "confidence"],
"additionalProperties": false
}
}
},
"required": ["summary", "commitments"],
"additionalProperties": false
}