You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The use of "not more" with the reverse ordering of the sentence made
this difficult to parse. After reversing the order and removing
negation, the surrounding paragraphs were updated to match the style.
Co-authored-by: Jason Ian Green <jasoniangreen@users.noreply.github.com>
Copy file name to clipboardExpand all lines: docs/json-schema.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -478,11 +478,11 @@ To create and equivalent schema in draft-2020-12 use keywords [prefixItems](#pre
478
478
479
479
The value of the keyword should be a boolean or an object.
480
480
481
-
If `items` keyword is not present or it is an object, `additionalItems` keyword should be ignored regardless of its value. By default Ajv will throw exception inthis case - see [Strict mode](./strict-mode.md)
481
+
`additionalItems` keyword is ignored if`items` keyword is not present or is an object. By default Ajv will throw exception inthis case - see [Strict mode](./strict-mode.md)
482
482
483
-
If `items` keyword is an array and data array has not more items than the length of`items` keyword value, `additionalItems` keyword is also ignored.
483
+
`additionalItems` keyword is ignored if`items` keyword has more elements than data array.
484
484
485
-
If the length ofdata array is bigger than the length of"items" keyword value than the result of the validation depends on the value of`additionalItems` keyword:
485
+
If the data array has more elements than the `items` keyword value then the result of the validation depends on the value of`additionalItems` keyword:
0 commit comments