Antwork · Schema

CampaignScheduleBody

Artificial IntelligenceSocial MediaAutomationSchedulerMarketing

Properties

Name Type Description
scheduledFor string When to publish: in the future, at most 30 days ahead.
tiktokSettings object Each TikTok post's settings, keyed by post id.
View JSON Schema on GitHub

JSON Schema

antwork-io-campaign-schedule-body-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/antwork-io/json-schema/antwork-io-campaign-schedule-body-schema.json",
  "title": "CampaignScheduleBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/antwork-io-campaigns-api-openapi.yml#/components/schemas/CampaignScheduleBody",
  "type": "object",
  "required": [
    "scheduledFor"
  ],
  "properties": {
    "scheduledFor": {
      "type": "string",
      "format": "date-time",
      "description": "When to publish: in the future, at most 30 days ahead."
    },
    "tiktokSettings": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/TikTokSettings"
      },
      "description": "Each TikTok post's settings, keyed by post id."
    }
  },
  "$defs": {
    "TikTokAnswers": {
      "type": "object",
      "description": "The user's own choices for one TikTok post, asked from the `tiktokChoices` of a `tiktok_choices_needed` refusal. Checked against the creator's live options; never chosen for the user.",
      "required": [
        "privacyLevel",
        "allowComment",
        "commercialContent",
        "userConsented"
      ],
      "properties": {
        "privacyLevel": {
          "type": "string",
          "description": "One of `tiktokChoices.privacyLevel.options`. No default."
        },
        "allowComment": {
          "type": "boolean"
        },
        "allowDuet": {
          "type": "boolean",
          "description": "Required for a video."
        },
        "allowStitch": {
          "type": "boolean",
          "description": "Required for a video."
        },
        "commercialContent": {
          "type": "object",
          "required": [
            "enabled"
          ],
          "properties": {
            "enabled": {
              "type": "boolean"
            },
            "yourBrand": {
              "type": "boolean",
              "description": "Labelled \"Promotional content\"."
            },
            "brandedContent": {
              "type": "boolean",
              "description": "Labelled \"Paid partnership\". Not with `SELF_ONLY`."
            }
          }
        },
        "aiGenerated": {
          "type": "boolean"
        },
        "userConsented": {
          "const": true,
          "description": "The user agreed to the declaration in `tiktokChoices.declaration`."
        }
      }
    },
    "TikTokSettings": {
      "oneOf": [
        {
          "$ref": "#/$defs/TikTokAnswers"
        },
        {
          "$ref": "#/$defs/TikTokUseLast"
        }
      ],
      "description": "The user's choices for one TikTok post: each answer, or `useLast` once they said yes to the `lastUsed` settings offered."
    },
    "TikTokUseLast": {
      "type": "object",
      "description": "The account's last answers (`tiktokChoices.lastUsed`), re-checked against the creator's live options. Send only after the user said yes to them for this post; nothing stored applies without it.",
      "required": [
        "useLast",
        "userConsented"
      ],
      "additionalProperties": false,
      "properties": {
        "useLast": {
          "const": true
        },
        "userConsented": {
          "const": true,
          "description": "The user agreed to their usual settings and the declaration for this post."
        }
      }
    }
  }
}

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/antwork-io-campaign-schedule-body"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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