In the latest Sury release I added S.fromJSONSchema
and made Sury
support all rescript-json-schema
API. So I’m going to deprecate it soon. If you need JSON Schema in ReScript, please use sury
instead. It comes with JSONSchema.res
module and a convenient way to build a schema. If you don’t run a parser, it also works without eval
/new Function
calls.
4 Likes