Amazon Pinpoint · JSON Structure

Amazon Pinpoint In App Message Body Config Structure

Text config for Message Body.

Type: object Properties: 3 Required: 3
CampaignsCommunicationsEmailMarketingMessagingPush NotificationsSMSVoiceCustomer EngagementSegmentationJourneysAnalytics

InAppMessageBodyConfig is a JSON Structure definition published by Amazon Pinpoint, describing 3 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

Alignment Body TextColor

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-pinpoint/refs/heads/main/json-structure/amazon-pinpoint-in-app-message-body-config-structure.json",
  "name": "InAppMessageBodyConfig",
  "description": "Text config for Message Body.",
  "type": "object",
  "properties": {
    "Alignment": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Alignment"
        },
        {
          "description": "The alignment of the text. Valid values: LEFT, CENTER, RIGHT."
        }
      ]
    },
    "Body": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "Message Body."
        }
      ]
    },
    "TextColor": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "The text color."
        }
      ]
    }
  },
  "required": [
    "Alignment",
    "TextColor",
    "Body"
  ]
}