Skip to content

Commit 5ed0f5d

Browse files
committed
additionalProperties and items sibling clarifications
Signed-off-by: Juan Cruz Viotti <[email protected]>
1 parent 9cc6333 commit 5ed0f5d

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

content/2020-12/applicator/additionalProperties.markdown

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,11 @@ related:
4242
---
4343

4444
The `additionalProperties` keyword restricts object instance properties not
45-
described by the [`properties`]({{< ref "2020-12/applicator/properties" >}})
46-
and [`patternProperties`]({{< ref "2020-12/applicator/patternproperties" >}})
47-
keywords (if any), to validate against the given subschema. Information about
48-
the properties that this keyword was evaluated for is reported using
45+
described by the _sibling_ [`properties`]({{< ref
46+
"2020-12/applicator/properties"
47+
>}}) and [`patternProperties`]({{< ref "2020-12/applicator/patternproperties"
48+
>}}) keywords (if any), to validate against the given subschema. Information
49+
about the properties that this keyword was evaluated for is reported using
4950
annotations.
5051

5152
{{<common-pitfall>}}The use of the [`properties`]({{< ref

content/2020-12/applicator/items.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ related:
4242
---
4343

4444
The `items` keyword restricts array instance items not described by the
45-
[`prefixItems`]({{< ref "2020-12/applicator/prefixitems" >}}) keyword (if any),
46-
to validate against the given subschema. Whether this keyword was evaluated
47-
against any item of the array instance is reported using annotations.
45+
_sibling_ [`prefixItems`]({{< ref "2020-12/applicator/prefixitems" >}}) keyword
46+
(if any), to validate against the given subschema. Whether this keyword was
47+
evaluated against any item of the array instance is reported using annotations.
4848

4949
{{<common-pitfall>}}This keyword does not prevent an array instance from being
5050
empty. If needed, use the [`minItems`]({{< ref "2020-12/validation/minitems"

0 commit comments

Comments
 (0)