{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/telnyx/json-schema/telnyx-voices-response-schema.json",
  "title": "VoicesResponse",
  "description": "List of available voices.",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telnyx-text-to-speech-commands-api-openapi.yml#/components/schemas/VoicesResponse",
  "properties": {
    "voices": {
      "items": {
        "$ref": "#/$defs/Voice"
      },
      "type": "array"
    }
  },
  "type": "object",
  "$defs": {
    "Voice": {
      "description": "A voice available for text-to-speech synthesis.",
      "properties": {
        "gender": {
          "description": "Voice gender.",
          "type": "string"
        },
        "language": {
          "description": "Language code.",
          "type": "string"
        },
        "name": {
          "description": "Voice name.",
          "type": "string"
        },
        "provider": {
          "description": "The TTS provider.",
          "type": "string"
        },
        "voice_id": {
          "description": "Voice identifier.",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}