From 674b3028f121ede3d8e290b80ad2372696c06241 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Thu, 7 Mar 2024 23:39:29 +0100 Subject: [PATCH] add 'draft' property to the wishlist schema --- schemas/wishlist.toml.schema.json | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/schemas/wishlist.toml.schema.json b/schemas/wishlist.toml.schema.json index 368db38f..b42caac1 100644 --- a/schemas/wishlist.toml.schema.json +++ b/schemas/wishlist.toml.schema.json @@ -3,14 +3,16 @@ "$id": "https://github.com/YunoHost/apps/blob/master/schemas/wishlist.toml.schema.json", "title": "Yunohost's wishlist.toml schema", "version": "0", - "type": "object", "required": [], "additionalProperties": false, "patternProperties": { "^[a-z0-9_-]*$": { "type": "object", - "required": ["name", "upstream"], + "required": [ + "name", + "upstream" + ], "additionalProperties": false, "properties": { "name": { @@ -26,9 +28,12 @@ "website": { "type": "string", "format": "url" + }, + "draft": { + "type": "string", + "format": "url" } } } } - -} +} \ No newline at end of file