Microsoft Azure · Schema

audioVerboseResponse

Translation or transcription response when response_format was verbose_json

API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1
View JSON Schema on GitHub

JSON Schema

microsoft-azure-audioverboseresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/audioVerboseResponse",
  "title": "audioVerboseResponse",
  "description": "Translation or transcription response when response_format was verbose_json",
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/audioResponse"
    },
    {
      "properties": {
        "task": {
          "type": "string",
          "description": "Type of audio task.",
          "enum": [
            "transcribe",
            "translate"
          ],
          "x-ms-enum": {
            "modelAsString": true
          }
        },
        "language": {
          "type": "string",
          "description": "Language."
        },
        "duration": {
          "type": "number",
          "description": "Duration."
        },
        "segments": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/audioSegment"
          }
        }
      }
    }
  ],
  "required": [
    "text"
  ]
}