Bixby Developer Center

Guides
References

min

optionalvalue required

Minimum cardinality of the input (Optional or Required). If the minimum cardinality is violated (i.e., no values supplied for a min (Required) input), by default, Bixby prompts the user to supply a value unless prompt-behavior (Never) is specified on the input. You could also specify an on-empty block and use conditionals to either prompt the user or halt execution.

action (<name>) {
collect {
input (<name>) {
type (<type>)
min (<min-cardinality>)
}
}
}

Example

action (FindShirt) {
type (Search)
collect {
input (size) {
type (Size)
min (Required)
}
}
output (Shirt)
}

Child Keys

on-empty
optional
Determines what happens when the minimal cardinality is not met