Closed schneidermic0 closed 1 year ago
See also https://github.com/python-jsonschema/jsonschema/issues/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 multipleOf
for fields specified with type p
.
This issue was fixed by https://github.com/SAP/abap-file-formats-tools/pull/230
JSON schema validation fails for fields of
"type": "number"
with"multipleOf": 0.001
.See PR #497