Skip to content

Conversation

@glopesdev
Copy link
Member

To compensate for RicoSuter/NJsonSchema#574, we update schema reference and type resolution to resolve dictionary keys into the corresponding enum types declared with the propertyNames keyword.

Regression tests are also added to ensure dictionary keys constrained to an enum schema are resolved to the corresponding enum type.

Closes #95

These are tests to ensure dictionary keys constrained to an enum schema
are resolved to an enum type.
To compensate for lack of support for draft-06 keywords, we update
schema reference and type resolution to resolve dictionary keys into
the corresponding enum types declared with the propertyNames keyword.
@glopesdev glopesdev added the feature New planned feature label Nov 5, 2025
@glopesdev glopesdev merged commit 2d6868c into bonsai-rx:main Nov 5, 2025
10 checks passed
@glopesdev glopesdev deleted the property-names branch November 5, 2025 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New planned feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for propertyNames schema

1 participant