diff --git a/resources/schema.json b/resources/schema.json index f3cf490..83c890d 100644 --- a/resources/schema.json +++ b/resources/schema.json @@ -459,9 +459,9 @@ "minLength": 1 }, "url": { - "description": "URL of the Landingpage, which should be either redirected to, or offered to the user as a link.", + "description": "URL or absolute path of the Landingpage, which should be either redirected to, or offered to the user as a link.", "type": "string", - "pattern": "^https?://.*$" + "pattern": "^(https?://|/).*$" } }, "additionalProperties": false, @@ -477,9 +477,9 @@ "minLength": 1 }, "url": { - "description": "URL of the page the promotion image should link to.", + "description": "URL or absolute path of the page the promotion image should link to.", "type": "string", - "pattern": "^https?://.*$" + "pattern": "^(https?://|/).*$" }, "imageUrl": { "description": "URL of the image to use for displaying the promotion.",