const person = S.struct({ name: S.optional(S.string), }) JSONSchema.to(person) // Error: cannot convert `undefined` to JSON Schema
© 2026 Hedgehog Software, LLC