effect-io-ai

Package: effect
Module: JSONSchema

JSONSchema.fromAST

Returns a JSON Schema with additional options and definitions.

Warning

This function is experimental and subject to change.

Options

Signature

declare const fromAST: (ast: AST.AST, options: { readonly definitions: Record<string, JsonSchema7>; readonly definitionPath?: string | undefined; readonly target?: Target | undefined; readonly topLevelReferenceStrategy?: TopLevelReferenceStrategy | undefined; readonly additionalPropertiesStrategy?: AdditionalPropertiesStrategy | undefined; }) => JsonSchema7

Source

Since v3.11.5