Bixby Developer Center

References

min

optionalvalue required

Minimum cardinality of the input (Optional or Required). If the minimum cardinality is violated (meaning 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 (FindThatPlanet) {
type (Search)
collect {
input (name) {
type (PlanetName)
min (Optional) max (One)
}
input (color) {
type (PlanetColor)
min (Optional) max (One)
}
}
output (ThatPlanet)
}

View master on GitHub

Child Keys

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