2018-11-16 22:21:02 +00:00
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"registrations": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"component": {
|
|
|
|
"oneOf": [
|
|
|
|
{
|
|
|
|
"type": "object",
|
2018-11-20 15:31:01 +00:00
|
|
|
"required": [
|
|
|
|
"type",
|
|
|
|
"git"
|
|
|
|
],
|
2018-11-16 22:21:02 +00:00
|
|
|
"properties": {
|
2018-11-20 15:31:01 +00:00
|
|
|
"type": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"git"
|
|
|
|
]
|
|
|
|
},
|
2018-11-16 22:21:02 +00:00
|
|
|
"git": {
|
|
|
|
"type": "object",
|
2018-11-20 15:31:01 +00:00
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"repositoryUrl",
|
|
|
|
"commitHash"
|
|
|
|
],
|
2018-11-16 22:21:02 +00:00
|
|
|
"properties": {
|
2018-11-20 15:31:01 +00:00
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"repositoryUrl": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"commitHash": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
2018-11-16 22:21:02 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "object",
|
2018-11-20 15:31:01 +00:00
|
|
|
"required": [
|
|
|
|
"type",
|
|
|
|
"npm"
|
|
|
|
],
|
2018-11-16 22:21:02 +00:00
|
|
|
"properties": {
|
2018-11-20 15:31:01 +00:00
|
|
|
"type": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"npm"
|
|
|
|
]
|
|
|
|
},
|
2018-11-16 22:21:02 +00:00
|
|
|
"npm": {
|
|
|
|
"type": "object",
|
2018-11-20 15:31:01 +00:00
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"version"
|
|
|
|
],
|
2018-11-16 22:21:02 +00:00
|
|
|
"properties": {
|
2018-11-20 15:31:01 +00:00
|
|
|
"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"
|
|
|
|
},
|
2018-11-21 15:17:39 +00:00
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-11-20 15:31:01 +00:00
|
|
|
}
|