How to specify a slot of range float
that accepts values less than 10.0
?
#2144
Unanswered
candleindark
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi @candleindark! You can in fact use floats with maximum and minimum, but there is not yet an equivalent of exclusivemin/max, it's currently inclusive only - this will be added in the next metamodel. You can make a custom rule but this is less satsifactory.. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to specify a slot of range
float
that accepts values less than10.0
?I am aware of the meta slot
maximum_value
. However, according to the documentation, the value for that meta slot seems to constraint only ordinal ranges such as integer, and it's considered to be an acceptable value for the slot being defined. I am looking for something that is comparable toexclusiveMaximum
in JSON schema.Ping @djarecka
Beta Was this translation helpful? Give feedback.
All reactions