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"
+ }
+}