minimal adjustments
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-python / schemas / conda-environment.json
1 {
2     "title": "conda environment file",
3     "description": "Support for conda's enviroment.yml files (e.g. `conda env export > environment.yml`)",
4     "id": "https://raw.githubusercontent.com/Microsoft/vscode-python/master/schemas/conda-environment.json",
5     "$schema": "http://json-schema.org/draft-04/schema#",
6     "definitions": {
7         "channel": {
8             "type": "string"
9         },
10         "package": {
11             "type": "string"
12         },
13         "path": {
14             "type": "string"
15         }
16     },
17     "properties": {
18         "name": {
19             "type": "string"
20         },
21         "channels": {
22             "type": "array",
23             "items": {
24                 "$ref": "#/definitions/channel"
25             }
26         },
27         "dependencies": {
28             "type": "array",
29             "items": {
30                 "anyOf": [
31                     {
32                         "$ref": "#/definitions/package"
33                     },
34                     {
35                         "type": "object",
36                         "properties": {
37                             "pip": {
38                                 "type": "array",
39                                 "items": {
40                                     "$ref": "#/definitions/package"
41                                 }
42                             }
43                         },
44                         "required": [ "pip" ]
45                     }
46                 ]
47             }
48         },
49         "prefix": {
50             "$ref": "#/definitions/path"
51         }
52     }
53 }