{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mantic/json-schema/mantic-conversation-detail-schema.json",
  "title": "ConversationDetail",
  "description": "Full conversation header — single ``GET /webapp/conversations/{id}``.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mantic-conversations-api-openapi.yml#/components/schemas/ConversationDetail",
  "properties": {
    "id": {
      "type": "integer",
      "title": "Id"
    },
    "title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Title"
    },
    "context_kind": {
      "type": "string",
      "enum": [
        "general",
        "question"
      ],
      "title": "Context Kind"
    },
    "context_entity_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Context Entity Id"
    },
    "context_question_title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Context Question Title"
    },
    "summary_text": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Summary Text"
    },
    "schema_version": {
      "type": "integer",
      "title": "Schema Version"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Updated At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "title",
    "context_kind",
    "context_entity_id",
    "summary_text",
    "schema_version",
    "created_at",
    "updated_at"
  ]
}