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

add the schema link in toml files

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
This commit is contained in:
OniriCorpe 2024-03-07 23:25:42 +01:00
parent cd93e552ee
commit 589b4b5adf
8 changed files with 130 additions and 4 deletions

View file

@ -1,3 +1,5 @@
#:schema https://github.com/YunoHost/apps/blob/master/schemas/antifeatures.toml.schema.json
[tracking] [tracking]
icon = "user-secret" icon = "user-secret"
title.en = "Tracking" title.en = "Tracking"

View file

@ -1,3 +1,5 @@
#:schema https://github.com/YunoHost/apps/raw/master/schemas/apps.toml.schema.json
[13ft] [13ft]
category = "reading" category = "reading"
level = 7 level = 7

View file

@ -1,3 +1,5 @@
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/categories.toml.schema.json
[synchronization] [synchronization]
icon = "cloud" icon = "cloud"
title.en = "Synchronization" title.en = "Synchronization"

View file

@ -1,3 +1,5 @@
#:schema https://github.com/YunoHost/apps/raw/master/schemas/graveyard.toml.schema.json
[anfora] [anfora]
category = "social_media" category = "social_media"
subtags = [ "pictures" ] subtags = [ "pictures" ]

View file

@ -0,0 +1,63 @@
{
"$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"
}
}
}
}
}
}
}
}
}

View file

@ -0,0 +1,48 @@
{
"$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
}
}
}
}
}

View file

@ -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"
} }
} }
} }
} }
} }

View file

@ -1,3 +1,5 @@
#:schema https://github.com/YunoHost/apps/raw/master/schemas/wishlist.toml.schema.json
[access-to-memory-atom] [access-to-memory-atom]
name = "Access to Memory (AtoM)" name = "Access to Memory (AtoM)"
description = "Standards-based archival description and access in a multilingual, multi-repository environment." description = "Standards-based archival description and access in a multilingual, multi-repository environment."