Skip to main content
Glama
iPocket-APP

PocketDraft MCP

Official
by iPocket-APP

pocketdraft_batch_mutation

Destructive

Batch-apply 1–50 browser editor commands as one durable edit and one Undo step. Use dryRun to validate without saving or preview the candidate first.

Instructions

Apply 1–50 commands as one durable browser edit and one Undo step. Create/import must be first. Only new images cross the bridge. Pixel geometry runs in the browser. dryRun validates without saving; optional preview renders the candidate. Alias creations with as and reference them using {ref: alias}. Read command resources first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dryRunNo
previewNo
commandsYes
revisionYes
projectIdYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv4.1.0
    • changedInput schema / properties / commands / items / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "projects.create",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "aspect": {
      -            "enum": [
      -              "square",
      -              "portrait45",
      -              "portrait34",
      -              "portrait23",
      -              "story916",
      -              "landscape43",
      -              "landscape32",
      -              "landscape169",
      -              "appStore69",
      -              "appStore65",
      -              "macAppStore",
      -              "custom"
      -            ],
      -            "type": "string"
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "name": {
      -            "maxLength": 1000,
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          }
      -        },
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "projects.rename",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "name": {
      -            "maxLength": 1000,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "name"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "projects.import",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "package": {
      -            "additionalProperties": {},
      -            "propertyNames": {
      -              "type": "string"
      -            },
      -            "type": "object"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          }
      -        },
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "canvases.add",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "duplicate": {
      -            "type": "boolean"
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "name": {
      -            "maxLength": 1000,
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          }
      -        },
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "canvases.delete",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "canvasId"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "canvases.rename",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "name": {
      -            "maxLength": 1000,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "canvasId",
      -          "name"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "canvases.switch",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "canvasId"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "canvases.setAspect",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "aspect": {
      -            "enum": [
      -              "square",
      -              "portrait45",
      -              "portrait34",
      -              "portrait23",
      -              "story916",
      -              "landscape43",
      -              "landscape32",
      -              "landscape169",
      -              "appStore69",
      -              "appStore65",
      -              "macAppStore",
      -              "custom"
      -            ],
      -            "type": "string"
      -          },
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "height": {
      -            "maximum": 4096,
      -            "minimum": 64,
      -            "type": "integer"
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          },
      -          "width": {
      -            "maximum": 4096,
      -            "minimum": 64,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "aspect"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "templates.apply",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "display": {
      -            "enum": [
      -              "65",
      -              "69"
      -            ],
      -            "type": "string"
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          },
      -          "templateId": {
      -            "maxLength": 256,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "themeId": {
      -            "maxLength": 256,
      -            "minLength": 1,
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "templateId"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "templates.applySet",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "display": {
      -            "enum": [
      -              "65",
      -              "69"
      -            ],
      -            "type": "string"
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          },
      -          "templateId": {
      -            "maxLength": 256,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "themeId": {
      -            "maxLength": 256,
      -            "minLength": 1,
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "templateId"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "layers.addDevice",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "deviceId": {
      -            "maxLength": 256,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "frameId": {
      -            "maxLength": 256,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "name": {
      -            "maxLength": 1000,
      -            "type": "string"
      -          },
      -          "orientation": {
      -            "enum": [
      -              "portrait",
      -              "landscape"
      -            ],
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          },
      -          "transform": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "center": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "x": {
      -                    "type": "number"
      -                  },
      -                  "y": {
      -                    "type": "number"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "rotation": {
      -                "type": "number"
      -              },
      -              "scale": {
      -                "maximum": 8,
      -                "minimum": 0.1,
      -                "type": "number"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "url": {
      -            "maxLength": 12582912,
      -            "minLength": 1,
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "layers.addText",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "alignment": {
      -            "enum": [
      -              "leading",
      -              "center",
      -              "trailing"
      -            ],
      -            "type": "string"
      -          },
      -          "boxWidth": {
      -            "anyOf": [
      -              {
      -                "exclusiveMinimum": 0,
      -                "type": "number"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "color": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "a": {
      -                    "maximum": 1,
      -                    "minimum": 0,
      -                    "type": "number"
      -                  },
      -                  "b": {
      -                    "maximum": 1,
      -                    "minimum": 0,
      -                    "type": "number"
      -                  },
      -                  "g": {
      -                    "maximum": 1,
      -                    "minimum": 0,
      -                    "type": "number"
      -                  },
      -                  "r": {
      -                    "maximum": 1,
      -                    "minimum": 0,
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "r",
      -                  "g",
      -                  "b",
      -                  "a"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "pattern": "^#?(?:[\\da-f]{3}|[\\da-f]{6}|[\\da-f]{8})$",
      -                "type": "string"
      -              }
      -            ]
      -          },
      -          "fontName": {
      -            "maxLength": 1000,
      -            "type": "string"
      -          },
      -          "fontSize": {
      -            "maximum": 8192,
      -            "minimum": 8,
      -            "type": "number"
      -          },
      -          "kerning": {
      -            "type": "number"
      -          },
      -          "lineSpacing": {
      -            "type": "number"
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "name": {
      -            "maxLength": 1000,
      -            "type": "string"
      -          },
      -          "pill": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "color": {
      -                    "anyOf": [
      -                      {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "a": {
      -                            "maximum": 1,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "b": {
      -                            "maximum": 1,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "g": {
      -                            "maximum": 1,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "r": {
      -                            "maximum": 1,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          }
      -                        },
      -                        "required": [
      -                          "r",
      -                          "g",
      -                          "b",
      -                          "a"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      {
      -                        "pattern": "^#?(?:[\\da-f]{3}|[\\da-f]{6}|[\\da-f]{8})$",
      -                        "type": "string"
      -                      }
      -                    ]
      -                  },
      -                  "cornerRadius": {
      -                    "minimum": 0,
      -                    "type": "number"
      -                  },
      -                  "paddingX": {
      -                    "minimum": 0,
      -                    "type": "number"
      -                  },
      -                  "paddingY": {
      -                    "minimum": 0,
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "color",
      -                  "paddingX",
      -                  "paddingY",
      -                  "cornerRadius"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          },
      -          "shadow": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "color": {
      -                    "anyOf": [
      -                      {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "a": {
      -                            "maximum": 1,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "b": {
      -                            "maximum": 1,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "g": {
      -                            "maximum": 1,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "r": {
      -                            "maximum": 1,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          }
      -                        },
      -                        "required": [
      -                          "r",
      -                          "g",
      -                          "b",
      -                          "a"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      {
      -                        "pattern": "^#?(?:[\\da-f]{3}|[\\da-f]{6}|[\\da-f]{8})$",
      -                        "type": "string"
      -                      }
      -                    ]
      -                  },
      -                  "offsetX": {
      -                    "type": "number"
      -                  },
      -                  "offsetY": {
      -                    "type": "number"
      -                  },
      -                  "radius": {
      -                    "minimum": 0,
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "color",
      -                  "radius",
      -                  "offsetX",
      -                  "offsetY"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "string": {
      -            "maxLength": 100000,
      -            "type": "string"
      -          },
      -          "stroke": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "color": {
      -                    "anyOf": [
      -                      {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "a": {
      -                            "maximum": 1,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "b": {
      -                            "maximum": 1,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "g": {
      -                            "maximum": 1,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "r": {
      -                            "maximum": 1,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          }
      -                        },
      -                        "required": [
      -                          "r",
      -                          "g",
      -                          "b",
      -                          "a"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      {
      -                        "pattern": "^#?(?:[\\da-f]{3}|[\\da-f]{6}|[\\da-f]{8})$",
      -                        "type": "string"
      -                      }
      -                    ]
      -                  },
      -                  "width": {
      -                    "minimum": 0,
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "color",
      -                  "width"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "transform": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "center": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "x": {
      -                    "type": "number"
      -                  },
      -                  "y": {
      -                    "type": "number"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "rotation": {
      -                "type": "number"
      -              },
      -              "scale": {
      -                "maximum": 8,
      -                "minimum": 0.1,
      -                "type": "number"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "weight": {
      -            "enum": [
      -              "regular",
      -              "medium",
      -              "semibold",
      -              "bold"
      -            ],
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "layers.addImage",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "cornerRadius": {
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "name": {
      -            "maxLength": 1000,
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          },
      -          "transform": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "center": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "x": {
      -                    "type": "number"
      -                  },
      -                  "y": {
      -                    "type": "number"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "rotation": {
      -                "type": "number"
      -              },
      -              "scale": {
      -                "maximum": 8,
      -                "minimum": 0.1,
      -                "type": "number"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "url": {
      -            "maxLength": 12582912,
      -            "minLength": 1,
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "url"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "layers.update",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "alignment": {
      -            "enum": [
      -              "leading",
      -              "center",
      -              "trailing"
      -            ],
      -            "type": "string"
      -          },
      -          "aspectRatio": {
      -            "exclusiveMinimum": 0,
      -            "type": "number"
      -          },
      -          "boxWidth": {
      -            "anyOf": [
      -              {
      -                "exclusiveMinimum": 0,
      -                "type": "number"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "color": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "a": {
      -                    "maximum": 1,
      -                    "minimum": 0,
      -                    "type": "number"
      -                  },
      -                  "b": {
      -                    "maximum": 1,
      -                    "minimum": 0,
      -                    "type": "number"
      -                  },
      -                  "g": {
      -                    "maximum": 1,
      -                    "minimum": 0,
      -                    "type": "number"
      -                  },
      -                  "r": {
      -                    "maximum": 1,
      -                    "minimum": 0,
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "r",
      -                  "g",
      -                  "b",
      -                  "a"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "pattern": "^#?(?:[\\da-f]{3}|[\\da-f]{6}|[\\da-f]{8})$",
      -                "type": "string"
      -              }
      -            ]
      -          },
      -          "content": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "alignment": {
      -                "enum": [
      -                  "leading",
      -                  "center",
      -                  "trailing"
      -                ],
      -                "type": "string"
      -              },
      -              "aspectRatio": {
      -                "exclusiveMinimum": 0,
      -                "type": "number"
      -              },
      -              "boxWidth": {
      -                "anyOf": [
      -                  {
      -                    "exclusiveMinimum": 0,
      -                    "type": "number"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "color": {
      -                "anyOf": [
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "a": {
      -                        "maximum": 1,
      -                        "minimum": 0,
      -                        "type": "number"
      -                      },
      -                      "b": {
      -                        "maximum": 1,
      -                        "minimum": 0,
      -                        "type": "number"
      -                      },
      -                      "g": {
      -                        "maximum": 1,
      -                        "minimum": 0,
      -                        "type": "number"
      -                      },
      -                      "r": {
      -                        "maximum": 1,
      -                        "minimum": 0,
      -                        "type": "number"
      -                      }
      -                    },
      -                    "required": [
      -                      "r",
      -                      "g",
      -                      "b",
      -                      "a"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "pattern": "^#?(?:[\\da-f]{3}|[\\da-f]{6}|[\\da-f]{8})$",
      -                    "type": "string"
      -                  }
      -                ]
      -              },
      -              "cornerRadius": {
      -                "minimum": 0,
      -                "type": "number"
      -              },
      -              "deviceId": {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "fontName": {
      -                "maxLength": 1000,
      -                "type": "string"
      -              },
      -              "fontSize": {
      -                "maximum": 8192,
      -                "minimum": 8,
      -                "type": "number"
      -              },
      -              "frameId": {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "kerning": {
      -                "type": "number"
      -              },
      -              "lineSpacing": {
      -                "type": "number"
      -              },
      -              "orientation": {
      -                "enum": [
      -                  "portrait",
      -                  "landscape"
      -                ],
      -                "type": "string"
      -              },
      -              "pill": {
      -                "anyOf": [
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "color": {
      -                        "anyOf": [
      -                          {
      -                            "additionalProperties": false,
      -                            "properties": {
      -                              "a": {
      -                                "maximum": 1,
      -                                "minimum": 0,
      -                                "type": "number"
      -                              },
      -                              "b": {
      -                                "maximum": 1,
      -                                "minimum": 0,
      -                                "type": "number"
      -                              },
      -                              "g": {
      -                                "maximum": 1,
      -                                "minimum": 0,
      -                                "type": "number"
      -                              },
      -                              "r": {
      -                                "maximum": 1,
      -                                "minimum": 0,
      -                                "type": "number"
      -                              }
      -                            },
      -                            "required": [
      -                              "r",
      -                              "g",
      -                              "b",
      -                              "a"
      -                            ],
      -                            "type": "object"
      -                          },
      -                          {
      -                            "pattern": "^#?(?:[\\da-f]{3}|[\\da-f]{6}|[\\da-f]{8})$",
      -                            "type": "string"
      -                          }
      -                        ]
      -                      },
      -                      "cornerRadius": {
      -                        "minimum": 0,
      -                        "type": "number"
      -                      },
      -                      "paddingX": {
      -                        "minimum": 0,
      -                        "type": "number"
      -                      },
      -                      "paddingY": {
      -                        "minimum": 0,
      -                        "type": "number"
      -                      }
      -                    },
      -                    "required": [
      -                      "color",
      -                      "paddingX",
      -                      "paddingY",
      -                      "cornerRadius"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "screenshotOffset": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "x": {
      -                    "type": "number"
      -                  },
      -                  "y": {
      -                    "type": "number"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "screenshotZoom": {
      -                "maximum": 3,
      -                "minimum": 1,
      -                "type": "number"
      -              },
      -              "shadow": {
      -                "anyOf": [
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "color": {
      -                        "anyOf": [
      -                          {
      -                            "additionalProperties": false,
      -                            "properties": {
      -                              "a": {
      -                                "maximum": 1,
      -                                "minimum": 0,
      -                                "type": "number"
      -                              },
      -                              "b": {
      -                                "maximum": 1,
      -                                "minimum": 0,
      -                                "type": "number"
      -                              },
      -                              "g": {
      -                                "maximum": 1,
      -                                "minimum": 0,
      -                                "type": "number"
      -                              },
      -                              "r": {
      -                                "maximum": 1,
      -                                "minimum": 0,
      -                                "type": "number"
      -                              }
      -                            },
      -                            "required": [
      -                              "r",
      -                              "g",
      -                              "b",
      -                              "a"
      -                            ],
      -                            "type": "object"
      -                          },
      -                          {
      -                            "pattern": "^#?(?:[\\da-f]{3}|[\\da-f]{6}|[\\da-f]{8})$",
      -                            "type": "string"
      -                          }
      -                        ]
      -                      },
      -                      "offsetX": {
      -                        "type": "number"
      -                      },
      -                      "offsetY": {
      -                        "type": "number"
      -                      },
      -                      "radius": {
      -                        "minimum": 0,
      -                        "type": "number"
      -                      }
      -                    },
      -                    "required": [
      -                      "color",
      -                      "radius",
      -                      "offsetX",
      -                      "offsetY"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "shadowIntensity": {
      -                "maximum": 1,
      -                "minimum": 0,
      -                "type": "number"
      -              },
      -              "string": {
      -                "maxLength": 100000,
      -                "type": "string"
      -              },
      -              "stroke": {
      -                "anyOf": [
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "color": {
      -                        "anyOf": [
      -                          {
      -                            "additionalProperties": false,
      -                            "properties": {
      -                              "a": {
      -                                "maximum": 1,
      -                                "minimum": 0,
      -                                "type": "number"
      -                              },
      -                              "b": {
      -                                "maximum": 1,
      -                                "minimum": 0,
      -                                "type": "number"
      -                              },
      -                              "g": {
      -                                "maximum": 1,
      -                                "minimum": 0,
      -                                "type": "number"
      -                              },
      -                              "r": {
      -                                "maximum": 1,
      -                                "minimum": 0,
      -                                "type": "number"
      -                              }
      -                            },
      -                            "required": [
      -                              "r",
      -                              "g",
      -                              "b",
      -                              "a"
      -                            ],
      -                            "type": "object"
      -                          },
      -                          {
      -                            "pattern": "^#?(?:[\\da-f]{3}|[\\da-f]{6}|[\\da-f]{8})$",
      -                            "type": "string"
      -                          }
      -                        ]
      -                      },
      -                      "width": {
      -                        "minimum": 0,
      -                        "type": "number"
      -                      }
      -                    },
      -                    "required": [
      -                      "color",
      -                      "width"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "weight": {
      -                "enum": [
      -                  "regular",
      -                  "medium",
      -                  "semibold",
      -                  "bold"
      -                ],
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "cornerRadius": {
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "deviceId": {
      -            "maxLength": 256,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "fontName": {
      -            "maxLength": 1000,
      -            "type": "string"
      -          },
      -          "fontSize": {
      -            "maximum": 8192,
      -            "minimum": 8,
      -            "type": "number"
      -          },
      -          "frameId": {
      -            "maxLength": 256,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "isLocked": {
      -            "type": "boolean"
      -          },
      -          "isVisible": {
      -            "type": "boolean"
      -          },
      -          "kerning": {
      -            "type": "number"
      -          },
      -          "layerId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "lineSpacing": {
      -            "type": "number"
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "name": {
      -            "maxLength": 1000,
      -            "type": "string"
      -          },
      -          "opacity": {
      -            "maximum": 1,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "orientation": {
      -            "enum": [
      -              "portrait",
      -              "landscape"
      -            ],
      -            "type": "string"
      -          },
      -          "pill": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "color": {
      -                    "anyOf": [
      -                      {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "a": {
      -                            "maximum": 1,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "b": {
      -                            "maximum": 1,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "g": {
      -                            "maximum": 1,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "r": {
      -                            "maximum": 1,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          }
      -                        },
      -                        "required": [
      -                          "r",
      -                          "g",
      -                          "b",
      -                          "a"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      {
      -                        "pattern": "^#?(?:[\\da-f]{3}|[\\da-f]{6}|[\\da-f]{8})$",
      -                        "type": "string"
      -                      }
      -                    ]
      -                  },
      -                  "cornerRadius": {
      -                    "minimum": 0,
      -                    "type": "number"
      -                  },
      -                  "paddingX": {
      -                    "minimum": 0,
      -                    "type": "number"
      -                  },
      -                  "paddingY": {
      -                    "minimum": 0,
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "color",
      -                  "paddingX",
      -                  "paddingY",
      -                  "cornerRadius"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          },
      -          "screenshotOffset": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "x": {
      -                "type": "number"
      -              },
      -              "y": {
      -                "type": "number"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "screenshotZoom": {
      -            "maximum": 3,
      -            "minimum": 1,
      -            "type": "number"
      -          },
      -          "shadow": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "color": {
      -                    "anyOf": [
      -                      {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "a": {
      -                            "maximum": 1,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "b": {
      -                            "maximum": 1,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "g": {
      -                            "maximum": 1,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "r": {
      -                            "maximum": 1,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          }
      -                        },
      -                        "required": [
      -                          "r",
      -                          "g",
      -                          "b",
      -                          "a"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      {
      -                        "pattern": "^#?(?:[\\da-f]{3}|[\\da-f]{6}|[\\da-f]{8})$",
      -                        "type": "string"
      -                      }
      -                    ]
      -                  },
      -                  "offsetX": {
      -                    "type": "number"
      -                  },
      -                  "offsetY": {
      -                    "type": "number"
      -                  },
      -                  "radius": {
      -                    "minimum": 0,
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "color",
      -                  "radius",
      -                  "offsetX",
      -                  "offsetY"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "shadowIntensity": {
      -            "maximum": 1,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "string": {
      -            "maxLength": 100000,
      -            "type": "string"
      -          },
      -          "stroke": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "color": {
      -                    "anyOf": [
      -                      {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "a": {
      -                            "maximum": 1,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "b": {
      -                            "maximum": 1,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "g": {
      -                            "maximum": 1,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "r": {
      -                            "maximum": 1,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          }
      -                        },
      -                        "required": [
      -                          "r",
      -                          "g",
      -                          "b",
      -                          "a"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      {
      -                        "pattern": "^#?(?:[\\da-f]{3}|[\\da-f]{6}|[\\da-f]{8})$",
      -                        "type": "string"
      -                      }
      -                    ]
      -                  },
      -                  "width": {
      -                    "minimum": 0,
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "color",
      -                  "width"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "transform": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "center": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "x": {
      -                    "type": "number"
      -                  },
      -                  "y": {
      -                    "type": "number"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "rotation": {
      -                "type": "number"
      -              },
      -              "scale": {
      -                "maximum": 8,
      -                "minimum": 0.1,
      -                "type": "number"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "weight": {
      -            "enum": [
      -              "regular",
      -              "medium",
      -              "semibold",
      -              "bold"
      -            ],
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "layerId"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "layers.delete",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "layerId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "layerId"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "layers.reorder",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "action": {
      -            "enum": [
      -              "front",
      -              "back",
      -              "forward",
      -              "backward"
      -            ],
      -            "type": "string"
      -          },
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "layerId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          },
      -          "toIndex": {
      -            "maximum": 9007199254740991,
      -            "minimum": 1,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "layerId"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "layers.setBackground",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "blurRadius": {
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "color": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "a": {
      -                    "maximum": 1,
      -                    "minimum": 0,
      -                    "type": "number"
      -                  },
      -                  "b": {
      -                    "maximum": 1,
      -                    "minimum": 0,
      -                    "type": "number"
      -                  },
      -                  "g": {
      -                    "maximum": 1,
      -                    "minimum": 0,
      -                    "type": "number"
      -                  },
      -                  "r": {
      -                    "maximum": 1,
      -                    "minimum": 0,
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "r",
      -                  "g",
      -                  "b",
      -                  "a"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "pattern": "^#?(?:[\\da-f]{3}|[\\da-f]{6}|[\\da-f]{8})$",
      -                "type": "string"
      -              }
      -            ]
      -          },
      -          "dimming": {
      -            "maximum": 1,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "fill": {
      -            "oneOf": [
      -              {
      -                "properties": {
      -                  "color": {
      -                    "properties": {
      -                      "a": {
      -                        "maximum": 1,
      -                        "minimum": 0,
      -                        "type": "number"
      -                      },
      -                      "b": {
      -                        "maximum": 1,
      -                        "minimum": 0,
      -                        "type": "number"
      -                      },
      -                      "g": {
      -                        "maximum": 1,
      -                        "minimum": 0,
      -                        "type": "number"
      -                      },
      -                      "r": {
      -                        "maximum": 1,
      -                        "minimum": 0,
      -                        "type": "number"
      -                      }
      -                    },
      -                    "required": [
      -                      "r",
      -                      "g",
      -                      "b",
      -                      "a"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "kind": {
      -                    "const": "solid",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "kind",
      -                  "color"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "properties": {
      -                  "angle": {
      -                    "type": "number"
      -                  },
      -                  "kind": {
      -                    "const": "linearGradient",
      -                    "type": "string"
      -                  },
      -                  "stops": {
      -                    "items": {
      -                      "properties": {
      -                        "color": {
      -                          "properties": {
      -                            "a": {
      -                              "maximum": 1,
      -                              "minimum": 0,
      -                              "type": "number"
      -                            },
      -                            "b": {
      -                              "maximum": 1,
      -                              "minimum": 0,
      -                              "type": "number"
      -                            },
      -                            "g": {
      -                              "maximum": 1,
      -                              "minimum": 0,
      -                              "type": "number"
      -                            },
      -                            "r": {
      -                              "maximum": 1,
      -                              "minimum": 0,
      -                              "type": "number"
      -                            }
      -                          },
      -                          "required": [
      -                            "r",
      -                            "g",
      -                            "b",
      -                            "a"
      -                          ],
      -                          "type": "object"
      -                        },
      -                        "location": {
      -                          "maximum": 1,
      -                          "minimum": 0,
      -                          "type": "number"
      -                        }
      -                      },
      -                      "required": [
      -                        "color",
      -                        "location"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "maxItems": 64,
      -                    "minItems": 2,
      -                    "type": "array"
      -                  }
      -                },
      -                "required": [
      -                  "kind",
      -                  "stops",
      -                  "angle"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "properties": {
      -                  "kind": {
      -                    "const": "radialGradient",
      -                    "type": "string"
      -                  },
      -                  "stops": {
      -                    "items": {
      -                      "properties": {
      -                        "color": {
      -                          "properties": {
      -                            "a": {
      -                              "maximum": 1,
      -                              "minimum": 0,
      -                              "type": "number"
      -                            },
      -                            "b": {
      -                              "maximum": 1,
      -                              "minimum": 0,
      -                              "type": "number"
      -                            },
      -                            "g": {
      -                              "maximum": 1,
      -                              "minimum": 0,
      -                              "type": "number"
      -                            },
      -                            "r": {
      -                              "maximum": 1,
      -                              "minimum": 0,
      -                              "type": "number"
      -                            }
      -                          },
      -                          "required": [
      -                            "r",
      -                            "g",
      -                            "b",
      -                            "a"
      -                          ],
      -                          "type": "object"
      -                        },
      -                        "location": {
      -                          "maximum": 1,
      -                          "minimum": 0,
      -                          "type": "number"
      -                        }
      -                      },
      -                      "required": [
      -                        "color",
      -                        "location"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "maxItems": 64,
      -                    "minItems": 2,
      -                    "type": "array"
      -                  }
      -                },
      -                "required": [
      -                  "kind",
      -                  "stops"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "properties": {
      -                  "assetRef": {
      -                    "maxLength": 256,
      -                    "minLength": 1,
      -                    "type": "string"
      -                  },
      -                  "blurRadius": {
      -                    "minimum": 0,
      -                    "type": "number"
      -                  },
      -                  "dimming": {
      -                    "maximum": 1,
      -                    "minimum": 0,
      -                    "type": "number"
      -                  },
      -                  "kind": {
      -                    "const": "image",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "kind",
      -                  "assetRef",
      -                  "blurRadius",
      -                  "dimming"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "presetId": {
      -            "maxLength": 256,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          },
      -          "url": {
      -            "maxLength": 12582912,
      -            "minLength": 1,
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "layers.setDevicePadding",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          },
      -          "value": {
      -            "maximum": 0.5,
      -            "minimum": 0,
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "value"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "assets.attach",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "cropPolicy": {
      -            "enum": [
      -              "reset",
      -              "preserve"
      -            ],
      -            "type": "string"
      -          },
      -          "layerId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          },
      -          "target": {
      -            "enum": [
      -              "screenshot",
      -              "image",
      -              "background"
      -            ],
      -            "type": "string"
      -          },
      -          "url": {
      -            "maxLength": 12582912,
      -            "minLength": 1,
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "url"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "layout.sync",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "fields": {
      -            "items": {
      -              "enum": [
      -                "transform",
      -                "opacity",
      -                "style"
      -              ],
      -              "type": "string"
      -            },
      -            "minItems": 1,
      -            "type": "array"
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "mapping": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "sourceLayerId": {
      -                  "anyOf": [
      -                    {
      -                      "maxLength": 256,
      -                      "minLength": 1,
      -                      "type": "string"
      -                    },
      -                    {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "ref": {
      -                          "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "ref"
      -                      ],
      -                      "type": "object"
      -                    }
      -                  ]
      -                },
      -                "targetCanvasId": {
      -                  "anyOf": [
      -                    {
      -                      "maxLength": 256,
      -                      "minLength": 1,
      -                      "type": "string"
      -                    },
      -                    {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "ref": {
      -                          "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "ref"
      -                      ],
      -                      "type": "object"
      -                    }
      -                  ]
      -                },
      -                "targetLayerId": {
      -                  "anyOf": [
      -                    {
      -                      "maxLength": 256,
      -                      "minLength": 1,
      -                      "type": "string"
      -                    },
      -                    {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "ref": {
      -                          "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "ref"
      -                      ],
      -                      "type": "object"
      -                    }
      -                  ]
      -                }
      -              },
      -              "required": [
      -                "targetCanvasId",
      -                "sourceLayerId",
      -                "targetLayerId"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 500,
      -            "type": "array"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          },
      -          "scope": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "background": {
      -                "type": "boolean"
      -              },
      -              "canvasSize": {
      -                "type": "boolean"
      -              },
      -              "devices": {
      -                "type": "boolean"
      -              },
      -              "images": {
      -                "type": "boolean"
      -              },
      -              "texts": {
      -                "type": "boolean"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "sourceCanvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "targetCanvasIds": {
      -            "items": {
      -              "anyOf": [
      -                {
      -                  "maxLength": 256,
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "ref": {
      -                      "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "ref"
      -                  ],
      -                  "type": "object"
      -                }
      -              ]
      -            },
      -            "maxItems": 10,
      -            "minItems": 1,
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "targetCanvasIds"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "canvases.duplicate",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "name": {
      -            "maxLength": 1000,
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "canvasId"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "canvases.reorder",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "canvasIds": {
      -            "items": {
      -              "anyOf": [
      -                {
      -                  "maxLength": 256,
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "ref": {
      -                      "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "ref"
      -                  ],
      -                  "type": "object"
      -                }
      -              ]
      -            },
      -            "maxItems": 10,
      -            "minItems": 1,
      -            "type": "array"
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "canvasIds"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "layers.duplicate",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "layerId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "name": {
      -            "maxLength": 1000,
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          },
      -          "targetCanvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          }
      -        },
      -        "required": [
      -          "layerId"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "assets.reuse",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "assetRef": {
      -            "maxLength": 256,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "cropPolicy": {
      -            "enum": [
      -              "reset",
      -              "preserve"
      -            ],
      -            "type": "string"
      -          },
      -          "layerId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          },
      -          "target": {
      -            "enum": [
      -              "screenshot",
      -              "image",
      -              "background"
      -            ],
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "assetRef",
      -          "target"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "devices.clearScreenshot",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "layerId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "layerId"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "devices.setCrop",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "layerId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "offset": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "x": {
      -                "type": "number"
      -              },
      -              "y": {
      -                "type": "number"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          },
      -          "zoom": {
      -            "maximum": 3,
      -            "minimum": 1,
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "layerId"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "devices.resetCrop",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "layerId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "layerId"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "layers.move",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "dx": {
      -            "type": "number"
      -          },
      -          "dy": {
      -            "type": "number"
      -          },
      -          "layerId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "layerId",
      -          "dx",
      -          "dy"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "layers.position",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "layerId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          },
      -          "x": {
      -            "type": "number"
      -          },
      -          "y": {
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "layerId",
      -          "x",
      -          "y"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "layers.resize",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "height": {
      -            "exclusiveMinimum": 0,
      -            "type": "number"
      -          },
      -          "layerId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          },
      -          "width": {
      -            "exclusiveMinimum": 0,
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "layerId"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "layers.rotate",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "degrees": {
      -            "type": "number"
      -          },
      -          "layerId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "relative": {
      -            "type": "boolean"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "layerId",
      -          "degrees"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "layers.align",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "alignment": {
      -            "enum": [
      -              "left",
      -              "right",
      -              "top",
      -              "bottom",
      -              "centerX",
      -              "centerY"
      -            ],
      -            "type": "string"
      -          },
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "layerIds": {
      -            "items": {
      -              "anyOf": [
      -                {
      -                  "maxLength": 256,
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "ref": {
      -                      "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "ref"
      -                  ],
      -                  "type": "object"
      -                }
      -              ]
      -            },
      -            "maxItems": 49,
      -            "minItems": 1,
      -            "type": "array"
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "margin": {
      -            "type": "number"
      -          },
      -          "reference": {
      -            "enum": [
      -              "canvas",
      -              "selection",
      -              "layer"
      -            ],
      -            "type": "string"
      -          },
      -          "referenceLayerId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "layerIds",
      -          "alignment"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "layers.distribute",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "axis": {
      -            "enum": [
      -              "x",
      -              "y"
      -            ],
      -            "type": "string"
      -          },
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "gap": {
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "layerIds": {
      -            "items": {
      -              "anyOf": [
      -                {
      -                  "maxLength": 256,
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "ref": {
      -                      "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "ref"
      -                  ],
      -                  "type": "object"
      -                }
      -              ]
      -            },
      -            "maxItems": 49,
      -            "minItems": 2,
      -            "type": "array"
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "layerIds",
      -          "axis"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "texts.reflow",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "layerId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          },
      -          "width": {
      -            "exclusiveMinimum": 0,
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "layerId",
      -          "width"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as": {
      -        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -        "type": "string"
      -      },
      -      "command": {
      -        "const": "texts.fit",
      -        "type": "string"
      -      },
      -      "input": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "canvasId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "height": {
      -            "exclusiveMinimum": 0,
      -            "type": "number"
      -          },
      -          "layerId": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "ref": {
      -                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "ref"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "locale": {
      -            "enum": [
      -              "zh",
      -              "en"
      -            ],
      -            "type": "string"
      -          },
      -          "maxFontSize": {
      -            "maximum": 8192,
      -            "minimum": 8,
      -            "type": "number"
      -          },
      -          "maxLines": {
      -            "exclusiveMinimum": 0,
      -            "maximum": 9007199254740991,
      -            "type": "integer"
      -          },
      -          "minFontSize": {
      -            "maximum": 8192,
      -            "minimum": 8,
      -            "type": "number"
      -          },
      -          "schemaVersion": {
      -            "const": 1,
      -            "type": "number"
      -          },
      -          "width": {
      -            "exclusiveMinimum": 0,
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "layerId",
      -          "width",
      -          "height",
      -          "minFontSize",
      -          "maxFontSize"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "command",
      -      "input"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "projects.create",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "aspect": {
      +            "enum": [
      +              "square",
      +              "portrait45",
      +              "portrait34",
      +              "portrait23",
      +              "story916",
      +              "landscape43",
      +              "landscape32",
      +              "landscape169",
      +              "appStore69",
      +              "appStore65",
      +              "macAppStore",
      +              "appStoreHeader",
      +              "appStoreSearch",
      +              "appStoreUniversal",
      +              "appStoreEventCard",
      +              "appStoreEventDetails",
      +              "custom"
      +            ],
      +            "type": "string"
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "name": {
      +            "maxLength": 1000,
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "projects.rename",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "name": {
      +            "maxLength": 1000,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "name"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "projects.import",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "package": {
      +            "additionalProperties": {},
      +            "propertyNames": {
      +              "type": "string"
      +            },
      +            "type": "object"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "canvases.add",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "duplicate": {
      +            "type": "boolean"
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "name": {
      +            "maxLength": 1000,
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "canvases.delete",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "canvasId"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "canvases.rename",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "name": {
      +            "maxLength": 1000,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "canvasId",
      +          "name"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "canvases.switch",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "canvasId"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "canvases.setAspect",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "aspect": {
      +            "enum": [
      +              "square",
      +              "portrait45",
      +              "portrait34",
      +              "portrait23",
      +              "story916",
      +              "landscape43",
      +              "landscape32",
      +              "landscape169",
      +              "appStore69",
      +              "appStore65",
      +              "macAppStore",
      +              "appStoreHeader",
      +              "appStoreSearch",
      +              "appStoreUniversal",
      +              "appStoreEventCard",
      +              "appStoreEventDetails",
      +              "custom"
      +            ],
      +            "type": "string"
      +          },
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "height": {
      +            "maximum": 5244,
      +            "minimum": 64,
      +            "type": "integer"
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          },
      +          "width": {
      +            "maximum": 5244,
      +            "minimum": 64,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "aspect"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "templates.apply",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "display": {
      +            "enum": [
      +              "65",
      +              "69"
      +            ],
      +            "type": "string"
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          },
      +          "templateId": {
      +            "maxLength": 256,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "themeId": {
      +            "maxLength": 256,
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "templateId"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "templates.applySet",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "display": {
      +            "enum": [
      +              "65",
      +              "69"
      +            ],
      +            "type": "string"
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          },
      +          "templateId": {
      +            "maxLength": 256,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "themeId": {
      +            "maxLength": 256,
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "templateId"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "layers.addDevice",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "deviceId": {
      +            "maxLength": 256,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "frameId": {
      +            "maxLength": 256,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "name": {
      +            "maxLength": 1000,
      +            "type": "string"
      +          },
      +          "orientation": {
      +            "enum": [
      +              "portrait",
      +              "landscape"
      +            ],
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          },
      +          "transform": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "center": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "x": {
      +                    "type": "number"
      +                  },
      +                  "y": {
      +                    "type": "number"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "rotation": {
      +                "type": "number"
      +              },
      +              "scale": {
      +                "maximum": 8,
      +                "minimum": 0.1,
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "url": {
      +            "maxLength": 12582912,
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "layers.addText",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "alignment": {
      +            "enum": [
      +              "leading",
      +              "center",
      +              "trailing"
      +            ],
      +            "type": "string"
      +          },
      +          "boxWidth": {
      +            "anyOf": [
      +              {
      +                "exclusiveMinimum": 0,
      +                "type": "number"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "color": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "a": {
      +                    "maximum": 1,
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "b": {
      +                    "maximum": 1,
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "g": {
      +                    "maximum": 1,
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "r": {
      +                    "maximum": 1,
      +                    "minimum": 0,
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "r",
      +                  "g",
      +                  "b",
      +                  "a"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "pattern": "^#?(?:[\\da-f]{3}|[\\da-f]{6}|[\\da-f]{8})$",
      +                "type": "string"
      +              }
      +            ]
      +          },
      +          "fontName": {
      +            "maxLength": 1000,
      +            "type": "string"
      +          },
      +          "fontSize": {
      +            "maximum": 8192,
      +            "minimum": 8,
      +            "type": "number"
      +          },
      +          "kerning": {
      +            "type": "number"
      +          },
      +          "lineSpacing": {
      +            "type": "number"
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "name": {
      +            "maxLength": 1000,
      +            "type": "string"
      +          },
      +          "pill": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "color": {
      +                    "anyOf": [
      +                      {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "a": {
      +                            "maximum": 1,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          },
      +                          "b": {
      +                            "maximum": 1,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          },
      +                          "g": {
      +                            "maximum": 1,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          },
      +                          "r": {
      +                            "maximum": 1,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          }
      +                        },
      +                        "required": [
      +                          "r",
      +                          "g",
      +                          "b",
      +                          "a"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      {
      +                        "pattern": "^#?(?:[\\da-f]{3}|[\\da-f]{6}|[\\da-f]{8})$",
      +                        "type": "string"
      +                      }
      +                    ]
      +                  },
      +                  "cornerRadius": {
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "paddingX": {
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "paddingY": {
      +                    "minimum": 0,
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "color",
      +                  "paddingX",
      +                  "paddingY",
      +                  "cornerRadius"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          },
      +          "shadow": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "color": {
      +                    "anyOf": [
      +                      {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "a": {
      +                            "maximum": 1,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          },
      +                          "b": {
      +                            "maximum": 1,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          },
      +                          "g": {
      +                            "maximum": 1,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          },
      +                          "r": {
      +                            "maximum": 1,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          }
      +                        },
      +                        "required": [
      +                          "r",
      +                          "g",
      +                          "b",
      +                          "a"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      {
      +                        "pattern": "^#?(?:[\\da-f]{3}|[\\da-f]{6}|[\\da-f]{8})$",
      +                        "type": "string"
      +                      }
      +                    ]
      +                  },
      +                  "offsetX": {
      +                    "type": "number"
      +                  },
      +                  "offsetY": {
      +                    "type": "number"
      +                  },
      +                  "radius": {
      +                    "minimum": 0,
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "color",
      +                  "radius",
      +                  "offsetX",
      +                  "offsetY"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "string": {
      +            "maxLength": 100000,
      +            "type": "string"
      +          },
      +          "stroke": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "color": {
      +                    "anyOf": [
      +                      {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "a": {
      +                            "maximum": 1,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          },
      +                          "b": {
      +                            "maximum": 1,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          },
      +                          "g": {
      +                            "maximum": 1,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          },
      +                          "r": {
      +                            "maximum": 1,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          }
      +                        },
      +                        "required": [
      +                          "r",
      +                          "g",
      +                          "b",
      +                          "a"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      {
      +                        "pattern": "^#?(?:[\\da-f]{3}|[\\da-f]{6}|[\\da-f]{8})$",
      +                        "type": "string"
      +                      }
      +                    ]
      +                  },
      +                  "width": {
      +                    "minimum": 0,
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "color",
      +                  "width"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "transform": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "center": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "x": {
      +                    "type": "number"
      +                  },
      +                  "y": {
      +                    "type": "number"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "rotation": {
      +                "type": "number"
      +              },
      +              "scale": {
      +                "maximum": 8,
      +                "minimum": 0.1,
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "weight": {
      +            "enum": [
      +              "regular",
      +              "medium",
      +              "semibold",
      +              "bold"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "layers.addImage",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "cornerRadius": {
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "name": {
      +            "maxLength": 1000,
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          },
      +          "transform": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "center": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "x": {
      +                    "type": "number"
      +                  },
      +                  "y": {
      +                    "type": "number"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "rotation": {
      +                "type": "number"
      +              },
      +              "scale": {
      +                "maximum": 8,
      +                "minimum": 0.1,
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "url": {
      +            "maxLength": 12582912,
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "url"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "layers.update",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "alignment": {
      +            "enum": [
      +              "leading",
      +              "center",
      +              "trailing"
      +            ],
      +            "type": "string"
      +          },
      +          "aspectRatio": {
      +            "exclusiveMinimum": 0,
      +            "type": "number"
      +          },
      +          "boxWidth": {
      +            "anyOf": [
      +              {
      +                "exclusiveMinimum": 0,
      +                "type": "number"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "color": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "a": {
      +                    "maximum": 1,
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "b": {
      +                    "maximum": 1,
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "g": {
      +                    "maximum": 1,
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "r": {
      +                    "maximum": 1,
      +                    "minimum": 0,
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "r",
      +                  "g",
      +                  "b",
      +                  "a"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "pattern": "^#?(?:[\\da-f]{3}|[\\da-f]{6}|[\\da-f]{8})$",
      +                "type": "string"
      +              }
      +            ]
      +          },
      +          "content": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "alignment": {
      +                "enum": [
      +                  "leading",
      +                  "center",
      +                  "trailing"
      +                ],
      +                "type": "string"
      +              },
      +              "aspectRatio": {
      +                "exclusiveMinimum": 0,
      +                "type": "number"
      +              },
      +              "boxWidth": {
      +                "anyOf": [
      +                  {
      +                    "exclusiveMinimum": 0,
      +                    "type": "number"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "color": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "a": {
      +                        "maximum": 1,
      +                        "minimum": 0,
      +                        "type": "number"
      +                      },
      +                      "b": {
      +                        "maximum": 1,
      +                        "minimum": 0,
      +                        "type": "number"
      +                      },
      +                      "g": {
      +                        "maximum": 1,
      +                        "minimum": 0,
      +                        "type": "number"
      +                      },
      +                      "r": {
      +                        "maximum": 1,
      +                        "minimum": 0,
      +                        "type": "number"
      +                      }
      +                    },
      +                    "required": [
      +                      "r",
      +                      "g",
      +                      "b",
      +                      "a"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "pattern": "^#?(?:[\\da-f]{3}|[\\da-f]{6}|[\\da-f]{8})$",
      +                    "type": "string"
      +                  }
      +                ]
      +              },
      +              "cornerRadius": {
      +                "minimum": 0,
      +                "type": "number"
      +              },
      +              "deviceId": {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "fontName": {
      +                "maxLength": 1000,
      +                "type": "string"
      +              },
      +              "fontSize": {
      +                "maximum": 8192,
      +                "minimum": 8,
      +                "type": "number"
      +              },
      +              "frameId": {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "kerning": {
      +                "type": "number"
      +              },
      +              "lineSpacing": {
      +                "type": "number"
      +              },
      +              "orientation": {
      +                "enum": [
      +                  "portrait",
      +                  "landscape"
      +                ],
      +                "type": "string"
      +              },
      +              "pill": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "color": {
      +                        "anyOf": [
      +                          {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "a": {
      +                                "maximum": 1,
      +                                "minimum": 0,
      +                                "type": "number"
      +                              },
      +                              "b": {
      +                                "maximum": 1,
      +                                "minimum": 0,
      +                                "type": "number"
      +                              },
      +                              "g": {
      +                                "maximum": 1,
      +                                "minimum": 0,
      +                                "type": "number"
      +                              },
      +                              "r": {
      +                                "maximum": 1,
      +                                "minimum": 0,
      +                                "type": "number"
      +                              }
      +                            },
      +                            "required": [
      +                              "r",
      +                              "g",
      +                              "b",
      +                              "a"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          {
      +                            "pattern": "^#?(?:[\\da-f]{3}|[\\da-f]{6}|[\\da-f]{8})$",
      +                            "type": "string"
      +                          }
      +                        ]
      +                      },
      +                      "cornerRadius": {
      +                        "minimum": 0,
      +                        "type": "number"
      +                      },
      +                      "paddingX": {
      +                        "minimum": 0,
      +                        "type": "number"
      +                      },
      +                      "paddingY": {
      +                        "minimum": 0,
      +                        "type": "number"
      +                      }
      +                    },
      +                    "required": [
      +                      "color",
      +                      "paddingX",
      +                      "paddingY",
      +                      "cornerRadius"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "screenshotOffset": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "x": {
      +                    "type": "number"
      +                  },
      +                  "y": {
      +                    "type": "number"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "screenshotZoom": {
      +                "maximum": 3,
      +                "minimum": 1,
      +                "type": "number"
      +              },
      +              "shadow": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "color": {
      +                        "anyOf": [
      +                          {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "a": {
      +                                "maximum": 1,
      +                                "minimum": 0,
      +                                "type": "number"
      +                              },
      +                              "b": {
      +                                "maximum": 1,
      +                                "minimum": 0,
      +                                "type": "number"
      +                              },
      +                              "g": {
      +                                "maximum": 1,
      +                                "minimum": 0,
      +                                "type": "number"
      +                              },
      +                              "r": {
      +                                "maximum": 1,
      +                                "minimum": 0,
      +                                "type": "number"
      +                              }
      +                            },
      +                            "required": [
      +                              "r",
      +                              "g",
      +                              "b",
      +                              "a"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          {
      +                            "pattern": "^#?(?:[\\da-f]{3}|[\\da-f]{6}|[\\da-f]{8})$",
      +                            "type": "string"
      +                          }
      +                        ]
      +                      },
      +                      "offsetX": {
      +                        "type": "number"
      +                      },
      +                      "offsetY": {
      +                        "type": "number"
      +                      },
      +                      "radius": {
      +                        "minimum": 0,
      +                        "type": "number"
      +                      }
      +                    },
      +                    "required": [
      +                      "color",
      +                      "radius",
      +                      "offsetX",
      +                      "offsetY"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "shadowIntensity": {
      +                "maximum": 1,
      +                "minimum": 0,
      +                "type": "number"
      +              },
      +              "string": {
      +                "maxLength": 100000,
      +                "type": "string"
      +              },
      +              "stroke": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "color": {
      +                        "anyOf": [
      +                          {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "a": {
      +                                "maximum": 1,
      +                                "minimum": 0,
      +                                "type": "number"
      +                              },
      +                              "b": {
      +                                "maximum": 1,
      +                                "minimum": 0,
      +                                "type": "number"
      +                              },
      +                              "g": {
      +                                "maximum": 1,
      +                                "minimum": 0,
      +                                "type": "number"
      +                              },
      +                              "r": {
      +                                "maximum": 1,
      +                                "minimum": 0,
      +                                "type": "number"
      +                              }
      +                            },
      +                            "required": [
      +                              "r",
      +                              "g",
      +                              "b",
      +                              "a"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          {
      +                            "pattern": "^#?(?:[\\da-f]{3}|[\\da-f]{6}|[\\da-f]{8})$",
      +                            "type": "string"
      +                          }
      +                        ]
      +                      },
      +                      "width": {
      +                        "minimum": 0,
      +                        "type": "number"
      +                      }
      +                    },
      +                    "required": [
      +                      "color",
      +                      "width"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "weight": {
      +                "enum": [
      +                  "regular",
      +                  "medium",
      +                  "semibold",
      +                  "bold"
      +                ],
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "cornerRadius": {
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "deviceId": {
      +            "maxLength": 256,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "fontName": {
      +            "maxLength": 1000,
      +            "type": "string"
      +          },
      +          "fontSize": {
      +            "maximum": 8192,
      +            "minimum": 8,
      +            "type": "number"
      +          },
      +          "frameId": {
      +            "maxLength": 256,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "isLocked": {
      +            "type": "boolean"
      +          },
      +          "isVisible": {
      +            "type": "boolean"
      +          },
      +          "kerning": {
      +            "type": "number"
      +          },
      +          "layerId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "lineSpacing": {
      +            "type": "number"
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "name": {
      +            "maxLength": 1000,
      +            "type": "string"
      +          },
      +          "opacity": {
      +            "maximum": 1,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "orientation": {
      +            "enum": [
      +              "portrait",
      +              "landscape"
      +            ],
      +            "type": "string"
      +          },
      +          "pill": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "color": {
      +                    "anyOf": [
      +                      {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "a": {
      +                            "maximum": 1,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          },
      +                          "b": {
      +                            "maximum": 1,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          },
      +                          "g": {
      +                            "maximum": 1,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          },
      +                          "r": {
      +                            "maximum": 1,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          }
      +                        },
      +                        "required": [
      +                          "r",
      +                          "g",
      +                          "b",
      +                          "a"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      {
      +                        "pattern": "^#?(?:[\\da-f]{3}|[\\da-f]{6}|[\\da-f]{8})$",
      +                        "type": "string"
      +                      }
      +                    ]
      +                  },
      +                  "cornerRadius": {
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "paddingX": {
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "paddingY": {
      +                    "minimum": 0,
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "color",
      +                  "paddingX",
      +                  "paddingY",
      +                  "cornerRadius"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          },
      +          "screenshotOffset": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "x": {
      +                "type": "number"
      +              },
      +              "y": {
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "screenshotZoom": {
      +            "maximum": 3,
      +            "minimum": 1,
      +            "type": "number"
      +          },
      +          "shadow": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "color": {
      +                    "anyOf": [
      +                      {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "a": {
      +                            "maximum": 1,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          },
      +                          "b": {
      +                            "maximum": 1,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          },
      +                          "g": {
      +                            "maximum": 1,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          },
      +                          "r": {
      +                            "maximum": 1,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          }
      +                        },
      +                        "required": [
      +                          "r",
      +                          "g",
      +                          "b",
      +                          "a"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      {
      +                        "pattern": "^#?(?:[\\da-f]{3}|[\\da-f]{6}|[\\da-f]{8})$",
      +                        "type": "string"
      +                      }
      +                    ]
      +                  },
      +                  "offsetX": {
      +                    "type": "number"
      +                  },
      +                  "offsetY": {
      +                    "type": "number"
      +                  },
      +                  "radius": {
      +                    "minimum": 0,
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "color",
      +                  "radius",
      +                  "offsetX",
      +                  "offsetY"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "shadowIntensity": {
      +            "maximum": 1,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "string": {
      +            "maxLength": 100000,
      +            "type": "string"
      +          },
      +          "stroke": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "color": {
      +                    "anyOf": [
      +                      {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "a": {
      +                            "maximum": 1,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          },
      +                          "b": {
      +                            "maximum": 1,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          },
      +                          "g": {
      +                            "maximum": 1,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          },
      +                          "r": {
      +                            "maximum": 1,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          }
      +                        },
      +                        "required": [
      +                          "r",
      +                          "g",
      +                          "b",
      +                          "a"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      {
      +                        "pattern": "^#?(?:[\\da-f]{3}|[\\da-f]{6}|[\\da-f]{8})$",
      +                        "type": "string"
      +                      }
      +                    ]
      +                  },
      +                  "width": {
      +                    "minimum": 0,
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "color",
      +                  "width"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "transform": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "center": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "x": {
      +                    "type": "number"
      +                  },
      +                  "y": {
      +                    "type": "number"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "rotation": {
      +                "type": "number"
      +              },
      +              "scale": {
      +                "maximum": 8,
      +                "minimum": 0.1,
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "weight": {
      +            "enum": [
      +              "regular",
      +              "medium",
      +              "semibold",
      +              "bold"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "layerId"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "layers.delete",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "layerId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "layerId"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "layers.reorder",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "action": {
      +            "enum": [
      +              "front",
      +              "back",
      +              "forward",
      +              "backward"
      +            ],
      +            "type": "string"
      +          },
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "layerId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          },
      +          "toIndex": {
      +            "maximum": 9007199254740991,
      +            "minimum": 1,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "layerId"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "layers.setBackground",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "blurRadius": {
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "color": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "a": {
      +                    "maximum": 1,
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "b": {
      +                    "maximum": 1,
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "g": {
      +                    "maximum": 1,
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "r": {
      +                    "maximum": 1,
      +                    "minimum": 0,
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "r",
      +                  "g",
      +                  "b",
      +                  "a"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "pattern": "^#?(?:[\\da-f]{3}|[\\da-f]{6}|[\\da-f]{8})$",
      +                "type": "string"
      +              }
      +            ]
      +          },
      +          "dimming": {
      +            "maximum": 1,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "fill": {
      +            "oneOf": [
      +              {
      +                "properties": {
      +                  "color": {
      +                    "properties": {
      +                      "a": {
      +                        "maximum": 1,
      +                        "minimum": 0,
      +                        "type": "number"
      +                      },
      +                      "b": {
      +                        "maximum": 1,
      +                        "minimum": 0,
      +                        "type": "number"
      +                      },
      +                      "g": {
      +                        "maximum": 1,
      +                        "minimum": 0,
      +                        "type": "number"
      +                      },
      +                      "r": {
      +                        "maximum": 1,
      +                        "minimum": 0,
      +                        "type": "number"
      +                      }
      +                    },
      +                    "required": [
      +                      "r",
      +                      "g",
      +                      "b",
      +                      "a"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "kind": {
      +                    "const": "solid",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "kind",
      +                  "color"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "properties": {
      +                  "angle": {
      +                    "type": "number"
      +                  },
      +                  "kind": {
      +                    "const": "linearGradient",
      +                    "type": "string"
      +                  },
      +                  "stops": {
      +                    "items": {
      +                      "properties": {
      +                        "color": {
      +                          "properties": {
      +                            "a": {
      +                              "maximum": 1,
      +                              "minimum": 0,
      +                              "type": "number"
      +                            },
      +                            "b": {
      +                              "maximum": 1,
      +                              "minimum": 0,
      +                              "type": "number"
      +                            },
      +                            "g": {
      +                              "maximum": 1,
      +                              "minimum": 0,
      +                              "type": "number"
      +                            },
      +                            "r": {
      +                              "maximum": 1,
      +                              "minimum": 0,
      +                              "type": "number"
      +                            }
      +                          },
      +                          "required": [
      +                            "r",
      +                            "g",
      +                            "b",
      +                            "a"
      +                          ],
      +                          "type": "object"
      +                        },
      +                        "location": {
      +                          "maximum": 1,
      +                          "minimum": 0,
      +                          "type": "number"
      +                        }
      +                      },
      +                      "required": [
      +                        "color",
      +                        "location"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "maxItems": 64,
      +                    "minItems": 2,
      +                    "type": "array"
      +                  }
      +                },
      +                "required": [
      +                  "kind",
      +                  "stops",
      +                  "angle"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "properties": {
      +                  "kind": {
      +                    "const": "radialGradient",
      +                    "type": "string"
      +                  },
      +                  "stops": {
      +                    "items": {
      +                      "properties": {
      +                        "color": {
      +                          "properties": {
      +                            "a": {
      +                              "maximum": 1,
      +                              "minimum": 0,
      +                              "type": "number"
      +                            },
      +                            "b": {
      +                              "maximum": 1,
      +                              "minimum": 0,
      +                              "type": "number"
      +                            },
      +                            "g": {
      +                              "maximum": 1,
      +                              "minimum": 0,
      +                              "type": "number"
      +                            },
      +                            "r": {
      +                              "maximum": 1,
      +                              "minimum": 0,
      +                              "type": "number"
      +                            }
      +                          },
      +                          "required": [
      +                            "r",
      +                            "g",
      +                            "b",
      +                            "a"
      +                          ],
      +                          "type": "object"
      +                        },
      +                        "location": {
      +                          "maximum": 1,
      +                          "minimum": 0,
      +                          "type": "number"
      +                        }
      +                      },
      +                      "required": [
      +                        "color",
      +                        "location"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "maxItems": 64,
      +                    "minItems": 2,
      +                    "type": "array"
      +                  }
      +                },
      +                "required": [
      +                  "kind",
      +                  "stops"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "properties": {
      +                  "assetRef": {
      +                    "maxLength": 256,
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  "blurRadius": {
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "dimming": {
      +                    "maximum": 1,
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "kind": {
      +                    "const": "image",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "kind",
      +                  "assetRef",
      +                  "blurRadius",
      +                  "dimming"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "presetId": {
      +            "maxLength": 256,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          },
      +          "url": {
      +            "maxLength": 12582912,
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "layers.setDevicePadding",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          },
      +          "value": {
      +            "maximum": 0.5,
      +            "minimum": 0,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "value"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "assets.attach",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "cropPolicy": {
      +            "enum": [
      +              "reset",
      +              "preserve"
      +            ],
      +            "type": "string"
      +          },
      +          "layerId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          },
      +          "target": {
      +            "enum": [
      +              "screenshot",
      +              "image",
      +              "background"
      +            ],
      +            "type": "string"
      +          },
      +          "url": {
      +            "maxLength": 12582912,
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "url"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "layout.sync",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "fields": {
      +            "items": {
      +              "enum": [
      +                "transform",
      +                "opacity",
      +                "style"
      +              ],
      +              "type": "string"
      +            },
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "mapping": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "sourceLayerId": {
      +                  "anyOf": [
      +                    {
      +                      "maxLength": 256,
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "ref": {
      +                          "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "ref"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  ]
      +                },
      +                "targetCanvasId": {
      +                  "anyOf": [
      +                    {
      +                      "maxLength": 256,
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "ref": {
      +                          "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "ref"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  ]
      +                },
      +                "targetLayerId": {
      +                  "anyOf": [
      +                    {
      +                      "maxLength": 256,
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "ref": {
      +                          "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "ref"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "targetCanvasId",
      +                "sourceLayerId",
      +                "targetLayerId"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 500,
      +            "type": "array"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          },
      +          "scope": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "background": {
      +                "type": "boolean"
      +              },
      +              "canvasSize": {
      +                "type": "boolean"
      +              },
      +              "devices": {
      +                "type": "boolean"
      +              },
      +              "images": {
      +                "type": "boolean"
      +              },
      +              "texts": {
      +                "type": "boolean"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "sourceCanvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "targetCanvasIds": {
      +            "items": {
      +              "anyOf": [
      +                {
      +                  "maxLength": 256,
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "ref": {
      +                      "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "ref"
      +                  ],
      +                  "type": "object"
      +                }
      +              ]
      +            },
      +            "maxItems": 10,
      +            "minItems": 1,
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "targetCanvasIds"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "canvases.duplicate",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "name": {
      +            "maxLength": 1000,
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "canvasId"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "canvases.reorder",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "canvasIds": {
      +            "items": {
      +              "anyOf": [
      +                {
      +                  "maxLength": 256,
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "ref": {
      +                      "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "ref"
      +                  ],
      +                  "type": "object"
      +                }
      +              ]
      +            },
      +            "maxItems": 10,
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "canvasIds"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "layers.duplicate",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "layerId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "name": {
      +            "maxLength": 1000,
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          },
      +          "targetCanvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          }
      +        },
      +        "required": [
      +          "layerId"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "assets.reuse",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "assetRef": {
      +            "maxLength": 256,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "cropPolicy": {
      +            "enum": [
      +              "reset",
      +              "preserve"
      +            ],
      +            "type": "string"
      +          },
      +          "layerId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          },
      +          "target": {
      +            "enum": [
      +              "screenshot",
      +              "image",
      +              "background"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "assetRef",
      +          "target"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "devices.clearScreenshot",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "layerId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "layerId"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "devices.setCrop",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "layerId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "offset": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "x": {
      +                "type": "number"
      +              },
      +              "y": {
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          },
      +          "zoom": {
      +            "maximum": 3,
      +            "minimum": 1,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "layerId"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "devices.resetCrop",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "layerId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "layerId"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "layers.move",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "dx": {
      +            "type": "number"
      +          },
      +          "dy": {
      +            "type": "number"
      +          },
      +          "layerId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "layerId",
      +          "dx",
      +          "dy"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "layers.position",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "layerId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          },
      +          "x": {
      +            "type": "number"
      +          },
      +          "y": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "layerId",
      +          "x",
      +          "y"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "layers.resize",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "height": {
      +            "exclusiveMinimum": 0,
      +            "type": "number"
      +          },
      +          "layerId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          },
      +          "width": {
      +            "exclusiveMinimum": 0,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "layerId"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "layers.rotate",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "degrees": {
      +            "type": "number"
      +          },
      +          "layerId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "relative": {
      +            "type": "boolean"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "layerId",
      +          "degrees"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "layers.align",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "alignment": {
      +            "enum": [
      +              "left",
      +              "right",
      +              "top",
      +              "bottom",
      +              "centerX",
      +              "centerY"
      +            ],
      +            "type": "string"
      +          },
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "layerIds": {
      +            "items": {
      +              "anyOf": [
      +                {
      +                  "maxLength": 256,
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "ref": {
      +                      "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "ref"
      +                  ],
      +                  "type": "object"
      +                }
      +              ]
      +            },
      +            "maxItems": 49,
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "margin": {
      +            "type": "number"
      +          },
      +          "reference": {
      +            "enum": [
      +              "canvas",
      +              "selection",
      +              "layer"
      +            ],
      +            "type": "string"
      +          },
      +          "referenceLayerId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "layerIds",
      +          "alignment"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "layers.distribute",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "axis": {
      +            "enum": [
      +              "x",
      +              "y"
      +            ],
      +            "type": "string"
      +          },
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "gap": {
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "layerIds": {
      +            "items": {
      +              "anyOf": [
      +                {
      +                  "maxLength": 256,
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "ref": {
      +                      "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "ref"
      +                  ],
      +                  "type": "object"
      +                }
      +              ]
      +            },
      +            "maxItems": 49,
      +            "minItems": 2,
      +            "type": "array"
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "layerIds",
      +          "axis"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "texts.reflow",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "layerId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          },
      +          "width": {
      +            "exclusiveMinimum": 0,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "layerId",
      +          "width"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "command": {
      +        "const": "texts.fit",
      +        "type": "string"
      +      },
      +      "input": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "canvasId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "height": {
      +            "exclusiveMinimum": 0,
      +            "type": "number"
      +          },
      +          "layerId": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ref": {
      +                    "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "ref"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "locale": {
      +            "enum": [
      +              "zh",
      +              "en"
      +            ],
      +            "type": "string"
      +          },
      +          "maxFontSize": {
      +            "maximum": 8192,
      +            "minimum": 8,
      +            "type": "number"
      +          },
      +          "maxLines": {
      +            "exclusiveMinimum": 0,
      +            "maximum": 9007199254740991,
      +            "type": "integer"
      +          },
      +          "minFontSize": {
      +            "maximum": 8192,
      +            "minimum": 8,
      +            "type": "number"
      +          },
      +          "schemaVersion": {
      +            "const": 1,
      +            "type": "number"
      +          },
      +          "width": {
      +            "exclusiveMinimum": 0,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "layerId",
      +          "width",
      +          "height",
      +          "minFontSize",
      +          "maxFontSize"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "command",
      +      "input"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. First observedv4.0.0

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare destructive=true, idempotent=false and openWorld=true, so the bar is lower, yet the description adds non-obvious traits: the whole batch collapses into a single Undo step, only NEW images cross the bridge, pixel geometry executes in the browser, and dryRun does not persist. The single-Undo and create-import-ordering facts are genuinely beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core behavior, then six tight clauses that each encode a distinct rule (scope, ordering, image bridging, browser-side geometry, dryRun/preview, aliasing). No filler or repetition; size is proportionate to a 50-command batch tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, return values need not be described, and the description covers ordering, atomic undo, dryRun validation, aliasing and the browser-side execution model. It leaves the revision/projectId contract and per-command payload variety unaddressed, which are the remaining gaps for a tool this complex.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden and it delivers the highest-value semantics: how to alias a creation with 'as' and reference it via '{ref: alias}', plus the meaning of dryRun and preview. projectId and revision are never explained, and the per-command input shapes (49 variants) are left entirely to the schema, keeping it below a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Apply 1–50 commands as one durable browser edit') with an explicit scope cap and atomicity claim, which is enough to identify it as the batch-mutation entry point. It does not name any sibling (e.g. pocketdraft_preview) to sharpen the boundary, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives real usage rules: 'Read command resources first', 'Create/import must be first', and 'dryRun validates without saving' as a pre-flight mode. It does not say when to prefer this over pocketdraft_preview or the other mutation-adjacent siblings, so it lacks the explicit alternatives that would earn a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.