Skip to content

rulvar API reference


rulvar API reference / @rulvar/core / StandardJSONSchemaV1 / Converter

Interface: Converter

Defined in: packages/core/src/vendor/standard-schema.d.ts:104

The Standard JSON Schema converter interface.

Properties

PropertyModifierTypeDescriptionDefined in
inputreadonly(options) => Record<string, unknown>Converts the input type to JSON Schema. May throw if conversion is not supported.packages/core/src/vendor/standard-schema.d.ts:106
outputreadonly(options) => Record<string, unknown>Converts the output type to JSON Schema. May throw if conversion is not supported.packages/core/src/vendor/standard-schema.d.ts:108