changedOutput schema / anyOf
Previous value: -[
- {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "additionalProperties": false,
- "properties": {
- "canManageBilling": {
- "type": "boolean"
- },
- "credits": {
- "anyOf": [
- {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "available": {
- "type": "number"
- },
- "balance": {
- "type": "number"
- },
- "inFlight": {
- "type": "number"
- }
- },
- "required": [
- "balance",
- "available",
- "inFlight"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- {
- "type": "null"
- }
- ]
- },
- "freeMonthlyLimits": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "generations": {
- "additionalProperties": false,
- "properties": {
- "max": {
- "minimum": 0,
- "type": "number"
- },
- "used": {
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "used",
- "max"
- ],
- "type": "object"
- },
- "monthlyResetDate": {
- "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"
- },
- "tts": {
- "additionalProperties": false,
- "properties": {
- "max": {
- "minimum": 0,
- "type": "number"
- },
- "used": {
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "used",
- "max"
- ],
- "type": "object"
- }
- },
- "required": [
- "generations",
- "tts",
- "monthlyResetDate"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "plan": {
- "type": [
- "string",
- "null"
- ]
- },
- "usage": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "totalCostCents": {
- "type": "number"
- },
- "totalFrames": {
- "minimum": 0,
- "type": "number"
- },
- "totalTtsSeconds": {
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "totalCostCents",
- "totalFrames",
- "totalTtsSeconds"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "plan",
- "canManageBilling",
- "credits",
- "freeMonthlyLimits",
- "usage"
- ],
- "type": "object"
- },
- {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "additionalProperties": false,
- "properties": {
- "error": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "generationId": {
- "type": "string"
- },
- "importJobId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "importStatus": {
- "enum": [
- "queued",
- "downloading",
- "processing",
- "completed",
- "failed"
- ],
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "progress": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "retryAfterMs": {
- "type": "number"
- },
- "retryable": {
- "type": "boolean"
- },
- "status": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "message"
- ],
- "type": "object"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "canManageBilling": {
+ "type": "boolean"
+ },
+ "credits": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "available": {
+ "type": "number"
+ },
+ "balance": {
+ "type": "number"
+ },
+ "inFlight": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "balance",
+ "available",
+ "inFlight"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "elevenLabsKeyConnected": {
+ "type": "boolean"
+ },
+ "freeGenerationsExhausted": {
+ "type": "boolean"
+ },
+ "freeMonthlyLimits": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "generations": {
+ "additionalProperties": false,
+ "properties": {
+ "max": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "used": {
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "used",
+ "max"
+ ],
+ "type": "object"
+ },
+ "monthlyResetDate": {
+ "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"
+ },
+ "tts": {
+ "additionalProperties": false,
+ "properties": {
+ "max": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "used": {
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "used",
+ "max"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "generations",
+ "tts",
+ "monthlyResetDate"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "freeTtsExhausted": {
+ "type": "boolean"
+ },
+ "hasActiveCredits": {
+ "type": "boolean"
+ },
+ "organization": {
+ "additionalProperties": false,
+ "description": "The Sync organization this call ran in.",
+ "properties": {
+ "id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": "object"
+ },
+ "plan": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "usage": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "totalCostCents": {
+ "type": "number"
+ },
+ "totalFrames": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "totalTtsSeconds": {
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "totalCostCents",
+ "totalFrames",
+ "totalTtsSeconds"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "plan",
+ "canManageBilling",
+ "credits",
+ "freeMonthlyLimits",
+ "usage"
+ ],
+ "type": "object"
+ },
+ {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "generationId": {
+ "type": "string"
+ },
+ "importJobId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "importStatus": {
+ "enum": [
+ "queued",
+ "downloading",
+ "processing",
+ "completed",
+ "failed"
+ ],
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "progress": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "retryAfterMs": {
+ "type": "number"
+ },
+ "retryable": {
+ "type": "boolean"
+ },
+ "status": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "message"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ }
+]