{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/wavix-com/json-schema/wavix-com-ten-dlccampaign-update-request-schema.json",
  "title": "TenDLCCampaignUpdateRequest",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wavix-com-openapi.yaml#/components/schemas/TenDLCCampaignUpdateRequest",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "name": {
      "type": "string",
      "description": "Display name of the Campaign.",
      "maxLength": 120
    },
    "usecase": {
      "type": "string",
      "description": "Registered use case for the Campaign. One of `CUSTOMER_CARE` (customer support messaging), `MARKETING` (promotional content), `ACCOUNT_NOTIFICATION` (account-related alerts), `FRAUD_ALERT` (fraud and suspicious-activity warnings), `PUBLIC_SERVICE_ANNOUNCEMENT` (public-interest notices), or `SECURITY_ALERT` (security-related warnings).\n",
      "enum": [
        "CUSTOMER_CARE",
        "MARKETING",
        "ACCOUNT_NOTIFICATION",
        "FRAUD_ALERT",
        "PUBLIC_SERVICE_ANNOUNCEMENT",
        "SECURITY_ALERT"
      ]
    },
    "description": {
      "type": "string",
      "description": "Description of the Campaign and its messaging purpose.",
      "minLength": 40,
      "maxLength": 4096
    },
    "embedded_links": {
      "type": "boolean",
      "description": "Indicates whether the Campaign messages contain embedded links.",
      "default": false
    },
    "embedded_phones": {
      "type": "boolean",
      "description": "Indicates whether the Campaign messages contain embedded phone numbers.",
      "default": false
    },
    "age_gated": {
      "type": "boolean",
      "description": "Indicates whether the Campaign messages contain age-gated content.",
      "default": false
    },
    "direct_lending": {
      "type": "boolean",
      "description": "Indicates whether the Campaign messages contain direct lending content.",
      "default": false
    },
    "optin": {
      "type": "boolean",
      "description": "Indicates whether the Campaign requires subscribers to opt in before receiving messages.",
      "default": false
    },
    "optout": {
      "type": "boolean",
      "description": "Indicates whether the Campaign provides an opt-out system that subscribers can trigger with a keyword.",
      "default": false
    },
    "help": {
      "type": "boolean",
      "description": "Indicates whether the Campaign provides a help system that subscribers can trigger with a keyword.",
      "default": false
    },
    "sample1": {
      "type": "string",
      "description": "Sample message demonstrating the content sent through the Campaign.",
      "minLength": 20,
      "maxLength": 1024
    },
    "sample2": {
      "type": "string",
      "description": "Sample message demonstrating the content sent through the Campaign.",
      "minLength": 20,
      "maxLength": 1024
    },
    "sample3": {
      "type": "string",
      "description": "Sample message demonstrating the content sent through the Campaign.",
      "minLength": 20,
      "maxLength": 1024
    },
    "sample4": {
      "type": "string",
      "description": "Sample message demonstrating the content sent through the Campaign.",
      "minLength": 20,
      "maxLength": 1024
    },
    "sample5": {
      "type": "string",
      "description": "Sample message demonstrating the content sent through the Campaign.",
      "minLength": 20,
      "maxLength": 1024
    },
    "optin_workflow": {
      "type": "string",
      "description": "Description of the workflow through which subscribers opt in to the Campaign.",
      "minLength": 40,
      "maxLength": 4096
    },
    "help_message": {
      "type": "string",
      "description": "Acknowledgement sent when a subscriber texts a help keyword.",
      "minLength": 20,
      "maxLength": 320
    },
    "optin_message": {
      "type": "string",
      "description": "Acknowledgement sent when a subscriber texts an opt-in keyword.",
      "minLength": 20,
      "maxLength": 320
    },
    "optout_message": {
      "type": "string",
      "description": "Acknowledgement sent when a subscriber texts an opt-out keyword.",
      "minLength": 20,
      "maxLength": 320
    },
    "auto_renewal": {
      "type": "boolean",
      "description": "Indicates whether the Campaign is automatically renewed at the end of each billing period.",
      "default": true
    },
    "optin_keywords": {
      "type": "string",
      "description": "Comma-separated list of opt-in keywords. Keywords are case-insensitive.",
      "maxLength": 255
    },
    "help_keywords": {
      "type": "string",
      "description": "Comma-separated list of help keywords. Keywords are case-insensitive.",
      "maxLength": 255,
      "default": "HELP"
    },
    "optout_keywords": {
      "type": "string",
      "description": "Comma-separated list of opt-out keywords. Keywords are case-insensitive.",
      "maxLength": 255
    },
    "terms_conditions": {
      "type": "string",
      "description": "URL of the Campaign terms and conditions.",
      "maxLength": 255
    },
    "privacy_policy": {
      "type": "string",
      "description": "URL of the Campaign privacy policy.",
      "maxLength": 255
    },
    "embedded_link_sample": {
      "type": "string",
      "description": "Sample of an embedded link used in Campaign messages.",
      "maxLength": 255
    }
  }
}