Class Draft6Schema

JSON Draft 6 schema model

Constructors

Properties

$id?: string
$ref?: string
$schema?: string
additionalItems?: boolean | Draft6Schema
additionalProperties?: boolean | Draft6Schema
allOf?: (boolean | Draft6Schema)[]
anyOf?: (boolean | Draft6Schema)[]
const?: any
contains?: boolean | Draft6Schema
default?: any
definitions?: {
    [key: string]: Draft6Schema | boolean;
}

Type declaration

dependencies?: {
    [key: string]: Draft6Schema | boolean | string[];
}

Type declaration

description?: string
enum?: any[]
examples?: any[]
exclusiveMaximum?: number
exclusiveMinimum?: number
format?: string
items?: boolean | Draft6Schema | Draft6Schema[]
maxItems?: number
maxLength?: number
maxProperties?: number
maximum?: number
minItems?: number
minLength?: number
minProperties?: number
minimum?: number
multipleOf?: number
not?: boolean | Draft6Schema
oneOf?: (boolean | Draft6Schema)[]
pattern?: string
patternProperties?: {
    [key: string]: Draft6Schema | boolean;
}

Type declaration

properties?: {
    [key: string]: Draft6Schema | boolean;
}

Type declaration

propertyNames?: boolean | Draft6Schema
required?: string[]
title?: string
type?: string | string[]
uniqueItems?: boolean

Methods