Skip to content

Commit b71c6a5

Browse files
committed
(poe) choices option
1 parent ccb070b commit b71c6a5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/schemas/json/partial-poe.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,15 @@
6767
"description": "Indicates if the argument is positional.",
6868
"type": "boolean"
6969
},
70+
"choices": {
71+
"description": "Constrain the accepted values for an argument to a fixed set.",
72+
"oneOf": [
73+
{ "items": { "type": "string" } },
74+
{ "items": { "type": "integer" } },
75+
{ "items": { "type": "number" } }
76+
],
77+
"type": "array"
78+
},
7079
"required": {
7180
"description": "Indicates if the argument is required.",
7281
"type": "boolean"

0 commit comments

Comments
 (0)