mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-11-29 03:31:59 -07:00
53 lines
1.5 KiB
JSON
53 lines
1.5 KiB
JSON
{
|
|
"title": "conda environment file",
|
|
"description": "Support for conda's enviroment.yml files (e.g. `conda env export > environment.yml`)",
|
|
"id": "https://raw.githubusercontent.com/Microsoft/vscode-python/master/schemas/conda-environment.json",
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"definitions": {
|
|
"channel": {
|
|
"type": "string"
|
|
},
|
|
"package": {
|
|
"type": "string"
|
|
},
|
|
"path": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"channels": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/channel"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"type": "array",
|
|
"items": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/definitions/package"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"pip": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/package"
|
|
}
|
|
}
|
|
},
|
|
"required": [ "pip" ]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"prefix": {
|
|
"$ref": "#/definitions/path"
|
|
}
|
|
}
|
|
}
|