{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fuxux-com/json-schema/fuxux-com-publish-result-schema.json",
  "title": "PublishResult",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fuxux-com-openapi.json#/components/schemas/PublishResult",
  "type": "object",
  "properties": {
    "platform": {
      "type": "string"
    },
    "account_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "account_label": {
      "type": [
        "string",
        "null"
      ],
      "description": "Display label for the account, e.g. \"@brand\"."
    },
    "success": {
      "type": "boolean"
    },
    "platform_post_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "permalink": {
      "type": [
        "string",
        "null"
      ],
      "description": "Exact link to the published post, when the platform returns one."
    },
    "error": {
      "type": [
        "string",
        "null"
      ]
    },
    "still_processing": {
      "type": "boolean",
      "description": "Some networks confirm publish status asynchronously. If true, `success` is false but the post was accepted and may still go live — check the post's status again shortly rather than treating this as a hard failure."
    },
    "inbox_pending": {
      "type": "boolean",
      "description": "The platform accepted the media into an inbox/draft flow (e.g. TikTok's video upload inbox) rather than publishing directly. Counted as success, but the post is not necessarily live yet — the creator may need to finish posting from within that platform's own app."
    }
  }
}