{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/post-bridge-com/json-schema/post-bridge-com-update-post-dto-schema.json",
  "title": "UpdatePostDto",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/post-bridge-com-openapi.yml#/components/schemas/UpdatePostDto",
  "type": "object",
  "properties": {
    "caption": {
      "type": "string",
      "description": "Caption text for the post"
    },
    "scheduled_at": {
      "type": [
        "object",
        "null"
      ],
      "description": "Scheduled date and time for the post, setting to null will post instantly"
    },
    "platform_configurations": {
      "type": [
        "object",
        "null"
      ],
      "description": "Platform-specific configurations for the post"
    },
    "account_configurations": {
      "type": [
        "object",
        "null"
      ],
      "description": "Account-specific configurations for the post"
    },
    "media": {
      "type": [
        "object",
        "null"
      ],
      "description": "Array of media IDs associated with the post"
    },
    "media_urls": {
      "description": "Array of publicly accesible media URLs associated with the post, will be ignored if media is provided",
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "social_accounts": {
      "description": "Array of social account IDs for posting",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "is_draft": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "If true will create the post but not process it until it is updated with a scheduled date or processed instantly"
    },
    "processing_enabled": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "If true will process video files to ensure they post, If false we will skip all video processing",
      "default": true
    }
  }
}