{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/webex/main/json-schema/webex-attachment-activity-schema.json",
  "title": "AttachmentActivity",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/webex-attachment-actions-api-openapi.yml#/components/schemas/AttachmentActivity",
  "type": "object",
  "required": [
    "type",
    "messageId"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "A unique identifier for the action."
    },
    "personId": {
      "type": "string",
      "description": "The ID of the person who performed the action."
    },
    "roomId": {
      "type": "string",
      "description": "The ID of the room in which the action was performed."
    },
    "type": {
      "type": "string",
      "enum": [
        "submit"
      ],
      "description": "The type of action performed."
    },
    "messageId": {
      "type": "string",
      "description": "The parent message on which the attachment action was performed."
    },
    "inputs": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "Url": {
          "type": "string"
        },
        "Email": {
          "type": "string"
        },
        "Tel": {
          "type": "string"
        }
      },
      "description": "The action's inputs."
    },
    "created": {
      "type": "string",
      "description": "The date and time the action was created."
    }
  }
}