Bixby Developer Center

References

extends

optionalmultiple allowedvalue required

Extends a parent concept with a new child concept, which inherits all of the parent properties. You can then define new properties specific to the child concept. This is like inheritance in many programming languages, and represents an “is-a” relationship. For example, a restaurant is a business. Like any business it has a phone number, but it can also have a menu. You can extend both primitive concepts and structure concepts. You can also extend multiple concepts at the same time.

Examples

decimal (ETA) {
description (Driving time in seconds.)
extends (time.PeriodMinutes)
}

View master on GitHub

text (MessageText) {
description (text message text)
extends (message.MessageText)
}

View master on GitHub