Class Draft4Schema

JSON Draft 4 schema model

Hierarchy

  • Draft4Schema

Constructors

Properties

$ref?: string
$schema?: string
additionalItems?: boolean | Draft4Schema
additionalProperties?: boolean | Draft4Schema
allOf?: Draft4Schema[]
anyOf?: Draft4Schema[]
default?: any
definitions?: {
    [key: string]: Draft4Schema;
}

Type declaration

dependencies?: {
    [key: string]: Draft4Schema | string[];
}

Type declaration

description?: string
enum?: any[]
exclusiveMaximum?: boolean
exclusiveMinimum?: boolean
format?: string
id?: string
maxItems?: number
maxLength?: number
maxProperties?: number
maximum?: number
minItems?: number
minLength?: number
minProperties?: number
minimum?: number
multipleOf?: number
oneOf?: Draft4Schema[]
pattern?: string
patternProperties?: {
    [key: string]: Draft4Schema;
}

Type declaration

properties?: {
    [key: string]: Draft4Schema;
}

Type declaration

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

Methods

Generated using TypeDoc