{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/speakeroo-app/json-schema/speakeroo-app-analyze-transcript-request-schema.json",
  "title": "AnalyzeTranscriptRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/speakeroo-app-openapi.json#/components/schemas/AnalyzeTranscriptRequest",
  "type": "object",
  "properties": {
    "transcript": {
      "type": "string",
      "maxLength": 20000,
      "description": "What was said, as plain text: a speech transcript or a draft you plan to say out loud."
    },
    "context": {
      "description": "What the speech is for, so the feedback is calibrated to it. Defaults to general.",
      "type": "string",
      "enum": [
        "general",
        "impromptu",
        "presentation",
        "speech",
        "interview",
        "ielts",
        "conversation"
      ]
    },
    "topic": {
      "description": "The question or prompt being answered, e.g. an IELTS cue card or interview question. If omitted, the feedback is not tied to a specific prompt.",
      "type": "string",
      "maxLength": 500
    }
  },
  "required": [
    "transcript"
  ]
}