add 'draft' property to the wishlist schema
This commit is contained in:
parent
4f7452ff89
commit
674b3028f1
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user