Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface SchemaObject
import { type SchemaObject } from "https://deno.land/x/openbox@1.2.10/mod.ts";

Properties

optional
discriminator: DiscriminatorObject
optional
readOnly: boolean
optional
writeOnly: boolean
optional
xml: XmlObject
optional
externalDocs: ExternalDocumentationObject
optional
deprecated
example: unknown
optional
examples: ExamplesObject
optional
deprecated: boolean
optional
format:
| "int32"
| "int64"
| "float"
| "double"
| "byte"
| "binary"
| "date"
| "date-time"
| "password"
| string
optional
allOf: (SchemaObject | ReferenceObject)[]
optional
oneOf: (SchemaObject | ReferenceObject)[]
optional
unknownOf: (SchemaObject | ReferenceObject)[]
optional
items: SchemaObject | ReferenceObject
optional
properties: { [propertyName: string]: SchemaObject | ReferenceObject; }
optional
additionalProperties: SchemaObject | ReferenceObject | boolean
optional
propertyNames: SchemaObject | ReferenceObject
optional
description: string
optional
default: unknown
optional
title: string
optional
multipleOf: number
optional
maximum: number
optional
exclusiveMaximum: number
optional
minimum: number
optional
exclusiveMinimum: number
optional
maxLength: number
optional
minLength: number
optional
pattern: string
optional
maxItems: number
optional
minItems: number
optional
uniqueItems: boolean
optional
maxProperties: number
optional
minProperties: number
optional
required: string[]
optional
enum: unknown[]
optional
prefixItems: (SchemaObject | ReferenceObject)[]