Skip to content

feat: add support for $ref in JSON Schema Parser #22

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
Jun 21, 2025

Conversation

hashemix
Copy link
Member

📌 Summary

This PR adds support for the $ref keyword in the JSON Schema parser, enabling the resolution of schema references like #/properties/data/properties/name. Previously, the parser did not handle $ref, limiting its ability to process complex schemas with reused definitions.

💡 Additional Notes

This PR enables parsing of JSON Schemas with $ref, such as the example payload's subdistricts items referencing #/properties/data/properties/name.

  • No breaking changes to existing functionality; schemas without $ref are processed as before.

@hashemix hashemix merged commit 41abe75 into main Jun 21, 2025
8 checks passed
@hashemix hashemix mentioned this pull request Jun 21, 2025
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