Bixby Developer Center

References

min-value

optional

Sets a minimum allowed value. When declaring a primitive that is inherently bounded, you can explicitly specify the bounds using min-value and max-value. For example, when modeling earthquake magnitude, you might want to specify that you can only have a minimum magnitude of 0 and a maximum magnitude of 12.

Example

decimal (Magnitude) {
description (The magnitude of an earthquake)
features {
recognized-range {
min-value(0)
max-value(12)
}
}
}

View master on GitHub