assets in schema
This commit is contained in:
23
schemas/api-config/assets.json
Normal file
23
schemas/api-config/assets.json
Normal 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"]
|
||||
}
|
||||
Reference in New Issue
Block a user