Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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@v2.0.0-alpha.6/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; }