minimal adjustments
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-python / schemas / conda-meta.json
1 {
2     "title": "conda metadata build recipe",
3     "description": "conda's meta.yaml file; https://conda.io/docs/user-guide/tasks/build-packages/define-metadata.html",
4     "id": "https://raw.githubusercontent.com/Microsoft/vscode-python/master/schemas/conda-meta.json",
5     "$schema": "http://json-schema.org/draft-04/schema#",
6     "definitions": {
7         "boolean": {
8             "anyOf": [
9                 {
10                     "type": "boolean"
11                 },
12                 {
13                     "type": "string"
14                 }
15             ]
16         },
17         "integer": {
18             "anyOf": [
19                 {
20                     "type": "integer"
21                 },
22                 {
23                     "type": "string"
24                 }
25             ]
26         },
27         "feature": {
28             "type": "string"
29         },
30         "package": {
31             "type": "string"
32         },
33         "path": {
34             "type": "string"
35         },
36         "uri": {
37             "type": "string"
38         },
39         "requirement": {
40             "type": "object",
41             "properties": {
42                 "build": {
43                     "type": "array",
44                     "items": {
45                         "$ref": "#/definitions/package"
46                     }
47                 },
48                 "host": {
49                     "type": "array",
50                     "items": {
51                         "$ref": "#/definitions/package"
52                     }
53                 },
54                 "run": {
55                     "type": "array",
56                     "items": {
57                         "$ref": "#/definitions/package"
58                     }
59                 }
60             }
61         },
62         "source": {
63             "type": "object",
64             "properties": {
65                 "url": {
66                     "$ref": "#/definitions/uri"
67                 },
68                 "md5": {
69                     "type": "string",
70                     "pattern": "^[0-9A-Fa-f]{32}$"
71                 },
72                 "sha1": {
73                     "type": "string",
74                     "pattern": "^[0-9A-Fa-f]{40}$"
75                 },
76                 "sha256": {
77                     "type": "string",
78                     "pattern": "^[0-9A-Fa-f]{64}$"
79                 },
80                 "git_url": {
81                     "$ref": "#/definitions/uri"
82                 },
83                 "git_rev": {
84                     "type": "string"
85                 },
86                 "hg_url": {
87                     "$ref": "#/definitions/uri"
88                 },
89                 "hg_tag": {
90                     "type": "string"
91                 },
92                 "svn_url": {
93                     "$ref": "#/definitions/uri"
94                 },
95                 "svn_rev": {
96                     "type": "string"
97                 },
98                 "svn_ignore_externals": {
99                     "$ref": "#/definitions/boolean"
100                 },
101                 "path": {
102                     "$ref": "#/definitions/path"
103                 },
104                 "patches": {
105                     "type": "array",
106                     "items": {
107                         "$ref": "#/definitions/path"
108                     }
109                 },
110                 "folder": {
111                     "$ref": "#/definitions/path"
112                 },
113                 "fn": {
114                     "type": "string"
115                 }
116             }
117         },
118         "test": {
119             "type": "object",
120             "properties": {
121                 "files": {
122                     "type": "array",
123                     "items": {
124                         "$ref": "#/definitions/path"
125                     }
126                 },
127                 "source_files": {
128                     "type": "array",
129                     "items": {
130                         "$ref": "#/definitions/path"
131                     }
132                 },
133                 "requires": {
134                     "type": "array",
135                     "items": {
136                         "$ref": "#/definitions/package"
137                     }
138                 },
139                 "commands": {
140                     "type": "array",
141                     "items": {
142                         "type": "string"
143                     }
144                 },
145                 "imports": {
146                     "type": "array",
147                     "items": {
148                         "$ref": "#/definitions/package"
149                     }
150                 },
151                 "script": {
152                     "type": "string"
153                 }
154             }
155         }
156     },
157     "properties": {
158         "package": {
159             "type": "object",
160             "properties": {
161                 "name": {
162                     "$ref": "#/definitions/package"
163                 },
164                 "version": {
165                     "type": "string"
166                 }
167             }
168         },
169         "source": {
170             "oneOf": [
171                 {
172                     "$ref": "#/definitions/source"
173                 },
174                 {
175                     "type": "array",
176                     "items": {
177                         "$ref": "#/definitions/source"
178                     }
179                 }
180             ]
181         },
182         "build": {
183             "type": "object",
184             "properties": {
185                 "number": {
186                     "$ref": "#/definitions/integer"
187                 },
188                 "string": {
189                     "type": "string"
190                 },
191                 "entry_points": {
192                     "type": "array",
193                     "items": {
194                         "type": "string"
195                     }
196                 },
197                 "osx_is_app": {
198                     "$ref": "#/definitions/boolean"
199                 },
200                 "features": {
201                     "type": "array",
202                     "items": {
203                         "$ref": "#/definitions/feature"
204                     }
205                 },
206                 "track_features": {
207                     "type": "array",
208                     "items": {
209                         "$ref": "#/definitions/feature"
210                     }
211                 },
212                 "preserve_egg_dir": {
213                     "$ref": "#/definitions/boolean"
214                 },
215                 "skip_compile_pyc": {
216                     "type": "array",
217                     "items": {
218                         "$ref": "#/definitions/path"
219                     }
220                 },
221                 "no_link": {
222                     "type": "array",
223                     "items": {
224                         "$ref": "#/definitions/path"
225                     }
226                 },
227                 "script": {
228                     "type": "string"
229                 },
230                 "rpaths": {
231                     "type": "array",
232                     "items": {
233                         "$ref": "#/definitions/path"
234                     }
235                 },
236                 "always_include_files": {
237                     "type": "array",
238                     "items": {
239                         "$ref": "#/definitions/path"
240                     }
241                 },
242                 "binary_relocation": {
243                     "$ref": "#/definitions/boolean"
244                 },
245                 "detect_binary_files_with_prefix": {
246                     "$ref": "#/definitions/boolean"
247                 },
248                 "binary_has_prefix_files": {
249                     "type": "array",
250                     "items": {
251                         "$ref": "#/definitions/path"
252                     }
253                 },
254                 "has_prefix_files": {
255                     "type": "array",
256                     "items": {
257                         "$ref": "#/definitions/path"
258                     }
259                 },
260                 "ignore_prefix_files": {
261                     "oneOf": [
262                         {
263                             "$ref": "#/definitions/boolean"
264                         },
265                         {
266                             "type": "array",
267                             "items": {
268                                 "$ref": "#/definitions/path"
269                             }
270                         }
271                     ]
272                 },
273                 "skip": {
274                     "$ref": "#/definitions/boolean"
275                 },
276                 "noarch": {
277                     "type": "string"
278                 },
279                 "noarch_python": {
280                     "$ref": "#/definitions/boolean"
281                 },
282                 "include_recipe": {
283                     "$ref": "#/definitions/boolean"
284                 },
285                 "script_env": {
286                     "type": "array",
287                     "items": {
288                         "type": "string"
289                     }
290                 },
291                 "run_exports": {
292                     "type": "array",
293                     "items": {
294                         "type": "string"
295                     }
296                 },
297                 "ignore_run_exports": {
298                     "type": "array",
299                     "items": {
300                         "type": "string"
301                     }
302                 }
303             }
304         },
305         "requirements": {
306             "$ref": "#/definitions/requirement"
307         },
308         "test": {
309             "anyOf": [
310                 {
311                     "type": "string"
312                 },
313                 {
314                     "$ref": "#/definitions/test"
315                 }
316             ]
317         },
318         "outputs": {
319             "type": "array",
320             "items": {
321                 "type": "object",
322                 "properties": {
323                     "name": {
324                         "type": "string"
325                     },
326                     "version": {
327                         "type": "string"
328                     },
329                     "files": {
330                         "type": "array",
331                         "items": {
332                             "$ref": "#/definitions/path"
333                         }
334                     },
335                     "script": {
336                         "$ref": "#/definitions/path"
337                     },
338                     "script_interpreter": {
339                         "type": "string"
340                     },
341                     "requirements": {
342                         "oneOf": [
343                             {
344                                 "$ref": "#/definitions/requirement"
345                             },
346                             {
347                                 "type": "array",
348                                 "items": {
349                                     "$ref": "#/definitions/package"
350                                 }
351                             }
352                         ]
353                     },
354                     "run_exports": {
355                         "type": "array",
356                         "items": {
357                             "type": "string"
358                         }
359                     },
360                     "test": {
361                         "$ref": "#/definitions/test"
362                     },
363                     "type": {
364                         "type": "string"
365                     }
366                 }
367             }
368         },
369         "about": {
370             "type": "object",
371             "properties": {
372                 "home": {
373                     "$ref": "#/definitions/uri"
374                 },
375                 "license": {
376                     "type": "string"
377                 },
378                 "license_file": {
379                     "$ref": "#/definitions/path"
380                 },
381                 "summary": {
382                     "type": "string"
383                 }
384             }
385         },
386         "app": {
387             "type": "object",
388             "properties": {
389                 "entry": {
390                     "type": "string"
391                 },
392                 "icon": {
393                     "$ref": "#/definitions/path"
394                 },
395                 "summary": {
396                     "type": "string"
397                 },
398                 "own_environment": {
399                     "$ref": "#/definitions/boolean"
400                 }
401             }
402         },
403         "extra": {}
404     }
405 }