Skip to content

Commit 7b628d0

Browse files
committed
Validation: Add note about removal of boolean forms of exclusiveMininum/exclusiveMaximum
1 parent 1baa0e9 commit 7b628d0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

jsonschema-validation.xml

+6
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,9 @@
235235
<t>
236236
The value of "exclusiveMaximum" MUST be number, representing an exclusive upper limit for a numeric instance, or a boolean. Schemas SHOULD NOT use the boolean form.
237237
</t>
238+
<t>
239+
<cref>The boolean form of "exclusiveMaximum" is expected to be removed in the future.</cref>
240+
</t>
238241
<t>
239242
If "exclusiveMaximum" is true, "maximum" is a number, and the instance is a number, then the instance is valid only if it has a value strictly less than (not equal to) "maximum".
240243
Else if "exclusiveMaximum" is a number and the instance is a number, then the instance is valid only if it has a value strictly less than (not equal to) "exclusiveMaximum".
@@ -255,6 +258,9 @@
255258
<t>
256259
The value of "exclusiveMinimum" MUST be number, representing an exclusive upper limit for a numeric instance, or a boolean. Schemas SHOULD NOT use the boolean form.
257260
</t>
261+
<t>
262+
<cref>The boolean form of "exclusiveMinimum" is expected to be removed in the future.</cref>
263+
</t>
258264
<t>
259265
If "exclusiveMinimum" is true, "minimum" is a number, and the instance is a number, then the instance is valid only if it has a value strictly greater than (not equal to) "minimum".
260266
Else if "exclusiveMinimum" is a number and the instance is a number, then the instance is valid only if it has a value strictly greater than (not equal to) "exclusiveMinimum".

0 commit comments

Comments
 (0)