aboutsummaryrefslogtreecommitdiff
path: root/interface/deploy.json
diff options
context:
space:
mode:
authornotgne22020-10-05 20:10:41 -0700
committernotgne22020-10-05 20:11:31 -0700
commitaabcf6b77d4159100a49b143cbb8da4bad194f14 (patch)
treeb44ba5b13aeefa6242386b58fd322f30a75f7193 /interface/deploy.json
parent1de1ad5ff893bfcabdf2bfa20d8c93a8cdbb0156 (diff)
Improve schema a bit, fix flake locks for examples
Diffstat (limited to '')
-rw-r--r--interface/deploy.json44
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
- }
- }
}
]
}