vscode/.vscode/cgmanifest.schema.json

143 lines
2.8 KiB
JSON
Raw Normal View History

2018-11-16 22:21:02 +00:00
{
"type": "object",
"properties": {
"registrations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"component": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"git"
],
2018-11-16 22:21:02 +00:00
"properties": {
"type": {
"type": "string",
"enum": [
"git"
]
},
2018-11-16 22:21:02 +00:00
"git": {
"type": "object",
"required": [
"name",
"repositoryUrl",
"commitHash"
],
2018-11-16 22:21:02 +00:00
"properties": {
"name": {
"type": "string"
},
"repositoryUrl": {
"type": "string"
},
"commitHash": {
"type": "string"
}
2018-11-16 22:21:02 +00:00
}
}
}
},
{
"type": "object",
"required": [
"type",
"npm"
],
2018-11-16 22:21:02 +00:00
"properties": {
"type": {
"type": "string",
"enum": [
"npm"
]
},
2018-11-16 22:21:02 +00:00
"npm": {
"type": "object",
"required": [
"name",
"version"
],
2018-11-16 22:21:02 +00:00
"properties": {
"name": {
"type": "string"
},
"version": {
"type": "string"
}
}
}
}
},
{
"type": "object",
"required": [
"type",
"other"
],
"properties": {
"type": {
"type": "string",
"enum": [
"other"
]
},
"other": {
"type": "object",
"required": [
"name",
"downloadUrl",
"version"
],
"properties": {
"name": {
"type": "string"
},
"downloadUrl": {
"type": "string"
},
"version": {
"type": "string"
}
2018-11-16 22:21:02 +00:00
}
}
}
}
]
},
"repositoryUrl": {
"type": "string",
"description": "The git url of the component"
},
"version": {
"type": "string",
"description": "The version of the component"
},
"license": {
"type": "string",
"description": "The name of the license"
},
"developmentDependency": {
2018-11-16 22:21:02 +00:00
"type": "boolean",
"description": "This component is inlined in the vscode repo and **is not shipped**."
},
"isOnlyProductionDependency": {
"type": "boolean",
"description": "This component is shipped and **is not inlined in the vscode repo**."
},
"licenseDetail": {
"type": "array",
"items": {
"type": "string"
},
"description": "The license text"
}
}
}
}
}
}