Skip to content

Commit

Permalink
fix: remove $schema
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilySeville7cfg authored and EmilySeville7cfg committed Jun 17, 2023
1 parent f12cbd4 commit f2e4202
Showing 1 changed file with 35 additions and 12 deletions.
47 changes: 35 additions & 12 deletions src/schemas/json/ide.host.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"text": {
"required": ["text"],
"required": [
"text"
],
"type": "object",
"properties": {
"text": {
Expand All @@ -20,10 +21,16 @@
"persistenceScope": {
"type": "string",
"description": "Determines if the user entered values should be persisted for the next template invocation.",
"enum": ["none", "templateGroup", "shared"]
"enum": [
"none",
"templateGroup",
"shared"
]
},
"overrideInfo": {
"required": ["id"],
"required": [
"id"
],
"type": "object",
"properties": {
"id": {
Expand Down Expand Up @@ -95,12 +102,17 @@
},
"tags": {
"type": "object",
"required": ["type"],
"required": [
"type"
],
"properties": {
"type": {
"description": "The tag to modify",
"type": "string",
"enum": ["platform", "projectType"]
"enum": [
"platform",
"projectType"
]
},
"add": {
"description": "Tags to add",
Expand All @@ -120,12 +132,16 @@
},
"unsupportedHost": {
"type": "object",
"required": ["id"],
"required": [
"id"
],
"properties": {
"id": {
"description": "The host identifier.",
"type": "string",
"enum": ["vs"]
"enum": [
"vs"
]
},
"version": {
"description": "A version range specifying the unsupported host versions. This uses the nuget package format."
Expand All @@ -134,7 +150,9 @@
},
"requiredComponent": {
"type": "object",
"required": ["hostId"],
"required": [
"hostId"
],
"description": "To require a particular host version specify the hostId and optionally version only. To require a particular SetupComponent or Extension, specify the ID and set the componentType appropriately. Version range is optional.",
"properties": {
"id": {
Expand All @@ -144,11 +162,16 @@
"hostId": {
"description": "The host id that the component applies to",
"type": "string",
"enum": ["vs"]
"enum": [
"vs"
]
},
"componentType": {
"type": "string",
"enum": ["setupComponent", "extension"]
"enum": [
"setupComponent",
"extension"
]
},
"version": {
"description": "A version range specifying the required version range. This uses the nuget package format."
Expand Down Expand Up @@ -254,4 +277,4 @@
},
"title": "JSON schema for IDE template host files",
"type": "object"
}
}

0 comments on commit f2e4202

Please sign in to comment.