changedInput schema / properties / mask / anyOf
Previous value: -[
- {
- "properties": {
- "add": {
- "description": "More shapes in the same selection, e.g. two panels; feather, invert and mode apply to all",
- "items": {
- "$ref": "#/$defs/MaskShape"
- },
- "maxItems": 8,
- "minItems": 1,
- "type": "array"
- },
- "corner_radius": {
- "description": "rectangle: corner radius as a fraction of its short side",
- "maximum": 0.5,
- "minimum": 0,
- "type": "number"
- },
- "feather": {
- "description": "Soft edge as a fraction of the picture short side",
- "maximum": 0.5,
- "minimum": 0,
- "type": "number"
- },
- "height": {
- "$ref": "#/$defs/Animatable",
- "description": "Fraction of the fitted frame height (default 0.5); band thickness for mirror; 0 to 10"
- },
- "invert": {
- "description": "Select the outside instead",
- "type": "boolean"
- },
- "media_id": {
- "description": "matte: media whose alpha (or brightness) selects",
- "pattern": "^m_[0-9a-z]{26}$",
- "type": "string"
- },
- "mode": {
- "description": "show (default) only the selection, hide it, or fill it: painted in from its surroundings",
- "enum": [
- "show",
- "hide",
- "fill"
- ],
- "type": "string"
- },
- "points": {
- "anyOf": [
- {
- "$ref": "#/$defs/MaskPoints"
- },
- {
- "properties": {
- "keyframes": {
- "items": {
- "properties": {
- "ease": {
- "type": "string"
- },
- "frame": {
- "maximum": 100000000,
- "minimum": -1000000,
- "type": "integer"
- },
- "points": {
- "$ref": "#/$defs/MaskPoints"
- }
- },
- "required": [
- "frame",
- "points"
- ],
- "type": "object"
- },
- "maxItems": 1000,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "keyframes"
- ],
- "type": "object"
- }
- ],
- "description": "polygon: [x, y] corners in the fitted frame, 0–1, or {keyframes: [{frame, points, ease}]}"
- },
- "rotation": {
- "$ref": "#/$defs/Animatable",
- "description": "Degrees clockwise; for linear, the edge angle; -36000 to 36000"
- },
- "shape": {
- "enum": [
- "rectangle",
- "ellipse",
- "linear",
- "mirror",
- "heart",
- "star",
- "polygon",
- "matte"
- ],
- "type": "string"
- },
- "width": {
- "$ref": "#/$defs/Animatable",
- "description": "Fraction of the fitted frame width (default 0.5); 0 to 10"
- },
- "x": {
- "$ref": "#/$defs/Animatable",
- "description": "Mask centre x in the fitted frame, 0–1 (default 0.5); -4 to 5"
- },
- "y": {
- "$ref": "#/$defs/Animatable",
- "description": "Mask centre y in the fitted frame, 0–1 (default 0.5); -4 to 5"
- }
- },
- "required": [
- "shape"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "properties": {
+ "add": {
+ "description": "More shapes in the same selection, e.g. two panels; feather, invert and mode apply to all",
+ "items": {
+ "$ref": "#/$defs/MaskShape"
+ },
+ "maxItems": 8,
+ "minItems": 1,
+ "type": "array"
+ },
+ "corner_radius": {
+ "description": "rectangle: corner radius as a fraction of its short side",
+ "maximum": 0.5,
+ "minimum": 0,
+ "type": "number"
+ },
+ "feather": {
+ "description": "Soft edge as a fraction of the picture short side",
+ "maximum": 0.5,
+ "minimum": 0,
+ "type": "number"
+ },
+ "height": {
+ "$ref": "#/$defs/Animatable",
+ "description": "Fraction of the fitted frame height (default 0.5); band thickness for mirror; 0 to 10"
+ },
+ "invert": {
+ "description": "Select the outside instead",
+ "type": "boolean"
+ },
+ "media_id": {
+ "description": "matte: media whose alpha (or brightness) selects",
+ "pattern": "^m_[0-9a-z]{26}$",
+ "type": "string"
+ },
+ "mode": {
+ "description": "show (default) only the selection, hide it, or fill it (painted in from around it and from earlier frames)",
+ "enum": [
+ "show",
+ "hide",
+ "fill"
+ ],
+ "type": "string"
+ },
+ "points": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/MaskPoints"
+ },
+ {
+ "properties": {
+ "keyframes": {
+ "items": {
+ "properties": {
+ "ease": {
+ "type": "string"
+ },
+ "frame": {
+ "maximum": 100000000,
+ "minimum": -1000000,
+ "type": "integer"
+ },
+ "points": {
+ "$ref": "#/$defs/MaskPoints"
+ }
+ },
+ "required": [
+ "frame",
+ "points"
+ ],
+ "type": "object"
+ },
+ "maxItems": 1000,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "keyframes"
+ ],
+ "type": "object"
+ }
+ ],
+ "description": "polygon: [x, y] corners in the fitted frame, 0–1, or {keyframes: [{frame, points, ease}]}"
+ },
+ "rotation": {
+ "$ref": "#/$defs/Animatable",
+ "description": "Degrees clockwise; for linear, the edge angle; -36000 to 36000"
+ },
+ "shape": {
+ "enum": [
+ "rectangle",
+ "ellipse",
+ "linear",
+ "mirror",
+ "heart",
+ "star",
+ "polygon",
+ "matte"
+ ],
+ "type": "string"
+ },
+ "width": {
+ "$ref": "#/$defs/Animatable",
+ "description": "Fraction of the fitted frame width (default 0.5); 0 to 10"
+ },
+ "x": {
+ "$ref": "#/$defs/Animatable",
+ "description": "Mask centre x in the fitted frame, 0–1 (default 0.5); -4 to 5"
+ },
+ "y": {
+ "$ref": "#/$defs/Animatable",
+ "description": "Mask centre y in the fitted frame, 0–1 (default 0.5); -4 to 5"
+ }
+ },
+ "required": [
+ "shape"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]