Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CurrentOptions

Index

Properties

$comment?: true | ((comment: string, schemaPath?: string, rootSchema?: AnySchemaObject) => unknown)
$data?: boolean
addUsedSchema?: boolean
allErrors?: boolean
allowDate?: boolean
allowMatchingProperties?: boolean
allowUnionTypes?: boolean
coerceTypes?: boolean | "array"
defaultMeta?: string | AnySchemaObject
discriminator?: boolean
dynamicRef?: boolean
formats?: {}

Type declaration

    inlineRefs?: number | boolean
    int32range?: boolean
    jtd?: boolean
    keywords?: Vocabulary
    loopEnum?: number
    loopRequired?: number
    messages?: boolean
    meta?: boolean | SchemaObject
    multipleOfPrecision?: number
    next?: boolean
    ownProperties?: boolean
    parseDate?: boolean
    passContext?: boolean
    removeAdditional?: boolean | "all" | "failing"
    schemaId?: "id" | "$id"
    schemas?: AnySchema[] | {}
    strict?: boolean | "log"
    strictNumbers?: boolean | "log"
    strictRequired?: boolean | "log"
    strictSchema?: boolean | "log"
    strictTuples?: boolean | "log"
    strictTypes?: boolean | "log"
    timestamp?: "string" | "date"
    unevaluated?: boolean
    unicodeRegExp?: boolean
    uriResolver?: UriResolver
    useDefaults?: boolean | "empty"
    validateFormats?: boolean
    validateSchema?: boolean | "log"
    verbose?: boolean

    Methods

    • Parameters

      • uri: string

      Returns Promise<AnySchemaObject>