1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

Add json-schema for wishlist.toml, and fix wishlist.toml

This commit is contained in:
Félix Piédallu 2023-09-26 15:26:51 +02:00
parent d0cb365c73
commit 72e1b93ccd
2 changed files with 35 additions and 1 deletions

View file

@ -0,0 +1,34 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$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"],
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"upstream": {
"type": "string",
"format": "url"
},
"website": {
"type": "string",
"format": "url"
}
}
}
}
}

View file

@ -1014,7 +1014,7 @@ website = "https://rustdesk.com/server"
[sabnzbd]
name = "SABnzbd"
descrition = "The automated Usenet download tool"
description = "The automated Usenet download tool"
upstream = "https://github.com/sabnzbd/sabnzbd"
website = "https://sabnzbd.org/"