import { type JSONSchemaNumber } from "https://deno.land/x/enzastdlib@v0.0.4/schema/mod.ts";
Represents the JSON Schema structure typing for numbers.
Examples
Example 1
Example 1
import type { JSONSchemaNumber } from 'https://deno.land/x/enzastdlib/schema/mod.ts';
const MY_NUMBER_SCHEMA = {
type: 'number',
minimum: 0,
maximum: 42,
} as const satisfies JSONSchemaNumber;