{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/refract-social/json-schema/refract-social-post-workspaces-workspace-posts-request-schema.json",
  "title": "PostWorkspacesWorkspacePostsRequest",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/refract-social-openapi-generated.yml#/components/schemas/PostWorkspacesWorkspacePostsRequest",
  "type": "object",
  "properties": {
    "data.type": {
      "type": "string",
      "description": "must be \"posts\""
    },
    "data.attributes.text": {
      "type": "string",
      "description": "post text"
    },
    "data.attributes.accounts": {
      "type": "string",
      "description": "array of account ids"
    },
    "data.attributes.media": {
      "type": "string",
      "description": "array of media ids"
    },
    "data.attributes.variants": {
      "type": "string",
      "description": "platform specific variants"
    }
  },
  "required": [
    "data.type",
    "data.attributes.text",
    "data.attributes.accounts"
  ]
}