changedOutput schema / properties / data / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "aspectRatio": {
- "type": [
- "string",
- "null"
- ]
- },
- "downloadUrl": {
- "anyOf": [
- {
- "format": "uri",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "durationMs": {
- "type": [
- "number",
- "null"
- ]
- },
- "error": {
- "type": [
- "string",
- "null"
- ]
- },
- "imageUrl": {
- "anyOf": [
- {
- "format": "uri",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "mediaId": {
- "type": "string"
- },
- "model": {
- "type": [
- "string",
- "null"
- ]
- },
- "playableUrl": {
- "anyOf": [
- {
- "format": "uri",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "posterUrl": {
- "anyOf": [
- {
- "format": "uri",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "progress": {
- "anyOf": [
- {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "progressLabel": {
- "type": [
- "string",
- "null"
- ]
- },
- "prompt": {
- "type": [
- "string",
- "null"
- ]
- },
- "status": {
- "enum": [
- "queued",
- "generating",
- "completed",
- "failed"
- ],
- "type": "string"
- },
- "type": {
- "enum": [
- "image",
- "video",
- "audio"
- ],
- "type": "string"
- },
- "viewUrl": {
- "format": "uri",
- "type": "string"
- },
- "workspaceId": {
- "type": "string"
- }
- },
- "required": [
- "workspaceId",
- "mediaId",
- "type",
- "status",
- "progress",
- "progressLabel",
- "playableUrl",
- "imageUrl",
- "posterUrl",
- "downloadUrl",
- "viewUrl",
- "durationMs",
- "model",
- "aspectRatio",
- "prompt",
- "error"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "activeIndex": {
- "minimum": 0,
- "type": "integer"
- },
- "items": {
- "items": {
- "$ref": "#/properties/data/anyOf/0"
- },
- "maxItems": 8,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "items",
- "activeIndex"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "aspectRatio": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "downloadUrl": {
+ "anyOf": [
+ {
+ "format": "uri",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "durationMs": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "elapsedSeconds": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "error": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "heartbeatAgeSeconds": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "height": {
+ "anyOf": [
+ {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "imageUrl": {
+ "anyOf": [
+ {
+ "format": "uri",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "lastHeartbeatAt": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "mediaId": {
+ "type": "string"
+ },
+ "model": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "playableUrl": {
+ "anyOf": [
+ {
+ "format": "uri",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "posterUrl": {
+ "anyOf": [
+ {
+ "format": "uri",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "progress": {
+ "anyOf": [
+ {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "progressLabel": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "prompt": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "requestedAspectRatio": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "enum": [
+ "queued",
+ "generating",
+ "completed",
+ "failed"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "image",
+ "video",
+ "audio"
+ ],
+ "type": "string"
+ },
+ "viewUrl": {
+ "format": "uri",
+ "type": "string"
+ },
+ "width": {
+ "anyOf": [
+ {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "workspaceId": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "workspaceId",
+ "mediaId",
+ "type",
+ "status",
+ "progress",
+ "progressLabel",
+ "playableUrl",
+ "imageUrl",
+ "posterUrl",
+ "downloadUrl",
+ "viewUrl",
+ "durationMs",
+ "model",
+ "aspectRatio",
+ "prompt",
+ "error"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "activeIndex": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "items": {
+ "items": {
+ "$ref": "#/properties/data/anyOf/0"
+ },
+ "maxItems": 8,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "items",
+ "activeIndex"
+ ],
+ "type": "object"
+ }
+]