create & add a schema to graveyard.tom tag kavita with "paid-content" aaaaa the autoformater tag kavita with "paid-content" aaaaa the autoformater add the schema link in toml files create & add a schema to antifeatures.toml add 'draft' property to the wishlist schema
48 lines
1.4 KiB
JSON
48 lines
1.4 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"$id": "https://github.com/YunoHost/apps/blob/master/schemas/graveyard.toml.schema.json",
|
|
"title": "Yunohost's graveyard.toml schema",
|
|
"version": "0",
|
|
"type": "object",
|
|
"required": [],
|
|
"additionalProperties": false,
|
|
"patternProperties": {
|
|
"^[a-z0-9_-]*$": {
|
|
"type": "object",
|
|
"required": [
|
|
"url"
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"category": {
|
|
"type": "string"
|
|
},
|
|
"subtags": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"additionalItems": false
|
|
},
|
|
"url": {
|
|
"type": "string",
|
|
"format": "url"
|
|
},
|
|
"antifeatures": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"additionalItems": false
|
|
},
|
|
"potential_alternative_to": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"additionalItems": false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |