Bixby Developer Center

Guides
References

match

required

Use match patterns to dynamically lookup the appropriate response for the current context.

For example, this match pattern looks for FlightInformationMatch from the output of the DisplayDetailInfo action in order to use the correct dialog at the right time.

Examples

  match {
Receipt (this)
}

View on GitHub

  match: Person (candidates) {
from-output: FindPerson {
from-input: PersonName (name)
}
}

View on GitHub

dialog (Result) {
match: Earthquake (this) {
from-output: FindEarthquakes (findEQ)
}
template ("[I found these earthquakes in #{value(findEQ.searchRegion)}]")
}

View on GitHub

For more information on match patterns, see Match Patterns.

Child Keys

any
optional
Use the wildcard underscore (_) to match any node, regardless of its type