{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tareno-co/json-schema/tareno-co-post-api-external-publish-request-schema.json",
  "title": "PostApiExternalPublishRequest",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/tareno-co-openapi-generated.yml#/components/schemas/PostApiExternalPublishRequest",
  "type": "object",
  "properties": {
    "mode": {
      "type": "string",
      "description": "draft, schedule, or publish."
    },
    "accountId": {
      "type": "string",
      "description": "Target account ID."
    },
    "title": {
      "type": "string",
      "description": "Post title."
    },
    "text": {
      "type": "string",
      "description": "Post caption/text."
    },
    "mediaUrls": {
      "type": "array",
      "description": "Array of media URLs."
    },
    "scheduledAt": {
      "type": "string",
      "description": "ISO datetime for scheduling."
    },
    "timezone": {
      "type": "string",
      "description": "Timezone for scheduling."
    }
  },
  "required": [
    "mode"
  ]
}