Details
-
Task
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
None
-
Query
Description
5.1.2.1. Valid values
The value of "maximum" MUST be a JSON number. The value of
"exclusiveMaximum" MUST be a boolean.
If "exclusiveMaximum" is present, "maximum" MUST also be present.
5.1.2.2. Conditions for successful validation
Successful validation depends on the presence and value of
"exclusiveMaximum":
if "exclusiveMaximum" is not present, or has boolean value false,
then the instance is valid if it is lower than, or equal to, the
value of "maximum";
if "exclusiveMaximum" has boolean value true, the instance is
valid if it is strictly lower than the value of "maximum".
5.1.2.3. Default value
"exclusiveMaximum", if absent, may be considered as being present
with boolean value false.