Skip to content

Require type keyword in if/then/else example; fix $uses key name - #4

Open
clemensv wants to merge 1 commit into
mainfrom
editorial/require-type-in-if-then-else-and-fix-uses-key
Open

Require type keyword in if/then/else example; fix $uses key name#4
clemensv wants to merge 1 commit into
mainfrom
editorial/require-type-in-if-then-else-and-fix-uses-key

Conversation

@clemensv

@clemensv clemensv commented Aug 13, 2026

Copy link
Copy Markdown
Contributor
  • Adds an explicit type: object keyword to the if/then/else example schemas, since (like allOf/anyOf/oneOf/not) each is itself a JSON Structure Core schema object and properties alone does not constrain the node to object.
  • Adds a clarifying paragraph stating this requirement explicitly.
  • Fixes the $uses extension key name in the enabling-the-extensions section and example from JSONSchemaConditionalComposition to the correct JSONStructureConditionalComposition.

@clemensv clemensv changed the title Require type keyword in if/then/else example; fix \ key name Require type keyword in if/then/else example; fix $uses key name Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant