From fd6eb7c65704859e1f8057f2914deb1b6c92833a Mon Sep 17 00:00:00 2001 From: wangdengjia Date: Sat, 18 Sep 2021 17:30:57 +0800 Subject: [PATCH] IssueNo:#I4AWVF Description:add schema Sig:packingTool Feature or Bugfix:Bugfix Binary Source:No Signed-off-by: wangdengjia Change-Id: Icdc32fe834b2e7ca9ca0f68dd486c985a299536f --- configcheck/configSchema_lite.json | 18 +++++++++++++++++- configcheck/configSchema_rich.json | 30 ++++++++++++++++++++++++++---- 2 files changed, 43 insertions(+), 5 deletions(-) diff --git a/configcheck/configSchema_lite.json b/configcheck/configSchema_lite.json index 3dd81e8d..3c2f30c5 100644 --- a/configcheck/configSchema_lite.json +++ b/configcheck/configSchema_lite.json @@ -288,7 +288,9 @@ "label", "visible", "deviceCapability", - "resizeable" + "resizeable", + "srcLanguage", + "srcPath" ] }, "properties": { @@ -339,6 +341,20 @@ "resizeable": { "description": "Indicates whether the ability supports the multi-window feature.", "type": "boolean" + }, + "srcLanguage": { + "description": "Type of the ability development language. The value can be java, js, or ets.The label cannot be defaulted.", + "type": "string", + "enum": [ + "java", + "js", + "ets" + ] + }, + "srcPath": { + "description": "This tag indicates the JS component code path corresponding to the ability. The tag value is a character string.", + "type": "string", + "maxLength": 127 } } } diff --git a/configcheck/configSchema_rich.json b/configcheck/configSchema_rich.json index 57ceabbe..c5637f1e 100644 --- a/configcheck/configSchema_rich.json +++ b/configcheck/configSchema_rich.json @@ -1283,7 +1283,9 @@ "formsEnabled", "forms", "deviceCapability", - "resizeable" + "resizeable", + "srcLanguage", + "srcPath" ] }, "required": [ @@ -1325,7 +1327,9 @@ "formsEnabled", "forms", "deviceCapability", - "resizeable" + "resizeable", + "srcLanguage", + "srcPath" ] }, "required": [ @@ -1368,7 +1372,9 @@ "formsEnabled", "forms", "deviceCapability", - "resizeable" + "resizeable", + "srcLanguage", + "srcPath" ] }, "required": [ @@ -1409,7 +1415,9 @@ "formsEnabled", "forms", "deviceCapability", - "resizeable" + "resizeable", + "srcLanguage", + "srcPath" ] }, "required": [ @@ -1877,6 +1885,20 @@ "description": "Indicates whether the ability supports the multi-window feature.", "type": "boolean" }, + "srcLanguage": { + "description": "Type of the ability development language. The value can be java, js, or ets.The label cannot be defaulted.", + "type": "string", + "enum": [ + "java", + "js", + "ets" + ] + }, + "srcPath": { + "description": "This tag indicates the JS component code path corresponding to the ability. The tag value is a character string.", + "type": "string", + "maxLength": 127 + }, "forms": { "description": "This tag identifies the embedded card attribute of the capability. This tag is valid only when formsEnabled is set to true. This tag can be left blank by default.", "type": "array", -- Gitee