Amazon Pinpoint · JSON Structure

Amazon Pinpoint Session Structure

Provides information about a session.

Type: object Properties: 4 Required: 2
CampaignsCommunicationsEmailMarketingMessagingPush NotificationsSMSVoiceCustomer EngagementSegmentationJourneysAnalytics

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

Properties

Duration Id StartTimestamp StopTimestamp

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-session-structure.json",
  "name": "Session",
  "description": "Provides information about a session.",
  "type": "object",
  "properties": {
    "Duration": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__integer"
        },
        {
          "description": "The duration of the session, in milliseconds."
        }
      ]
    },
    "Id": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "The unique identifier for the session."
        }
      ]
    },
    "StartTimestamp": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "The date and time when the session began."
        }
      ]
    },
    "StopTimestamp": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "The date and time when the session ended."
        }
      ]
    }
  },
  "required": [
    "StartTimestamp",
    "Id"
  ]
}