Stannp · Schema

Campaign

A batch direct mail campaign targeting a recipient group.

Direct MailPostcardsLettersPrintPhysical MailMarketing AutomationCampaignsAddress VerificationSMSWebhookMailing ListsFulfillment

Properties

Name Type Description
id integer Unique campaign identifier
name string Human-readable campaign name
type string Campaign mail piece type
status string Current campaign status
recipients integer Total number of recipients targeted
cost string Total estimated or actual campaign cost
created string Creation timestamp
send_date string Scheduled dispatch date
View JSON Schema on GitHub

JSON Schema

campaign.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/stannp/main/json-schema/campaign.json",
  "title": "Campaign",
  "description": "A batch direct mail campaign targeting a recipient group.",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Unique campaign identifier"
    },
    "name": {
      "type": "string",
      "description": "Human-readable campaign name"
    },
    "type": {
      "type": "string",
      "enum": [
        "a6-postcard",
        "a5-postcard",
        "letter"
      ],
      "description": "Campaign mail piece type"
    },
    "status": {
      "type": "string",
      "enum": [
        "draft",
        "approved",
        "booked",
        "printing",
        "dispatched",
        "cancelled"
      ],
      "description": "Current campaign status"
    },
    "recipients": {
      "type": "integer",
      "description": "Total number of recipients targeted"
    },
    "cost": {
      "type": "string",
      "description": "Total estimated or actual campaign cost",
      "examples": ["199.00"]
    },
    "created": {
      "type": "string",
      "format": "date-time",
      "description": "Creation timestamp"
    },
    "send_date": {
      "type": "string",
      "format": "date",
      "description": "Scheduled dispatch date"
    }
  },
  "examples": [
    {
      "id": 4321,
      "name": "Spring 2024 Postcard Campaign",
      "type": "4x6-postcard",
      "status": "approved",
      "recipients": 500,
      "cost": "495.00",
      "created": "2024-03-15T09:00:00Z",
      "send_date": "2024-04-01"
    }
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/campaign"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.