changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": {},
- "properties": {
- "languages": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "type": "string"
- },
- "locale": {
- "type": "string"
- }
- },
- "required": [
- "locale",
- "label"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "limit": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "operation_id": {
- "type": "string"
- },
- "regions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "type": "string"
- },
- "locale": {
- "type": "string"
- },
- "voices": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "gender": {
- "enum": [
- "female",
- "male",
- "neutral"
- ],
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "nativeLocale": {
- "type": "string"
- },
- "provider_voice_id": {
- "description": "Provider voice ID used when assigning a built-in voice to an agent.",
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "sample": {
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "provider_voice_id",
- "label",
- "gender"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "locale",
- "label",
- "voices"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "voices": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "created_at": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "provider_voice_id": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Provider ID for preview and agent assignment once the clone is ready and the account is entitled."
- },
- "status": {
- "enum": [
- "creating",
- "ready",
- "verification_required",
- "failed",
- "deleting"
- ],
- "type": "string"
- },
- "voice_id": {
- "description": "Patch clone ID for renaming, deleting or checking verification.",
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "voice_id",
- "provider_voice_id",
- "label",
- "status",
- "created_at"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "languages",
- "regions",
- "voices",
- "limit"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "error": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "message": {
- "type": "string"
- },
- "next_action": {
- "type": "string"
- },
- "operation_id": {
- "type": "string"
- },
- "status": {
- "type": "string"
- }
- },
- "required": [
- "operation_id",
- "status"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": {},
+ "properties": {
+ "languages": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "locale": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "locale",
+ "label"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "operation_id": {
+ "type": "string"
+ },
+ "regions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "locale": {
+ "type": "string"
+ },
+ "voices": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "accent": {
+ "type": "string"
+ },
+ "description": {
+ "description": "The voice's tone.",
+ "type": "string"
+ },
+ "gender": {
+ "enum": [
+ "female",
+ "male",
+ "neutral"
+ ],
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "provider_voice_id": {
+ "description": "Voice ID used when assigning a built-in voice to an agent.",
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "sample": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "provider_voice_id",
+ "label"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "locale",
+ "label",
+ "voices"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "languages",
+ "regions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "error": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "next_action": {
+ "type": "string"
+ },
+ "operation_id": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation_id",
+ "status"
+ ],
+ "type": "object"
+ }
+]