Skip to content

Commit c076927

Browse files
authored
update json schema (microsoft#150001)
1 parent f1b392e commit c076927

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

src/vs/base/common/jsonSchema.ts

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,35 @@ export interface IJSONSchema {
4646
const?: any;
4747
contains?: IJSONSchema;
4848
propertyNames?: IJSONSchema;
49+
examples?: any[];
4950

5051
// schema draft 07
5152
$comment?: string;
5253
if?: IJSONSchema;
5354
then?: IJSONSchema;
5455
else?: IJSONSchema;
5556

56-
// VS Code extensions
57+
// schema 2019-09
58+
unevaluatedProperties?: boolean | IJSONSchema;
59+
unevaluatedItems?: boolean | IJSONSchema;
60+
minContains?: number;
61+
maxContains?: number;
62+
deprecated?: boolean;
63+
dependentRequired?: { [prop: string]: string[] };
64+
dependentSchemas?: IJSONSchemaMap;
65+
$defs?: { [name: string]: IJSONSchema };
66+
$anchor?: string;
67+
$recursiveRef?: string;
68+
$recursiveAnchor?: string;
69+
$vocabulary?: any;
70+
71+
// schema 2020-12
72+
prefixItems?: IJSONSchema[];
73+
$dynamicRef?: string;
74+
$dynamicAnchor?: string;
75+
76+
// VSCode extensions
77+
5778
defaultSnippets?: IJSONSchemaSnippet[];
5879
errorMessage?: string;
5980
patternErrorMessage?: string;

0 commit comments

Comments
 (0)