{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "TranslationResponse",
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "The translated text in English."
    },
    "task": {
      "type": "string",
      "description": "The task performed, always translate."
    },
    "language": {
      "type": "string",
      "description": "The detected language of the input audio."
    },
    "duration": {
      "type": "number",
      "description": "The duration of the input audio in seconds."
    },
    "segments": {
      "type": "array",
      "description": "Segments of the translated text with timestamps."
    }
  }
}