-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Research valid values of multipleOf
and its older variant divisibleBy
across dialects
#2
Comments
If the spec says it can be any number, then zero is also valid. Though keep in mind that no number is divisible by zero, so if they user set zero, they have an impossible schema that can be translated to
I believe so but please check with actual implementations that support the dialects in question, to confirm that you are indeed keeping the right semantics |
|
If so, that's an implementation error. A schema stating |
Clarification for me on this again: |
Ah, I see what you mean now. Does
But every single number is divisible by 1, including real number. What would be the point of introducing Maybe we should just convert |
Yeah! perfect "integer" is a good choice. I see the reason why "multipleOf" was introduced. |
Sounds good. Please add/clarify that on our GitHub Project and close this issue when you have done so! |
No description provided.
The text was updated successfully, but these errors were encountered: