From fe426288294dea535b3314ba7eaae33a4610461b Mon Sep 17 00:00:00 2001 From: "zhangyafei.echo" Date: Wed, 4 Jun 2025 14:33:11 +0800 Subject: [PATCH] Description:add insight intent schema. Sig:SIG_ApplicationFramework Feature or BugFix: Feature Binary Source: No Signed-off-by: zhangyafei.echo Change-Id: Icedfed95b9917caf277538899d60cfcc3151aae6 --- modulecheck/insightIntent.json | 7 +++++++ modulecheck/insightIntentInner.json | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/modulecheck/insightIntent.json b/modulecheck/insightIntent.json index b99a2a91..9a949910 100644 --- a/modulecheck/insightIntent.json +++ b/modulecheck/insightIntent.json @@ -202,11 +202,18 @@ "insightIntentsSrcEntry": { "description": "Indicates the srcEntry of insightIntents.", "type": "array", + "uniqueItems": true, "items": { "type": "object", + "propertyNames": { + "enum": [ + "srcEntry" + ] + }, "required": [ "srcEntry" ], + "additionalProperties": false, "properties": { "srcEntry": { "description": "Indicates the js code path corresponding to the insight intent entry executor.", diff --git a/modulecheck/insightIntentInner.json b/modulecheck/insightIntentInner.json index 6436cc92..8456240d 100644 --- a/modulecheck/insightIntentInner.json +++ b/modulecheck/insightIntentInner.json @@ -203,11 +203,18 @@ "insightIntentsSrcEntry": { "description": "Indicates the srcEntry of insightIntents.", "type": "array", + "uniqueItems": true, "items": { "type": "object", + "propertyNames": { + "enum": [ + "srcEntry" + ] + }, "required": [ "srcEntry" ], + "additionalProperties": false, "properties": { "srcEntry": { "description": "Indicates the js code path corresponding to the insight intent entry executor.", -- Gitee