changedInput schema / properties / plan / properties / scenes / items / properties / onScreenText / items / properties / render / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "placement": {
- "description": "Where and how the model should show the text in the generated shot.",
- "type": "string"
- },
- "timing": {
- "additionalProperties": false,
- "properties": {
- "basis": {
- "const": "planned-scene",
- "type": "string"
- },
- "fromSeconds": {
- "description": "Scene-relative start, non-negative.",
- "type": "number"
- },
- "sceneSeconds": {
- "description": "Must equal the scene’s own seconds.",
- "type": "number"
- },
- "toSeconds": {
- "description": "Scene-relative end, later than fromSeconds and not past sceneSeconds.",
- "type": "number"
- }
- },
- "required": [
- "basis",
- "sceneSeconds",
- "fromSeconds",
- "toSeconds"
- ],
- "type": "object"
- },
- "version": {
- "const": "model-text.1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "timing",
- "placement"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "layout": {
- "additionalProperties": false,
- "properties": {
- "baselineYN": {
- "type": "number"
- },
- "centerXN": {
- "type": "number"
- },
- "color": {
- "description": "Six-digit #RRGGBB.",
- "type": "string"
- },
- "fontSizeHeightN": {
- "type": "number"
- }
- },
- "required": [
- "centerXN",
- "baselineYN",
- "fontSizeHeightN",
- "color"
- ],
- "type": "object"
- },
- "motion": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "hold",
- "type": "string"
- }
- },
- "required": [
- "kind"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "completeAtSeconds": {
- "type": "number"
- },
- "kind": {
- "const": "word-reveal",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "completeAtSeconds"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "pop",
- "type": "string"
- },
- "peakAfterSeconds": {
- "type": "number"
- },
- "peakScale": {
- "type": "number"
- },
- "revealAtSeconds": {
- "type": "number"
- },
- "settleAfterSeconds": {
- "type": "number"
- },
- "startScale": {
- "type": "number"
- },
- "target": {
- "enum": [
- "whole-cue",
- "last-word"
- ],
- "type": "string"
- }
- },
- "required": [
- "kind",
- "target",
- "revealAtSeconds",
- "peakAfterSeconds",
- "settleAfterSeconds",
- "startScale",
- "peakScale"
- ],
- "type": "object"
- }
- ]
- },
- "timing": {
- "additionalProperties": false,
- "properties": {
- "basis": {
- "const": "planned-scene",
- "type": "string"
- },
- "fromSeconds": {
- "description": "Scene-relative start, non-negative.",
- "type": "number"
- },
- "sceneSeconds": {
- "description": "Must equal the scene’s own seconds.",
- "type": "number"
- },
- "toSeconds": {
- "description": "Scene-relative end, later than fromSeconds and not past sceneSeconds.",
- "type": "number"
- }
- },
- "required": [
- "basis",
- "sceneSeconds",
- "fromSeconds",
- "toSeconds"
- ],
- "type": "object"
- },
- "version": {
- "const": "caption-design.1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "timing",
- "layout",
- "motion"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "placement": {
+ "description": "Where and how the model should show the text in the generated shot.",
+ "type": "string"
+ },
+ "timing": {
+ "$ref": "#/definitions/s1"
+ },
+ "version": {
+ "const": "model-text.1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "timing",
+ "placement"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "layout": {
+ "additionalProperties": false,
+ "properties": {
+ "baselineYN": {
+ "type": "number"
+ },
+ "centerXN": {
+ "type": "number"
+ },
+ "color": {
+ "description": "Six-digit #RRGGBB.",
+ "type": "string"
+ },
+ "fontSizeHeightN": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "centerXN",
+ "baselineYN",
+ "fontSizeHeightN",
+ "color"
+ ],
+ "type": "object"
+ },
+ "motion": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "hold",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "completeAtSeconds": {
+ "type": "number"
+ },
+ "kind": {
+ "const": "word-reveal",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "completeAtSeconds"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "pop",
+ "type": "string"
+ },
+ "peakAfterSeconds": {
+ "type": "number"
+ },
+ "peakScale": {
+ "type": "number"
+ },
+ "revealAtSeconds": {
+ "type": "number"
+ },
+ "settleAfterSeconds": {
+ "type": "number"
+ },
+ "startScale": {
+ "type": "number"
+ },
+ "target": {
+ "enum": [
+ "whole-cue",
+ "last-word"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "target",
+ "revealAtSeconds",
+ "peakAfterSeconds",
+ "settleAfterSeconds",
+ "startScale",
+ "peakScale"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "timing": {
+ "$ref": "#/definitions/s1"
+ },
+ "version": {
+ "const": "caption-design.1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "timing",
+ "layout",
+ "motion"
+ ],
+ "type": "object"
+ }
+]