Skip to content

Commit a215fa6

Browse files
committed
wip
1 parent 03d39a9 commit a215fa6

File tree

1 file changed

+26
-25
lines changed

1 file changed

+26
-25
lines changed

schemas/workflowExecutionMatrix.schema.json

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,32 @@
55
"type": "object",
66
"definitions": {
77
"inputDetails": {
8-
"type": "array",
9-
"items": {
10-
"type": "object",
11-
"properties": {
12-
"seriesDescription": {
13-
"type": "string"
14-
},
15-
"sliceThickness": {
16-
"type": "number"
17-
},
18-
"pixelSpacing": {
19-
"type": "array",
20-
"items": {
21-
"type": "number"
8+
"type": "object",
9+
"patternProperties": {
10+
".": {
11+
"type": "object",
12+
"properties": {
13+
"seriesDescription": {
14+
"type": ["string", "null"]
15+
},
16+
"sliceThickness": {
17+
"type": ["number", "null"]
18+
},
19+
"pixelSpacing": {
20+
"type": ["array", "null"],
21+
"items": {
22+
"type": "number"
23+
}
24+
},
25+
"dim": {
26+
"type": ["array","null"],
27+
"items": {
28+
"type": "number"
29+
}
2230
}
2331
},
24-
"dim": {
25-
"type": "array",
26-
"items": {
27-
"type": "number"
28-
}
29-
}
30-
},
31-
"additionalProperties": false
32+
"additionalProperties": false
33+
}
3234
}
3335
},
3436
"configuration": {
@@ -1025,7 +1027,7 @@
10251027
"$ref": "#/definitions/matrix"
10261028
},
10271029
"inputDetails": {
1028-
"$ref": "#definitions/inputDetails"
1030+
"$ref": "#/definitions/inputDetails"
10291031
}
10301032
},
10311033
"required": [
@@ -1142,9 +1144,8 @@
11421144
}
11431145
]
11441146
},
1145-
11461147
"inputDetails": {
1147-
"$ref": "#definitions/inputDetails"
1148+
"$ref": "#/definitions/inputDetails"
11481149
},
11491150
"completion": {
11501151
"type": "object",

0 commit comments

Comments
 (0)