Skip to content

digest_output.json

Source: schemas/digest_output.json

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "DigestOutput",
  "description": "Structured output from morning/evening digest generation",
  "type": "object",
  "required": ["digest_text", "task_count", "overdue_count"],
  "properties": {
    "digest_text": {
      "type": "string",
      "description": "The full digest message in Donna persona",
      "maxLength": 2000
    },
    "task_count": {
      "type": "integer",
      "description": "Total tasks for the day"
    },
    "overdue_count": {
      "type": "integer",
      "description": "Number of overdue tasks"
    },
    "carryover_count": {
      "type": "integer",
      "description": "Tasks carried over from yesterday"
    },
    "highlights": {
      "type": "array",
      "items": { "type": "string" },
      "description": "Key items to call attention to"
    },
    "system_warnings": {
      "type": "array",
      "items": { "type": "string" },
      "description": "Any system health issues to flag"
    }
  }
}