{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/outreach2day-com/json-schema/outreach2day-com-campaign-mailbox-attach-in-schema.json",
  "title": "CampaignMailboxAttachIn",
  "description": "Attach a mailbox to a campaign.\n\nExactly one mailbox identifier should be provided:\n- mailboxAddress (preferred): mailbox email address\n- mailboxId (deprecated): legacy alias for mailboxAddress\n- workspaceMailboxId: numeric mailbox id returned by GET /mailboxes",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/outreach2day-com-openapi.json#/components/schemas/CampaignMailboxAttachIn",
  "properties": {
    "mailboxAddress": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Mailboxaddress",
      "description": "Mailbox email address to attach. Preferred identifier."
    },
    "mailboxId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Mailboxid",
      "description": "Deprecated legacy alias for mailboxAddress (must be an email)."
    },
    "workspaceMailboxId": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Workspacemailboxid",
      "description": "Numeric mailbox id returned by GET /mailboxes. Resolved to mailbox address within the workspace."
    },
    "weight": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 1000.0,
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Weight"
    },
    "dailyLimit": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 5000.0,
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Dailylimit"
    },
    "gapBaseSeconds": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 86400.0,
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Gapbaseseconds"
    },
    "gapJitterSeconds": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 86400.0,
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Gapjitterseconds"
    },
    "state": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "State",
      "description": "Campaign mailbox state (provider-specific accepted values)."
    }
  },
  "additionalProperties": true,
  "type": "object"
}