{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/audiostack/json-schema/audiostack-story-accepted-response-schema.json",
  "title": "Story Accepted Response",
  "description": "Response when the story creation request is still being processed (202). Includes storyId for polling; may include a status message.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/audiostack-story-api-openapi.yml#/components/schemas/StoryAcceptedResponse",
  "type": "object",
  "allOf": [
    {
      "$ref": "#/$defs/0"
    },
    {
      "type": "object",
      "properties": {
        "message": {
          "type": "string",
          "description": "Optional message describing the current status (e.g. still processing)."
        },
        "data": {
          "type": "object",
          "properties": {
            "storyId": {
              "type": "string",
              "format": "uuid",
              "title": "Story ID",
              "description": "The unique identifier of the story creation request to poll."
            }
          },
          "required": [
            "storyId"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "data"
      ],
      "additionalProperties": false
    }
  ]
}