|
213 | 213 | <list>
|
214 | 214 | <t>"additionalProperties", whose behavior is defined in terms of "properties" and "patternProperties";</t>
|
215 | 215 | <t>"additionalItems", whose behavior is defined in terms of "items"; and</t>
|
216 |
| - <t>"minimum" and "maximum", whose behavior may change for a special value of "exclusiveMinimum" and "exclusiveMaximum", respectively.</t> |
217 | 216 | </list>
|
218 | 217 | </t>
|
219 | 218 | </section>
|
|
248 | 247 | The value of "maximum" MUST be a number, representing an inclusive upper limit for a numeric instance.
|
249 | 248 | </t>
|
250 | 249 | <t>
|
251 |
| - If "exclusiveMaximum" is true, see the validation rules for that keyword instead. |
252 |
| - Else if the instance is a number, then this keyword validates only if the instance is less than or exactly equal to "maximum". |
| 250 | + If the instance is a number, then this keyword validates only if the instance is less than or exactly equal to "maximum". |
253 | 251 | </t>
|
254 | 252 | </section>
|
255 | 253 |
|
256 | 254 | <section title="exclusiveMaximum">
|
257 | 255 | <t>
|
258 |
| - 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. |
| 256 | + The value of "exclusiveMaximum" MUST be number, representing an exclusive upper limit for a numeric instance. |
259 | 257 | </t>
|
260 | 258 | <t>
|
261 |
| - <cref>The boolean form of "exclusiveMaximum" is expected to be removed in the future.</cref> |
262 |
| - </t> |
263 |
| - <t> |
264 |
| - 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". |
265 |
| - 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". |
| 259 | + If the instance is a number, then the instance is valid only if it has a value strictly less than (not equal to) "exclusiveMaximum". |
266 | 260 | </t>
|
267 | 261 | </section>
|
268 | 262 |
|
|
271 | 265 | The value of "minimum" MUST be a number, representing an inclusive upper limit for a numeric instance.
|
272 | 266 | </t>
|
273 | 267 | <t>
|
274 |
| - If "exclusiveMinimum" is true, see the validation rules for that keyword instead. |
275 |
| - Else if the instance is a number, then this keyword validates only if the instance is greater than or exactly equal to "minimum". |
| 268 | + If the instance is a number, then this keyword validates only if the instance is greater than or exactly equal to "minimum". |
276 | 269 | </t>
|
277 | 270 | </section>
|
278 | 271 |
|
279 | 272 | <section title="exclusiveMinimum">
|
280 | 273 | <t>
|
281 |
| - 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. |
282 |
| - </t> |
283 |
| - <t> |
284 |
| - <cref>The boolean form of "exclusiveMinimum" is expected to be removed in the future.</cref> |
| 274 | + The value of "exclusiveMinimum" MUST be number, representing an exclusive upper limit for a numeric instance. |
285 | 275 | </t>
|
286 | 276 | <t>
|
287 |
| - 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". |
288 |
| - 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". |
| 277 | + If the instance is a number, then the instance is valid only if it has a value strictly greater than (not equal to) "exclusiveMinimum". |
289 | 278 | </t>
|
290 | 279 | </section>
|
291 | 280 |
|
|
691 | 680 | "definitions": {
|
692 | 681 | "positiveInteger": {
|
693 | 682 | "type": "integer",
|
694 |
| - "minimum": 0, |
695 |
| - "exclusiveMinimum": true |
| 683 | + "exclusiveMinimum": 0, |
696 | 684 | }
|
697 | 685 | }
|
698 | 686 | }
|
|
0 commit comments