diff --git a/modulecheck/forms.json b/modulecheck/forms.json index 1963c75303097bf5237aa8d392220bc6d532cdb5..eae7abbc9aa734d1131c9fb79eef8919b844579e 100644 --- a/modulecheck/forms.json +++ b/modulecheck/forms.json @@ -45,7 +45,9 @@ "supportShapes", "previewImages", "renderingMode", - "enableBlurBackground" + "enableBlurBackground", + "funInteractionParams", + "sceneAnimationParams" ] }, "required": [ @@ -308,6 +310,66 @@ "description": "This label indicates whether the form uses blur background.", "type": "boolean", "default": false + }, + "funInteractionParams": { + "description": "This label indicates fun interaction form params.", + "type": "object", + "propertyNames": { + "enum": [ + "abilityName", + "targetBundleName", + "subBundleName", + "keepStateDuration" + ] + }, + "properties": { + "abilityName": { + "description": "The ability name of the fun interaction form.", + "type": "string", + "pattern": "^[a-zA-Z][0-9a-zA-Z_.]*$", + "maxLength": 127 + }, + "targetBundleName": { + "description": "The bundle name used by game engine.", + "type": "string", + "pattern": "^[a-zA-Z][0-9a-zA-Z_.]*$", + "maxLength": 127 + }, + "subBundleName": { + "description": "The sub bundle name used by game engine. This value is optional", + "type": "string", + "pattern": "^[a-zA-Z][0-9a-zA-Z_.]*$", + "maxLength": 127 + }, + "keepStateDuration": { + "description": "The duration of the fun interaction form will be paused if not operate, default is 10s.", + "type": "integer" + } + } + }, + "sceneAnimationParams": { + "description": "This label indicates scene animation form params.", + "type": "object", + "propertyNames": { + "enum": [ + "abilityName", + "disabledDesktopBehaviors" + ] + }, + "properties": { + "abilityName": { + "description": "The ability name of the scene animation form.", + "type": "string", + "pattern": "^[a-zA-Z][0-9a-zA-Z_.]*$", + "maxLength": 127 + }, + "disabledDesktopBehaviors": { + "description": "Indicates disabled desktop behaviors, only takes effect for system app.", + "type": "string", + "pattern": "^[A-Z_|]+$", + "maxLength": 255 + } + } } } }