|
207 | 207 | An undefined value is the same as false. |
208 | 208 | </t> |
209 | 209 | <t> |
210 | | - If "exclusiveMaximum" is true, then a numeric instance MUST NOT be equal to the value specified in "maximum". |
| 210 | + If "exclusiveMaximum" is true, then a numeric instance SHOULD NOT be equal to the value specified in "maximum". |
211 | 211 | If "exclusiveMaximum" is false (or not specified), then a numeric instance MAY be equal to the value of "maximum". |
212 | 212 | </t> |
213 | 213 | </section> |
|
228 | 228 | An undefined value is the same as false. |
229 | 229 | </t> |
230 | 230 | <t> |
231 | | - If "exclusiveMinimum" is true, then a numeric instance MUST NOT be equal to the value specified in "minimum". |
| 231 | + If "exclusiveMinimum" is true, then a numeric instance SHOULD NOT be equal to the value specified in "minimum". |
232 | 232 | If "exclusiveMinimum" is false (or not specified), then a numeric instance MAY be equal to the value of "minimum". |
233 | 233 | </t> |
234 | 234 | </section> |
|
288 | 288 | it is an object, this object MUST be a valid JSON Schema. |
289 | 289 | </t> |
290 | 290 | <t> |
291 | | - The value of "items" MUST be either an object or an array. If it is an |
292 | | - object, this object MUST be a valid JSON Schema. If it is an array, |
293 | | - items of this array MUST be objects, and each of these objects MUST be a |
294 | | - valid JSON Schema. |
| 291 | + The value of "items" MUST be either a schema or array of schemas. |
295 | 292 | </t> |
296 | 293 | <t> |
297 | 294 | Successful validation of an array instance with regards to these two |
|
419 | 416 |
|
420 | 417 | <section title="additionalProperties"> |
421 | 418 | <t> |
422 | | - The value of "additionalProperties" MUST be a boolean or an object. If |
423 | | - it is an object, it MUST also be a valid JSON Schema. |
| 419 | + The value of "additionalProperties" MUST be a boolean or a schema. |
424 | 420 | </t> |
425 | 421 | <t> |
426 | 422 | If "additionalProperties" is absent, it may be considered present with |
|
464 | 460 |
|
465 | 461 | <section title="enum"> |
466 | 462 | <t> |
467 | | - The value of this keyword MUST be an array. This array MUST have at |
468 | | - least one element. Elements in the array MUST be unique. |
| 463 | + The value of this keyword MUST be an array. This array SHOULD have at |
| 464 | + least one element. Elements in the array SHOULD be unique. |
469 | 465 | </t> |
470 | 466 |
|
471 | 467 | <t> |
|
0 commit comments