Amazon Pinpoint · Schema

InAppMessageContent

The configuration for the message content.

CampaignsCommunicationsEmailMarketingMessagingPush NotificationsSMSVoiceCustomer EngagementSegmentationJourneysAnalytics

Properties

Name Type Description
BackgroundColor object
BodyConfig object
HeaderConfig object
ImageUrl object
PrimaryBtn object
SecondaryBtn object
View JSON Schema on GitHub

JSON Schema

amazon-pinpoint-in-app-message-content-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-pinpoint/refs/heads/main/json-schema/amazon-pinpoint-in-app-message-content-schema.json",
  "title": "InAppMessageContent",
  "description": "The configuration for the message content.",
  "type": "object",
  "properties": {
    "BackgroundColor": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "The background color for the message."
        }
      ]
    },
    "BodyConfig": {
      "allOf": [
        {
          "$ref": "#/components/schemas/InAppMessageBodyConfig"
        },
        {
          "description": "The configuration for the message body."
        }
      ]
    },
    "HeaderConfig": {
      "allOf": [
        {
          "$ref": "#/components/schemas/InAppMessageHeaderConfig"
        },
        {
          "description": "The configuration for the message header."
        }
      ]
    },
    "ImageUrl": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "The image url for the background of message."
        }
      ]
    },
    "PrimaryBtn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/InAppMessageButton"
        },
        {
          "description": "The first button inside the message."
        }
      ]
    },
    "SecondaryBtn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/InAppMessageButton"
        },
        {
          "description": "The second button inside message."
        }
      ]
    }
  }
}