{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/callidus-legal-ai/json-schema/callidus-legal-ai-context-counts-schema.json",
  "title": "ContextCounts",
  "description": "What the pane's three context checkboxes report.\n\n``thread_messages`` comes from the conversation as Graph reports it, which\nis the same thread the draft is built from. The pane's own parse of the\nquoted block is used only when Graph cannot answer: it cannot see the\nmessage being replied to and recognises only Outlook's ``From:`` header\nformat, so it reads low against a chain quoted in another client's style.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/callidus-legal-ai-addin-outlook-api-openapi.yml#/components/schemas/ContextCounts",
  "properties": {
    "thread_messages": {
      "type": "integer",
      "title": "Thread Messages",
      "default": 0
    },
    "matter_files": {
      "type": "integer",
      "title": "Matter Files",
      "default": 0
    },
    "matter_emails": {
      "type": "integer",
      "title": "Matter Emails",
      "default": 0
    }
  },
  "type": "object"
}