standard-json-schema
v0.1.1
Published
Turn standard types into JSON schemas
Readme
Standard JSON Schema
Turn standard types into JSON schemas
import { toJSONSchema } from "standard-json-schema"
await toJSONSchema(YourStandardType)Supported Standard Types
- [x] zod
- [x] arktype
- [x] Effect Schema
- [x] typebox
- [ ] request another library
How?
Under the hood, toJSONSchema determines the standard type's vendor and
delegates to vendor-specific producers.
License
Standard JSON Schema is Apache-licensed.
