Skip to content

Commit f9c4992

Browse files
committed
add required input/output to multiscales context
1 parent ca1c0b5 commit f9c4992

1 file changed

Lines changed: 29 additions & 2 deletions

File tree

schemas/image.schema

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,34 @@
138138
"multiscale_coordinateTransformations": {
139139
"description": "OME-NGFF coordinate transformation for multiscale resolution level datasets (only scale or scale & translate).",
140140
"oneOf": [
141-
{"$ref": "https://ngff.openmicroscopy.org/0.6.dev3/schemas/coordinate_transformations.schema#/$defs/scale"},
142-
{"$ref": "https://ngff.openmicroscopy.org/0.6.dev3/schemas/coordinate_transformations.schema#/$defs/identity"},
141+
{
142+
"allOf": [
143+
{"$ref": "https://ngff.openmicroscopy.org/0.6.dev3/schemas/coordinate_transformations.schema#/$defs/scale"},
144+
{
145+
"type": "object",
146+
"properties": {
147+
"input": {"type": "string"},
148+
"output": {"type": "string"},
149+
"name": {"type": "string"}
150+
},
151+
"required": ["input", "output"]
152+
}
153+
]
154+
},
155+
{
156+
"allOf": [
157+
{"$ref": "https://ngff.openmicroscopy.org/0.6.dev3/schemas/coordinate_transformations.schema#/$defs/identity"},
158+
{
159+
"type": "object",
160+
"properties": {
161+
"input": {"type": "string"},
162+
"output": {"type": "string"},
163+
"name": {"type": "string"}
164+
},
165+
"required": ["input", "output"]
166+
}
167+
]
168+
},
143169
{
144170
"type": "object",
145171
"properties": {
@@ -162,6 +188,7 @@
162188
"required": ["type", "transformations", "input", "output"]
163189
}
164190
]
191+
}
165192
},
166193
"omero": {
167194
"type": "object",

0 commit comments

Comments
 (0)