{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/asapp3/json-schema/asapp3-free-text-summary-request-schema.json",
  "title": "FreeTextSummaryRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/asapp3-autosummary-api-openapi.yml#/components/schemas/FreeTextSummaryRequest",
  "type": "object",
  "oneOf": [
    {
      "type": "object",
      "properties": {
        "conversationId": {
          "type": "string",
          "pattern": "^[A-Z0-9]+$",
          "description": "The identifier of the conversation from ASAPP's system."
        },
        "agentExternalId": {
          "type": "string",
          "description": "Your unique identifier for the agent."
        }
      },
      "required": [
        "conversationId"
      ]
    },
    {
      "type": "object",
      "properties": {
        "externalConversationId": {
          "type": "string",
          "description": "Your unique identifier for the conversation. This must match to the `externalConversationId` you used in the Conversations API."
        },
        "agentExternalId": {
          "type": "string",
          "description": "Your unique identifier for the agent."
        }
      },
      "required": [
        "externalConversationId"
      ]
    },
    {
      "type": "object",
      "properties": {
        "issueId": {
          "type": "string",
          "description": "The identifier of the conversation from ASAPP's Messaging Platform."
        },
        "agentExternalId": {
          "type": "string",
          "description": "Your unique identifier for the agent."
        }
      },
      "required": [
        "issueId"
      ]
    }
  ]
}