Skip to main content
Module

x/fun/json_schema.ts>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 JsonSchemaString
import { type JsonSchemaString } from "https://deno.land/x/fun@v2.0.0-alpha.6/json_schema.ts";

Represents string in JSON Schema

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