|
180 | 180 | <t>
|
181 | 181 | Two of the primitive types, array and object, allow for child values.
|
182 | 182 | The validation of the primitive type is considered separately from
|
183 | | - the validation of child instances. |
| 183 | + the validation of child instances. Validation of the complete instance |
| 184 | + succeeds if validation of the primitive type and validation |
| 185 | + of each child instance succeeds. |
184 | 186 | </t>
|
185 | 187 | <t>
|
186 | 188 | Note that while array elements are validated by at most one
|
|
407 | 409 | If absent, it can be considered present with an empty schema.
|
408 | 410 | </t>
|
409 | 411 | <t>
|
410 | | - If "items" is a schema, child validation succeeds if all elements |
| 412 | + If "items" is a schema, validation succeeds if all elements |
411 | 413 | in the array successfully validate against that schema.
|
412 | 414 | </t>
|
413 | 415 | <t>
|
414 | | - If "items" is an array of schemas, child validation succeeds if |
| 416 | + If "items" is an array of schemas, validation succeeds if |
415 | 417 | each element of the instance validates against the schema at the
|
416 | 418 | same position, if any.
|
417 | 419 | </t>
|
|
425 | 427 | If absent, it can be considered present with an empty schema.
|
426 | 428 | </t>
|
427 | 429 | <t>
|
428 | | - If "items" is an array of schemas, child validation succeeds |
| 430 | + If "items" is an array of schemas, validation succeeds |
429 | 431 | if every instance element at a position greater than the size
|
430 | 432 | of "items" validates against "additionalItems".
|
431 | 433 | </t>
|
|
550 | 552 | and do not match any regular expression in "patternProperties".
|
551 | 553 | </t>
|
552 | 554 | <t>
|
553 | | - For all such properties, child validation succeeds if the child instance |
| 555 | + For all such properties, validation succeeds if the child instance |
554 | 556 | validates against the "additionalProperties" schema.
|
555 | 557 | </t>
|
556 | 558 | </section>
|
|
0 commit comments