Add config version validation

This commit is contained in:
Samuel Lorch 2023-10-09 23:39:32 +02:00
parent f3f0c0c5a5
commit 12f013ae60

View file

@ -4,7 +4,8 @@
"type": "object", "type": "object",
"properties": { "properties": {
"config_version": { "config_version": {
"type": "number" "type": "number",
"const": 1
}, },
"firewall": { "firewall": {
"type": ["number","string","boolean","object","array", "null"] "type": ["number","string","boolean","object","array", "null"]