validation of other json schema than Typebox by sinclairzx81 #1503
Unanswered
jannesblobel
asked this question in
[inlang SDK] Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The current approach is to use Typebox for your Json Schema to ensure that users can exclusively use your module settings. Like we do in json Plugin
We are using Typobox for our JSON Schema validation because it stood out from other schema libraries due to three key points.
Readability:
Typebox provides a clean and straightforward definition of data structures.
Type Safety:
Typebox leverages TypeScript's static type checking to ensure type safety.
Low bundle size:
The bundle size of Typebox is only 8.3 kB compared to other JSON schema validators like ajv, one of the most used validators with 35.2 kB
If you want to validate a plain JSON Schema, upvote this feature request and write some arguments that would help us validate different approaches.
Beta Was this translation helpful? Give feedback.
All reactions