{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/car-gene-com/json-schema/car-gene-com-agent-conversation-response-schema.json",
  "title": "AgentConversationResponse",
  "description": "同じ会話の札の質問 (古い順)",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/car-gene-com-admin-agent-questions-api-openapi.yml#/components/schemas/AgentConversationResponse",
  "properties": {
    "conversation_id": {
      "type": "string",
      "title": "Conversation Id"
    },
    "questions": {
      "items": {
        "$ref": "#/$defs/AgentQuestion"
      },
      "type": "array",
      "title": "Questions"
    }
  },
  "type": "object",
  "required": [
    "conversation_id",
    "questions"
  ],
  "$defs": {
    "AgentQuestion": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "asked_at": {
          "type": "string",
          "format": "date-time",
          "title": "Asked At"
        },
        "question": {
          "type": "string",
          "title": "Question"
        },
        "page_path": {
          "type": "string",
          "title": "Page Path"
        },
        "conversation_id": {
          "type": "string",
          "title": "Conversation Id"
        },
        "answer": {
          "type": "string",
          "title": "Answer"
        },
        "tools": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Tools"
        },
        "outcome": {
          "type": "string",
          "title": "Outcome"
        },
        "duration_ms": {
          "type": "integer",
          "title": "Duration Ms"
        }
      },
      "type": "object",
      "required": [
        "id",
        "asked_at",
        "question",
        "page_path",
        "conversation_id",
        "answer",
        "tools",
        "outcome",
        "duration_ms"
      ],
      "title": "AgentQuestion"
    }
  }
}