Variable toJsonSchemaConst
toJsonSchema: (
schema: Schema.Schema.All,
options?: JsonSchemaOptions,
) => Types.DeepMutable<JsonSchemaType>
Type declaration
- (
schema: Schema.Schema.All,
options?: JsonSchemaOptions,
): Types.DeepMutable<JsonSchemaType> Parameters
- schema: Schema.Schema.All
Optionaloptions: JsonSchemaOptions
Returns Types.DeepMutable<JsonSchemaType>
Convert effect schema to JSON Schema. NOTE: This handles custom annotations.