import { type JsonBuilder } from "https://deno.land/x/fun@v2.0.0-alpha.6/json_schema.ts";
JsonBuilder is a wrapper over State, used to construct a JsonSchema combinator by combinator. In this way it can also be used as a Schemable to create a JsonSchema that matches a Decoder.
Currently, the JsonSchema only supports a subset of the full JSON Schema. There are no refinements or formats aside from the basic types and Date.
definition: State<JsonSchemaDefinitions, JsonSchema>