{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/optimizely/main/json-schema/optimizely-split-request-data-schema.json",
  "title": "SplitRequestData",
  "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/SplitRequestData",
  "type": "object",
  "properties": {
    "optimization.scheduledAt": {
      "type": "string",
      "description": "Dispatch time of the messages",
      "format": "date-time"
    },
    "optimization.sto.enabled": {
      "type": "boolean",
      "description": "If true, send time optimization is enabled. The \"sto\" parameters are only considered if one of the \"optimization.scheduled\" parameters is provided."
    },
    "optimization.sto.type": {
      "type": "string",
      "description": "Type of send time optimization (can be combined with \"optimization.scheduledAt\" scheduler, DAY will be set by other)",
      "enum": [
        "DAY",
        "WEEK"
      ]
    },
    "optimization.sto.fallbackAt": {
      "type": "string",
      "description": "Fallback at time of send time optimization in ISO 8601 format (can be combined with \"optimization.scheduledAt\" scheduler)",
      "format": "date-time"
    },
    "optimization.sto.optimizationEndsAt": {
      "type": "string",
      "description": "Optimization ends at time of send time optimization in ISO 8601 format (can be combined with \"optimization.scheduledAt\" scheduler)",
      "format": "date-time"
    },
    "optimization.enabled": {
      "type": "boolean",
      "description": "If true, the automatic optimization is activated"
    },
    "optimization.scheduledWithDelay": {
      "type": "string",
      "description": "Duration in ISO 8601"
    },
    "optimization.scheduledManually": {
      "type": "boolean",
      "description": "If true, the optimization is started manually"
    },
    "optimization.mode": {
      "type": "string",
      "description": "Optimization mode",
      "enum": [
        "bestOpenRate",
        "bestUniqueClickRate",
        "bestClickRate",
        "lowestUniqueUnsubscribe",
        "lowestBounceRate",
        "byPostClickValue"
      ]
    },
    "optimization.sto.period": {
      "type": "string",
      "description": "Duration of send time optimization in ISO 8601 format (only days (max. 1), hours and minutes (can be combined with \"optimization.scheduledWithDelay\" and \"optimization.scheduledManually\" schedulers)"
    },
    "predecessorNodeId": {
      "type": "string",
      "description": "Predecessor node"
    },
    "successorNodeId": {
      "type": "string",
      "description": "Successor node"
    }
  }
}