add 'draft' property to the wishlist schema

This commit is contained in:
OniriCorpe 2024-03-07 23:39:29 +01:00 committed by OniriCorpe
parent 4f7452ff89
commit 674b3028f1

View File

@ -3,14 +3,16 @@
"$id": "https://github.com/YunoHost/apps/blob/master/schemas/wishlist.toml.schema.json", "$id": "https://github.com/YunoHost/apps/blob/master/schemas/wishlist.toml.schema.json",
"title": "Yunohost's wishlist.toml schema", "title": "Yunohost's wishlist.toml schema",
"version": "0", "version": "0",
"type": "object", "type": "object",
"required": [], "required": [],
"additionalProperties": false, "additionalProperties": false,
"patternProperties": { "patternProperties": {
"^[a-z0-9_-]*$": { "^[a-z0-9_-]*$": {
"type": "object", "type": "object",
"required": ["name", "upstream"], "required": [
"name",
"upstream"
],
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"name": { "name": {
@ -26,9 +28,12 @@
"website": { "website": {
"type": "string", "type": "string",
"format": "url" "format": "url"
},
"draft": {
"type": "string",
"format": "url"
} }
} }
} }
} }
}
}