Skip to main content
Module

x/enzastdlib/schema/mod.ts>JSONSchemaBoolean

enzastdlib is a set of TypeScript modules that follow a common design API philosophy aiming at sane defaults and ease-of-use targeting the Deno TypeScript runtime.
Latest
type alias JSONSchemaBoolean
import { type JSONSchemaBoolean } from "https://deno.land/x/enzastdlib@v0.0.4/schema/mod.ts";

Represents the JSON Schema structure typing for booleans.

Examples

Example 1

import type { JSONSchemaBoolean } from 'https://deno.land/x/enzastdlib/schema/mod.ts';

const MY_BOOLEAN_SCHEMA = {
    type: 'boolean',
} as const satisfies JSONSchemaBoolean;
definition: JSONSchema201909.Boolean