{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/textforagents-com/json-schema/textforagents-com-company-campaign-body-schema.json",
  "title": "CompanyCampaignBody",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/textforagents-com-openapi.json#/components/schemas/CompanyCampaignBody",
  "properties": {
    "brand_payload": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Brand Payload"
    },
    "brand_provider_id": {
      "anyOf": [
        {
          "maxLength": 200,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Brand Provider Id"
    },
    "campaign_payload": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Campaign Payload"
    },
    "campaign_provider_id": {
      "anyOf": [
        {
          "maxLength": 200,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Campaign Provider Id"
    },
    "details": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Details"
    },
    "mode": {
      "default": "record",
      "pattern": "^(record|create)$",
      "title": "Mode",
      "type": "string"
    },
    "status": {
      "anyOf": [
        {
          "pattern": "^(submitted|active|failed)$",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Status"
    },
    "use_case": {
      "pattern": "^(alerts|reminders|conversational|personal_assistant|marketing)$",
      "title": "Use Case",
      "type": "string"
    }
  },
  "required": [
    "use_case"
  ],
  "type": "object"
}