Skip to content

remove redundant sections about keyword independence #1548

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading