{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/responsys/json-schema/responsys-campaign-schedule-schema.json",
  "title": "Email or Push Campaign Schedule",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/responsys-email-or-push-campaign-schedule-api-openapi.yml#/components/schemas/campaignSchedule",
  "type": "object",
  "properties": {
    "launchOptions": {
      "description": "Launch Options for the schedule.",
      "type": "object",
      "properties": {
        "progressChunk": {
          "enum": [
            "CHUNK_10K",
            "CHUNK_50K",
            "CHUNK_100K",
            "CHUNK_500K",
            "CHUNK_1M"
          ],
          "type": "string",
          "description": "Progress Chunk."
        },
        "recipientLimit": {
          "type": "integer",
          "description": "Recipient Limit."
        },
        "proofLaunchType": {
          "enum": [
            "LAUNCH_TO_ADDRESS",
            "LAUNCH_TO_PROOFLIST",
            "LAUNCH_TO_ADDRESS_USING_PROOFLIST"
          ],
          "type": "string",
          "description": "Proof Launch type."
        },
        "progressEmailAddresses": {
          "type": "array",
          "description": "Email addresses to inform of progress.",
          "items": {
            "type": "string"
          }
        },
        "samplingNthOffset": {
          "type": "integer",
          "description": "Sampling offset."
        },
        "samplingNthInterval": {
          "type": "integer",
          "description": "Sampling Interval."
        },
        "proofLaunch": {
          "type": "boolean",
          "description": "Should a proof launch be performed."
        },
        "samplingNthSelection": {
          "type": "integer",
          "description": "Sampling Selection."
        },
        "proofLaunchEmail": {
          "type": "string",
          "description": "Email address for the proof launch."
        }
      }
    },
    "scheduleType": {
      "description": "Schedule Type.",
      "enum": [
        "NOW",
        "ONCE"
      ],
      "type": "string"
    },
    "scheduledTime": {
      "description": "Date in the format yyyy-mm-dd HH:mm",
      "type": "string"
    },
    "recurringEndTime": {
      "description": "Date in the format yyyy-mm-dd HH:mm",
      "type": "string"
    }
  },
  "required": [
    "scheduleType",
    "scheduledTime"
  ]
}