Bixby Developer Center

References

integer

optionalvalue required

Defines an integer primitive concept model. An integer is a whole number (positive or negative) without decimals, such as 10 or -1. For more information, see Modeling Concepts.

This top-level key and its child keys must be defined in a *.model.bxb file. The file must be in the models/concepts folder.

Examples

integer (RollConcept) {
description (The result of a dice roll.)
}

View master on GitHub

integer (NumDiceConcept) {
description (The number of dice to throw.)
}

View master on GitHub

integer (NumSidesConcept) {
description (The number of sides to the dice.)
}

View master on GitHub

Child Keys

description
optional
Adds text describing the primitive concept, which is useful in describing how a primitive can be used
equivalence
optional
A primitive equivalence policy specifies how the system should compare two instances of the same concept
extends
optional
Extends a parent concept with a new child concept, which inherits all of the parent properties
features
optional
Marks a concept with special concept features for user preferences, privacy, or security
max-value[deprecated]
optional
This key is deprecated
min-value[deprecated]
optional
This key is deprecated
named-consumer
optional
Named consumers allow explicitly linking a concept to an action
role-of
optional
There are cases where you want to assign a specific role to a feature, but not extend the feature