Comment on Tosijs-schema is a super lightweight schema-first LLM-native JSON schema libraryparentComments−nerdponx9moAnd what makes this different? What makes it LLM-native?−podpersonOP9moIt generates schemas that are strict by default while Zod requires you to set everything manually.This is actually discussed in the linked article (READ ME file).−halayli9moThat's not true based on zod docs. https://zod.dev/api?id=objectsmost of the claims you're making against zod is inaccurate. the readme feels like false claims by ai.−podpersonOP9moIt seems to be true to me. And aside from the API stuff (because I am far from an expert user of Zod) all of this has been carefully verified.
Comments
And what makes this different? What makes it LLM-native?
It generates schemas that are strict by default while Zod requires you to set everything manually.
This is actually discussed in the linked article (READ ME file).
That's not true based on zod docs. https://zod.dev/api?id=objects
most of the claims you're making against zod is inaccurate. the readme feels like false claims by ai.
It seems to be true to me. And aside from the API stuff (because I am far from an expert user of Zod) all of this has been carefully verified.