Interface ValidatablePreference

extended JSON schema

interface ValidatablePreference {
    $comment?: string;
    $id?: string;
    $ref?: string;
    $schema?: string;
    additionalItems?: boolean | IJSONSchema;
    additionalProperties?: boolean | IJSONSchema;
    allOf?: IJSONSchema[];
    allowComments?: boolean;
    allowTrailingCommas?: boolean;
    anyOf?: IJSONSchema[];
    const?: JSONValue;
    contains?: IJSONSchema;
    default?: JSONValue;
    defaultSnippets?: IJSONSchemaSnippet[];
    defaultValue?: JSONValue;
    definitions?: IJSONSchemaMap;
    dependencies?: IJSONSchemaMap | {
        [prop: string]: string[];
    };
    deprecationMessage?: string;
    description?: string;
    doNotSuggest?: boolean;
    else?: IJSONSchema;
    enum?: JSONValue[];
    enumDescriptions?: string[];
    enumItemLabels?: string[];
    errorMessage?: string;
    exclusiveMaximum?: number | boolean;
    exclusiveMinimum?: number | boolean;
    format?: string;
    group?: string;
    id?: string;
    if?: IJSONSchema;
    items?: IJSONSchema | IJSONSchema[];
    markdownDescription?: string;
    markdownEnumDescriptions?: string[];
    maxItems?: number;
    maxLength?: number;
    maxProperties?: number;
    maximum?: number;
    minItems?: number;
    minLength?: number;
    minProperties?: number;
    minimum?: number;
    multipleOf?: number;
    not?: IJSONSchema;
    oneOf?: IJSONSchema[];
    owner?: string;
    pattern?: string;
    patternErrorMessage?: string;
    patternProperties?: IJSONSchemaMap;
    prefixItems?: IJSONSchema[];
    properties?: IJSONSchemaMap;
    propertyNames?: IJSONSchema;
    required?: string[];
    then?: IJSONSchema;
    title?: string;
    type?: JsonType | JsonType[];
    uniqueItems?: boolean;
}

Hierarchy (view full)

Properties

$comment?: string
$id?: string
$ref?: string
$schema?: string
additionalItems?: boolean | IJSONSchema
additionalProperties?: boolean | IJSONSchema
allOf?: IJSONSchema[]
allowComments?: boolean
allowTrailingCommas?: boolean
anyOf?: IJSONSchema[]
const?: JSONValue
contains?: IJSONSchema
default?: JSONValue
defaultSnippets?: IJSONSchemaSnippet[]
defaultValue?: JSONValue

preference default value, if undefined then default

definitions?: IJSONSchemaMap
dependencies?: IJSONSchemaMap | {
    [prop: string]: string[];
}

Type declaration

  • [prop: string]: string[]
deprecationMessage?: string
description?: string
doNotSuggest?: boolean
enum?: JSONValue[]
enumDescriptions?: string[]
enumItemLabels?: string[]
errorMessage?: string
exclusiveMaximum?: number | boolean
exclusiveMinimum?: number | boolean
format?: string
group?: string
id?: string
markdownDescription?: string
markdownEnumDescriptions?: string[]
maxItems?: number
maxLength?: number
maxProperties?: number
maximum?: number
minItems?: number
minLength?: number
minProperties?: number
minimum?: number
multipleOf?: number
oneOf?: IJSONSchema[]
owner?: string
pattern?: string
patternErrorMessage?: string
patternProperties?: IJSONSchemaMap
prefixItems?: IJSONSchema[]
properties?: IJSONSchemaMap
propertyNames?: IJSONSchema
required?: string[]
title?: string
type?: JsonType | JsonType[]
uniqueItems?: boolean