@dxos/react-client
    Preparing search index...

    Variable toJsonSchemaConst

    toJsonSchema: (
        schema: Schema.Schema.All,
        options?: JsonSchemaOptions,
    ) => Types.DeepMutable<JsonSchemaType>

    Convert effect schema to JSON Schema. NOTE: This handles custom annotations.

    Type declaration

      • (
            schema: Schema.Schema.All,
            options?: JsonSchemaOptions,
        ): Types.DeepMutable<JsonSchemaType>
      • Parameters

        • schema: Schema.Schema.All
        • Optionaloptions: JsonSchemaOptions

        Returns Types.DeepMutable<JsonSchemaType>