summaryrefslogtreecommitdiff
path: root/cli/schemas
diff options
context:
space:
mode:
Diffstat (limited to 'cli/schemas')
-rw-r--r--cli/schemas/config-file.v1.json26
1 files changed, 21 insertions, 5 deletions
diff --git a/cli/schemas/config-file.v1.json b/cli/schemas/config-file.v1.json
index 84e65fc77..96a95ca16 100644
--- a/cli/schemas/config-file.v1.json
+++ b/cli/schemas/config-file.v1.json
@@ -605,11 +605,27 @@
]
},
"workspace": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The members of this workspace."
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The members of this workspace."
+ },
+ {
+ "type": "object",
+ "properties": {
+ "members": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The members of this workspace."
+ }
+ }
+ }
+ ]
}
}
}