Skip to content

Commit eeee624

Browse files
committed
[josn] fix wrong schema-schema reference, use draft-07 everywhere
1 parent d7953d0 commit eeee624

7 files changed

Lines changed: 9 additions & 9 deletions

File tree

extensions/configuration-editing/schemas/attachContainer.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "http://json-schema.org/schema#",
2+
"$schema": "http://json-schema.org/draft-07/schema#",
33
"description": "Configures an attached to container",
44
"allowComments": true,
55
"type": "object",

extensions/configuration-editing/schemas/devContainer.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "http://json-schema.org/schema#",
2+
"$schema": "http://json-schema.org/draft-07/schema#",
33
"description": "Defines a dev container",
44
"allowComments": true,
55
"type": "object",

extensions/css-language-features/schemas/package.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "http://json-schema.org/draft-04/schema#",
2+
"$schema": "http://json-schema.org/draft-07/schema#",
33
"title": "CSS contributions to package.json",
44
"type": "object",
55
"properties": {

extensions/html-language-features/schemas/package.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "http://json-schema.org/draft-04/schema#",
2+
"$schema": "http://json-schema.org/draft-07/schema#",
33
"title": "HTML contributions to package.json",
44
"type": "object",
55
"properties": {

extensions/markdown-language-features/schemas/package.schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "http://json-schema.org/draft-04/schema#",
2+
"$schema": "http://json-schema.org/draft-07/schema#",
33
"title": "Markdown contributions to package.json",
44
"type": "object",
55
"properties": {
@@ -29,4 +29,4 @@
2929
}
3030
}
3131
}
32-
}
32+
}

extensions/typescript-language-features/schemas/package.schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "http://json-schema.org/draft-04/schema#",
2+
"$schema": "http://json-schema.org/draft-07/schema#",
33
"title": "TypeScript contributions to package.json",
44
"type": "object",
55
"properties": {
@@ -28,4 +28,4 @@
2828
}
2929
}
3030
}
31-
}
31+
}

src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const taskDefinitionSchema: IJSONSchema = {
3333
type: 'object',
3434
description: nls.localize('TaskDefinition.properties', 'Additional properties of the task type'),
3535
additionalProperties: {
36-
$ref: 'http://json-schema.org/draft-04/schema#'
36+
$ref: 'http://json-schema.org/draft-07/schema#'
3737
}
3838
}
3939
}

0 commit comments

Comments
 (0)