Webex · Schema

AdaptiveCard

CallingCollaborationCommunicationEnterpriseMessagingVideo Conferencing

Properties

Name Type Description
type string Must be `AdaptiveCard`.
version string Adaptive Card schema version.
body array The card's elements.
actions array The card's actions.
View JSON Schema on GitHub

JSON Schema

webex-adaptivecard-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AdaptiveCard",
  "title": "AdaptiveCard",
  "type": "object",
  "required": [
    "type",
    "version"
  ],
  "properties": {
    "type": {
      "type": "string",
      "example": "AdaptiveCard",
      "description": "Must be `AdaptiveCard`."
    },
    "version": {
      "type": "string",
      "example": "1.0",
      "description": "Adaptive Card schema version."
    },
    "body": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "example": "TextBlock"
          },
          "text": {
            "type": "string",
            "example": "Adaptive Cards"
          },
          "size": {
            "type": "string",
            "example": "large"
          }
        }
      },
      "description": "The card's elements."
    },
    "actions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "example": "Action.OpenUrl"
          },
          "url": {
            "type": "string",
            "example": "http://adaptivecards.io"
          },
          "title": {
            "type": "string",
            "example": "Learn More"
          }
        }
      },
      "description": "The card's actions."
    }
  }
}