A schema validation of an instance of EVChargingStation always fails.
If the value is 0 (or even not present) and minimum and exclusiveMinimum conditions are set to 0, a jsonschema validator will check for minimum 0 >= 0 -> True and for exclusiveMinimum 0 > 0 -> False.
As long as one condition evaluates to False the instance is not considered valid.
A schema validation of an instance of EVChargingStation always fails. If the value is
0
(or even not present) andminimum
andexclusiveMinimum
conditions are set to0
, a jsonschema validator will check for minimum0 >= 0
->True
and for exclusiveMinimum0 > 0
->False
.As long as one condition evaluates to
False
the instance is not considered valid.https://json-schema.org/understanding-json-schema/reference/numeric.html states that
As a result, I removed the
minimum
condition from fields whereexclusiveMinimum
is already specified (amperage
andvoltage
field)