{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-pinpoint/refs/heads/main/json-structure/amazon-pinpoint-wait-activity-structure.json",
  "name": "WaitActivity",
  "description": "Specifies the settings for a wait activity in a journey. This type of activity waits for a certain amount of time or until a specific date and time before moving participants to the next activity in a journey.",
  "type": "object",
  "properties": {
    "NextActivity": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "The unique identifier for the next activity to perform, after performing the wait activity."
        }
      ]
    },
    "WaitTime": {
      "allOf": [
        {
          "$ref": "#/components/schemas/WaitTime"
        },
        {
          "description": "The amount of time to wait or the date and time when the activity moves participants to the next activity in the journey."
        }
      ]
    }
  }
}