Bixby Developer Center

Guides
References

max

optionalvalue optional

Maximum cardinality of the input (One or Many). If maximum cardinality is violated (many values supplied for a max(One) input), then system will prompt the user to select one of the supplied values.

action (<name>) {
collect {
input (<name>) {
type (<type>)
max (<max-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 on GitHub