Bixby Developer Center

Guides
References

bind

optional

Binds a specific value to a property. This is useful when using override on a property defined by a parent concept.

Note

You cannot define a bind value and a default-value for a property at the same time. You can use override with bind on a default-value inherited from a parent structure, and the bind value will be used instead.

Example

structure (Business) {
property (businessCategory) {
type (BusinessCategory)
max (Many)
}
...

If you then define Restaurant as an extension of Business, you can force the businessCategory property to only hold the specific Restaurant value, which you would specify with bind.

structure (Restaurant) {
extends (Business)

property (businessCategory) {
override bind (Restaurant)
}

...
}