changedOutput schema / anyOf
Previous value: -[
- {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "additionalProperties": false,
- "properties": {
- "account": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "email": {
- "type": [
- "string",
- "null"
- ]
- },
- "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",
- "email",
- "name"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "capabilities": {
- "additionalProperties": false,
- "properties": {
- "audioTrimming": {
- "const": true,
- "type": "boolean"
- },
- "chatgptAnalytics": {
- "const": true,
- "type": "boolean"
- },
- "projectRenaming": {
- "const": true,
- "type": "boolean"
- },
- "studioDraftSync": {
- "const": true,
- "type": "boolean"
- },
- "studioViewSync": {
- "const": true,
- "type": "boolean"
- }
- },
- "required": [
- "projectRenaming"
- ],
- "type": "object"
- },
- "features": {
- "description": "Feature flags enabled for this organization. Tools that depend on a flag follow the active organization.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "generationLimits": {
- "additionalProperties": false,
- "description": "Generations that can run at once and the longest output one may produce, in seconds. Plan a job within these before creating it.",
- "properties": {
- "concurrency": {
- "minimum": 0,
- "type": "number"
- },
- "maxOutputDurationSeconds": {
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "concurrency",
- "maxOutputDurationSeconds"
- ],
- "type": "object"
- },
- "limits": {
- "additionalProperties": false,
- "properties": {
- "seats": {
- "minimum": 0,
- "type": "number"
- },
- "voiceClone": {
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "seats",
- "voiceClone"
- ],
- "type": "object"
- },
- "organization": {
- "additionalProperties": false,
- "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"
- ]
- },
- "role": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "role"
- ],
- "type": "object"
- },
- "organizationChoice": {
- "additionalProperties": false,
- "description": "How the active organization was chosen, and how to work in another one.",
- "properties": {
- "howToSwitch": {
- "type": "string"
- },
- "selectedBy": {
- "description": "session: chosen with organizations_select. credential: the default of this sign-in or API key.",
- "enum": [
- "session",
- "credential"
- ],
- "type": "string"
- }
- },
- "required": [
- "selectedBy",
- "howToSwitch"
- ],
- "type": "object"
- },
- "plan": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name"
- ],
- "type": "object"
- }
- },
- "required": [
- "account",
- "organization",
- "capabilities",
- "organizationChoice"
- ],
- "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": {
+ "account": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "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",
+ "email",
+ "name"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "capabilities": {
+ "additionalProperties": false,
+ "properties": {
+ "audioTrimming": {
+ "const": true,
+ "type": "boolean"
+ },
+ "chatgptAnalytics": {
+ "const": true,
+ "type": "boolean"
+ },
+ "projectRenaming": {
+ "const": true,
+ "type": "boolean"
+ },
+ "studioDraftSync": {
+ "const": true,
+ "type": "boolean"
+ },
+ "studioViewSync": {
+ "const": true,
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "projectRenaming"
+ ],
+ "type": "object"
+ },
+ "features": {
+ "description": "Feature flags enabled for this organization. Tools that depend on a flag follow the active organization.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "generationLimits": {
+ "additionalProperties": false,
+ "description": "Generations that can run at once and the longest output one may produce, in seconds. Plan a job within these before creating it.",
+ "properties": {
+ "concurrency": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "maxOutputDurationSeconds": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "watermark": {
+ "description": "Whether this organization’s outputs carry the sync. watermark now.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "concurrency",
+ "maxOutputDurationSeconds"
+ ],
+ "type": "object"
+ },
+ "limits": {
+ "additionalProperties": false,
+ "properties": {
+ "seats": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "voiceClone": {
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "seats",
+ "voiceClone"
+ ],
+ "type": "object"
+ },
+ "organization": {
+ "additionalProperties": false,
+ "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"
+ ]
+ },
+ "role": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "role"
+ ],
+ "type": "object"
+ },
+ "organizationChoice": {
+ "additionalProperties": false,
+ "description": "How the active organization was chosen, and how to work in another one.",
+ "properties": {
+ "howToSwitch": {
+ "type": "string"
+ },
+ "selectedBy": {
+ "description": "session: chosen with organizations_select. credential: the default of this sign-in or API key.",
+ "enum": [
+ "session",
+ "credential"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "selectedBy",
+ "howToSwitch"
+ ],
+ "type": "object"
+ },
+ "plan": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "account",
+ "organization",
+ "capabilities",
+ "organizationChoice"
+ ],
+ "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"
+ }
+]