{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/wavix-com/json-schema/wavix-com-ten-dlccampaign-schema.json",
  "title": "TenDLCCampaign",
  "description": "Represents a 10DLC campaign registered under a Brand. A Campaign defines the messaging use case, opt-in and opt-out flows, and the phone numbers permitted to send its traffic.",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wavix-com-openapi.yaml#/components/schemas/TenDLCCampaign",
  "required": [
    "affiliate_marketing",
    "age_gated",
    "auto_renewal",
    "last_bill_date",
    "next_bill_date",
    "direct_lending",
    "embedded_links",
    "embedded_phones",
    "embedded_link_sample",
    "brand_id",
    "campaign_id",
    "description",
    "optin_workflow",
    "feedback",
    "help",
    "help_keywords",
    "help_message",
    "optin",
    "optin_keywords",
    "optin_message",
    "optout",
    "optout_keywords",
    "optout_message",
    "name",
    "created_at",
    "sample1",
    "sample2",
    "sample3",
    "sample4",
    "sample5",
    "updated_at",
    "mock",
    "usecase",
    "monthly_fee",
    "terms_conditions",
    "privacy_policy",
    "status",
    "phone_numbers"
  ],
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "affiliate_marketing": {
      "type": "boolean",
      "description": "Indicates whether the Campaign is used for affiliate marketing."
    },
    "age_gated": {
      "type": "boolean",
      "description": "Indicates whether the Campaign messages contain age-gated content."
    },
    "auto_renewal": {
      "type": "boolean",
      "description": "Indicates whether the Campaign should be automatically renewed."
    },
    "last_bill_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "Date and time the Campaign was last billed in ISO 8601 format. `null` if the Campaign has never been billed."
    },
    "next_bill_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "Date and time the Campaign will be billed next in ISO 8601 format. `null` if the next billing date is not scheduled."
    },
    "direct_lending": {
      "type": "boolean",
      "description": "Indicates whether the Campaign messages contain direct lending content."
    },
    "embedded_links": {
      "type": "boolean",
      "description": "Indicates whether the Campaign messages contain embedded links."
    },
    "embedded_phones": {
      "type": "boolean",
      "description": "Indicates whether the Campaign messages contain embedded phone numbers."
    },
    "embedded_link_sample": {
      "type": [
        "string",
        "null"
      ],
      "description": "Sample of an embedded link used in Campaign messages."
    },
    "brand_id": {
      "type": "string",
      "description": "Unique identifier of the Brand that owns the Campaign."
    },
    "campaign_id": {
      "type": "string",
      "description": "Unique identifier of the Campaign assigned by the registry."
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "Description of the Campaign and its messaging purpose."
    },
    "optin_workflow": {
      "type": [
        "string",
        "null"
      ],
      "description": "Description of the workflow through which subscribers opt in to the Campaign."
    },
    "feedback": {
      "type": [
        "string",
        "null"
      ],
      "description": "Feedback from the registry explaining the current `status`."
    },
    "help": {
      "type": "boolean",
      "description": "Indicates whether the campaign includes a help system (for example, keyword: HELP, INFO)."
    },
    "help_keywords": {
      "type": "string",
      "description": "Comma-separated list of help keywords. Keywords are case-insensitive."
    },
    "help_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "Help message sent upon receiving a help keyword."
    },
    "optin": {
      "type": "boolean",
      "description": "Indicates whether the Campaign requires subscriber opt-in."
    },
    "optin_keywords": {
      "type": "string",
      "description": "Comma-separated list of opt-in keywords. Keywords are case-insensitive."
    },
    "optin_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "Opt-in message sent upon receiving an opt-in keyword."
    },
    "optout": {
      "type": "boolean",
      "description": "Indicates whether the campaign includes an opt-out system (for example, keyword: STOP, QUIT)."
    },
    "optout_keywords": {
      "type": "string",
      "description": "Comma-separated list of opt-out keywords. Keywords are case-insensitive."
    },
    "optout_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "Opt-out message sent upon receiving an opt-out keyword."
    },
    "name": {
      "type": "string",
      "description": "Display name of the Campaign."
    },
    "created_at": {
      "type": "string",
      "description": "Timestamp when the Campaign was created, in ISO 8601 format."
    },
    "sample1": {
      "type": [
        "string",
        "null"
      ],
      "description": "Sample message demonstrating the content sent through the Campaign."
    },
    "sample2": {
      "type": [
        "string",
        "null"
      ],
      "description": "Sample message demonstrating the content sent through the Campaign."
    },
    "sample3": {
      "type": [
        "string",
        "null"
      ],
      "description": "Sample message demonstrating the content sent through the Campaign."
    },
    "sample4": {
      "type": [
        "string",
        "null"
      ],
      "description": "Sample message demonstrating the content sent through the Campaign."
    },
    "sample5": {
      "type": [
        "string",
        "null"
      ],
      "description": "Sample message demonstrating the content sent through the Campaign."
    },
    "updated_at": {
      "type": "string",
      "description": "Timestamp when the Campaign was last updated, in ISO 8601 format."
    },
    "mock": {
      "type": "boolean",
      "description": "Indicates whether the Campaign is a mock campaign used for testing. Mock campaigns cannot send production traffic."
    },
    "usecase": {
      "type": "string",
      "description": "Registered use case for the Campaign, such as `2FA` or `MARKETING`."
    },
    "monthly_fee": {
      "type": "string",
      "description": "Recurring monthly fee charged for the Campaign, as a decimal string."
    },
    "privacy_policy": {
      "type": [
        "string",
        "null"
      ],
      "description": "Privacy policy URL."
    },
    "terms_conditions": {
      "type": [
        "string",
        "null"
      ],
      "description": "Terms and conditions URL."
    },
    "status": {
      "type": "string",
      "description": "Current registration status of the Campaign, such as `APPROVED` or `PENDING`."
    },
    "phone_numbers": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Phone numbers assigned to the Campaign, in E.164 format."
    }
  }
}