Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
interface SchemaObject
import { type SchemaObject } from "https://deno.land/x/revolt_api@0.4.0/scripts/types.ts";

Properties

optional
title: string
optional
description: string
optional
required: string[]
optional
enum: string[]
optional
type: string
optional
items: ReferenceObject | SchemaObject
optional
allOf: SchemaObject
optional
properties: Record<string, ReferenceObject | SchemaObject>
optional
default: unknown
optional
additionalProperties: boolean | ReferenceObject | SchemaObject
optional
nullable: boolean
optional
oneOf: (ReferenceObject | SchemaObject)[]
optional
anyOf: (ReferenceObject | SchemaObject)[]
optional
format: string