{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/optimizely/main/json-schema/optimizely-wait-request-data-schema.json",
  "title": "WaitRequestData",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optimizely-smart-campaigns-api-openapi.yml#/components/schemas/WaitRequestData",
  "type": "object",
  "properties": {
    "scheduledAt": {
      "type": "string",
      "description": "Scheduled time in ISO 8601 format",
      "format": "date-time"
    },
    "sto.enabled": {
      "type": "boolean",
      "description": "If true, send time optimization is enabled. The \"sto\" parameters are only considered if one of the \"scheduled\" parameters is provided."
    },
    "sto.type": {
      "type": "string",
      "description": "Type of send time optimization (can be combined with \"scheduledAt\" scheduler; DAY will be set by other schedulers)",
      "enum": [
        "DAY",
        "WEEK"
      ]
    },
    "sto.fallbackAt": {
      "type": "string",
      "description": "Fallback at time of send time optimization in ISO 8601 format (can be combined with \"scheduledAt\" scheduler)",
      "format": "date-time"
    },
    "sto.optimizationEndsAt": {
      "type": "string",
      "description": "Optimization ends at time of send time optimization in ISO 8601 format (can be combined with \"scheduledAt\" scheduler)",
      "format": "date-time"
    },
    "scheduledAfterRecipientImport": {
      "type": "boolean",
      "description": "If true, the scheduler is triggered after recipient import"
    },
    "scheduledAfterRecipientImportAtTime": {
      "type": "string",
      "description": "Scheduled after import time in ISO 8601 format"
    },
    "sto.period": {
      "type": "string",
      "description": "Duration of send time optimization in ISO 8601 format (only days (max. 1), hours, and minute will be accepted (can be combined with \"scheduledAfterRecipientImport\" and \"scheduledAfterRecipientImportAtTime\" schedulers)"
    },
    "predecessorNodeId": {
      "type": "string",
      "description": "Predecessor node"
    },
    "successorNodeId": {
      "type": "string",
      "description": "Successor node"
    }
  }
}