Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/typebox/src/typebox.ts>SchemaOptions

Json Schema Type Builder with Static Type Resolution for TypeScript
Go to Latest
interface SchemaOptions
import { type SchemaOptions } from "https://deno.land/x/typebox@0.31.20/src/typebox.ts";

Index Signatures

[prop: string]: any

Properties

optional
$schema: string
optional
$id: string

Id for this schema

optional
title: string

Title of this schema

optional
description: string

Description of this schema

optional
default: any

Default value for this schema

optional
examples: any

Example values matching this schema

optional
readOnly: boolean

Optional annotation for readOnly

optional
writeOnly: boolean

Optional annotation for writeOnly