Bixby Developer Center

References

output

requiredvalue required

Specifies the output type of a given action.

Examples

action (FindPopulation) {
output (Population)
}
action (FindShoe) {
type (Search)
collect {
input (name) {
type (Name)
min (Optional)
}
input (type) {
type (Type)
min (Optional)
}
input (minPrice) {
type (money.MinPrice)
min (Optional)
max (One)
}
input (maxPrice) {
type (money.MaxPrice)
min (Optional)
max (One)
}
}
output (Shoe)
}

View master on GitHub

Child Keys

description
optional
Adds text describing the output, which is useful for documenting models
evaluate
optional
Use evaluate to construct an output from the input values inside an action definition
on-empty
optional
Defines effects that are applied when action output is empty
sort
optional
Key used for sorting action results
throws
optional
Lists all errors that can be thrown by function implementations when executing this action