{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/taisly-com/json-schema/taisly-com-post-settings-schema.json",
  "title": "PostSettings",
  "description": "Optional per-platform posting settings. All fields are optional; omitted values keep the existing posting behavior. These settings apply to every selected account on the corresponding platform.",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/taisly-com-openapi.json#/components/schemas/PostSettings",
  "type": "object",
  "properties": {
    "TikTok": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "PUBLIC_TO_EVERYONE",
            "MUTUAL_FOLLOW_FRIENDS",
            "FOLLOWER_OF_CREATOR",
            "SELF_ONLY"
          ],
          "description": "TikTok visibility. Choose a value permitted by the creator's account. Branded content cannot use SELF_ONLY."
        },
        "comment_disabled": {
          "type": "boolean",
          "description": "true disables comments; false does not override the creator's account restrictions."
        },
        "duet_disabled": {
          "type": "boolean",
          "description": "true disables Duet; false does not override the creator's account restrictions."
        },
        "stitch_disabled": {
          "type": "boolean",
          "description": "true disables Stitch; false does not override the creator's account restrictions."
        },
        "brand_content_toggle": {
          "type": "boolean",
          "description": "true discloses a paid partnership promoting a third-party business. Cannot be combined with status SELF_ONLY."
        },
        "brand_organic_toggle": {
          "type": "boolean",
          "description": "true discloses promotion of the creator's own business. May be combined with brand_content_toggle."
        },
        "is_aigc": {
          "type": "boolean",
          "description": "Whether this video is AI-generated. Omit to keep the existing behavior."
        }
      },
      "additionalProperties": true
    },
    "YouTube": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string",
          "description": "Optional YouTube video title, up to 100 characters. Omit to use the post caption."
        },
        "status": {
          "type": "string",
          "enum": [
            "public",
            "private",
            "unlisted"
          ],
          "description": "YouTube video visibility."
        }
      },
      "additionalProperties": true
    }
  },
  "additionalProperties": true
}