JSONSchema Interface

Properties

Name Type Description
$comment undefined | string    
$id undefined | string    
$ref undefined | string    
$schema undefined | string    
additionalItems boolean | JSONSchema    
additionalProperties boolean | JSONSchema    
allOf undefined | JSONSchema[]    
allowComments undefined | boolean    
allowTrailingCommas undefined | boolean    
anyOf undefined | JSONSchema[]    
const undefined | any    
contains undefined | JSONSchema    
default undefined | JSONSchemaType    
defaultSnippets undefined | JSONSchemaSnippet[]    
definitions undefined | JSONSchemaMap    
dependencies JSONSchemaMap | { T }    
deprecationMessage undefined | string    
description undefined | string    
doNotSuggest undefined | boolean    
else undefined | JSONSchema    
enum undefined | JSONSchemaType[]    
enumDescriptions undefined | string[]    
errorMessage undefined | string    
exclusiveMaximum number | boolean    
exclusiveMinimum number | boolean    
format undefined | string    
id undefined | string    
if undefined | JSONSchema    
items JSONSchema | JSONSchema[]    
markdownDeprecationMessage undefined | string    
markdownDescription undefined | string    
markdownEnumDescriptions undefined | string[]    
maxItems undefined | number    
maxLength undefined | number    
maxProperties undefined | number    
maximum undefined | number    
minItems undefined | number    
minLength undefined | number    
minProperties undefined | number    
minimum undefined | number    
multipleOf undefined | number    
not undefined | JSONSchema    
oneOf undefined | JSONSchema[]    
pattern undefined | string    
patternErrorMessage undefined | string    
patternProperties undefined | JSONSchemaMap    
properties undefined | JSONSchemaMap    
propertyNames undefined | JSONSchema    
required undefined | string[]    
suggestSortText undefined | string    
then undefined | JSONSchema    
title undefined | string    
type JSONSchemaTypeName | JSONSchemaTypeName[]    
uniqueItems undefined | boolean    

Defined in

Last Updated: 20 June, 2023