Skip to main content
Glama

静态 UI 默认通过已规划文档创建编辑器节点,返回 UUID 映射;随后 scene.save 或 prefab.create 并读回验证。脚本只负责交互与动态内容;部分失败使用局部补偿

cocos_ui_build
Destructive

Creates static UI node trees in the Cocos Creator editor from a planned document, returns UUID mappings, then saves as a scene or prefab with read-back verification.

Instructions

静态 UI 默认通过已规划文档创建编辑器节点,返回 UUID 映射;随后 scene.save 或 prefab.create 并读回验证。脚本只负责交互与动态内容;部分失败使用局部补偿

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectId": "<projectId>",
      "params": "<params>"
    },
    "name": "cocos_ui_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYes
projectIdYes
instanceIdNo
operationIdNo
expectedRevisionNo
runtimeInstanceIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.1
    • changedInput schema / $defs / __schema0 / properties / components / items / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "properties": {
      -        "additionalProperties": false,
      -        "properties": {},
      -        "type": "object"
      -      },
      -      "type": {
      -        "const": "cc.SafeArea",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "properties": {
      -        "additionalProperties": false,
      -        "properties": {},
      -        "type": "object"
      -      },
      -      "type": {
      -        "const": "cc.BlockInputEvents",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "properties": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "opacity": {
      -            "maximum": 255,
      -            "minimum": 0,
      -            "type": "number"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "const": "cc.UIOpacity",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "properties": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "anchorPoint": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "x": {
      -                "maximum": 1,
      -                "minimum": 0,
      -                "type": "number"
      -              },
      -              "y": {
      -                "maximum": 1,
      -                "minimum": 0,
      -                "type": "number"
      -              }
      -            },
      -            "required": [
      -              "x",
      -              "y"
      -            ],
      -            "type": "object"
      -          },
      -          "contentSize": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "height": {
      -                "maximum": 100000,
      -                "minimum": 0,
      -                "type": "number"
      -              },
      -              "width": {
      -                "maximum": 100000,
      -                "minimum": 0,
      -                "type": "number"
      -              }
      -            },
      -            "required": [
      -              "width",
      -              "height"
      -            ],
      -            "type": "object"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "const": "cc.UITransform",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "properties": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "alignCanvasWithScreen": {
      -            "type": "boolean"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "const": "cc.Canvas",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "properties": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "sizeMode": {
      -            "anyOf": [
      -              {
      -                "const": 0,
      -                "type": "number"
      -              },
      -              {
      -                "const": 1,
      -                "type": "number"
      -              },
      -              {
      -                "const": 2,
      -                "type": "number"
      -              }
      -            ]
      -          },
      -          "spriteFrame": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "assetUuid": {
      -                "minLength": 1,
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "assetUuid"
      -            ],
      -            "type": "object"
      -          },
      -          "type": {
      -            "anyOf": [
      -              {
      -                "const": 0,
      -                "type": "number"
      -              },
      -              {
      -                "const": 1,
      -                "type": "number"
      -              },
      -              {
      -                "const": 2,
      -                "type": "number"
      -              },
      -              {
      -                "const": 3,
      -                "type": "number"
      -              }
      -            ]
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "const": "cc.Sprite",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "properties": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "enableWrapText": {
      -            "type": "boolean"
      -          },
      -          "font": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "assetUuid": {
      -                "minLength": 1,
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "assetUuid"
      -            ],
      -            "type": "object"
      -          },
      -          "fontSize": {
      -            "maximum": 100000,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "lineHeight": {
      -            "maximum": 100000,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "overflow": {
      -            "anyOf": [
      -              {
      -                "const": 0,
      -                "type": "number"
      -              },
      -              {
      -                "const": 1,
      -                "type": "number"
      -              },
      -              {
      -                "const": 2,
      -                "type": "number"
      -              },
      -              {
      -                "const": 3,
      -                "type": "number"
      -              }
      -            ]
      -          },
      -          "string": {
      -            "maxLength": 10000,
      -            "type": "string"
      -          },
      -          "useSystemFont": {
      -            "type": "boolean"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "const": "cc.Label",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "properties": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "clickEvents": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "componentId": {
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "customEventData": {
      -                  "maxLength": 1024,
      -                  "type": "string"
      -                },
      -                "handler": {
      -                  "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "componentId",
      -                "handler"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 8,
      -            "type": "array"
      -          },
      -          "interactable": {
      -            "type": "boolean"
      -          },
      -          "target": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "nodeKey": {
      -                "minLength": 1,
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "nodeKey"
      -            ],
      -            "type": "object"
      -          },
      -          "transition": {
      -            "anyOf": [
      -              {
      -                "const": 0,
      -                "type": "number"
      -              },
      -              {
      -                "const": 1,
      -                "type": "number"
      -              },
      -              {
      -                "const": 2,
      -                "type": "number"
      -              },
      -              {
      -                "const": 3,
      -                "type": "number"
      -              }
      -            ]
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "const": "cc.Button",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "properties": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "cellSize": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "height": {
      -                "maximum": 100000,
      -                "minimum": 0,
      -                "type": "number"
      -              },
      -              "width": {
      -                "maximum": 100000,
      -                "minimum": 0,
      -                "type": "number"
      -              }
      -            },
      -            "required": [
      -              "width",
      -              "height"
      -            ],
      -            "type": "object"
      -          },
      -          "paddingBottom": {
      -            "maximum": 100000,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "paddingLeft": {
      -            "maximum": 100000,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "paddingRight": {
      -            "maximum": 100000,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "paddingTop": {
      -            "maximum": 100000,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "resizeMode": {
      -            "anyOf": [
      -              {
      -                "const": 0,
      -                "type": "number"
      -              },
      -              {
      -                "const": 1,
      -                "type": "number"
      -              },
      -              {
      -                "const": 2,
      -                "type": "number"
      -              }
      -            ]
      -          },
      -          "spacingX": {
      -            "maximum": 100000,
      -            "minimum": -100000,
      -            "type": "number"
      -          },
      -          "spacingY": {
      -            "maximum": 100000,
      -            "minimum": -100000,
      -            "type": "number"
      -          },
      -          "type": {
      -            "anyOf": [
      -              {
      -                "const": 0,
      -                "type": "number"
      -              },
      -              {
      -                "const": 1,
      -                "type": "number"
      -              },
      -              {
      -                "const": 2,
      -                "type": "number"
      -              },
      -              {
      -                "const": 3,
      -                "type": "number"
      -              }
      -            ]
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "const": "cc.Layout",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "properties": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "alignMode": {
      -            "anyOf": [
      -              {
      -                "const": 0,
      -                "type": "number"
      -              },
      -              {
      -                "const": 1,
      -                "type": "number"
      -              },
      -              {
      -                "const": 2,
      -                "type": "number"
      -              }
      -            ]
      -          },
      -          "bottom": {
      -            "maximum": 100000,
      -            "minimum": -100000,
      -            "type": "number"
      -          },
      -          "horizontalCenter": {
      -            "maximum": 100000,
      -            "minimum": -100000,
      -            "type": "number"
      -          },
      -          "isAlignBottom": {
      -            "type": "boolean"
      -          },
      -          "isAlignHorizontalCenter": {
      -            "type": "boolean"
      -          },
      -          "isAlignLeft": {
      -            "type": "boolean"
      -          },
      -          "isAlignRight": {
      -            "type": "boolean"
      -          },
      -          "isAlignTop": {
      -            "type": "boolean"
      -          },
      -          "isAlignVerticalCenter": {
      -            "type": "boolean"
      -          },
      -          "left": {
      -            "maximum": 100000,
      -            "minimum": -100000,
      -            "type": "number"
      -          },
      -          "right": {
      -            "maximum": 100000,
      -            "minimum": -100000,
      -            "type": "number"
      -          },
      -          "top": {
      -            "maximum": 100000,
      -            "minimum": -100000,
      -            "type": "number"
      -          },
      -          "verticalCenter": {
      -            "maximum": 100000,
      -            "minimum": -100000,
      -            "type": "number"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "const": "cc.Widget",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "properties": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "brake": {
      -            "maximum": 1,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "content": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "nodeKey": {
      -                "minLength": 1,
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "nodeKey"
      -            ],
      -            "type": "object"
      -          },
      -          "elastic": {
      -            "type": "boolean"
      -          },
      -          "horizontal": {
      -            "type": "boolean"
      -          },
      -          "inertia": {
      -            "type": "boolean"
      -          },
      -          "vertical": {
      -            "type": "boolean"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "const": "cc.ScrollView",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "properties": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "checkEvents": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "componentId": {
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "customEventData": {
      -                  "maxLength": 1024,
      -                  "type": "string"
      -                },
      -                "handler": {
      -                  "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "componentId",
      -                "handler"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 8,
      -            "type": "array"
      -          },
      -          "checkMark": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "componentType": {
      -                "const": "cc.Sprite",
      -                "type": "string"
      -              },
      -              "nodeKey": {
      -                "minLength": 1,
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "nodeKey",
      -              "componentType"
      -            ],
      -            "type": "object"
      -          },
      -          "interactable": {
      -            "type": "boolean"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "const": "cc.Toggle",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "properties": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "backgroundImage": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "assetUuid": {
      -                "minLength": 1,
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "assetUuid"
      -            ],
      -            "type": "object"
      -          },
      -          "editingDidBegan": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "componentId": {
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "customEventData": {
      -                  "maxLength": 1024,
      -                  "type": "string"
      -                },
      -                "handler": {
      -                  "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "componentId",
      -                "handler"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 8,
      -            "type": "array"
      -          },
      -          "editingDidEnded": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "componentId": {
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "customEventData": {
      -                  "maxLength": 1024,
      -                  "type": "string"
      -                },
      -                "handler": {
      -                  "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "componentId",
      -                "handler"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 8,
      -            "type": "array"
      -          },
      -          "editingReturn": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "componentId": {
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "customEventData": {
      -                  "maxLength": 1024,
      -                  "type": "string"
      -                },
      -                "handler": {
      -                  "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "componentId",
      -                "handler"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 8,
      -            "type": "array"
      -          },
      -          "maxLength": {
      -            "maximum": 10000,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "placeholder": {
      -            "maxLength": 1000,
      -            "type": "string"
      -          },
      -          "placeholderLabel": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "componentType": {
      -                "const": "cc.Label",
      -                "type": "string"
      -              },
      -              "nodeKey": {
      -                "minLength": 1,
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "nodeKey",
      -              "componentType"
      -            ],
      -            "type": "object"
      -          },
      -          "string": {
      -            "maxLength": 10000,
      -            "type": "string"
      -          },
      -          "tabIndex": {
      -            "maximum": 1000,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "textChanged": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "componentId": {
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "customEventData": {
      -                  "maxLength": 1024,
      -                  "type": "string"
      -                },
      -                "handler": {
      -                  "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "componentId",
      -                "handler"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 8,
      -            "type": "array"
      -          },
      -          "textLabel": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "componentType": {
      -                "const": "cc.Label",
      -                "type": "string"
      -              },
      -              "nodeKey": {
      -                "minLength": 1,
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "nodeKey",
      -              "componentType"
      -            ],
      -            "type": "object"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "const": "cc.EditBox",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "properties": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "content": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "nodeKey": {
      -                "minLength": 1,
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "nodeKey"
      -            ],
      -            "type": "object"
      -          },
      -          "direction": {
      -            "anyOf": [
      -              {
      -                "const": 0,
      -                "type": "number"
      -              },
      -              {
      -                "const": 1,
      -                "type": "number"
      -              }
      -            ]
      -          },
      -          "pageEvents": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "componentId": {
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "customEventData": {
      -                  "maxLength": 1024,
      -                  "type": "string"
      -                },
      -                "handler": {
      -                  "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "componentId",
      -                "handler"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 8,
      -            "type": "array"
      -          },
      -          "pageTurningSpeed": {
      -            "maximum": 60,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "scrollThreshold": {
      -            "maximum": 1,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "sizeMode": {
      -            "anyOf": [
      -              {
      -                "const": 0,
      -                "type": "number"
      -              },
      -              {
      -                "const": 1,
      -                "type": "number"
      -              }
      -            ]
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "const": "cc.PageView",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "properties": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "font": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "assetUuid": {
      -                "minLength": 1,
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "assetUuid"
      -            ],
      -            "type": "object"
      -          },
      -          "fontSize": {
      -            "maximum": 100000,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "lineHeight": {
      -            "maximum": 100000,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "maxWidth": {
      -            "maximum": 100000,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "string": {
      -            "maxLength": 10000,
      -            "type": "string"
      -          },
      -          "useSystemFont": {
      -            "type": "boolean"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "const": "cc.RichText",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "properties": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "inverted": {
      -            "type": "boolean"
      -          },
      -          "type": {
      -            "anyOf": [
      -              {
      -                "const": 0,
      -                "type": "number"
      -              },
      -              {
      -                "const": 1,
      -                "type": "number"
      -              },
      -              {
      -                "const": 2,
      -                "type": "number"
      -              },
      -              {
      -                "const": 3,
      -                "type": "number"
      -              }
      -            ]
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "const": "cc.Mask",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "properties": {
      +        "additionalProperties": false,
      +        "properties": {},
      +        "type": "object"
      +      },
      +      "type": {
      +        "const": "cc.SafeArea",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "properties": {
      +        "additionalProperties": false,
      +        "properties": {},
      +        "type": "object"
      +      },
      +      "type": {
      +        "const": "cc.BlockInputEvents",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "properties": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "opacity": {
      +            "maximum": 255,
      +            "minimum": 0,
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": {
      +        "const": "cc.UIOpacity",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "properties": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "anchorPoint": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "x": {
      +                "maximum": 1,
      +                "minimum": 0,
      +                "type": "number"
      +              },
      +              "y": {
      +                "maximum": 1,
      +                "minimum": 0,
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "x",
      +              "y"
      +            ],
      +            "type": "object"
      +          },
      +          "contentSize": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "height": {
      +                "maximum": 100000,
      +                "minimum": 0,
      +                "type": "number"
      +              },
      +              "width": {
      +                "maximum": 100000,
      +                "minimum": 0,
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "width",
      +              "height"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": {
      +        "const": "cc.UITransform",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "properties": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "alignCanvasWithScreen": {
      +            "type": "boolean"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": {
      +        "const": "cc.Canvas",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "properties": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "color": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "a": {
      +                "maximum": 255,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "b": {
      +                "maximum": 255,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "g": {
      +                "maximum": 255,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "r": {
      +                "maximum": 255,
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "r",
      +              "g",
      +              "b",
      +              "a"
      +            ],
      +            "type": "object"
      +          },
      +          "sizeMode": {
      +            "anyOf": [
      +              {
      +                "const": 0,
      +                "type": "number"
      +              },
      +              {
      +                "const": 1,
      +                "type": "number"
      +              },
      +              {
      +                "const": 2,
      +                "type": "number"
      +              }
      +            ]
      +          },
      +          "spriteFrame": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "assetUuid": {
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "assetUuid"
      +            ],
      +            "type": "object"
      +          },
      +          "type": {
      +            "anyOf": [
      +              {
      +                "const": 0,
      +                "type": "number"
      +              },
      +              {
      +                "const": 1,
      +                "type": "number"
      +              },
      +              {
      +                "const": 2,
      +                "type": "number"
      +              },
      +              {
      +                "const": 3,
      +                "type": "number"
      +              }
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": {
      +        "const": "cc.Sprite",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "properties": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "color": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "a": {
      +                "maximum": 255,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "b": {
      +                "maximum": 255,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "g": {
      +                "maximum": 255,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "r": {
      +                "maximum": 255,
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "r",
      +              "g",
      +              "b",
      +              "a"
      +            ],
      +            "type": "object"
      +          },
      +          "enableWrapText": {
      +            "type": "boolean"
      +          },
      +          "font": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "assetUuid": {
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "assetUuid"
      +            ],
      +            "type": "object"
      +          },
      +          "fontSize": {
      +            "maximum": 100000,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "horizontalAlign": {
      +            "anyOf": [
      +              {
      +                "const": 0,
      +                "type": "number"
      +              },
      +              {
      +                "const": 1,
      +                "type": "number"
      +              },
      +              {
      +                "const": 2,
      +                "type": "number"
      +              }
      +            ]
      +          },
      +          "lineHeight": {
      +            "maximum": 100000,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "overflow": {
      +            "anyOf": [
      +              {
      +                "const": 0,
      +                "type": "number"
      +              },
      +              {
      +                "const": 1,
      +                "type": "number"
      +              },
      +              {
      +                "const": 2,
      +                "type": "number"
      +              },
      +              {
      +                "const": 3,
      +                "type": "number"
      +              }
      +            ]
      +          },
      +          "spacingX": {
      +            "maximum": 100000,
      +            "minimum": -100000,
      +            "type": "number"
      +          },
      +          "string": {
      +            "maxLength": 10000,
      +            "type": "string"
      +          },
      +          "useSystemFont": {
      +            "type": "boolean"
      +          },
      +          "verticalAlign": {
      +            "anyOf": [
      +              {
      +                "const": 0,
      +                "type": "number"
      +              },
      +              {
      +                "const": 1,
      +                "type": "number"
      +              },
      +              {
      +                "const": 2,
      +                "type": "number"
      +              }
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": {
      +        "const": "cc.Label",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "properties": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "clickEvents": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "componentId": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "customEventData": {
      +                  "maxLength": 1024,
      +                  "type": "string"
      +                },
      +                "handler": {
      +                  "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "componentId",
      +                "handler"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 8,
      +            "type": "array"
      +          },
      +          "disabledColor": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "a": {
      +                "maximum": 255,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "b": {
      +                "maximum": 255,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "g": {
      +                "maximum": 255,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "r": {
      +                "maximum": 255,
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "r",
      +              "g",
      +              "b",
      +              "a"
      +            ],
      +            "type": "object"
      +          },
      +          "duration": {
      +            "maximum": 60,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "hoverColor": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "a": {
      +                "maximum": 255,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "b": {
      +                "maximum": 255,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "g": {
      +                "maximum": 255,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "r": {
      +                "maximum": 255,
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "r",
      +              "g",
      +              "b",
      +              "a"
      +            ],
      +            "type": "object"
      +          },
      +          "interactable": {
      +            "type": "boolean"
      +          },
      +          "normalColor": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "a": {
      +                "maximum": 255,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "b": {
      +                "maximum": 255,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "g": {
      +                "maximum": 255,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "r": {
      +                "maximum": 255,
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "r",
      +              "g",
      +              "b",
      +              "a"
      +            ],
      +            "type": "object"
      +          },
      +          "pressedColor": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "a": {
      +                "maximum": 255,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "b": {
      +                "maximum": 255,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "g": {
      +                "maximum": 255,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "r": {
      +                "maximum": 255,
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "r",
      +              "g",
      +              "b",
      +              "a"
      +            ],
      +            "type": "object"
      +          },
      +          "target": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "nodeKey": {
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "nodeKey"
      +            ],
      +            "type": "object"
      +          },
      +          "transition": {
      +            "anyOf": [
      +              {
      +                "const": 0,
      +                "type": "number"
      +              },
      +              {
      +                "const": 1,
      +                "type": "number"
      +              },
      +              {
      +                "const": 2,
      +                "type": "number"
      +              },
      +              {
      +                "const": 3,
      +                "type": "number"
      +              }
      +            ]
      +          },
      +          "zoomScale": {
      +            "maximum": 100000,
      +            "minimum": 0,
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": {
      +        "const": "cc.Button",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "properties": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "affectedByScale": {
      +            "type": "boolean"
      +          },
      +          "cellSize": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "height": {
      +                "maximum": 100000,
      +                "minimum": 0,
      +                "type": "number"
      +              },
      +              "width": {
      +                "maximum": 100000,
      +                "minimum": 0,
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "width",
      +              "height"
      +            ],
      +            "type": "object"
      +          },
      +          "horizontalDirection": {
      +            "anyOf": [
      +              {
      +                "const": 0,
      +                "type": "number"
      +              },
      +              {
      +                "const": 1,
      +                "type": "number"
      +              }
      +            ]
      +          },
      +          "paddingBottom": {
      +            "maximum": 100000,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "paddingLeft": {
      +            "maximum": 100000,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "paddingRight": {
      +            "maximum": 100000,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "paddingTop": {
      +            "maximum": 100000,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "resizeMode": {
      +            "anyOf": [
      +              {
      +                "const": 0,
      +                "type": "number"
      +              },
      +              {
      +                "const": 1,
      +                "type": "number"
      +              },
      +              {
      +                "const": 2,
      +                "type": "number"
      +              }
      +            ]
      +          },
      +          "spacingX": {
      +            "maximum": 100000,
      +            "minimum": -100000,
      +            "type": "number"
      +          },
      +          "spacingY": {
      +            "maximum": 100000,
      +            "minimum": -100000,
      +            "type": "number"
      +          },
      +          "startAxis": {
      +            "anyOf": [
      +              {
      +                "const": 0,
      +                "type": "number"
      +              },
      +              {
      +                "const": 1,
      +                "type": "number"
      +              }
      +            ]
      +          },
      +          "type": {
      +            "anyOf": [
      +              {
      +                "const": 0,
      +                "type": "number"
      +              },
      +              {
      +                "const": 1,
      +                "type": "number"
      +              },
      +              {
      +                "const": 2,
      +                "type": "number"
      +              },
      +              {
      +                "const": 3,
      +                "type": "number"
      +              }
      +            ]
      +          },
      +          "verticalDirection": {
      +            "anyOf": [
      +              {
      +                "const": 0,
      +                "type": "number"
      +              },
      +              {
      +                "const": 1,
      +                "type": "number"
      +              }
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": {
      +        "const": "cc.Layout",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "properties": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "alignMode": {
      +            "anyOf": [
      +              {
      +                "const": 0,
      +                "type": "number"
      +              },
      +              {
      +                "const": 1,
      +                "type": "number"
      +              },
      +              {
      +                "const": 2,
      +                "type": "number"
      +              }
      +            ]
      +          },
      +          "bottom": {
      +            "maximum": 100000,
      +            "minimum": -100000,
      +            "type": "number"
      +          },
      +          "horizontalCenter": {
      +            "maximum": 100000,
      +            "minimum": -100000,
      +            "type": "number"
      +          },
      +          "isAbsoluteBottom": {
      +            "type": "boolean"
      +          },
      +          "isAbsoluteHorizontalCenter": {
      +            "type": "boolean"
      +          },
      +          "isAbsoluteLeft": {
      +            "type": "boolean"
      +          },
      +          "isAbsoluteRight": {
      +            "type": "boolean"
      +          },
      +          "isAbsoluteTop": {
      +            "type": "boolean"
      +          },
      +          "isAbsoluteVerticalCenter": {
      +            "type": "boolean"
      +          },
      +          "isAlignBottom": {
      +            "type": "boolean"
      +          },
      +          "isAlignHorizontalCenter": {
      +            "type": "boolean"
      +          },
      +          "isAlignLeft": {
      +            "type": "boolean"
      +          },
      +          "isAlignRight": {
      +            "type": "boolean"
      +          },
      +          "isAlignTop": {
      +            "type": "boolean"
      +          },
      +          "isAlignVerticalCenter": {
      +            "type": "boolean"
      +          },
      +          "left": {
      +            "maximum": 100000,
      +            "minimum": -100000,
      +            "type": "number"
      +          },
      +          "right": {
      +            "maximum": 100000,
      +            "minimum": -100000,
      +            "type": "number"
      +          },
      +          "top": {
      +            "maximum": 100000,
      +            "minimum": -100000,
      +            "type": "number"
      +          },
      +          "verticalCenter": {
      +            "maximum": 100000,
      +            "minimum": -100000,
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": {
      +        "const": "cc.Widget",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "properties": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "brake": {
      +            "maximum": 1,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "content": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "nodeKey": {
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "nodeKey"
      +            ],
      +            "type": "object"
      +          },
      +          "elastic": {
      +            "type": "boolean"
      +          },
      +          "horizontal": {
      +            "type": "boolean"
      +          },
      +          "inertia": {
      +            "type": "boolean"
      +          },
      +          "vertical": {
      +            "type": "boolean"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": {
      +        "const": "cc.ScrollView",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "properties": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "checkEvents": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "componentId": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "customEventData": {
      +                  "maxLength": 1024,
      +                  "type": "string"
      +                },
      +                "handler": {
      +                  "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "componentId",
      +                "handler"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 8,
      +            "type": "array"
      +          },
      +          "checkMark": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "componentType": {
      +                "const": "cc.Sprite",
      +                "type": "string"
      +              },
      +              "nodeKey": {
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "nodeKey",
      +              "componentType"
      +            ],
      +            "type": "object"
      +          },
      +          "interactable": {
      +            "type": "boolean"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": {
      +        "const": "cc.Toggle",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "properties": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "backgroundImage": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "assetUuid": {
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "assetUuid"
      +            ],
      +            "type": "object"
      +          },
      +          "editingDidBegan": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "componentId": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "customEventData": {
      +                  "maxLength": 1024,
      +                  "type": "string"
      +                },
      +                "handler": {
      +                  "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "componentId",
      +                "handler"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 8,
      +            "type": "array"
      +          },
      +          "editingDidEnded": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "componentId": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "customEventData": {
      +                  "maxLength": 1024,
      +                  "type": "string"
      +                },
      +                "handler": {
      +                  "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "componentId",
      +                "handler"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 8,
      +            "type": "array"
      +          },
      +          "editingReturn": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "componentId": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "customEventData": {
      +                  "maxLength": 1024,
      +                  "type": "string"
      +                },
      +                "handler": {
      +                  "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "componentId",
      +                "handler"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 8,
      +            "type": "array"
      +          },
      +          "maxLength": {
      +            "maximum": 10000,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "placeholder": {
      +            "maxLength": 1000,
      +            "type": "string"
      +          },
      +          "placeholderLabel": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "componentType": {
      +                "const": "cc.Label",
      +                "type": "string"
      +              },
      +              "nodeKey": {
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "nodeKey",
      +              "componentType"
      +            ],
      +            "type": "object"
      +          },
      +          "string": {
      +            "maxLength": 10000,
      +            "type": "string"
      +          },
      +          "tabIndex": {
      +            "maximum": 1000,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "textChanged": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "componentId": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "customEventData": {
      +                  "maxLength": 1024,
      +                  "type": "string"
      +                },
      +                "handler": {
      +                  "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "componentId",
      +                "handler"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 8,
      +            "type": "array"
      +          },
      +          "textLabel": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "componentType": {
      +                "const": "cc.Label",
      +                "type": "string"
      +              },
      +              "nodeKey": {
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "nodeKey",
      +              "componentType"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": {
      +        "const": "cc.EditBox",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "properties": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "content": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "nodeKey": {
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "nodeKey"
      +            ],
      +            "type": "object"
      +          },
      +          "direction": {
      +            "anyOf": [
      +              {
      +                "const": 0,
      +                "type": "number"
      +              },
      +              {
      +                "const": 1,
      +                "type": "number"
      +              }
      +            ]
      +          },
      +          "pageEvents": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "componentId": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "customEventData": {
      +                  "maxLength": 1024,
      +                  "type": "string"
      +                },
      +                "handler": {
      +                  "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "componentId",
      +                "handler"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 8,
      +            "type": "array"
      +          },
      +          "pageTurningSpeed": {
      +            "maximum": 60,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "scrollThreshold": {
      +            "maximum": 1,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "sizeMode": {
      +            "anyOf": [
      +              {
      +                "const": 0,
      +                "type": "number"
      +              },
      +              {
      +                "const": 1,
      +                "type": "number"
      +              }
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": {
      +        "const": "cc.PageView",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "properties": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "font": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "assetUuid": {
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "assetUuid"
      +            ],
      +            "type": "object"
      +          },
      +          "fontSize": {
      +            "maximum": 100000,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "horizontalAlign": {
      +            "anyOf": [
      +              {
      +                "const": 0,
      +                "type": "number"
      +              },
      +              {
      +                "const": 1,
      +                "type": "number"
      +              },
      +              {
      +                "const": 2,
      +                "type": "number"
      +              }
      +            ]
      +          },
      +          "lineHeight": {
      +            "maximum": 100000,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "maxWidth": {
      +            "maximum": 100000,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "string": {
      +            "maxLength": 10000,
      +            "type": "string"
      +          },
      +          "useSystemFont": {
      +            "type": "boolean"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": {
      +        "const": "cc.RichText",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "properties": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "inverted": {
      +            "type": "boolean"
      +          },
      +          "type": {
      +            "anyOf": [
      +              {
      +                "const": 0,
      +                "type": "number"
      +              },
      +              {
      +                "const": 1,
      +                "type": "number"
      +              },
      +              {
      +                "const": 2,
      +                "type": "number"
      +              },
      +              {
      +                "const": 3,
      +                "type": "number"
      +              }
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": {
      +        "const": "cc.Mask",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed5 schema fields changedv0.1.0-build.6.1c8b81c
    • addedInput schema / $defs
      Added value: +{
      +  "__schema0": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "children": {
      +        "items": {
      +          "$ref": "#/$defs/__schema0"
      +        },
      +        "maxItems": 200,
      +        "type": "array"
      +      },
      +      "components": {
      +        "items": {
      +          "oneOf": [
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {},
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.SafeArea",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {},
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.BlockInputEvents",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "opacity": {
      +                      "maximum": 255,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.UIOpacity",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "anchorPoint": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "x": {
      +                          "maximum": 1,
      +                          "minimum": 0,
      +                          "type": "number"
      +                        },
      +                        "y": {
      +                          "maximum": 1,
      +                          "minimum": 0,
      +                          "type": "number"
      +                        }
      +                      },
      +                      "required": [
      +                        "x",
      +                        "y"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "contentSize": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "height": {
      +                          "maximum": 100000,
      +                          "minimum": 0,
      +                          "type": "number"
      +                        },
      +                        "width": {
      +                          "maximum": 100000,
      +                          "minimum": 0,
      +                          "type": "number"
      +                        }
      +                      },
      +                      "required": [
      +                        "width",
      +                        "height"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.UITransform",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "alignCanvasWithScreen": {
      +                      "type": "boolean"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.Canvas",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "sizeMode": {
      +                      "anyOf": [
      +                        {
      +                          "const": 0,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 1,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 2,
      +                          "type": "number"
      +                        }
      +                      ]
      +                    },
      +                    "spriteFrame": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "assetUuid": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "assetUuid"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "type": {
      +                      "anyOf": [
      +                        {
      +                          "const": 0,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 1,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 2,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 3,
      +                          "type": "number"
      +                        }
      +                      ]
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.Sprite",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "enableWrapText": {
      +                      "type": "boolean"
      +                    },
      +                    "font": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "assetUuid": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "assetUuid"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "fontSize": {
      +                      "maximum": 100000,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "lineHeight": {
      +                      "maximum": 100000,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "overflow": {
      +                      "anyOf": [
      +                        {
      +                          "const": 0,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 1,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 2,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 3,
      +                          "type": "number"
      +                        }
      +                      ]
      +                    },
      +                    "string": {
      +                      "maxLength": 10000,
      +                      "type": "string"
      +                    },
      +                    "useSystemFont": {
      +                      "type": "boolean"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.Label",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "clickEvents": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "componentId": {
      +                            "minLength": 1,
      +                            "type": "string"
      +                          },
      +                          "customEventData": {
      +                            "maxLength": 1024,
      +                            "type": "string"
      +                          },
      +                          "handler": {
      +                            "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "componentId",
      +                          "handler"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "maxItems": 8,
      +                      "type": "array"
      +                    },
      +                    "interactable": {
      +                      "type": "boolean"
      +                    },
      +                    "target": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "nodeKey": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "nodeKey"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "transition": {
      +                      "anyOf": [
      +                        {
      +                          "const": 0,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 1,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 2,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 3,
      +                          "type": "number"
      +                        }
      +                      ]
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.Button",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "cellSize": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "height": {
      +                          "maximum": 100000,
      +                          "minimum": 0,
      +                          "type": "number"
      +                        },
      +                        "width": {
      +                          "maximum": 100000,
      +                          "minimum": 0,
      +                          "type": "number"
      +                        }
      +                      },
      +                      "required": [
      +                        "width",
      +                        "height"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "paddingBottom": {
      +                      "maximum": 100000,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "paddingLeft": {
      +                      "maximum": 100000,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "paddingRight": {
      +                      "maximum": 100000,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "paddingTop": {
      +                      "maximum": 100000,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "resizeMode": {
      +                      "anyOf": [
      +                        {
      +                          "const": 0,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 1,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 2,
      +                          "type": "number"
      +                        }
      +                      ]
      +                    },
      +                    "spacingX": {
      +                      "maximum": 100000,
      +                      "minimum": -100000,
      +                      "type": "number"
      +                    },
      +                    "spacingY": {
      +                      "maximum": 100000,
      +                      "minimum": -100000,
      +                      "type": "number"
      +                    },
      +                    "type": {
      +                      "anyOf": [
      +                        {
      +                          "const": 0,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 1,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 2,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 3,
      +                          "type": "number"
      +                        }
      +                      ]
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.Layout",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "alignMode": {
      +                      "anyOf": [
      +                        {
      +                          "const": 0,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 1,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 2,
      +                          "type": "number"
      +                        }
      +                      ]
      +                    },
      +                    "bottom": {
      +                      "maximum": 100000,
      +                      "minimum": -100000,
      +                      "type": "number"
      +                    },
      +                    "horizontalCenter": {
      +                      "maximum": 100000,
      +                      "minimum": -100000,
      +                      "type": "number"
      +                    },
      +                    "isAlignBottom": {
      +                      "type": "boolean"
      +                    },
      +                    "isAlignHorizontalCenter": {
      +                      "type": "boolean"
      +                    },
      +                    "isAlignLeft": {
      +                      "type": "boolean"
      +                    },
      +                    "isAlignRight": {
      +                      "type": "boolean"
      +                    },
      +                    "isAlignTop": {
      +                      "type": "boolean"
      +                    },
      +                    "isAlignVerticalCenter": {
      +                      "type": "boolean"
      +                    },
      +                    "left": {
      +                      "maximum": 100000,
      +                      "minimum": -100000,
      +                      "type": "number"
      +                    },
      +                    "right": {
      +                      "maximum": 100000,
      +                      "minimum": -100000,
      +                      "type": "number"
      +                    },
      +                    "top": {
      +                      "maximum": 100000,
      +                      "minimum": -100000,
      +                      "type": "number"
      +                    },
      +                    "verticalCenter": {
      +                      "maximum": 100000,
      +                      "minimum": -100000,
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.Widget",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "brake": {
      +                      "maximum": 1,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "content": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "nodeKey": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "nodeKey"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "elastic": {
      +                      "type": "boolean"
      +                    },
      +                    "horizontal": {
      +                      "type": "boolean"
      +                    },
      +                    "inertia": {
      +                      "type": "boolean"
      +                    },
      +                    "vertical": {
      +                      "type": "boolean"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.ScrollView",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "checkEvents": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "componentId": {
      +                            "minLength": 1,
      +                            "type": "string"
      +                          },
      +                          "customEventData": {
      +                            "maxLength": 1024,
      +                            "type": "string"
      +                          },
      +                          "handler": {
      +                            "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "componentId",
      +                          "handler"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "maxItems": 8,
      +                      "type": "array"
      +                    },
      +                    "checkMark": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "componentType": {
      +                          "const": "cc.Sprite",
      +                          "type": "string"
      +                        },
      +                        "nodeKey": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "nodeKey",
      +                        "componentType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "interactable": {
      +                      "type": "boolean"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.Toggle",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "backgroundImage": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "assetUuid": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "assetUuid"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "editingDidBegan": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "componentId": {
      +                            "minLength": 1,
      +                            "type": "string"
      +                          },
      +                          "customEventData": {
      +                            "maxLength": 1024,
      +                            "type": "string"
      +                          },
      +                          "handler": {
      +                            "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "componentId",
      +                          "handler"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "maxItems": 8,
      +                      "type": "array"
      +                    },
      +                    "editingDidEnded": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "componentId": {
      +                            "minLength": 1,
      +                            "type": "string"
      +                          },
      +                          "customEventData": {
      +                            "maxLength": 1024,
      +                            "type": "string"
      +                          },
      +                          "handler": {
      +                            "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "componentId",
      +                          "handler"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "maxItems": 8,
      +                      "type": "array"
      +                    },
      +                    "editingReturn": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "componentId": {
      +                            "minLength": 1,
      +                            "type": "string"
      +                          },
      +                          "customEventData": {
      +                            "maxLength": 1024,
      +                            "type": "string"
      +                          },
      +                          "handler": {
      +                            "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "componentId",
      +                          "handler"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "maxItems": 8,
      +                      "type": "array"
      +                    },
      +                    "maxLength": {
      +                      "maximum": 10000,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "placeholder": {
      +                      "maxLength": 1000,
      +                      "type": "string"
      +                    },
      +                    "placeholderLabel": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "componentType": {
      +                          "const": "cc.Label",
      +                          "type": "string"
      +                        },
      +                        "nodeKey": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "nodeKey",
      +                        "componentType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "string": {
      +                      "maxLength": 10000,
      +                      "type": "string"
      +                    },
      +                    "tabIndex": {
      +                      "maximum": 1000,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "textChanged": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "componentId": {
      +                            "minLength": 1,
      +                            "type": "string"
      +                          },
      +                          "customEventData": {
      +                            "maxLength": 1024,
      +                            "type": "string"
      +                          },
      +                          "handler": {
      +                            "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "componentId",
      +                          "handler"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "maxItems": 8,
      +                      "type": "array"
      +                    },
      +                    "textLabel": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "componentType": {
      +                          "const": "cc.Label",
      +                          "type": "string"
      +                        },
      +                        "nodeKey": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "nodeKey",
      +                        "componentType"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.EditBox",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "content": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "nodeKey": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "nodeKey"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "direction": {
      +                      "anyOf": [
      +                        {
      +                          "const": 0,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 1,
      +                          "type": "number"
      +                        }
      +                      ]
      +                    },
      +                    "pageEvents": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "componentId": {
      +                            "minLength": 1,
      +                            "type": "string"
      +                          },
      +                          "customEventData": {
      +                            "maxLength": 1024,
      +                            "type": "string"
      +                          },
      +                          "handler": {
      +                            "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "componentId",
      +                          "handler"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "maxItems": 8,
      +                      "type": "array"
      +                    },
      +                    "pageTurningSpeed": {
      +                      "maximum": 60,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "scrollThreshold": {
      +                      "maximum": 1,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "sizeMode": {
      +                      "anyOf": [
      +                        {
      +                          "const": 0,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 1,
      +                          "type": "number"
      +                        }
      +                      ]
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.PageView",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "font": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "assetUuid": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "assetUuid"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "fontSize": {
      +                      "maximum": 100000,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "lineHeight": {
      +                      "maximum": 100000,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "maxWidth": {
      +                      "maximum": 100000,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "string": {
      +                      "maxLength": 10000,
      +                      "type": "string"
      +                    },
      +                    "useSystemFont": {
      +                      "type": "boolean"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.RichText",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "inverted": {
      +                      "type": "boolean"
      +                    },
      +                    "type": {
      +                      "anyOf": [
      +                        {
      +                          "const": 0,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 1,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 2,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 3,
      +                          "type": "number"
      +                        }
      +                      ]
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.Mask",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            }
      +          ]
      +        },
      +        "maxItems": 13,
      +        "type": "array"
      +      },
      +      "key": {
      +        "pattern": "^[a-zA-Z][a-zA-Z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "name": {
      +        "maxLength": 128,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "position": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "x": {
      +            "maximum": 100000,
      +            "minimum": -100000,
      +            "type": "number"
      +          },
      +          "y": {
      +            "maximum": 100000,
      +            "minimum": -100000,
      +            "type": "number"
      +          },
      +          "z": {
      +            "maximum": 100000,
      +            "minimum": -100000,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "x",
      +          "y",
      +          "z"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "name"
      +    ],
      +    "type": "object"
      +  }
      +}
    • addedInput schema / properties / params / properties / document
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "root": {
      +      "$ref": "#/$defs/__schema0"
      +    },
      +    "version": {
      +      "const": 1,
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "version",
      +    "root"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / params / properties / planHash
      Added value: +{
      +  "minLength": 1,
      +  "type": "string"
      +}
    • removedInput schema / properties / params / properties / tree
      Removed value: -{
      -  "additionalProperties": {},
      -  "properties": {},
      -  "type": "object"
      -}
    • changedInput schema / properties / params / required
      Previous value: -[
      -  "tree"
      -]New value: +[
      +  "parentId",
      +  "document",
      +  "planHash"
      +]
  3. First observedv0.1.0

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, and the description adds genuinely useful behavior beyond them: nodes are created in the editor, a UUID mapping is returned, and persistence happens separately via scene.save or prefab.create followed by read-back verification. However, for a destructiveHint=true mutation it never states what is at risk, whether creation is atomic, or what a partial-failure response looks like beyond 'use local compensation'.

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

Conciseness3/5

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

It is a single dense run of semicolon-separated clauses with no waste, but the ordering mixes workflow, return value, and script responsibility, so the central action is front-loaded only partially. Readable, yet closer to a note than a structured spec.

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

Completeness2/5

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

With no output schema and a deeply nested input document, the statement that a UUID mapping is returned is valuable, but the definition leaves too much unstated for a destructive six-parameter mutation: the meaning of planHash/expectedRevision, the required plan step, and failure semantics are all absent.

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

Parameters2/5

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

Schema description coverage is 0% across six parameters, so the description must carry the burden and largely does not. It hints that document and planHash come from a pre-planned artifact, but explains nothing about projectId, parentId, operationId, expectedRevision, or runtimeInstanceId, and never describes the recursive node/component document structure the caller must build.

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

Purpose2/5

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

Tautological: description restates name/title.

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?

It gives a clear routing rule: static UI goes through this planned-document path, while scripts are reserved for interaction and dynamic content, and partial failures should be compensated locally. What is missing is any exclusion about when NOT to use it, or which sibling to call first to obtain the plan/planHash.

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