Closed
Description
When validating this:
{
"amount": 0.00
}
Against this:
{
"properties": {
"amount": {
"type": "number",
"minimum": 0,
"exclusiveMinimum": true
}
}
}
It passes, when it should fail according to this json schema linter:
http://jsonschemalint.com/draft4/
This is because of the strict equality check here: https://github.com/justinrainbow/json-schema/blob/master/src/JsonSchema/Constraints/NumberConstraint.php#L28
Metadata
Metadata
Assignees
Labels
No labels