-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
conda-environment.json
53 lines (53 loc) · 1.5 KB
/
conda-environment.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"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/main/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"
}
}
}