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

Merge pull request #1723 from Salamandar/schemas_fix

Fixes for schemas
This commit is contained in:
Alexandre Aubin 2023-08-26 11:22:30 +02:00 committed by GitHub
commit 8efb8d9ebd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 9 deletions

View file

@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://github.com/YunoHost/apps/blob/master/schemas/manifest.v2.schema.json",
"$id": "https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json",
"title": "Yunohost app manifest.toml schema",
"version": "0",

View file

@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://github.com/YunoHost/apps/blob/master/schemas/tests.v1.schema.json",
"$id": "https://raw.githubusercontent.com/YunoHost/apps/master/schemas/tests.v1.schema.json",
"title": "Yunohost app package tests.toml schema",
"version": "0",
@ -21,12 +21,10 @@
"additionalProperties": false,
"patternProperties": {
"^[a-z][a-z0-9_]*$": {
"type": {
"anyOf": [
{"type": "string"},
{"type": "number"}
]
}
"anyOf": [
{"type": "string"},
{"type": "number"}
]
}
}
},
@ -56,7 +54,7 @@
"required": [],
"additionalProperties": false,
"patternProperties": {
"^[a-z][a-z0-9_]*$": {
"^[a-z0-9_]*$": {
"type": "object",
"required": [],
"additionalProperties": false,