{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/shortsync-app/json-schema/shortsync-app-post-update-schema.json",
  "title": "PostUpdate",
  "description": "Patch a post. All fields are optional. Send only what you want to\nchange. Omitted fields keep their current value. To clear a text\nfield, send it explicitly as an empty string.\n",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/shortsync-app-openapi.yml#/components/schemas/PostUpdate",
  "type": "object",
  "properties": {
    "publish_mode": {
      "$ref": "#/$defs/PublishMode"
    },
    "scheduled_for": {
      "type": "string",
      "format": "date-time"
    },
    "caption": {
      "type": "string",
      "description": "New caption. Applies to this post's platform. Ignored if the\npost is on YouTube (YouTube reads `title` and `description`\ninstead).\n"
    },
    "title": {
      "type": "string",
      "description": "New title (YouTube, Pinterest, Tumblr, Reddit, WordPress, Ghost, Blogger).\n"
    },
    "description": {
      "type": "string",
      "description": "New long-form description (YouTube, Pinterest, Tumblr, Reddit, WordPress, Ghost, Blogger).\n"
    },
    "first_comment": {
      "type": "string",
      "description": "New first comment. Ignored on platforms that don't support\nfirst comments.\n"
    },
    "first_comment_enabled": {
      "type": "boolean",
      "description": "`false` skips the first comment on this post's platform;\n`true` turns it back on.\n"
    },
    "first_comment_delay_minutes": {
      "type": "integer",
      "minimum": 0,
      "maximum": 10080,
      "description": "Minutes after the post goes live to post the first comment;\n`0` = right away. Shared by every post of the upload.\n"
    },
    "follow_up_comments": {
      "type": "array",
      "maxItems": 4,
      "description": "Replaces the follow-up comments of every post of the upload.\n`[]` removes them.\n",
      "items": {
        "$ref": "#/$defs/FollowUpComment"
      }
    },
    "platform_options": {
      "$ref": "#/$defs/PlatformOptions"
    },
    "custom_thumbnail_url": {
      "type": "string",
      "description": "Public `https://` URL to a cover/thumbnail image (jpeg, png,\nwebp, or gif, max 20 MB). ShortSync downloads the image,\nstores it in the workspace's bucket, and attaches it to the\npost's video settings so every unpublished post on the same\nupload uses it at publish time (YouTube, Instagram Reels,\nFacebook Reels and Pinterest use it as the cover). Send an\nempty string to remove the current custom thumbnail. SSRF guards: `https`\nonly, public IPs. Mutually exclusive with\n`thumbnail_timestamp_ms` and `custom_thumbnail_upload_id`.\n"
    },
    "thumbnail_timestamp_ms": {
      "type": "integer",
      "minimum": 0,
      "description": "Extract a frame from the post's linked video at this\ntimestamp (milliseconds from the start) and store it as the\nvideo's \"Thumbnail from Timeline\" (`generated_thumbnail_url`),\nmatching what the dashboard scrubber writes. Video-only:\nrejects text posts, image uploads, and carousel parents.\nMust be within the video's duration.\n\nPublish-time behavior: this does NOT overwrite a\n`custom_thumbnail_url` the user already set. Platforms that\nread `custom_thumbnail_url || generated_thumbnail_url`\n(YouTube, Facebook Reels, Pinterest, and others) fall back to this timeline\nframe when no custom cover is set. Instagram reads only the\ncustom column, so a timeline frame alone will not affect the\nInstagram cover — pass `custom_thumbnail_url` or\n`custom_thumbnail_upload_id` for that. To override an\nexisting custom cover with the timeline frame, first clear\nthe custom by sending `custom_thumbnail_url: \"\"`, then set\nthe timestamp.\n\nMutually exclusive with `custom_thumbnail_url` and\n`custom_thumbnail_upload_id`.\n"
    },
    "custom_thumbnail_upload_id": {
      "type": "string",
      "description": "`upload_id` returned by `POST /uploads` for an image file\nin the same workspace. ShortSync finalizes the upload if\nneeded, copies the bytes into the post's thumbnail slot,\nand then deletes the source upload so it does not linger\nas an unattached draft. The thumbnail is stored\nindependently — deleting the source does not affect the\ncover. Use this instead of `custom_thumbnail_url` when\nthe image is already uploaded, to avoid a public re-host\nround-trip. Mutually exclusive with `custom_thumbnail_url`\nand `thumbnail_timestamp_ms`.\n"
    }
  },
  "$defs": {
    "BloggerOptions": {
      "type": "object",
      "description": "One Google login can own several blogs; a post\ngoes to the blog in `blog_id`, or to the first blog when it's\nomitted (list them with `GET /platforms/blogger/blogs`). Title and\nbody work like WordPress (title max 200 characters, body up to\n50,000). Image, text or image carousel posts (up to 20 images, shown\none after another). Blogger's API can't upload media, so ShortSync\nhosts a copy of each image. No video: a video upload goes out as a\ntext post. No custom thumbnail, no first comment. Deleting the post\ndeletes it from Blogger. No analytics.\n",
      "properties": {
        "blog_id": {
          "type": "string",
          "description": "Blog ID from `GET /platforms/blogger/blogs`. Omit to use the first blog."
        },
        "title": {
          "type": "string",
          "maxLength": 200,
          "description": "Blogger-only post title. Overrides the target's shared `title`."
        },
        "status": {
          "type": "string",
          "enum": [
            "publish",
            "draft"
          ],
          "default": "publish",
          "description": "`publish` puts the post live; `draft` saves it in Blogger unpublished."
        },
        "labels": {
          "type": "array",
          "maxItems": 20,
          "items": {
            "type": "string"
          },
          "description": "Label names, at most 200 characters together."
        },
        "text_only": {
          "type": "boolean",
          "default": false,
          "description": "Post only the title and body. Video uploads are always posted as text."
        },
        "alt_text": {
          "type": "string",
          "maxLength": 1000,
          "description": "Alt text for a single image."
        },
        "alt_texts": {
          "type": "object",
          "additionalProperties": {
            "type": "string",
            "maxLength": 1000
          },
          "description": "Carousels: alt text per image, keyed by the image's upload id."
        }
      }
    },
    "BlueskyOptions": {
      "type": "object",
      "properties": {
        "alt_text": {
          "type": "string",
          "maxLength": 2000,
          "description": "Alt text for a single image or video. Images without it use the caption."
        },
        "alt_texts": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Carousels, alt text per image keyed by the image's upload id."
        },
        "langs": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "text_only": {
          "type": "boolean"
        }
      }
    },
    "DailymotionOptions": {
      "type": "object",
      "description": "Dailymotion is in beta. Video only: no image, text or carousel\nposts. Like YouTube it takes a title (required, max 255\ncharacters) and a description (max 3,000 characters) instead of a\ncaption. Up to 2 hours and 4 GB per video, and 15 videos (10 hours\nof video) per 24 hours on a standard account; Premium Creator\naccounts get 64 GB per file and 96 videos a day. No custom\nthumbnail, no first comment and no analytics. Saved workspace\ndefaults for `category`, `visibility`, `made_for_kids` and `tags`\napply when you leave them out.\n",
      "properties": {
        "title": {
          "type": "string",
          "maxLength": 255,
          "description": "Dailymotion-only title. When empty, the target's `title` is\nused.\n"
        },
        "category": {
          "type": "string",
          "enum": [
            "animals",
            "auto",
            "creation",
            "school",
            "fun",
            "kids",
            "lifestyle",
            "shortfilms",
            "music",
            "news",
            "people",
            "sport",
            "tech",
            "travel",
            "tv",
            "videogames",
            "webcam"
          ],
          "default": "people",
          "description": "The Dailymotion category (its `channel` field), required by\nDailymotion on every video. `school` is Education, `fun` is\nComedy & Entertainment, `shortfilms` is Movies & Short films\nand `videogames` is Gaming.\n"
        },
        "visibility": {
          "type": "string",
          "enum": [
            "public",
            "private"
          ],
          "default": "public",
          "description": "`private` hides the video from everyone but the owner."
        },
        "made_for_kids": {
          "type": "boolean",
          "default": false,
          "description": "Marks the video as made for kids."
        },
        "tags": {
          "type": "array",
          "maxItems": 30,
          "items": {
            "type": "string",
            "maxLength": 150
          },
          "description": "Tags shown on the video."
        }
      }
    },
    "DiscordOptions": {
      "type": "object",
      "description": "A workspace can connect several Discord channels (one webhook\neach). A post goes to the channels in `channel_ids`, or to every\nchannel with `is_default: true` when it's omitted. Caption max\n2000 characters, up to 10 attachments and 10 MB per post. No custom\nthumbnail. `first_comment` (max 2000 characters) is posted as a\nseparate message right after the post in text channels (webhooks\ncan't reply there) and as the first reply inside the new post in\nforum channels. It never sends its own notification, and a failed\ncomment never fails the post.\nSaved per-user defaults for `silent`, `mention` and `username`\napply when you leave them out.\n",
      "properties": {
        "channel_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uuid"
          },
          "description": "Channels to post to, by `id` from\n`GET /api/v1/discord/channels`. Omit to use the workspace's\ndefault channels. Ids that are no longer connected are skipped;\nif none are left the publish fails with\n`DISCORD_CHANNELS_NOT_FOUND`.\n"
        },
        "silent": {
          "type": "boolean",
          "default": false,
          "description": "Send without push or desktop notifications."
        },
        "mention": {
          "type": "string",
          "enum": [
            "none",
            "here",
            "everyone"
          ],
          "default": "none",
          "description": "Ping to add to the message (`@here` or `@everyone`)."
        },
        "thread_name": {
          "type": "string",
          "maxLength": 100,
          "description": "Forum post title. Forum channels require one; when omitted,\nthe first line of the caption is used. Ignored by regular\ntext channels.\n"
        },
        "username": {
          "type": "string",
          "maxLength": 80,
          "description": "Overrides the webhook's display name for this post. Discord\nrejects names containing \"discord\", so they're refused with\n`INVALID_PLATFORM_OPTIONS`.\n"
        },
        "text_only": {
          "type": "boolean",
          "description": "Send only the caption as a plain message (no media). Applies to\nvideo uploads; ignored for image and carousel uploads.\n"
        },
        "poll": {
          "type": [
            "object",
            "null"
          ],
          "description": "Text posts only (create the post without `upload_id`). Attached\nto the message in every selected channel.\n",
          "required": [
            "question",
            "options"
          ],
          "properties": {
            "question": {
              "type": "string",
              "maxLength": 300
            },
            "options": {
              "type": "array",
              "minItems": 2,
              "maxItems": 10,
              "items": {
                "type": "string",
                "maxLength": 55
              }
            },
            "duration_minutes": {
              "type": "integer",
              "minimum": 60,
              "maximum": 46080,
              "default": 1440,
              "description": "Whole hours only (multiples of 60), up to 32 days."
            },
            "multiple": {
              "type": "boolean",
              "default": false,
              "description": "Let people pick more than one option."
            }
          }
        }
      }
    },
    "FacebookOptions": {
      "type": "object",
      "properties": {
        "share_to_story": {
          "type": "boolean",
          "description": "Also post as a Story alongside the Reel or photo. Mutually\nexclusive with `story_only`. Not for carousels or text posts.\n"
        },
        "story_only": {
          "type": "boolean",
          "description": "Publish only as a Story (no Reel or feed post). Works for\nsingle videos up to 60 seconds and single photos. Mutually\nexclusive with `share_to_story`.\n"
        },
        "is_ai_generated": {
          "type": "boolean",
          "description": "Adds Facebook's \"AI info\" label to the Reel, photo or carousel.\nNot applied to Stories or text posts.\n"
        },
        "location_id": {
          "type": "string",
          "description": "Reels only. Facebook Page ID of a place with an address, shown\nas the Reel's location. If Facebook doesn't accept it, the Reel\nis posted without a location. Ignored for photos, carousels,\ntext posts and Stories. Beta.\n"
        },
        "collaborators": {
          "type": "array",
          "maxItems": 10,
          "items": {
            "type": "string"
          },
          "description": "Reels only. Facebook Page IDs (or Page links that include the\nID) to invite as collaborators after the Reel is published. The\nReel appears on a Page once it accepts. Facebook allows 10\ninvites per Page per 24 hours; an invite that fails doesn't fail\nthe post. Ignored for photos, carousels, text posts and Stories.\n"
        }
      }
    },
    "FollowUpComment": {
      "type": "object",
      "required": [
        "text"
      ],
      "properties": {
        "text": {
          "type": "string",
          "description": "The comment text. Same platform limits as the first comment."
        },
        "delay_minutes": {
          "type": "integer",
          "minimum": 0,
          "maximum": 10080,
          "default": 0,
          "description": "Minutes after the post goes live. `0` = right after the post\n(about a minute later, once the first comment is up).\n"
        },
        "after_likes": {
          "type": [
            "integer",
            "null"
          ],
          "minimum": 1,
          "maximum": 1000000,
          "description": "Post this comment once the post has this many likes, instead of\nafter `delay_minutes`. Dropped if the post doesn't get there\nwithin 7 days. Only on Instagram, Facebook, YouTube, LinkedIn,\nThreads, Bluesky, Mastodon and Pixelfed, on Creator and Team.\n"
        },
        "skip_platforms": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Platforms that skip this comment, e.g. `[\"twitter\"]`."
        }
      }
    },
    "GhostOptions": {
      "type": "object",
      "description": "Ghost is in beta. One Ghost site per workspace (Ghost(Pro) or\nself-hosted), connected with `POST /auth/ghost`. Like WordPress it\nuses a title and a body, not a caption: the post title is `title`\nhere, else the target's `title`, else the body's first line (max\n255 characters). The body is the post's `description` (up to 50,000\ncharacters, split into paragraphs), falling back to the caption. A\nper-target `caption` on the Ghost target wins over both. Video (MP4,\nWebM, OGV), image, text or carousel posts (up to 20 items: images\nbecome a gallery, videos their own cards). The upload size depends\non the site's host. No custom thumbnail: the first image becomes the\nfeature image. No first comment. Publishing never sends the post as\na newsletter. Deleting the post deletes it from Ghost. No analytics.\n",
      "properties": {
        "title": {
          "type": "string",
          "maxLength": 255,
          "description": "Ghost-only post title. Overrides the target's shared `title`."
        },
        "status": {
          "type": "string",
          "enum": [
            "published",
            "draft"
          ],
          "default": "published",
          "description": "`published` puts the post live; `draft` saves it in Ghost unpublished."
        },
        "visibility": {
          "type": "string",
          "enum": [
            "public",
            "members",
            "paid"
          ],
          "default": "public",
          "description": "Who can read the post. Members-only posts need memberships on in Ghost."
        },
        "tags": {
          "type": "array",
          "maxItems": 30,
          "items": {
            "type": "string",
            "maxLength": 191
          },
          "description": "Tag names. Tags missing on the site are created; the first is the primary tag."
        },
        "excerpt": {
          "type": "string",
          "maxLength": 300,
          "description": "Optional summary for post lists, emails and search results."
        },
        "text_only": {
          "type": "boolean",
          "default": false,
          "description": "Post only the title and body as a text post (no media). Applies\nto video uploads; ignored for image and carousel uploads.\n"
        },
        "alt_text": {
          "type": "string",
          "maxLength": 191,
          "description": "Alt text for a single image."
        },
        "alt_texts": {
          "type": "object",
          "additionalProperties": {
            "type": "string",
            "maxLength": 191
          },
          "description": "Carousels: alt text per image, keyed by the image's upload id."
        }
      }
    },
    "GoogleBusinessOptions": {
      "type": "object",
      "description": "One Google login can manage\nseveral business locations; a post goes to the locations in\n`location_ids`, or to every location with `is_default: true` when\nit's omitted (the first postable location if none is marked), and\nis published as an update on each. Caption (required) max 1500\ncharacters. One photo (JPG or PNG, 10 KB to 5 MB) or text only: no\nvideo, no carousel, no custom thumbnail, no first comment.\nSaved per-user defaults for `cta_type` and `cta_url` apply when\nyou leave them out.\n",
      "properties": {
        "post_type": {
          "type": "string",
          "enum": [
            "STANDARD",
            "EVENT",
            "OFFER"
          ],
          "description": "EVENT and OFFER need `event`; OFFER also needs at least one `offer` field and can't have a button (cta_type is ignored)."
        },
        "event": {
          "type": "object",
          "properties": {
            "title": {
              "type": "string",
              "maxLength": 58
            },
            "start_date": {
              "type": "string",
              "format": "date"
            },
            "end_date": {
              "type": "string",
              "format": "date",
              "description": "Defaults to start_date."
            }
          }
        },
        "offer": {
          "type": "object",
          "properties": {
            "coupon_code": {
              "type": "string",
              "maxLength": 58
            },
            "redeem_url": {
              "type": "string",
              "format": "uri"
            },
            "terms": {
              "type": "string",
              "maxLength": 1500
            }
          }
        },
        "location_ids": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Locations to post to, by `id` from\n`GET /api/v1/google-business/locations`. Omit to use the\ndefault locations. An id that's no longer on the connected\naccount fails the publish with\n`GOOGLE_BUSINESS_LOCATION_NOT_FOUND`.\n"
        },
        "cta_type": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "BOOK",
            "ORDER",
            "SHOP",
            "LEARN_MORE",
            "SIGN_UP",
            "CALL"
          ],
          "description": "Optional button on the post. `CALL` dials the profile's phone\nnumber and takes no URL; every other type needs `cta_url`.\n`null` removes the button.\n"
        },
        "cta_url": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri",
          "description": "The button's link (http or https). Required with every\n`cta_type` except `CALL`.\n"
        },
        "text_only": {
          "type": "boolean",
          "default": false,
          "description": "Post only the caption (no media). Google Business Profile\ncan't post video, so a video upload needs this. Ignored for\nimage uploads.\n"
        }
      }
    },
    "InstagramOptions": {
      "type": "object",
      "properties": {
        "share_to_feed": {
          "type": "boolean",
          "description": "Reel also appears in the main feed. Mutually exclusive with\n`story_only`.\n"
        },
        "share_to_story": {
          "type": "boolean",
          "description": "Cross-post a Story alongside the Reel, single image or\ncarousel. A carousel goes to Stories as one frame per slide,\nin order; video slides over 60 seconds are left out.\nMutually exclusive with `story_only`.\n"
        },
        "story_only": {
          "type": "boolean",
          "description": "Publish only as a Story (no Reel or feed post). Works for\nsingle videos up to 60 seconds, single images and carousels\n(one Story frame per slide). Mutually exclusive with\n`share_to_feed` and `share_to_story`.\n"
        },
        "trial_reel": {
          "type": "boolean"
        },
        "trial_graduation_strategy": {
          "type": "string",
          "enum": [
            "MANUAL",
            "SS_PERFORMANCE"
          ]
        },
        "regular_reel_after_days": {
          "type": "integer",
          "minimum": 1,
          "maximum": 30,
          "description": "With trial_reel, also post the video as a regular Reel this many days after the trial, at the same time. Scheduled once the trial is published, as its own Instagram post."
        },
        "audio_name": {
          "type": "string"
        },
        "collaborators": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "user_tags": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Usernames to tag. On carousels the tags go on the first image slide; Instagram doesn't allow tags on the carousel itself or on video slides."
        },
        "location_id": {
          "type": "string",
          "description": "Facebook Page ID of the location to tag."
        },
        "is_paid_partnership": {
          "type": "boolean",
          "description": "Shows the \"Paid partnership\" label."
        },
        "brand_partners": {
          "type": "array",
          "maxItems": 2,
          "items": {
            "type": "string"
          },
          "description": "Instagram usernames of up to 2 brands on a paid partnership\npost (needs `is_paid_partnership`). Requires Facebook Login for\nInstagram on the workspace; brands that can't be found are\nskipped.\n"
        },
        "product_tags": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "product_id"
            ],
            "properties": {
              "product_id": {
                "type": "string",
                "description": "Product id from the account's Instagram Shop catalog."
              },
              "x": {
                "type": "number",
                "minimum": 0,
                "maximum": 1,
                "description": "Horizontal position on an image (0 left, 1 right)."
              },
              "y": {
                "type": "number",
                "minimum": 0,
                "maximum": 1,
                "description": "Vertical position on an image (0 top, 1 bottom)."
              }
            }
          },
          "description": "Products to tag on a single image or Reel (Reels ignore x/y).\nBusiness accounts with an approved Instagram Shop only;\nrequires Facebook Login for Instagram. Not supported on\ncarousels or Stories. Beta.\n"
        },
        "poll": {
          "type": "object",
          "required": [
            "options"
          ],
          "description": "Poll on a feed post, carousel or Reel, with the caption as its\nquestion. Not on Stories, and not together with comment_prompt.\nRequires Facebook Login for Instagram, or the post fails. Beta.\n",
          "properties": {
            "options": {
              "type": "array",
              "minItems": 2,
              "maxItems": 4,
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 25
              }
            },
            "extended": {
              "type": "boolean",
              "description": "Leave the poll open instead of closing it after 3 days."
            }
          }
        },
        "comment_prompt": {
          "type": "boolean",
          "description": "Turns the caption into a prompt that people answer in the\ncomments. Feed posts, carousels and Reels, not Stories. Requires\nFacebook Login for Instagram, or the post fails. Beta.\n"
        },
        "story_caption": {
          "type": "boolean",
          "description": "Shows the caption on the Story. A carousel shows it on the first\nframe only. Beta.\n"
        },
        "is_ai_generated": {
          "type": "boolean",
          "description": "Adds Instagram's \"AI content\" label to the post."
        },
        "comment_dm": {
          "type": [
            "object",
            "null"
          ],
          "description": "DM automation for this post: when someone comments one of the\nkeywords, they get a DM. Checked when the post is saved and\nstarted when it goes live (feed posts, carousels and Reels, not\nStories). Needs the DM automation add-on on Creator, or Team.\nSame fields as a comment DM rule (`keywords`, `messages`,\n`message_mode`, `ai_brief`, `link`, `public_reply_enabled`,\n`public_replies`, `track_clicks`, `delivery`, `button_label`,\n`card_title`, `card_subtitle`, `gate` and the step fields,\n`followup_enabled`, `followup_max`), plus `enabled`. Null removes it.\n",
          "required": [
            "keywords"
          ],
          "properties": {
            "enabled": {
              "type": "boolean",
              "default": true
            },
            "track_clicks": {
              "type": "boolean",
              "default": true,
              "description": "Send the link through a `https://www.shortsync.app/l/` short link\nso clicks are counted (`clicked_count`, `variant_stats`,\n`ai_stats`).\n"
            },
            "delivery": {
              "type": "string",
              "enum": [
                "text",
                "button",
                "card"
              ],
              "default": "text",
              "description": "How the link is sent. `text`: inside the message. `button`: the\nmessage (up to 640 characters, `{link}` left out) with a link\nbutton. `card`: a card with `card_title`, `card_subtitle` and a\nlink button (image cards are set up in ShortSync). Button and card\nneed a `link`. If Instagram doesn't accept a button or card in a\nreply to a comment, the message goes out as text with the link.\n"
            },
            "button_label": {
              "type": [
                "string",
                "null"
              ],
              "maxLength": 20,
              "description": "Button text for `button` and `card`. Defaults to \"Open link\"."
            },
            "card_title": {
              "type": [
                "string",
                "null"
              ],
              "maxLength": 80,
              "description": "Required for `card`."
            },
            "card_subtitle": {
              "type": [
                "string",
                "null"
              ],
              "maxLength": 80
            },
            "keywords": {
              "type": "array",
              "maxItems": 20,
              "items": {
                "type": "string",
                "maxLength": 50
              }
            },
            "messages": {
              "type": "array",
              "minItems": 1,
              "maxItems": 5,
              "items": {
                "type": "string"
              }
            },
            "message_mode": {
              "type": "string",
              "enum": [
                "variants",
                "ai"
              ]
            },
            "ai_brief": {
              "type": [
                "string",
                "null"
              ],
              "maxLength": 500
            },
            "link": {
              "type": [
                "string",
                "null"
              ],
              "maxLength": 500
            },
            "public_reply_enabled": {
              "type": "boolean"
            },
            "public_replies": {
              "type": "array",
              "maxItems": 5,
              "items": {
                "type": "string",
                "maxLength": 300
              }
            }
          }
        },
        "alt_text": {
          "type": "string",
          "maxLength": 1000,
          "description": "Alt text for a single image post, read aloud by screen readers.\nIgnored for Reels, Stories and carousels (use `alt_texts`).\n"
        },
        "alt_texts": {
          "type": "object",
          "additionalProperties": {
            "type": "string",
            "maxLength": 1000
          },
          "description": "Alt text for the images in a carousel, keyed by each image's\nupload id. Videos in a carousel can't have alt text.\n"
        }
      }
    },
    "LinkedInOptions": {
      "type": "object",
      "properties": {
        "alt_text": {
          "type": "string",
          "maxLength": 4086,
          "description": "Alt text for a single image. Without it, the post's title is used."
        },
        "alt_texts": {
          "type": "object",
          "additionalProperties": {
            "type": "string",
            "maxLength": 4086
          },
          "description": "Multi-image posts, alt text per image keyed by the image's upload id."
        },
        "link_preview": {
          "type": "boolean",
          "description": "Text posts only, without a poll or document. Adds a link card (title, description, image) for the first link in the post text. Posted as plain text if the page can't be read."
        },
        "visibility": {
          "type": "string",
          "enum": [
            "PUBLIC",
            "CONNECTIONS",
            "LOGGED_IN"
          ],
          "default": "PUBLIC",
          "description": "Who can see the post. Company Page authors always post as\n`PUBLIC`; LinkedIn doesn't support the other values for Pages.\n"
        },
        "poll": {
          "type": [
            "object",
            "null"
          ],
          "description": "Text posts only (create the post without `upload_id`). Posts a\nsingle-choice LinkedIn poll with the caption above it. Can't be\ncombined with `document`. LinkedIn doesn't allow editing a poll\nonce it's posted. The duration counts from publish time.\n",
          "required": [
            "question",
            "options"
          ],
          "properties": {
            "question": {
              "type": "string",
              "maxLength": 140
            },
            "options": {
              "type": "array",
              "minItems": 2,
              "maxItems": 4,
              "items": {
                "type": "string",
                "maxLength": 30
              }
            },
            "duration": {
              "type": "string",
              "enum": [
                "ONE_DAY",
                "THREE_DAYS",
                "SEVEN_DAYS",
                "FOURTEEN_DAYS"
              ],
              "default": "SEVEN_DAYS"
            }
          }
        },
        "document": {
          "type": [
            "object",
            "null"
          ],
          "description": "Text posts only (create the post without `upload_id`). Attaches a\ndocument that LinkedIn shows as a swipeable carousel. PDF, PPT,\nPPTX, DOC or DOCX, up to 100 MB and 300 pages. Fetched from `url`\nat publish time, or pass the `document` object an import returned\n(`POST /imports` with a OneDrive, Box or Frame.io document). Can't\nbe combined with `poll`.\n",
          "properties": {
            "url": {
              "type": "string",
              "format": "uri",
              "description": "Public https URL ending in .pdf, .ppt, .pptx, .doc or .docx. Required unless `s3Key` is set."
            },
            "s3Key": {
              "type": "string",
              "description": "The key from an import's `document` object. Use it instead of `url`."
            },
            "title": {
              "type": "string",
              "maxLength": 200,
              "description": "Name shown on the document. Defaults to the file name."
            }
          }
        }
      }
    },
    "MastodonOptions": {
      "type": "object",
      "properties": {
        "alt_text": {
          "type": "string",
          "maxLength": 1500,
          "description": "Media description for a single image or video."
        },
        "alt_texts": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Carousels, alt text per image keyed by the image's upload id."
        },
        "spoiler_text": {
          "type": "string",
          "maxLength": 100,
          "description": "Content warning; the post text stays hidden behind it and media is blurred. Counts toward the 500-character limit."
        },
        "sensitive": {
          "type": "boolean",
          "description": "Blur the media without a text warning."
        },
        "quote_policy": {
          "type": "string",
          "enum": [
            "public",
            "followers",
            "nobody"
          ],
          "description": "Who can quote the post (Mastodon 4.5 and newer; older servers ignore it)."
        },
        "visibility": {
          "type": "string",
          "enum": [
            "public",
            "unlisted",
            "private"
          ],
          "default": "public",
          "description": "`public` appears on public timelines, `unlisted` is federated\nbut hidden from public timelines, `private` is followers-only.\n"
        },
        "language": {
          "type": "string",
          "description": "BCP-47 language code (e.g. `en`, `fi`)."
        },
        "text_only": {
          "type": "boolean",
          "description": "Publish a text-only post (no media)."
        },
        "poll": {
          "type": [
            "object",
            "null"
          ],
          "description": "Text posts only (create the post without `upload_id`). The\ncaption is the question.\n",
          "required": [
            "options"
          ],
          "properties": {
            "options": {
              "type": "array",
              "minItems": 2,
              "maxItems": 4,
              "items": {
                "type": "string",
                "maxLength": 50
              }
            },
            "duration_minutes": {
              "type": "integer",
              "minimum": 5,
              "maximum": 10080,
              "default": 1440
            },
            "multiple": {
              "type": "boolean",
              "default": false,
              "description": "Let people pick more than one option."
            }
          }
        }
      }
    },
    "PinterestOptions": {
      "type": "object",
      "required": [
        "board_id"
      ],
      "properties": {
        "is_ai_generated": {
          "type": "boolean",
          "description": "Adds Pinterest's AI disclosure (`ai_disclosures: AI_MODIFIED`). On image and video Pins, if Pinterest refuses it, the Pin goes out without it."
        },
        "board_section_id": {
          "type": "string",
          "description": "Section of the board to put the Pin in. Get ids from `GET /platforms/pinterest/boards/{board_id}/sections`."
        },
        "board_section_name": {
          "type": "string",
          "description": "Optional display name of the section, shown in the dashboard."
        },
        "board_id": {
          "type": "string",
          "description": "Destination Pinterest board ID. Required unless the workspace\nhas set a default board (`video_preferences.pinterest_board_id`),\nin which case the default is used when omitted. Fetch board\nIDs via `GET /api/v1/platforms/pinterest/boards`.\n"
        },
        "link": {
          "type": "string",
          "format": "uri",
          "description": "Outbound destination URL for the pin. When set, tapping the\npin on Pinterest opens this URL. Optional.\n"
        },
        "alt_text": {
          "type": "string",
          "maxLength": 500,
          "description": "Accessibility alt text for the pin image or video cover.\nPinterest caps this at 500 characters; longer values are\ntruncated server-side.\n"
        },
        "title": {
          "type": "string",
          "maxLength": 100,
          "description": "Override for the pin title. When omitted, falls back to the\nworkspace title, then to a truncated slice of the caption.\nPinterest caps titles at 100 characters. The pin's description\ncomes from the top-level `caption` on the post (or the\n`platform_captions.pinterest` override).\n"
        }
      }
    },
    "PixelfedOptions": {
      "type": "object",
      "description": "Pixelfed is in beta. It's a federated, Mastodon-compatible photo\nnetwork; each connection is one account on one server (instance).\nEvery post needs media (video, image or carousel); there are no\ntext-only posts. Carousels can mix photos and videos, up to 20\nitems, but the connected server's own album cap (often 4) is\nchecked at publish. Caption max 500 characters (some servers allow\nmore). Photos and videos share one file-size cap set by the server\n(default about 15 MB); oversized videos are compressed, oversized\nimages fail. Video is off by default on Pixelfed servers, so\nposting video to a photo-only server fails with a clear error.\n`first_comment` (max 500 characters) is posted as a reply under\nthe post. No custom thumbnail. Saved workspace defaults for\n`visibility` and `sensitive` apply when you leave them out.\n",
      "properties": {
        "visibility": {
          "type": "string",
          "enum": [
            "public",
            "unlisted",
            "private"
          ],
          "default": "public",
          "description": "`public` shows the post on public timelines, `unlisted` hides\nit from them, `private` shows it to followers only.\n"
        },
        "sensitive": {
          "type": "boolean",
          "default": false,
          "description": "Blurs the media behind a warning."
        },
        "spoiler_text": {
          "type": "string",
          "maxLength": 140,
          "description": "Content-warning text shown over the post. Only used when\n`sensitive` is true.\n"
        }
      }
    },
    "PlatformOptions": {
      "type": "object",
      "description": "Per-platform overrides. Keys are platform identifiers; values are\nplatform-specific objects. Only the keys matching the target's platform\nare read.\n",
      "properties": {
        "tiktok": {
          "$ref": "#/$defs/TikTokOptions"
        },
        "youtube": {
          "$ref": "#/$defs/YouTubeOptions"
        },
        "instagram": {
          "$ref": "#/$defs/InstagramOptions"
        },
        "facebook": {
          "$ref": "#/$defs/FacebookOptions"
        },
        "twitter": {
          "$ref": "#/$defs/TwitterOptions"
        },
        "threads": {
          "$ref": "#/$defs/ThreadsOptions"
        },
        "bluesky": {
          "$ref": "#/$defs/BlueskyOptions"
        },
        "snapchat": {
          "$ref": "#/$defs/SnapchatOptions"
        },
        "pinterest": {
          "$ref": "#/$defs/PinterestOptions"
        },
        "linkedin": {
          "$ref": "#/$defs/LinkedInOptions"
        },
        "telegram": {
          "$ref": "#/$defs/TelegramOptions"
        },
        "mastodon": {
          "$ref": "#/$defs/MastodonOptions"
        },
        "discord": {
          "$ref": "#/$defs/DiscordOptions"
        },
        "tumblr": {
          "$ref": "#/$defs/TumblrOptions"
        },
        "reddit": {
          "$ref": "#/$defs/RedditOptions"
        },
        "pixelfed": {
          "$ref": "#/$defs/PixelfedOptions"
        },
        "google_business": {
          "$ref": "#/$defs/GoogleBusinessOptions"
        },
        "dailymotion": {
          "$ref": "#/$defs/DailymotionOptions"
        },
        "wordpress": {
          "$ref": "#/$defs/WordPressOptions"
        },
        "whatsapp": {
          "$ref": "#/$defs/WhatsAppOptions"
        },
        "ghost": {
          "$ref": "#/$defs/GhostOptions"
        },
        "blogger": {
          "$ref": "#/$defs/BloggerOptions"
        },
        "vimeo": {
          "$ref": "#/$defs/VimeoOptions"
        }
      }
    },
    "PublishMode": {
      "type": "string",
      "enum": [
        "immediate",
        "scheduled",
        "draft"
      ]
    },
    "RedditOptions": {
      "type": "object",
      "description": "Reddit accounts connect through OAuth via bundle.social, so Reddit's\nconsent screen shows \"bundlesocial\". A post goes to one subreddit\n(or your own profile) and can be a video, an image or a text (self)\npost. Carousels aren't supported. The post title is `title` here,\nfalling back to the post's shared `title`; one is required (max 300\ncharacters). The post body is the post's `description` (up to\n30,000 characters). The target's `first_comment` (or the top-level\none) is posted with the post, up to 10,000 characters; it always\ngoes out right away, whatever `first_comment_delay_minutes` says,\nand follow-up comments aren't posted on Reddit. No custom\nthumbnail, no analytics, and posts can't be deleted from ShortSync\n(`PLATFORM_DELETE_UNSUPPORTED`). Each workspace can publish up to\n10 Reddit posts per day. Some subreddits hold posts from new or\nlow-karma accounts for moderator approval. Saved workspace defaults\nfor `subreddit` and `nsfw` apply when you leave them out.\n",
      "properties": {
        "first_comment_text": {
          "type": "string",
          "maxLength": 10000,
          "deprecated": true,
          "description": "Deprecated: use the target's `first_comment`. Still used when no `first_comment` is set."
        },
        "subreddit": {
          "type": "string",
          "description": "Required. Subreddit to post to, as a bare name (`AskReddit`) or\nwith the prefix (`r/AskReddit`). To post to your own profile,\nuse `u_username` or `u/username`. A bare name is always a\nsubreddit: `jane` posts to r/jane, not to u/jane.\n"
        },
        "title": {
          "type": "string",
          "maxLength": 300,
          "description": "Post title. Overrides the post's shared `title`. A post with no\ntitle fails with `MISSING_TITLE`.\n"
        },
        "nsfw": {
          "type": "boolean",
          "default": false,
          "description": "Marks the post as Not Safe For Work."
        },
        "flair_id": {
          "type": "string",
          "description": "Post flair id from the subreddit's flair list. Some subreddits\nrequire a flair and reject posts without one.\n"
        }
      }
    },
    "SnapchatOptions": {
      "type": "object",
      "properties": {
        "formats": {
          "type": "array",
          "minItems": 1,
          "items": {
            "type": "string",
            "enum": [
              "spotlight",
              "story"
            ]
          },
          "description": "Which Snapchat surfaces to publish to. `spotlight` ships to\nthe Spotlight discovery feed; `story` is a 24-hour broadcast\nto your followers. Pass both to publish to both at once.\nDefaults to `[\"spotlight\"]`. Hashtags aren't a separate field\non Snapchat — include them inline in the caption. Snapchat\nrejects Spotlight captions over 160 characters with\n`SNAPCHAT_DESCRIPTION_TOO_LONG`. Story doesn't use the\ncaption at all.\n"
        },
        "skip_save_to_profile": {
          "type": "boolean",
          "default": false,
          "description": "Spotlight-only. When `true`, ask Snapchat not to save the\nSpotlight to your Public Profile grid; the video still ships\nto the Spotlight discovery feed. Ignored when `formats`\ndoesn't include `spotlight`.\n"
        }
      }
    },
    "TelegramOptions": {
      "type": "object",
      "properties": {
        "formatting": {
          "type": "string",
          "enum": [
            "plain",
            "markdown",
            "html"
          ],
          "default": "plain",
          "description": "How the caption is read. `markdown`: `[text](https://url)` links,\n`**bold**`, `*italic*`, `__underline__`, `~~strike~~`,\n`||spoiler||`, `` `code` ``, code blocks and `> ` quotes.\n`html`: Telegram's tags (`<a href>`, `<b>`, `<i>`, `<u>`, `<s>`,\n`<code>`, `<pre>`, `<tg-spoiler>`, `<blockquote>`). Markup\nShortSync doesn't recognise stays as typed, and the length limits\ncount the visible text. Defaults to the workspace's saved default.\n"
        },
        "has_spoiler": {
          "type": "boolean",
          "description": "Blur the photo or video until people tap it."
        },
        "silent": {
          "type": "boolean",
          "description": "Send without a notification sound."
        },
        "poll_close_minutes": {
          "type": "integer",
          "minimum": 1,
          "maximum": 43800,
          "description": "Text posts with a poll, close the poll after this many minutes (Telegram allows about 30 days). Omitted, the poll stays open."
        },
        "text_only": {
          "type": "boolean",
          "description": "Send a text-only message (no media). The upload's bytes are\nskipped. Ignored for image uploads.\n"
        },
        "poll": {
          "type": [
            "object",
            "null"
          ],
          "description": "Text posts only (create the post without `upload_id`). Sent\nas an anonymous poll. When the caption is the same as the\nquestion, only the poll is sent; otherwise the caption goes out\nfirst and the poll right after it. It stays open until `poll_close_minutes` runs out or it's\nclosed in Telegram. If the poll fails, the caption is still\npublished and the error is on the post.\n",
          "required": [
            "question",
            "options"
          ],
          "properties": {
            "question": {
              "type": "string",
              "maxLength": 300
            },
            "options": {
              "type": "array",
              "minItems": 2,
              "maxItems": 10,
              "items": {
                "type": "string",
                "maxLength": 100
              }
            },
            "multiple": {
              "type": "boolean",
              "default": false,
              "description": "Let people pick more than one option."
            }
          }
        }
      }
    },
    "ThreadsOptions": {
      "type": "object",
      "properties": {
        "alt_text": {
          "type": "string",
          "maxLength": 1000,
          "description": "Alt text for a single image or video."
        },
        "alt_texts": {
          "type": "object",
          "additionalProperties": {
            "type": "string",
            "maxLength": 1000
          },
          "description": "Carousels, alt text per item keyed by the item's upload id."
        },
        "topic_tag": {
          "type": "string",
          "maxLength": 50,
          "description": "One topic tag for the post (`topic_tag`); a Threads community's exact name, like Book Threads, posts into that community. Periods and \"&\" are removed."
        },
        "reply_control": {
          "type": "string",
          "enum": [
            "everyone",
            "accounts_you_follow",
            "mentioned_only",
            "followers_only"
          ],
          "description": "Who can reply to the post."
        },
        "text_only": {
          "type": "boolean"
        },
        "poll": {
          "type": [
            "object",
            "null"
          ],
          "description": "Text posts only (create the post without `upload_id`). The\ncaption is the question. Threads keeps the poll open for 24\nhours.\n",
          "required": [
            "options"
          ],
          "properties": {
            "options": {
              "type": "array",
              "minItems": 2,
              "maxItems": 4,
              "items": {
                "type": "string",
                "maxLength": 25
              }
            }
          }
        },
        "is_ai_generated": {
          "type": "boolean",
          "description": "Adds Threads' \"AI content\" label to the post. Works on text, image,\nvideo and carousel posts.\n"
        }
      }
    },
    "TikTokOptions": {
      "type": "object",
      "properties": {
        "post_mode": {
          "type": "string",
          "enum": [
            "direct",
            "draft"
          ]
        },
        "privacy_level": {
          "type": "string",
          "description": "TikTok privacy level (e.g. `PUBLIC_TO_EVERYONE`)."
        },
        "disable_comment": {
          "type": "boolean"
        },
        "disable_duet": {
          "type": "boolean"
        },
        "disable_stitch": {
          "type": "boolean"
        },
        "commercial_content_disclosure": {
          "type": "boolean",
          "description": "Turns on TikTok's commercial content disclosure. Must be true\nfor `is_branded_content` and `is_your_brand` to take effect.\n"
        },
        "is_branded_content": {
          "type": "boolean"
        },
        "is_your_brand": {
          "type": "boolean"
        },
        "is_aigc": {
          "type": "boolean"
        },
        "auto_add_music": {
          "type": "boolean",
          "description": "Photo/carousel posts only. When true, TikTok auto-picks and\nattaches background music. Ignored for video uploads.\n"
        }
      }
    },
    "TumblrOptions": {
      "type": "object",
      "description": "Tumblr is in beta. One Tumblr login can own several blogs; a post\ngoes to the blog in `blog_name`, or to the account's primary blog\nwhen it's omitted. The post text is the post's `description` (up to\n5,000 characters, split into paragraphs); when no description is\nset, the caption is used instead. A per-target `caption` on the\nTumblr target wins over both. Video posts take one video (up to\n500 MB and 10 minutes); photo posts take up to 10 images (no video\nmix); text posts need post text or a `title`. No custom thumbnail\nand no first comment. Tumblr limits each account\nto 250 posts and 20 videos (60 minutes of video) per day.\n",
      "properties": {
        "alt_text": {
          "type": "string",
          "maxLength": 1000,
          "description": "Alt text for a single image."
        },
        "alt_texts": {
          "type": "object",
          "additionalProperties": {
            "type": "string",
            "maxLength": 1000
          },
          "description": "Photo posts with several images, alt text per image keyed by the image's upload id."
        },
        "blog_name": {
          "type": "string",
          "description": "Short name of the blog to post to (e.g. `myblog` for\nmyblog.tumblr.com), one of the connection's blogs. Omit to use\nthe primary blog. A blog that's no longer on the connected\naccount fails the publish with `TUMBLR_BLOG_NOT_FOUND`.\n"
        },
        "tags": {
          "type": "array",
          "maxItems": 30,
          "items": {
            "type": "string"
          },
          "description": "Tags without the leading \"#\". Commas aren't allowed inside a\ntag. Duplicates are dropped.\n"
        },
        "title": {
          "type": "string",
          "maxLength": 4096,
          "description": "Optional heading shown above the post text. Overrides the\npost's shared `title`.\n"
        },
        "text_only": {
          "type": "boolean",
          "default": false,
          "description": "Post only the title and post text as a text post (no media).\nApplies to video uploads; ignored for image and carousel\nuploads.\n"
        }
      }
    },
    "TwitterOptions": {
      "type": "object",
      "properties": {
        "alt_text": {
          "type": "string",
          "maxLength": 1000,
          "description": "Alt text for a single image. If X refuses it, the post goes out without it."
        },
        "alt_texts": {
          "type": "object",
          "additionalProperties": {
            "type": "string",
            "maxLength": 1000
          },
          "description": "Multi-image posts, alt text per image keyed by the image's upload id."
        },
        "paid_partnership": {
          "type": "boolean",
          "description": "X labels the post as a paid promotion (`paid_partnership`). If X refuses the field, the post goes out without it."
        },
        "reply_settings": {
          "type": "string",
          "enum": [
            "everyone",
            "following",
            "mentionedUsers",
            "subscribers",
            "verified"
          ]
        },
        "community_id": {
          "type": "string"
        },
        "text_only": {
          "type": "boolean"
        },
        "for_super_followers_only": {
          "type": "boolean"
        },
        "poll": {
          "type": [
            "object",
            "null"
          ],
          "description": "Text posts only (create the post without `upload_id`). The\ncaption is the question. X doesn't allow editing a poll once\nit's posted.\n",
          "required": [
            "options"
          ],
          "properties": {
            "options": {
              "type": "array",
              "minItems": 2,
              "maxItems": 4,
              "items": {
                "type": "string",
                "maxLength": 25
              }
            },
            "duration_minutes": {
              "type": "integer",
              "minimum": 5,
              "maximum": 10080,
              "default": 1440
            }
          }
        }
      }
    },
    "VimeoOptions": {
      "type": "object",
      "description": "Vimeo is in beta. Video only: no image, text or carousel posts.\nLike YouTube it takes a title (max 128 characters) and a\ndescription (max 5,000 characters) instead of a caption. Vimeo\ndownloads the file from ShortSync, so the video appears once Vimeo\nhas processed it. Upload quotas depend on the Vimeo plan (storage\nand weekly or daily caps); ShortSync allows 10 Vimeo posts per\nworkspace per day. Custom thumbnails are supported, and the first\ncomment (max 5,000 characters) is posted under the video. Vimeo\nmay refuse a comment or thumbnail; that never fails the post.\nDeleting the post removes the video from Vimeo. No analytics yet.\nSaved workspace defaults for `privacy`, `comments`, `license` and\n`tags` apply when you leave them out.\n",
      "properties": {
        "title": {
          "type": "string",
          "maxLength": 128,
          "description": "Vimeo-only title. When empty, the target's `title` is used.\n"
        },
        "privacy": {
          "type": "string",
          "enum": [
            "anybody",
            "unlisted",
            "nobody"
          ],
          "default": "anybody",
          "description": "Who can watch: `anybody` (public), `unlisted` (anyone with the\nlink; some free Vimeo accounts can't use it) or `nobody`\n(only the owner).\n"
        },
        "comments": {
          "type": "string",
          "enum": [
            "anybody",
            "contacts",
            "nobody"
          ],
          "default": "anybody",
          "description": "Who can comment on the video."
        },
        "license": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "by",
            "by-nc",
            "by-nc-nd",
            "by-nc-sa",
            "by-nd",
            "by-sa",
            "cc0"
          ],
          "description": "Optional Creative Commons license. Omit or null for none."
        },
        "tags": {
          "type": "array",
          "maxItems": 20,
          "items": {
            "type": "string",
            "maxLength": 50
          },
          "description": "Tags shown on the video."
        }
      }
    },
    "WhatsAppOptions": {
      "type": "object",
      "description": "WhatsApp is in beta. A WhatsApp post is a broadcast to the\nworkspace's opted-in contacts, sent as one Meta-approved template.\nThe video (MP4 up to 16 MB, larger ones are compressed) or image\n(JPEG/PNG up to 5 MB) becomes the template header, so the\ntemplate's `header_format` must match the post; text posts need a\ntemplate without a media header. The caption (one line, up to\n1,024 characters including the template's own text) fills the\ntemplate's `{{1}}`. No carousels, thumbnail, first comment or\nanalytics, and sent messages can't be deleted. Meta bills the\nconnected WhatsApp account per message.\n",
      "properties": {
        "template_id": {
          "type": "string",
          "format": "uuid",
          "description": "An approved template from `GET /whatsapp/templates`. Required to publish."
        },
        "audience_tags": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Send to contacts with any of these tags. Omit or `[]` for every opted-in contact."
        },
        "text_only": {
          "type": "boolean",
          "description": "Video uploads only. Sends a template without the video."
        }
      }
    },
    "WordPressOptions": {
      "type": "object",
      "description": "One WordPress.com login covers WordPress.com\nsites and self-hosted sites connected through Jetpack; a post goes\nto the site in `site_id`, or to the login's primary site when it's\nomitted (list them with `GET /platforms/wordpress/sites`). Like\nTumblr it uses a title and a body, not a caption: the post title is\n`title` here, else the target's `title`, else the body's first line\n(max 200 characters). The body is the post's `description` (up to\n50,000 characters, split into paragraphs); when no description is\nset, the caption is used instead. A per-target `caption` on the\nWordPress target wins over both. Video, image, text or carousel\nposts (up to 20 items: images become a gallery, videos their own\nblocks). The upload size depends on the site's WordPress.com plan\nor host, and video uploads need a paid WordPress.com plan or a\nJetpack site (or use `video_mode: youtube_embed`). No custom\nthumbnail: the first image becomes the featured image. The first\ncomment (max 5,000 characters) is posted as a comment under the\npost, and skipped when the site has comments off. Deleting the post\nmoves it to the WordPress trash. No analytics.\n",
      "properties": {
        "site_id": {
          "type": "string",
          "description": "WordPress.com site ID of the site to post to, one of the\nconnection's sites from `GET /platforms/wordpress/sites` (only\nsites with `can_publish: true` accept posts). Omit to use the\nprimary site.\n"
        },
        "title": {
          "type": "string",
          "maxLength": 200,
          "description": "WordPress-only post title. Overrides the target's shared\n`title`; when both are empty, the body's first line is used.\n"
        },
        "status": {
          "type": "string",
          "enum": [
            "publish",
            "draft"
          ],
          "default": "publish",
          "description": "`publish` puts the post live; `draft` saves it on the site\nunpublished, to review and publish in WordPress.\n"
        },
        "category_ids": {
          "type": "array",
          "maxItems": 20,
          "items": {
            "type": "integer",
            "minimum": 1
          },
          "description": "Category ids from `GET /platforms/wordpress/sites?site_id=...`.\nOmit to use the site's default category.\n"
        },
        "tags": {
          "type": "array",
          "maxItems": 30,
          "items": {
            "type": "string"
          },
          "description": "Tag names, without the leading \"#\". Tags missing on the site are\ncreated. Duplicates are dropped.\n"
        },
        "excerpt": {
          "type": "string",
          "maxLength": 1000,
          "description": "Optional summary shown by themes in post lists and feeds."
        },
        "text_only": {
          "type": "boolean",
          "default": false,
          "description": "Post only the title and body as a text post (no media). Applies\nto video uploads; ignored for image and carousel uploads.\n"
        },
        "video_mode": {
          "type": "string",
          "enum": [
            "upload",
            "youtube_embed"
          ],
          "default": "upload",
          "description": "`upload` uploads the video to the site's media library.\n`youtube_embed` embeds this upload's published YouTube video\ninstead (for sites whose plan doesn't take video uploads), so\nthe same upload needs a YouTube post. While that YouTube post is\nstill queued or publishing, the WordPress post is retried a few\nminutes later; with no YouTube post at all it fails.\n"
        },
        "alt_text": {
          "type": "string",
          "maxLength": 1000,
          "description": "Alt text for a single image."
        },
        "alt_texts": {
          "type": "object",
          "additionalProperties": {
            "type": "string",
            "maxLength": 1000
          },
          "description": "Carousels: alt text per image, keyed by the image's upload id."
        }
      }
    },
    "YouTubeOptions": {
      "type": "object",
      "properties": {
        "privacy_status": {
          "type": "string",
          "enum": [
            "public",
            "unlisted",
            "private"
          ],
          "description": "Defaults to the workspace's saved YouTube visibility, else\n`public` (same as the dashboard).\n"
        },
        "made_for_kids": {
          "type": "boolean",
          "description": "Required when the video is primarily directed at children.\nSetting to `true` disables comments, personalized ads, and\nforces `notify_subscribers` to false (YouTube doesn't allow\nsubscriber notifications on kid-directed content).\n"
        },
        "notify_subscribers": {
          "type": "boolean"
        },
        "category_id": {
          "type": "string"
        },
        "default_language": {
          "type": "string"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "playlist_ids": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "upload_early_for_review": {
          "type": "boolean",
          "description": "Upload as private now and flip to public at `scheduled_for`."
        },
        "contains_synthetic_media": {
          "type": "boolean",
          "description": "YouTube's \"Altered content / AI use\" disclosure. Enable when\nthe video contains synthetic, altered, or AI-generated\ncontent that could be mistaken for a real place, person, or\nevent. Maps to `status.containsSyntheticMedia`.\n"
        },
        "recording_date": {
          "type": "string",
          "format": "date",
          "description": "Date the video was recorded, as `YYYY-MM-DD`. Surfaces in\nYouTube Studio under \"Recording date and location\". Maps to\n`recordingDetails.recordingDate` (pinned to midnight UTC).\n"
        },
        "has_paid_product_placement": {
          "type": "boolean",
          "description": "YouTube's paid promotion disclosure. Enable when the video\ncontains paid product placement or sponsorship. YouTube\nshows an \"Includes paid promotion\" label to viewers. Maps\nto `paidProductPlacementDetails.hasPaidProductPlacement`.\n"
        },
        "brand_partner": {
          "type": "string",
          "description": "The brand on a paid-promotion video: its YouTube channel\nhandle (`@brand`) or channel ID (`UC...`). Only used when\n`has_paid_product_placement` is true. Set after upload with\n`videos.brandPartner`; a channel that can't link brand\npartners still gets the video posted without it.\n"
        }
      }
    }
  }
}