{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/outreach2day-com/json-schema/outreach2day-com-campaign-mailbox-batch-attach-out-schema.json",
  "title": "CampaignMailboxBatchAttachOut",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/outreach2day-com-openapi.json#/components/schemas/CampaignMailboxBatchAttachOut",
  "properties": {
    "status": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Status"
    },
    "workspaceId": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Workspaceid"
    },
    "campaignId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Campaignid"
    },
    "requestedCount": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Requestedcount"
    },
    "processedCount": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Processedcount"
    },
    "batchSize": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Batchsize"
    },
    "addedCount": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Addedcount"
    },
    "skippedCount": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Skippedcount"
    },
    "invalidCount": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Invalidcount"
    },
    "failedCount": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Failedcount"
    },
    "addedMailboxIds": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Addedmailboxids"
    },
    "skippedMailboxIds": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Skippedmailboxids"
    },
    "invalidMailboxIds": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Invalidmailboxids"
    },
    "failedMailboxIds": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Failedmailboxids"
    },
    "invalidMailboxes": {
      "items": {
        "$ref": "#/$defs/CampaignMailboxBatchItemErrorOut"
      },
      "type": "array",
      "title": "Invalidmailboxes"
    },
    "failedMailboxes": {
      "items": {
        "$ref": "#/$defs/CampaignMailboxBatchItemErrorOut"
      },
      "type": "array",
      "title": "Failedmailboxes"
    }
  },
  "additionalProperties": true,
  "type": "object",
  "$defs": {
    "CampaignMailboxBatchItemErrorOut": {
      "properties": {
        "mailboxId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Mailboxid"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Error"
        },
        "message": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Message"
        },
        "statusCode": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Statuscode"
        },
        "detail": {
          "title": "Detail"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "title": "CampaignMailboxBatchItemErrorOut"
    }
  }
}