{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bulkpublish-com/main/json-schema/bulkpublish-com-post-api-posts-request-schema.json",
  "title": "PostApiPostsRequest",
  "x-generated": "2026-10-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/bulkpublish-com-openapi-generated.yml#/components/schemas/PostApiPostsRequest",
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "description": "Post text content"
    },
    "channels": {
      "type": "array",
      "description": "Target channels to publish to"
    },
    "status": {
      "type": "string",
      "description": "\"draft\" | \"scheduled\""
    },
    "mediaFiles": {
      "type": "array",
      "description": "Media file IDs"
    },
    "scheduledAt": {
      "type": "string",
      "description": "When to schedule"
    },
    "timezone": {
      "type": "string",
      "description": "IANA timezone (default: UTC)"
    },
    "labels": {
      "type": "array",
      "description": "Label IDs to attach"
    },
    "postFormat": {
      "type": "string",
      "description": "\"post\" | \"video\" | \"reel\" | \"story\" | \"carousel\" | \"thread\""
    },
    "postTypeOverrides": {
      "type": "object",
      "description": "Per‑platform post type override"
    },
    "platformSpecific": {
      "type": "object",
      "description": "Per‑platform options"
    },
    "deleteMediaAfterPublish": {
      "type": "boolean",
      "description": "Delete uploaded media after publishing"
    }
  },
  "required": [
    "channels"
  ]
}