Skip to content
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

SetChargingProfile schema validation fails due to floating point arithmethic #12

Open
foxriver76 opened this issue Oct 30, 2021 · 0 comments

Comments

@foxriver76
Copy link

the limit value is defined via multipleOf: 0.1 which will fail in many cases. When I set value of 0.1 everything is fine, else I will get an error, e.g. if I set 2000

Invalid value "[object Object]" for field csChargingProfiles

I think for validation purposes, the multipleOf requirement should be removed or the validator needs to be adjusted, else it makes it impossible to use the limit property.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant