blob: 0313e6d34d846354e0884e1c636f0e1b8bf8d437 [file] [log] [blame]
Marcel van Lohuizena91b8692020-06-14 11:37:58 +02001-- emptyanyof.json --
2{
3 "$defs": {
4 "shell": {
5 "description": "Specify a shell.",
6 "type": "string",
7 "anyOf": [
8 {
9 },
10 {
11 "enum": [
12 "bash",
13 "sh",
14 "cmd",
15 "powershell"
16 ]
17 }
18 ]
19 }
20 }
21}
22
23-- out.cue --
24_
25
26#shell: (string | ("bash" | "sh" | "cmd" | "powershell")) & string