Microsoft Copilot · Schema

AiInteractionAttachment

Represents a message attachment such as cards and images.

AgentsAI AssistantArtificial IntelligenceChatbotCopilotExtensibilityGenerative AIMicrosoft 365Productivity

Properties

Name Type Description
attachmentId string Identifier for the attachment, unique only within the message scope.
content string The content of the attachment.
contentType string The type of the content (e.g., reference, file, image/imageType).
contentUrl string The URL of the content.
name string The name of the attachment.
View JSON Schema on GitHub

JSON Schema

microsoft-copilot-aiinteractionattachment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AiInteractionAttachment",
  "title": "AiInteractionAttachment",
  "type": "object",
  "description": "Represents a message attachment such as cards and images.",
  "properties": {
    "attachmentId": {
      "type": "string",
      "description": "Identifier for the attachment, unique only within the message scope.",
      "example": "500123"
    },
    "content": {
      "type": "string",
      "description": "The content of the attachment.",
      "example": "example_value"
    },
    "contentType": {
      "type": "string",
      "description": "The type of the content (e.g., reference, file, image/imageType).",
      "example": "example_value"
    },
    "contentUrl": {
      "type": "string",
      "format": "uri",
      "description": "The URL of the content.",
      "example": "https://www.example.com"
    },
    "name": {
      "type": "string",
      "description": "The name of the attachment.",
      "example": "Example Title"
    }
  }
}