Module

x/jtd_type/mod.ts

A Novel implementation of JTD (RFC 8927) in typescript
Latest
import * as mod from "https://dotland.deno.dev/x/jtd_type@2.2.0/mod.ts";

Functions

Creates an elements JTD schema (Array)

Creates an empty JTD schema (Allows for any value to be passed in here)

Creates an enum JTD Schema

Creates an elements JTD schema (Array)

Creates an empty JTD schema (Allows for any value to be passed in here)

Creates an enum JTD Schema

Create a Properties Object

Creates a JTD Reference Schema

Creates a JTD type schema

Creates a values schema (key/value, pairs with string keys)

Create a Properties Object

Creates a JTD Reference Schema

Creates a JTD type schema

Creates a values schema (key/value, pairs with string keys)