changedInput schema / $defs / StructureOp / oneOf
Previous value: -[
- {
- "description": "Move layers under another parent (the page when parent_id is omitted) at `index` (end when omitted). Their x/y stay relative to the new parent.",
- "properties": {
- "ids": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "index": {
- "minimum": 0,
- "type": "integer"
- },
- "op": {
- "const": "move",
- "type": "string"
- },
- "parent_id": {
- "type": "string"
- }
- },
- "required": [
- "op",
- "ids"
- ],
- "type": "object"
- },
- {
- "description": "Copy a layer (with children and animation) next to the original.",
- "properties": {
- "count": {
- "default": 1,
- "minimum": 0,
- "type": "integer"
- },
- "id": {
- "type": "string"
- },
- "offset_x": {
- "default": 0,
- "description": "Shift of each copy from the previous one, in px.",
- "type": "number"
- },
- "offset_y": {
- "default": 0,
- "type": "number"
- },
- "op": {
- "const": "duplicate",
- "type": "string"
- }
- },
- "required": [
- "op",
- "id"
- ],
- "type": "object"
- },
- {
- "description": "Wrap sibling layers in a new group, or in a frame when `flow` is given (a frame whose layout flow arranges them).",
- "properties": {
- "flow": {
- "$ref": "#/$defs/FlowSpec"
- },
- "ids": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "name": {
- "type": "string"
- },
- "op": {
- "const": "wrap",
- "type": "string"
- }
- },
- "required": [
- "op",
- "ids"
- ],
- "type": "object"
- },
- {
- "description": "Wrap sibling layers in a new frame fitted around them, without a layout flow (the editor's \"Frame selection\"). Add a flow afterwards with update_layers, or use `wrap` with `flow` to do both.",
- "properties": {
- "ids": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "name": {
- "type": "string"
- },
- "op": {
- "const": "frame",
- "type": "string"
- }
- },
- "required": [
- "op",
- "ids"
- ],
- "type": "object"
- },
- {
- "description": "Combine shape layers (rectangles, ellipses, vectors, other booleans) into one boolean layer, placed where the topmost of them was. It takes the bottom shape's fills. With a single boolean layer in `ids`, only its operation changes. The shapes stay inside it, editable.",
- "properties": {
- "ids": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "name": {
- "type": "string"
- },
- "op": {
- "const": "boolean",
- "type": "string"
- },
- "operation": {
- "$ref": "#/$defs/BooleanKind"
- }
- },
- "required": [
- "op",
- "ids",
- "operation"
- ],
- "type": "object"
- },
- {
- "description": "Remove a group, frame or boolean, keeping its children in its place.",
- "properties": {
- "id": {
- "type": "string"
- },
- "op": {
- "const": "unwrap",
- "type": "string"
- }
- },
- "required": [
- "op",
- "id"
- ],
- "type": "object"
- },
- {
- "description": "Wrap sibling layers in a \"Mask group\" whose bottom layer becomes the mask: the layers above show only where it is opaque.",
- "properties": {
- "ids": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "name": {
- "type": "string"
- },
- "op": {
- "const": "mask",
- "type": "string"
- }
- },
- "required": [
- "op",
- "ids"
- ],
- "type": "object"
- },
- {
- "description": "Stop layers from masking (the layers they hid show in full again).",
- "properties": {
- "ids": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "op": {
- "const": "unmask",
- "type": "string"
- }
- },
- "required": [
- "op",
- "ids"
- ],
- "type": "object"
- },
- {
- "description": "Scale layers and everything inside them by `factor` (2 = twice the size): size, text, spacing, radii, strokes, effects and paths grow together, as a scale tool does. `about`: \"origin\" (default) keeps each layer's top-left where it is; \"center\" keeps its centre.",
- "properties": {
- "about": {
- "$ref": "#/$defs/ScaleAbout"
- },
- "factor": {
- "type": "number"
- },
- "ids": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "op": {
- "const": "scale",
- "type": "string"
- }
- },
- "required": [
- "op",
- "ids",
- "factor"
- ],
- "type": "object"
- },
- {
- "description": "Line layers up: `left`/`center`/`right` set the horizontal edge, `top`/`middle`/`bottom` the vertical one. Several layers line up with the box around all of them; one layer lines up with its parent (or the page). `relative_to: \"parent\"` lines each layer up with its own parent instead. Layers a layout flow places cannot be moved.",
- "properties": {
- "ids": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "op": {
- "const": "align",
- "type": "string"
- },
- "relative_to": {
- "$ref": "#/$defs/AlignReference"
- },
- "to": {
- "$ref": "#/$defs/AlignTo"
- }
- },
- "required": [
- "op",
- "ids",
- "to"
- ],
- "type": "object"
- },
- {
- "description": "Even gaps between three or more layers along an axis: the first and last stay, the others are spaced between them in their current order.",
- "properties": {
- "axis": {
- "$ref": "#/$defs/DistributeAxis"
- },
- "ids": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "op": {
- "const": "distribute",
- "type": "string"
- }
- },
- "required": [
- "op",
- "ids",
- "axis"
- ],
- "type": "object"
- },
- {
- "description": "Change paint order among siblings.",
- "properties": {
- "id": {
- "type": "string"
- },
- "op": {
- "const": "reorder",
- "type": "string"
- },
- "to": {
- "$ref": "#/$defs/ReorderTo"
- }
- },
- "required": [
- "op",
- "id",
- "to"
- ],
- "type": "object"
- },
- {
- "description": "New unused id for a layer. After `duplicate`, give each page's own content its own id: one id on two pages is one data column.",
- "properties": {
- "id": {
- "type": "string"
- },
- "new_id": {
- "type": "string"
- },
- "op": {
- "const": "set_id",
- "type": "string"
- }
- },
- "required": [
- "op",
- "id",
- "new_id"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "description": "Move layers under another parent (the page when parent_id is omitted) at `index` (end when omitted). Their x/y stay relative to the new parent.",
+ "properties": {
+ "ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "index": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "op": {
+ "const": "move",
+ "type": "string"
+ },
+ "parent_id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "ids"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "Copy a layer (with children and animation) next to the original.",
+ "properties": {
+ "count": {
+ "default": 1,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ },
+ "offset_x": {
+ "default": 0,
+ "description": "Shift of each copy from the previous one, in px.",
+ "type": "number"
+ },
+ "offset_y": {
+ "default": 0,
+ "type": "number"
+ },
+ "op": {
+ "const": "duplicate",
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "id"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "Wrap sibling layers in a new group, or in a frame when `flow` is given (a frame whose layout flow arranges them).",
+ "properties": {
+ "flow": {
+ "$ref": "#/$defs/FlowSpec"
+ },
+ "id": {
+ "description": "New layer's id (default: from name).",
+ "type": "string"
+ },
+ "ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "name": {
+ "type": "string"
+ },
+ "op": {
+ "const": "wrap",
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "ids"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "Wrap sibling layers in a new frame fitted around them, without a layout flow (the editor's \"Frame selection\"). Add a flow afterwards with update_layers, or use `wrap` with `flow` to do both.",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "name": {
+ "type": "string"
+ },
+ "op": {
+ "const": "frame",
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "ids"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "Combine shape layers (rectangles, ellipses, vectors, other booleans) into one boolean layer, placed where the topmost of them was. It takes the bottom shape's fills. With a single boolean layer in `ids`, only its operation changes. The shapes stay inside it, editable.",
+ "properties": {
+ "ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "name": {
+ "type": "string"
+ },
+ "op": {
+ "const": "boolean",
+ "type": "string"
+ },
+ "operation": {
+ "$ref": "#/$defs/BooleanKind"
+ }
+ },
+ "required": [
+ "op",
+ "ids",
+ "operation"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "Remove a group, frame or boolean, keeping its children in its place.",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "op": {
+ "const": "unwrap",
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "id"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "Wrap sibling layers in a \"Mask group\" whose bottom layer becomes the mask: the layers above show only where it is opaque.",
+ "properties": {
+ "ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "name": {
+ "type": "string"
+ },
+ "op": {
+ "const": "mask",
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "ids"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "Stop layers from masking (the layers they hid show in full again).",
+ "properties": {
+ "ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "op": {
+ "const": "unmask",
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "ids"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "Scale layers and everything inside them by `factor` (2 = twice the size): size, text, spacing, radii, strokes, effects and paths grow together, as a scale tool does. `about`: \"origin\" (default) keeps each layer's top-left where it is; \"center\" keeps its centre.",
+ "properties": {
+ "about": {
+ "$ref": "#/$defs/ScaleAbout"
+ },
+ "factor": {
+ "type": "number"
+ },
+ "ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "op": {
+ "const": "scale",
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "ids",
+ "factor"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "Line layers up: `left`/`center`/`right` set the horizontal edge, `top`/`middle`/`bottom` the vertical one. Several layers line up with the box around all of them; one layer lines up with its parent (or the page). `relative_to: \"parent\"` lines each layer up with its own parent instead. Layers a layout flow places cannot be moved.",
+ "properties": {
+ "ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "op": {
+ "const": "align",
+ "type": "string"
+ },
+ "relative_to": {
+ "$ref": "#/$defs/AlignReference"
+ },
+ "to": {
+ "$ref": "#/$defs/AlignTo"
+ }
+ },
+ "required": [
+ "op",
+ "ids",
+ "to"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "Even gaps between three or more layers along an axis: the first and last stay, the others are spaced between them in their current order.",
+ "properties": {
+ "axis": {
+ "$ref": "#/$defs/DistributeAxis"
+ },
+ "ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "op": {
+ "const": "distribute",
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "ids",
+ "axis"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "Change paint order among siblings.",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "op": {
+ "const": "reorder",
+ "type": "string"
+ },
+ "to": {
+ "$ref": "#/$defs/ReorderTo"
+ }
+ },
+ "required": [
+ "op",
+ "id",
+ "to"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "New unused id for a layer. After `duplicate`, give each page's own content its own id: one id on two pages is one data column.",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "new_id": {
+ "type": "string"
+ },
+ "op": {
+ "const": "set_id",
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "id",
+ "new_id"
+ ],
+ "type": "object"
+ }
+]