Skip to content

Commit 1784be4

Browse files
committed
Remove spack.specs requirements, add required _name, _version definitions
1 parent 613fb20 commit 1784be4

1 file changed

Lines changed: 17 additions & 4 deletions

File tree

  • au.org.access-nri/model/spack/environment/deployment

au.org.access-nri/model/spack/environment/deployment/2-0-0.json

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,18 +75,31 @@
7575
"default": [],
7676
"minItems": 1,
7777
"items": {
78-
"type": "string",
79-
"pattern": "^.+@git\\.[^= ]+.*$|\\$ROOT_SPEC|^.+@latest"
78+
"type": "string"
8079
}
8180
},
8281
"definitions": {
8382
"type": "array",
8483
"default": [],
84+
"required": ["_name", "_version"],
8585
"items": {
8686
"type": "object",
8787
"properties": {
88-
"when": {
89-
"type": "string"
88+
"_name": {
89+
"type": "array",
90+
"minItems": 1,
91+
"maxItems": 1,
92+
"items": {
93+
"type": "string"
94+
}
95+
},
96+
"_version": {
97+
"type": "array",
98+
"minItems": 1,
99+
"maxItems": 1,
100+
"items": {
101+
"type": "string"
102+
}
90103
},
91104
"ROOT_PACKAGE": {
92105
"type": "array",

0 commit comments

Comments
 (0)