🔨Align config.json layout

This commit is contained in:
Paul Sinclair 2020-02-04 15:04:38 -05:00
parent 2f00df7908
commit d97e9e850b
No known key found for this signature in database
GPG key ID: 779C7A23E1AA845D

View file

@ -5,19 +5,11 @@
"description": "A local NTP (Network Time Protocol) server for cameras etc.",
"url": "https://github.com/hassio-addons/addon-chrony",
"startup": "system",
"arch": [
"aarch64",
"amd64",
"armhf",
"armv7",
"i386"
],
"arch": ["aarch64", "amd64", "armhf", "armv7", "i386"],
"boot": "auto",
"hassio_api": true,
"hassio_role": "default",
"privileged": [
"SYS_TIME"
],
"privileged": ["SYS_TIME"],
"ports": {
"123/udp": 123
},
@ -34,10 +26,10 @@
]
},
"schema": {
"log_level": "match(^(trace|debug|info|notice|warning|error|fatal)$)?",
"log_level": "list(trace|debug|info|notice|warning|error|fatal)?",
"set_system_clock": "bool",
"ntp_pool": "str?",
"ntp_server": ["str?"],
"mode": "match(^(pool|server)$)"
"mode": "list(pool|server)"
}
}