effect-io-ai

Package: effect
Module: JsonSchema

JsonSchema.JsonSchema

A plain object representing a single JSON Schema node.

When to use

Use to represent an arbitrary JSON Schema object regardless of dialect.

Details

This is an open record type ([x: string]: unknown) so it can hold any JSON Schema keyword. Most functions in this module accept or return this type.

Signature

export interface JsonSchema {
  [x: string]: unknown
}

Source

Since v4.0.0