changedOutput schema / properties / take / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "audio": {
- "additionalProperties": false,
- "properties": {
- "analysis": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "channels": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "codec": {
- "const": "mp3",
- "type": "string"
- },
- "decodedSamples": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "method": {
- "const": "ffmpeg-astats",
- "type": "string"
- },
- "peakDbfs": {
- "type": "number"
- },
- "rmsDbfs": {
- "type": "number"
- },
- "sampleRate": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "silenceThresholdDbfs": {
- "const": -60,
- "type": "number"
- },
- "version": {
- "const": 1,
- "type": "number"
- }
- },
- "required": [
- "version",
- "method",
- "codec",
- "sampleRate",
- "channels",
- "decodedSamples",
- "peakDbfs",
- "rmsDbfs",
- "silenceThresholdDbfs"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "bytes": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "contentType": {
- "const": "audio/mpeg",
- "type": "string"
- },
- "sha256": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- }
- },
- "required": [
- "sha256",
- "bytes",
- "contentType",
- "analysis"
- ],
- "type": "object"
- },
- "durationSeconds": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "durationSource": {
- "enum": [
- "decoded",
- "legacy-container"
- ],
- "type": "string"
- },
- "preparedRequest": {
- "additionalProperties": false,
- "properties": {
- "body": {
- "additionalProperties": false,
- "properties": {
- "applyTextNormalization": {
- "const": "auto",
- "type": "string"
- },
- "modelId": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "nextText": {
- "maxLength": 100,
- "type": "string"
- },
- "outputFormat": {
- "const": "mp3_44100_128",
- "type": "string"
- },
- "previousRequestIds": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 3,
- "type": "array"
- },
- "previousText": {
- "maxLength": 100,
- "type": "string"
- },
- "text": {
- "maxLength": 10000,
- "minLength": 1,
- "type": "string"
- },
- "voiceSettings": {
- "additionalProperties": false,
- "properties": {
- "similarityBoost": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "stability": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "stability",
- "similarityBoost"
- ],
- "type": "object"
- }
- },
- "required": [
- "text",
- "modelId",
- "outputFormat",
- "voiceSettings",
- "applyTextNormalization"
- ],
- "type": "object"
- },
- "processing": {
- "additionalProperties": false,
- "properties": {
- "speed": {
- "maximum": 4,
- "minimum": 0.25,
- "type": "number"
- },
- "version": {
- "const": "ffmpeg-atempo-v1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "speed"
- ],
- "type": "object"
- },
- "provider": {
- "const": "elevenlabs",
- "type": "string"
- },
- "version": {
- "const": 1,
- "type": "number"
- },
- "voiceId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "version",
- "provider",
- "voiceId",
- "body",
- "processing"
- ],
- "type": "object"
- },
- "requestFingerprint": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "timingSource": {
- "const": "provider",
- "type": "string"
- }
- },
- "required": [
- "requestFingerprint",
- "preparedRequest",
- "timingSource",
- "durationSeconds",
- "durationSource",
- "audio"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "audio": {
+ "additionalProperties": false,
+ "properties": {
+ "analysis": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "channels": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "codec": {
+ "const": "mp3",
+ "type": "string"
+ },
+ "decodedSamples": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "method": {
+ "const": "ffmpeg-astats",
+ "type": "string"
+ },
+ "peakDbfs": {
+ "type": "number"
+ },
+ "rmsDbfs": {
+ "type": "number"
+ },
+ "sampleRate": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "silenceThresholdDbfs": {
+ "const": -60,
+ "type": "number"
+ },
+ "version": {
+ "const": 1,
+ "type": "number"
+ }
+ },
+ "required": [
+ "version",
+ "method",
+ "codec",
+ "sampleRate",
+ "channels",
+ "decodedSamples",
+ "peakDbfs",
+ "rmsDbfs",
+ "silenceThresholdDbfs"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "bytes": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "contentType": {
+ "const": "audio/mpeg",
+ "type": "string"
+ },
+ "sha256": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "sha256",
+ "bytes",
+ "contentType",
+ "analysis"
+ ],
+ "type": "object"
+ },
+ "durationSeconds": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "durationSource": {
+ "enum": [
+ "decoded",
+ "legacy-container"
+ ],
+ "type": "string"
+ },
+ "preparedRequest": {
+ "additionalProperties": false,
+ "properties": {
+ "body": {
+ "additionalProperties": false,
+ "properties": {
+ "applyTextNormalization": {
+ "const": "auto",
+ "type": "string"
+ },
+ "languageCode": {
+ "maxLength": 12,
+ "minLength": 2,
+ "type": "string"
+ },
+ "modelId": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "nextText": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "outputFormat": {
+ "const": "mp3_44100_128",
+ "type": "string"
+ },
+ "previousRequestIds": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "previousText": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "seed": {
+ "maximum": 4294967295,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "text": {
+ "maxLength": 10000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "voiceSettings": {
+ "additionalProperties": false,
+ "properties": {
+ "similarityBoost": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "stability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "stability",
+ "similarityBoost"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "text",
+ "modelId",
+ "outputFormat",
+ "voiceSettings",
+ "applyTextNormalization"
+ ],
+ "type": "object"
+ },
+ "processing": {
+ "additionalProperties": false,
+ "properties": {
+ "speed": {
+ "maximum": 4,
+ "minimum": 0.25,
+ "type": "number"
+ },
+ "version": {
+ "const": "ffmpeg-atempo-v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "speed"
+ ],
+ "type": "object"
+ },
+ "provider": {
+ "const": "elevenlabs",
+ "type": "string"
+ },
+ "version": {
+ "const": 1,
+ "type": "number"
+ },
+ "voiceId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "provider",
+ "voiceId",
+ "body",
+ "processing"
+ ],
+ "type": "object"
+ },
+ "requestFingerprint": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "timingSource": {
+ "const": "provider",
+ "type": "string"
+ }
+ },
+ "required": [
+ "requestFingerprint",
+ "preparedRequest",
+ "timingSource",
+ "durationSeconds",
+ "durationSource",
+ "audio"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]