-
Notifications
You must be signed in to change notification settings - Fork 61
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
"Validate JSON examples" reports issue for number fields with "multipleOf" #498
Comments
See also python-jsonschema/jsonschema#1039 Maybe, an update to the latest version fixes the issue. |
Still not working :( |
Maybe this is also a misinterpretation, see comment https://stackoverflow.com/a/54980033 (author is a JSON Schema guy, so don't be worried of the votes of the replay) To be clear, comparing floats e.g. = is error prone. Not a defect of JSON Schema. For the particular object type, maybe switch to string and do some regex, to get the validation. |
We discussed the topic. We tend to remove the annotation |
This issue was fixed by SAP/abap-file-formats-tools#230 |
JSON schema validation fails for fields of
"type": "number"
with"multipleOf": 0.001
.See PR #497
The text was updated successfully, but these errors were encountered: