{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mailshake-com/json-schema/mailshake-com-campaigns-readiness-check-request-schema.json",
  "title": "CampaignsReadinessCheckRequest",
  "x-generated": "2026-12-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mailshake-com-openapi.json#/components/schemas/CampaignsReadinessCheckRequest",
  "type": "object",
  "additionalProperties": true,
  "properties": {
    "scope": {
      "type": "string",
      "enum": [
        "campaign",
        "account"
      ],
      "default": "campaign",
      "description": "campaign (default) checks one campaign's mail accounts and needs campaigns:read and senders:read. account checks every connected mail account of the team (up to 200, disabled ones listed as left out), needs only senders:read and takes no campaignID."
    },
    "campaignID": {
      "type": "integer",
      "minimum": 1,
      "description": "The campaign to check (the team's own). Required when scope is campaign; not allowed when scope is account."
    },
    "totalPerDay": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000,
      "description": "The total emails per day you want to send. Default the sum of the included mail accounts' current daily limits."
    },
    "includeSenderIDs": {
      "type": "array",
      "minItems": 1,
      "maxItems": 200,
      "items": {
        "type": "integer",
        "minimum": 1
      },
      "description": "Only these mail accounts (integrationID). Campaign scope: up to 50 of the campaign's mail accounts. Account scope: up to 200 of the team's mail accounts. Default all of them."
    },
    "domainAges": {
      "type": "object",
      "maxProperties": 50,
      "additionalProperties": {
        "type": "integer",
        "minimum": 0,
        "maximum": 20000
      },
      "description": "Domain age in days, per sending domain, when you know it better than the public registry (e.g. {\"example.com\":1200})."
    },
    "recheck": {
      "type": "boolean",
      "description": "Run the DNS and blacklist lookups again instead of using recent cached answers."
    }
  }
}