mirror of
https://github.com/YunoHost/apps.git
synced 2024-09-03 20:06:07 +02:00
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
63 lines
No EOL
1.9 KiB
JSON
63 lines
No EOL
1.9 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"$id": "https://github.com/YunoHost/apps/blob/master/schemas/antifeatures.toml.schema.json",
|
|
"title": "Yunohost's antifeatures.toml schema",
|
|
"version": "0",
|
|
"$defs": {
|
|
"translated_string": {
|
|
"type": "object",
|
|
"required": [
|
|
"en"
|
|
],
|
|
"additionalProperties": false,
|
|
"patternProperties": {
|
|
"^[a-z]{2}$": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [],
|
|
"additionalProperties": false,
|
|
"patternProperties": {
|
|
"^[a-z0-9_-]*$": {
|
|
"type": "object",
|
|
"required": [
|
|
"icon",
|
|
"title",
|
|
"description"
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"icon": {
|
|
"type": "string"
|
|
},
|
|
"title": {
|
|
"$ref": "#/$defs/translated_string"
|
|
},
|
|
"description": {
|
|
"$ref": "#/$defs/translated_string"
|
|
},
|
|
"subtags": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"patternProperties": {
|
|
"^[a-z_]*$": {
|
|
"type": "object",
|
|
"required": [
|
|
"title"
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"title": {
|
|
"$ref": "#/$defs/translated_string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |