Iskra API Reference
    Preparing search index...

    Function toJsonSchema

    • The JSON Schema of a Zod schema (v3 or v4), of a Standard Schema one that exports JSON Schema, or a JSON Schema as it is. What cannot be represented (a date, a transform's output) becomes {} (any value).

      Parameters

      • schema: object | undefined
      • io: Io = 'input'

      Returns JsonSchema