Deepgram · Schema

Alternative

Artificial IntelligenceSpeech-To-TextText-To-SpeechTranscriptionVoice AI

Properties

Name Type Description
transcript string Full transcript text for this alternative.
confidence number Confidence score for this alternative.
words array Individual words with timing and confidence information.
paragraphs object
View JSON Schema on GitHub

JSON Schema

deepgram-alternative-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Alternative",
  "title": "Alternative",
  "type": "object",
  "properties": {
    "transcript": {
      "type": "string",
      "description": "Full transcript text for this alternative."
    },
    "confidence": {
      "type": "number",
      "format": "float",
      "description": "Confidence score for this alternative.",
      "minimum": 0,
      "maximum": 1
    },
    "words": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Word"
      },
      "description": "Individual words with timing and confidence information."
    },
    "paragraphs": {
      "$ref": "#/components/schemas/ParagraphGroup"
    }
  }
}