Skip to content

Commit

Permalink
Merge pull request #1548 from json-schema-org/gregsdennis/independenc…
Browse files Browse the repository at this point in the history
…e-dedup

remove redundant sections about keyword independence
  • Loading branch information
gregsdennis authored Nov 8, 2024
2 parents 4b21ddd + d1935d2 commit 0a98ed7
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions specs/jsonschema-core.md
Original file line number Diff line number Diff line change
Expand Up @@ -1468,19 +1468,6 @@ operators can contact the owner of a potentially misbehaving script.
This section defines a set of keywords that enable schema combinations and
composition.

### Keyword Independence

Schema keywords typically operate independently, without affecting each other's
outcomes.

For schema author convenience, there are some exceptions among these keywords:

- `additionalProperties`, whose behavior is defined in terms of `properties` and
`patternProperties`
- `items`, whose behavior is defined in terms of `prefixItems`
- `contains`, whose behavior is affected by the presence and value of
`minContains`

### Keywords for Applying Subschemas in Place {#in-place}

These keywords apply subschemas to the same location in the instance as the
Expand Down Expand Up @@ -1822,16 +1809,6 @@ The behaviors of these keywords depend on adjacent keywords as well as any
keywords in successfully validated subschemas that apply to the same instance
location.

### Keyword Independence

Schema keywords typically operate independently, without affecting each other's
outcomes. However, these keywords are notable exceptions:

- `unevaluatedItems`, whose behavior is defined in terms of annotations from
`prefixItems`, `items`, `contains`, and itself
- `unevaluatedProperties`, whose behavior is defined in terms of annotations
from `properties`, `patternProperties`, `additionalProperties`, and itself

### `unevaluatedItems` {#unevaluateditems}

The value of `unevaluatedItems` MUST be a valid JSON Schema.
Expand Down

0 comments on commit 0a98ed7

Please sign in to comment.