{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/audiopod-ai/json-schema/audiopod-ai-audiobook-paragraph-response-schema.json",
  "title": "AudiobookParagraphResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/audiopod-ai-audiobook-api-openapi.yml#/components/schemas/AudiobookParagraphResponse",
  "properties": {
    "narration_execution": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Narration Execution"
    },
    "id": {
      "type": "string",
      "format": "uuid",
      "title": "Id"
    },
    "chapter_id": {
      "type": "string",
      "format": "uuid",
      "title": "Chapter Id"
    },
    "project_id": {
      "type": "string",
      "format": "uuid",
      "title": "Project Id"
    },
    "position": {
      "type": "integer",
      "title": "Position"
    },
    "text": {
      "type": "string",
      "title": "Text"
    },
    "word_count": {
      "type": "integer",
      "title": "Word Count"
    },
    "character_count": {
      "type": "integer",
      "title": "Character Count"
    },
    "voice_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Voice Id"
    },
    "narration_speed": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Narration Speed"
    },
    "narration_style": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Narration Style"
    },
    "emotion": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Emotion"
    },
    "character_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Character Name"
    },
    "direction": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Direction"
    },
    "pause_after_ms": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pause After Ms"
    },
    "review_flags": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Review Flags"
    },
    "audio_file_path": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Audio File Path"
    },
    "duration_seconds": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Duration Seconds"
    },
    "edit_base_take_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Edit Base Take Id"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "locked": {
      "type": "boolean",
      "title": "Locked"
    },
    "skip_narration": {
      "type": "boolean",
      "title": "Skip Narration"
    },
    "state_version": {
      "type": "integer",
      "title": "State Version",
      "description": "Monotonic version of this record. It increases whenever the record's status, audio, review state or text changes, and equals the id of the matching event on the project's event stream. Keep the higher one.",
      "default": 0
    },
    "error_message": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Error Message"
    },
    "retry_count": {
      "type": "integer",
      "title": "Retry Count"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Updated At"
    },
    "warnings": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Warnings"
    }
  },
  "type": "object",
  "required": [
    "id",
    "chapter_id",
    "project_id",
    "position",
    "text",
    "word_count",
    "character_count",
    "voice_id",
    "narration_speed",
    "narration_style",
    "audio_file_path",
    "duration_seconds",
    "status",
    "locked",
    "skip_narration",
    "error_message",
    "retry_count",
    "created_at",
    "updated_at"
  ]
}