Interface PreferenceItem

extended JSON schema

interface PreferenceItem {
    $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;
    included?: boolean;
    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[];
    overridable?: boolean;
    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;
    [key: string]: any;
}

Hierarchy (view full)

Indexable

[key: string]: any

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
included?: boolean
markdownDescription?: string
markdownEnumDescriptions?: string[]
maxItems?: number
maxLength?: number
maxProperties?: number
maximum?: number
minItems?: number
minLength?: number
minProperties?: number
minimum?: number
multipleOf?: number
oneOf?: IJSONSchema[]
overridable?: boolean
owner?: string
pattern?: string
patternErrorMessage?: string
patternProperties?: IJSONSchemaMap
prefixItems?: IJSONSchema[]
properties?: IJSONSchemaMap
propertyNames?: IJSONSchema
required?: string[]
title?: string
type?: JsonType | JsonType[]
uniqueItems?: boolean