diff --git a/modulecheck/module.json b/modulecheck/module.json index 3c1b6d287d13307fc540e30d583af25918df8232..e4247466791497d1da243a8591430b64bbbff5d5 100644 --- a/modulecheck/module.json +++ b/modulecheck/module.json @@ -402,11 +402,28 @@ "type": "array", "items": { "type": "object", - "required": [ - "name", - "srcEntrance", - "type" - ], + "if" : { + "properties": { + "type": { + "const": "dataShare" + } + } + }, + "then": { + "required": [ + "name", + "srcEntrance", + "type", + "uri" + ] + }, + "else" : { + "required": [ + "name", + "srcEntrance", + "type" + ] + }, "propertyNames": { "enum": [ "name", @@ -419,6 +436,7 @@ "readPermission", "writePermission", "visible", + "uri", "skills", "metadata" ] @@ -489,6 +507,11 @@ "type": "boolean", "default": false }, + "uri": { + "description": "Identifies the provided data uri", + "type": "string", + "maxLength": 255 + }, "skills": { "description": "Indicates the types of the intent that can be accepted by the extension.", "type": "array",