{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/imageat-com/json-schema/imageat-com-social-post-request-schema.json",
  "title": "SocialPostRequest",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/imageat-com-openapi.yml#/components/schemas/SocialPostRequest",
  "type": "object",
  "required": [
    "account_ids"
  ],
  "properties": {
    "account_ids": {
      "type": "array",
      "minItems": 1,
      "maxItems": 10,
      "items": {
        "type": "string"
      }
    },
    "caption": {
      "type": "string"
    },
    "captions": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Per-account captions keyed by account id"
    },
    "remind_account_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Subset of account_ids to remind the user about (email at the scheduled time) instead of posting, for platforms where can_publish is false"
    },
    "generation_id": {
      "type": "string",
      "description": "A generation on your account to post"
    },
    "media_url": {
      "type": "string",
      "format": "uri",
      "description": "such JPEG, PNG, WebP or MP4 (up to 100 MB)"
    },
    "alt_text": {
      "type": "string",
      "maxLength": 300
    },
    "mode": {
      "type": "string",
      "enum": [
        "draft",
        "schedule",
        "publish"
      ],
      "default": "draft"
    },
    "scheduled_at": {
      "type": "string",
      "format": "date-time"
    },
    "timezone": {
      "type": "string",
      "description": "IANA zone",
      "e.g. Europe/Istanbul": null
    }
  }
}