assets in schema

This commit is contained in:
2022-11-18 16:26:45 +00:00
parent c7a3d26f42
commit dcfde495c7
3 changed files with 43 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "JSON Schema tibi-server assets configuration",
"description": "tibi-server assets linter",
"type": "object",
"additionalProperties": false,
"patternProperties": {
"^x\\-": {
"description": "template property"
}
},
"properties": {
"name": {
"type": "string",
"description": "name, used in url ../NAMESPACE/_/assets/NAME"
},
"path": {
"type": "string",
"description": "path relative to config.yml"
}
},
"required": ["name", "path"]
}