Skip to content

Commit

Permalink
Merge branch 'fix/simplify-vs-2017.3.host-schema' of https://github.c…
Browse files Browse the repository at this point in the history
…om/EmilySeville7cfg/json-schemas into fix/simplify-vs-2017.3.host-schema
  • Loading branch information
EmilySeville7cfg authored and EmilySeville7cfg committed Jun 17, 2023
2 parents 04c65ca + 54b898d commit 6fa3c77
Showing 1 changed file with 11 additions and 35 deletions.
46 changes: 11 additions & 35 deletions src/schemas/json/ide.host.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"definitions": {
"text": {
"required": [
"text"
],
"required": ["text"],
"type": "object",
"properties": {
"text": {
Expand All @@ -21,16 +19,10 @@
"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 @@ -102,17 +94,12 @@
},
"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 @@ -132,16 +119,12 @@
},
"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 @@ -150,9 +133,7 @@
},
"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 @@ -162,16 +143,11 @@
"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 @@ -277,4 +253,4 @@
},
"title": "JSON schema for IDE template host files",
"type": "object"
}
}

0 comments on commit 6fa3c77

Please sign in to comment.