Skip to content

Commit

Permalink
Merge pull request #1545 from json-schema-org/gregsdennis/if-then-else
Browse files Browse the repository at this point in the history
minor clarification for if-then-else
  • Loading branch information
gregsdennis authored Nov 2, 2024
2 parents 11cb49d + dc440f4 commit 61a0aa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jsonschema-core.md
Original file line number Diff line number Diff line change
Expand Up @@ -1574,7 +1574,7 @@ subschema, then validation succeeds against this keyword if the instance also
successfully validates against this keyword's subschema.

This keyword has no effect when `if` is absent, or when the instance fails to
validate against its subschema. Implementations MUST NOT evaluate the instance
validate against the `if` subschema. Implementations MUST NOT evaluate the instance
against this keyword, for either validation or annotation collection purposes,
in such cases.

Expand All @@ -1587,7 +1587,7 @@ then validation succeeds against this keyword if the instance successfully
validates against this keyword's subschema.

This keyword has no effect when `if` is absent, or when the instance
successfully validates against its subschema. Implementations MUST NOT evaluate
successfully validates against the `if` subschema. Implementations MUST NOT evaluate
the instance against this keyword, for either validation or annotation
collection purposes, in such cases.

Expand Down

0 comments on commit 61a0aa6

Please sign in to comment.