{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sprkly-app/json-schema/sprkly-app-create-post-response-schema.json",
  "title": "CreatePostResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sprkly-app-openapi.yml#/components/schemas/CreatePostResponse",
  "type": "object",
  "properties": {
    "postIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "One post per account."
    },
    "status": {
      "type": "string",
      "enum": [
        "scheduled",
        "pending_approval"
      ]
    },
    "approvalIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Only when requiresApproval was true."
    },
    "scheduledTime": {
      "type": "string",
      "format": "date-time"
    },
    "media": {
      "type": "object",
      "additionalProperties": true,
      "description": "willPublishAs, plus sizes and advisories when there are any."
    }
  }
}