Skip to main content
Module

x/fun/mod.ts>json_schema.JsonSchemaString

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Go to Latest
type alias json_schema.JsonSchemaString
import { type json_schema } from "https://deno.land/x/fun@v.2.0.0-alpha.11/mod.ts";
const { JsonSchemaString } = json_schema;

Represents string in JSON Schema

definition: { readonly type: "string"; readonly enum?: NonEmptyArray<string>; readonly minLength?: number; readonly maxLength?: number; }