mirror of
https://github.com/YunoHost/apps.git
synced 2024-09-03 20:06:07 +02:00
Merge pull request #1753 from Salamandar/wishlist_schema
Add json-schema for wishlist.toml, and fix wishlist.toml
This commit is contained in:
commit
9f74c962a2
2 changed files with 35 additions and 1 deletions
34
schemas/wishlist.toml.schema.json
Normal file
34
schemas/wishlist.toml.schema.json
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -1014,7 +1014,7 @@ website = "https://rustdesk.com/server"
|
||||||
|
|
||||||
[sabnzbd]
|
[sabnzbd]
|
||||||
name = "SABnzbd"
|
name = "SABnzbd"
|
||||||
descrition = "The automated Usenet download tool"
|
description = "The automated Usenet download tool"
|
||||||
upstream = "https://github.com/sabnzbd/sabnzbd"
|
upstream = "https://github.com/sabnzbd/sabnzbd"
|
||||||
website = "https://sabnzbd.org/"
|
website = "https://sabnzbd.org/"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue