{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/textforagents-com/json-schema/textforagents-com-create-campaign-schema.json",
  "title": "CreateCampaign",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/textforagents-com-openapi.json#/components/schemas/CreateCampaign",
  "properties": {
    "brand_id": {
      "maxLength": 200,
      "minLength": 1,
      "title": "Brand Id",
      "type": "string"
    },
    "description": {
      "anyOf": [
        {
          "maxLength": 1000,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "name": {
      "maxLength": 200,
      "minLength": 1,
      "title": "Name",
      "type": "string"
    },
    "ownership_mode": {
      "anyOf": [
        {
          "pattern": "^(reseller|csp)$",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Ownership Mode"
    },
    "use_case": {
      "anyOf": [
        {
          "maxLength": 100,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Use Case"
    }
  },
  "required": [
    "brand_id",
    "name"
  ],
  "type": "object"
}