Skip to content

Commit fe90993

Browse files
authored
Add isPrecededBy and isVariantOf fields to schema
1 parent f20cd2a commit fe90993

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

schemas/products/datasetVersion.schema.tpl.json

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,21 @@
7575
"https://openminds.ebrains.eu/sands/CommonCoordinateSpaceVersion"
7676
]
7777
},
78+
"isPrecededBy": {
79+
"_instruction": "Add the dataset version preceding this dataset version.",
80+
"_linkedTypes": [
81+
"core:DatasetVersion"
82+
]
83+
},
84+
"isVariantOf": {
85+
"type": "array",
86+
"minItems": 1,
87+
"uniqueItems": true,
88+
"_instruction": "Add all dataset versions that can be used alternatively to this dataset version.",
89+
"_linkedTypes": [
90+
"core:DatasetVersion"
91+
]
92+
},
7893
"isVersionOf": {
7994
"_instruction": "Add the dataset of this dataset version.",
8095
"_linkedTypes": [
@@ -88,12 +103,7 @@
88103
"core:WebResource"
89104
]
90105
},
91-
"precedingVersion": {
92-
"_instruction": "Add the dataset version preceding this dataset version.",
93-
"_linkedTypes": [
94-
"core:DatasetVersion"
95-
]
96-
},
106+
97107
"preparationDesign": {
98108
"type": "array",
99109
"minItems": 1,
@@ -141,15 +151,6 @@
141151
"_linkedCategories": [
142152
"technique"
143153
]
144-
},
145-
"variantVersion": {
146-
"type": "array",
147-
"minItems": 1,
148-
"uniqueItems": true,
149-
"_instruction": "Add all dataset versions that can be used alternatively to this dataset version.",
150-
"_linkedTypes": [
151-
"core:DatasetVersion"
152-
]
153154
}
154155
}
155156
}

0 commit comments

Comments
 (0)