{
"type": "object",
"additionalProperties": false,
"properties": {
"mode": {
"type": "string",
"enum": [
"start",
"update"
]
},
"operationId": {
"type": "string",
"pattern": "^[a-zA-Z0-9-]{16,64}$",
"description": "Persist a client-generated UUID before this mutation. Repeat identical inputs and this same ID after interruption; a new ID is a new request."
},
"productionId": {
"type": "string",
"pattern": "^[a-fA-F0-9]{24}$",
"description": "ID of the saved Production whose asset context must remain pinned."
},
"storyworldId": {
"type": "string",
"pattern": "^[a-fA-F0-9]{24}$",
"description": "ID of an accessible saved Storyworld returned by discovery. Keep this destination fixed for the operation."
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"sceneId": {
"type": "string",
"pattern": "^[a-fA-F0-9]{24}$"
},
"sceneTitle": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"script": {
"type": "string",
"minLength": 1,
"maxLength": 50000
},
"documentVersion": {
"type": "integer",
"minimum": 1
},
"expectedVersion": {
"type": "integer",
"minimum": 1,
"description": "Copy the current version from the latest workflow read. Refresh after a conflict; never increment or guess it."
},
"aspectRatio": {
"type": "string",
"enum": [
"1:1",
"16:9",
"9:16"
]
}
},
"required": [
"mode",
"operationId"
]
}