File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77export interface IJSONSchema {
88 id ?: string ;
9+ $id ?: string ;
910 $schema ?: string ;
1011 type ?: string | string [ ] ;
1112 title ?: string ;
@@ -17,7 +18,7 @@ export interface IJSONSchema {
1718 additionalProperties ?: boolean | IJSONSchema ;
1819 minProperties ?: number ;
1920 maxProperties ?: number ;
20- dependencies ?: IJSONSchemaMap | { [ name : string ] : string [ ] } ;
21+ dependencies ?: IJSONSchemaMap | { [ prop : string ] : string [ ] } ;
2122 items ?: IJSONSchema | IJSONSchema [ ] ;
2223 minItems ?: number ;
2324 maxItems ?: number ;
@@ -28,8 +29,8 @@ export interface IJSONSchema {
2829 maxLength ?: number ;
2930 minimum ?: number ;
3031 maximum ?: number ;
31- exclusiveMinimum ?: boolean ;
32- exclusiveMaximum ?: boolean ;
32+ exclusiveMinimum ?: boolean | number ;
33+ exclusiveMaximum ?: boolean | number ;
3334 multipleOf ?: number ;
3435 required ?: string [ ] ;
3536 $ref ?: string ;
@@ -40,11 +41,19 @@ export interface IJSONSchema {
4041 enum ?: any [ ] ;
4142 format ?: string ;
4243
44+ // schema draft 06
45+ const ?: any ;
46+ contains ?: IJSONSchema ;
47+ propertyNames ?: IJSONSchema ;
48+
49+ // VSCode extensions
4350 defaultSnippets ?: IJSONSchemaSnippet [ ] ; // VSCode extension
4451 errorMessage ?: string ; // VSCode extension
4552 patternErrorMessage ?: string ; // VSCode extension
4653 deprecationMessage ?: string ; // VSCode extension
4754 enumDescriptions ?: string [ ] ; // VSCode extension
55+ markdownEnumDescriptions ?: string [ ] ; // VSCode extension
56+ markdownDescription ?: string ; // VSCode extension
4857 doNotSuggest ?: boolean ; // VSCode extension
4958}
5059
You can’t perform that action at this time.
0 commit comments