diff --git a/modulecheck/crossAppSharedConfig.json b/modulecheck/crossAppSharedConfig.json index 6d8f163c3a3375cc1e696c6cdc770e46587854bd..ddb7834589cc6f277dc12427f254f2831c3aa121 100644 --- a/modulecheck/crossAppSharedConfig.json +++ b/modulecheck/crossAppSharedConfig.json @@ -2,7 +2,7 @@ "title": "JSON schema for crossAppSharedConfig.json", "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": true, + "additionalProperties": false, "propertyNames": { "enum": [ "crossAppSharedConfig" @@ -12,7 +12,7 @@ "crossAppSharedConfig": { "type": "array", "maxItems": 32, - "additionalProperties": true, + "additionalProperties": false, "uniqueItems": true, "items": { "type": "object", @@ -23,6 +23,11 @@ "allowList" ] }, + "required": [ + "uri", + "value", + "allowList" + ], "properties": { "uri": { "description": "Indicates the key for shared configuration.", diff --git a/modulecheck/module.json b/modulecheck/module.json index 94961061592ffe46d98011bf8aa393f510905d10..3dc7adeebc0bc7e1d029926bd9580be925fe828f 100644 --- a/modulecheck/module.json +++ b/modulecheck/module.json @@ -52,7 +52,8 @@ "generateBuildHash", "routerMap", "appStartup", - "formWidgetModule" + "formWidgetModule", + "crossAppSharedConfig" ] }, "required": [ @@ -94,7 +95,8 @@ "dependencies", "libIsolation", "routerMap", - "appStartup" + "appStartup", + "crossAppSharedConfig" ] }, "required": [