changedOutput schema / properties / models / items / properties / inputs / anyOf
Previous value: -[
- {
- "items": {
- "additionalProperties": false,
- "properties": {
- "controls": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "default": {
- "anyOf": [
- {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- },
- {
- "type": "boolean"
- },
- {
- "items": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- },
- {
- "type": "boolean"
- }
- ]
- },
- "type": "array"
- }
- ]
- },
- {
- "type": "null"
- }
- ]
- },
- "help": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "description": "The key to use in options; the scene's prompt field goes in prompt.",
- "type": "string"
- },
- "kind": {
- "description": "text, long-text, choice, number, toggle, count, seed, media (upload URLs), song, library, timeline, elements or hidden.",
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "max": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "max_length": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "min": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "options": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "type": "string"
- },
- "value": {
- "type": "string"
- }
- },
- "required": [
- "value",
- "label"
- ],
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "The allowed values of a choice; null for other kinds."
- },
- "required": {
- "type": "boolean"
- },
- "value_type": {
- "description": "The JSON shape to send: string, number, boolean, string[], object or object[].",
- "type": "string"
- }
- },
- "required": [
- "id",
- "kind",
- "value_type",
- "label",
- "help",
- "required",
- "default",
- "options",
- "min",
- "max",
- "max_length"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "scene": {
- "type": "string"
- }
- },
- "required": [
- "scene",
- "controls"
- ],
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "controls": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "default": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "items": {
+ "type": [
+ "string",
+ "number",
+ "boolean"
+ ]
+ },
+ "type": "array"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "help": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "description": "The key to use in options; the scene's prompt field goes in prompt.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "text, long-text, choice, number, toggle, count, seed, media (upload URLs), song, library, timeline, elements or hidden.",
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "max": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "max_length": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "min": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "options": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "value",
+ "label"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The allowed values of a choice; null for other kinds."
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "value_type": {
+ "description": "The JSON shape to send: string, number, boolean, string[], object or object[].",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "value_type",
+ "label",
+ "help",
+ "required",
+ "default",
+ "options",
+ "min",
+ "max",
+ "max_length"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "scene": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "scene",
+ "controls"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+]