Sebastian Frank
f250ddee2c
All checks were successful
continuous-integration/drone/push Build is passing
33 lines
941 B
JSON
33 lines
941 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "JSON Schema tibi-server cronjob configuration",
|
|
"description": "tibi-server cronjob linter",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"patternProperties": {
|
|
"^x\\-": {
|
|
"description": "template property"
|
|
}
|
|
},
|
|
"properties": {
|
|
"meta": {
|
|
"type": "object",
|
|
"description": "meta object used to pass parameters to identify cronjob",
|
|
"additionalProperties": true
|
|
},
|
|
"cron": {
|
|
"type": "string",
|
|
"description": "cronjob time/interval specification"
|
|
},
|
|
"type": {
|
|
"const": "javascript",
|
|
"description": "type of job"
|
|
},
|
|
"file": {
|
|
"type": "string",
|
|
"description": "javascript file relative to config.yml"
|
|
}
|
|
},
|
|
"required": ["type", "file"]
|
|
}
|