Skip to content

Commit fb5c5bf

Browse files
committed
Remove phrase "child validation."
As @awwright noted, "child validation" is not a separate thing.
1 parent 3908c11 commit fb5c5bf

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

jsonschema-validation.xml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,9 @@
180180
<t>
181181
Two of the primitive types, array and object, allow for child values.
182182
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.
184186
</t>
185187
<t>
186188
Note that while array elements are validated by at most one
@@ -407,11 +409,11 @@
407409
If absent, it can be considered present with an empty schema.
408410
</t>
409411
<t>
410-
If "items" is a schema, child validation succeeds if all elements
412+
If "items" is a schema, validation succeeds if all elements
411413
in the array successfully validate against that schema.
412414
</t>
413415
<t>
414-
If "items" is an array of schemas, child validation succeeds if
416+
If "items" is an array of schemas, validation succeeds if
415417
each element of the instance validates against the schema at the
416418
same position, if any.
417419
</t>
@@ -425,7 +427,7 @@
425427
If absent, it can be considered present with an empty schema.
426428
</t>
427429
<t>
428-
If "items" is an array of schemas, child validation succeeds
430+
If "items" is an array of schemas, validation succeeds
429431
if every instance element at a position greater than the size
430432
of "items" validates against "additionalItems".
431433
</t>
@@ -550,7 +552,7 @@
550552
and do not match any regular expression in "patternProperties".
551553
</t>
552554
<t>
553-
For all such properties, child validation succeeds if the child instance
555+
For all such properties, validation succeeds if the child instance
554556
validates against the "additionalProperties" schema.
555557
</t>
556558
</section>

0 commit comments

Comments
 (0)