46 lines
849 B
JSON
46 lines
849 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string",
|
|
"pattern": "^\\d+\\.\\d+\\.\\d+$"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"author": {
|
|
"type": "string"
|
|
},
|
|
"settings": {
|
|
"type": "object",
|
|
"properties": {
|
|
"debug": {
|
|
"type": "boolean"
|
|
},
|
|
"timeout": {
|
|
"type": "integer",
|
|
"minimum": 0
|
|
},
|
|
"retries": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 10
|
|
}
|
|
},
|
|
"required": ["debug", "timeout"]
|
|
},
|
|
"tags": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"minItems": 1
|
|
}
|
|
},
|
|
"required": ["name", "version"]
|
|
}
|