{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/callidus-legal-ai/json-schema/callidus-legal-ai-suggest-instruction-response-schema.json",
  "title": "SuggestInstructionResponse",
  "description": "One sentence for the pane to put in the prompt box.",
  "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/SuggestInstructionResponse",
  "properties": {
    "instruction": {
      "type": "string",
      "maxLength": 500,
      "title": "Instruction"
    },
    "generated": {
      "type": "boolean",
      "title": "Generated",
      "description": "True when written from this thread, False when the generic fallback was returned because the thread was empty or the model call failed. The pane treats both the same; this is for logs."
    }
  },
  "type": "object",
  "required": [
    "instruction",
    "generated"
  ]
}