Skip to content

Commit 501eaaa

Browse files
author
Viacheslav Kovalevskyi
committed
schema now includes cloud env version
1 parent 355c9dd commit 501eaaa

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

environment.json.schema

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,38 @@
88
"python_packages": {
99
"type": "array",
1010
"items": {
11-
"type": "string"
11+
"type": "object",
12+
"title": "Python packages with exact versions",
13+
"required": [
14+
"name",
15+
"version"
16+
],
17+
"properties": {
18+
"name": {
19+
"type": "string",
20+
"title": "package name"
21+
},
22+
"version": {
23+
"type": "string",
24+
"title": "exact package version"
25+
}
26+
}
1227
}
1328
},
1429
"container": {
1530
"type": "string"
31+
},
32+
"cloud": {
33+
"required": [
34+
"env_name"
35+
],
36+
"env_name": {
37+
"type": "string",
38+
"title": "name of the cloud provider (for example: GCP)"
39+
},
40+
"metadata": {
41+
"type": "object"
42+
}
1643
}
1744
}
1845
}

0 commit comments

Comments
 (0)