notify-by-telegram/config.schema.json
Julien Riou 17f0948aeb
Add configuration validation with jsonschema
Signed-off-by: Julien Riou <julien@riou.xyz>
2020-11-26 14:50:59 +01:00

21 lines
300 B
JSON

{
"type": "object",
"properties": {
"chat_id": {
"type": "number"
},
"auth_key": {
"type": "string"
},
"host_template": {
"type": "string"
},
"service_template": {
"type": "string"
}
},
"required": [
"chat_id",
"auth_key"
]
}