{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/callidus-legal-ai/json-schema/callidus-legal-ai-detect-matter-request-schema.json",
  "title": "DetectMatterRequest",
  "description": "What the pane knows about the message being replied to.",
  "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/DetectMatterRequest",
  "properties": {
    "conversation_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 1024
        },
        {
          "type": "null"
        }
      ],
      "title": "Conversation Id",
      "description": "Graph conversation id of the open thread."
    },
    "message_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 1024
        },
        {
          "type": "null"
        }
      ],
      "title": "Message Id",
      "description": "Graph id of the message being replied to, when the pane has one. A reply being composed has no id of its own until it is saved."
    },
    "thread_messages": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Thread Messages",
      "description": "Messages the pane found in the open thread.",
      "default": 0
    }
  },
  "type": "object"
}