{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/advisorppc-com/json-schema/advisorppc-com-chat-agent-run-out-schema.json",
  "title": "ChatAgentRunOut",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/advisorppc-com-openapi.json#/components/schemas/ChatAgentRunOut",
  "properties": {
    "id": {
      "type": "integer",
      "title": "Id"
    },
    "thread_id": {
      "type": "integer",
      "title": "Thread Id"
    },
    "instance_id": {
      "type": "integer",
      "title": "Instance Id"
    },
    "definition_key": {
      "type": "string",
      "title": "Definition Key"
    },
    "agent_name": {
      "type": "string",
      "title": "Agent Name"
    },
    "display_name": {
      "type": "string",
      "title": "Display Name"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "summary": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Summary"
    },
    "error": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Error"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Updated At"
    },
    "started_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Started At"
    },
    "finished_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Finished At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "thread_id",
    "instance_id",
    "definition_key",
    "agent_name",
    "display_name",
    "status",
    "summary",
    "error",
    "created_at",
    "updated_at",
    "started_at",
    "finished_at"
  ]
}