diff options
author | notgne2 | 2020-10-05 20:10:41 -0700 |
---|---|---|
committer | notgne2 | 2020-10-05 20:11:31 -0700 |
commit | aabcf6b77d4159100a49b143cbb8da4bad194f14 (patch) | |
tree | b44ba5b13aeefa6242386b58fd322f30a75f7193 /interface/deploy.json | |
parent | 1de1ad5ff893bfcabdf2bfa20d8c93a8cdbb0156 (diff) |
Improve schema a bit, fix flake locks for examples
Diffstat (limited to 'interface/deploy.json')
-rw-r--r-- | interface/deploy.json | 44 |
1 files changed, 23 insertions, 21 deletions
diff --git a/interface/deploy.json b/interface/deploy.json index aaa6534..310e926 100644 --- a/interface/deploy.json +++ b/interface/deploy.json @@ -31,6 +31,29 @@ "properties": { "hostname": { "type": "string" + }, + "profilesOrder": { + "type": "array", + "items": { + "type": "string" + }, + "uniqueItems": true + }, + "profiles": { + "type": "object", + "patternProperties": { + "[A-z][A-z0-9_-]*": { + "allOf": [ + { + "$ref": "#/definitions/generic_settings" + }, + { + "$ref": "#/definitions/profile_settings" + } + ] + } + }, + "additionalProperties": false } }, "required": [ @@ -70,27 +93,6 @@ }, { "$ref": "#/definitions/node_settings" - }, - { - "type": "object", - "properties": { - "profiles": { - "type": "object", - "patternProperties": { - "[A-z][A-z0-9_-]*": { - "allOf": [ - { - "$ref": "#/definitions/generic_settings" - }, - { - "$ref": "#/definitions/profile_settings" - } - ] - } - }, - "additionalProperties": false - } - } } ] } |