[welcome] Extend schema to allow the debugging checks

This commit is contained in:
Adriaan de Groot 2022-06-10 01:00:40 +02:00
parent 0fd0e9a1af
commit f8dd3ea133

View File

@ -21,10 +21,10 @@ properties:
internetCheckUrl: { type: string }
check:
type: array
items: { type: string, enum: [storage, ram, power, internet, root, screen], unique: true }
items: { type: string, enum: [storage, ram, power, internet, root, screen, "false", "true", "slow-false", "slow-true", snark], unique: true }
required: # Key-name in the config-file
type: array
items: { type: string, enum: [storage, ram, power, internet, root, screen], unique: true }
items: { type: string, enum: [storage, ram, power, internet, root, screen, "false", "true", "slow-false", "slow-true", snark], unique: true }
required: [ requiredStorage, requiredRam, check ] # Schema keyword
# TODO: refactor, this is reused in locale