1 export declare type JSONSchemaRef = JSONSchema | boolean;
2 export interface JSONSchema {
6 type?: string | string[];
10 [name: string]: JSONSchema;
13 properties?: JSONSchemaMap;
14 patternProperties?: JSONSchemaMap;
15 additionalProperties?: boolean | JSONSchemaRef;
16 minProperties?: number;
17 maxProperties?: number;
18 dependencies?: JSONSchemaMap | {
19 [prop: string]: string[];
21 items?: JSONSchemaRef | JSONSchemaRef[];
24 uniqueItems?: boolean;
25 additionalItems?: boolean | JSONSchemaRef;
31 exclusiveMinimum?: boolean | number;
32 exclusiveMaximum?: boolean | number;
36 anyOf?: JSONSchemaRef[];
37 allOf?: JSONSchemaRef[];
38 oneOf?: JSONSchemaRef[];
43 contains?: JSONSchemaRef;
44 propertyNames?: JSONSchemaRef;
53 markdownDescription?: string;
57 errorMessage?: string;
58 patternErrorMessage?: string;
59 deprecationMessage?: string;
60 enumDescriptions?: string[];
61 markdownEnumDescriptions?: string[];
62 markdownDescription?: string;
63 doNotSuggest?: boolean;
64 suggestSortText?: string;
65 allowComments?: boolean;
66 allowTrailingCommas?: boolean;
68 export interface JSONSchemaMap {
69 [name: string]: JSONSchemaRef;