{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sociality-io/json-schema/sociality-io-post-v1-posts-request-schema.json",
  "title": "PostV1PostsRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/sociality-io-openapi-generated.yml#/components/schemas/PostV1PostsRequest",
  "type": "object",
  "properties": {
    "account_id": {
      "type": "string",
      "description": "The unique identifier of the account that the post is associated with."
    },
    "text": {
      "type": "string",
      "description": "The post's text. (Required if the media is empty)"
    },
    "title": {
      "type": "string",
      "description": "The post's title. The title is used in the video type posts."
    },
    "media": {
      "type": "array",
      "description": "An array containing the media links of the post."
    },
    "is_publish_now": {
      "type": "boolean",
      "description": "If true, the post is published on the social media platform(s) right away without checking published_at parameter."
    },
    "published_at": {
      "type": "string",
      "description": "Indicates the datetime when the post will be published. (Required if the is_publish_now is empty or false)"
    },
    "type": {
      "type": "string",
      "description": "The post's type. Supported types: status, photo, video, gif, carousel, story, reels."
    }
  },
  "required": [
    "account_id",
    "type"
  ]
}