Skip to content

Commit 4f3c8b1

Browse files
authored
Merge pull request #307 from openMetadataInitiative/apdavison-reverse-RPV-RP
switch connection between RP and RPVs
2 parents 666a157 + 9cfe24d commit 4f3c8b1

4 files changed

Lines changed: 37 additions & 43 deletions

schemas/atlas/brainAtlas.schema.tpl.json

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,27 +26,18 @@
2626
"core:ISBN",
2727
"core:RRID"
2828
]
29-
},
29+
},
3030
"hasTerminology": {
3131
"_instruction": "Enter the parcellation terminology of this brain atlas.",
3232
"_embeddedTypes": [
3333
"sands:ParcellationTerminology"
3434
]
3535
},
36-
"hasVersion": {
37-
"type": "array",
38-
"minItems": 1,
39-
"uniqueItems": true,
40-
"_instruction": "Add versions of this brain atlas.",
41-
"_linkedTypes": [
42-
"sands:BrainAtlasVersion"
43-
]
44-
},
4536
"ontologyIdentifier": {
4637
"type": "string",
4738
"_formats": [
4839
"iri"
49-
],
40+
],
5041
"_instruction": "Enter the internationalized resource identifier (IRI) to the related ontological term matching this brain atlas."
5142
},
5243
"usedSpecies": {

schemas/atlas/brainAtlasVersion.schema.tpl.json

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"_linkedCategories": [
2020
"legalPerson"
2121
]
22-
},
22+
},
2323
"coordinateSpace": {
2424
"_instruction": "Add the specific common coordinate space in which this brain atlas version exists.",
2525
"_linkedTypes": [
@@ -40,21 +40,27 @@
4040
"sands:ParcellationTerminologyVersion"
4141
]
4242
},
43-
"isAlternativeVersionOf": {
44-
"type": "array",
43+
"isPrecededBy": {
44+
"_instruction": "Add the brain atlas version preceding this brain atlas version.",
45+
"_linkedTypes": [
46+
"sands:BrainAtlasVersion"
47+
]
48+
},
49+
"isVariantOf": {
50+
"type": "array",
4551
"minItems": 1,
4652
"uniqueItems": true,
4753
"_instruction": "Add all brain atlas versions that can be used alternatively to this brain atlas version.",
4854
"_linkedTypes": [
4955
"sands:BrainAtlasVersion"
5056
]
5157
},
52-
"isNewVersionOf": {
53-
"_instruction": "Add the brain atlas version preceding this brain atlas version.",
58+
"isVersionOf": {
59+
"_instruction": "Add the version-independent information about this brain atlas.",
5460
"_linkedTypes": [
55-
"sands:BrainAtlasVersion"
61+
"sands:BrainAtlas"
5662
]
57-
},
63+
},
5864
"license": {
5965
"_instruction": "Add the license of this brain atlas version.",
6066
"_linkedTypes": [
@@ -71,13 +77,13 @@
7177
"_formats": [
7278
"iri"
7379
]
74-
},
80+
},
7581
"type": {
7682
"_instruction": "Add the type of this brain atlas version.",
7783
"_linkedTypes": [
7884
"controlledTerms:AtlasType"
7985
]
80-
},
86+
},
8187
"usedSpecimen": {
8288
"type": "array",
8389
"minItems": 1,

schemas/atlas/commonCoordinateSpace.schema.tpl.json

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,15 @@
2929
"core:RRID"
3030
]
3131
},
32-
"hasVersion": {
33-
"type": "array",
34-
"minItems": 1,
35-
"uniqueItems": true,
36-
"_instruction": "Add all versions of this common coordinate space.",
37-
"_linkedTypes": [
38-
"sands:CommonCoordinateSpaceVersion"
39-
]
40-
},
4132
"ontologyIdentifier": {
4233
"type": "array",
4334
"minItems": 1,
4435
"uniqueItems": true,
4536
"_instruction": "Enter the internationalized resource identifiers (IRIs) to the related ontological terms matching this common coordinate space.",
46-
"items": {
37+
"items": {
4738
"type": "string",
4839
"_formats": [
49-
"iri"
40+
"iri"
5041
]
5142
}
5243
},

schemas/atlas/commonCoordinateSpaceVersion.schema.tpl.json

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"coordinateSpace"
66
],
77
"required": [
8-
"anatomicalAxesOrientation",
8+
"anatomicalAxesOrientation",
99
"axesOrigin",
1010
"nativeUnit"
1111
],
@@ -30,17 +30,17 @@
3030
]
3131
},
3232
"axesOrigin": {
33-
"type": "array",
34-
"minItems": 2,
35-
"maxItems": 3,
33+
"type": "array",
34+
"minItems": 2,
35+
"maxItems": 3,
3636
"uniqueItems": true,
3737
"_instruction": "Enter the origin (central point where all axes intersect) of this common coordinate space version for two-dimensional spaces as [x, y] or for three-dimensional space as [x, y, z].",
3838
"_embeddedTypes": [
3939
"core:QuantitativeValue"
4040
]
4141
},
4242
"defaultImage": {
43-
"type": "array",
43+
"type": "array",
4444
"minItems": 1,
4545
"uniqueItems": true,
4646
"_instruction": "Add all image files used as visual representation of this common coordinate space version.",
@@ -56,7 +56,13 @@
5656
"core:RRID"
5757
]
5858
},
59-
"isAlternativeVersionOf": {
59+
"isPrecededBy": {
60+
"_instruction": "Add the common coordinate space version preceding this common coordinate space version.",
61+
"_linkedTypes": [
62+
"sands:CommonCoordinateSpaceVersion"
63+
]
64+
},
65+
"isVariantOf": {
6066
"type": "array",
6167
"minItems": 1,
6268
"uniqueItems": true,
@@ -65,10 +71,10 @@
6571
"sands:CommonCoordinateSpaceVersion"
6672
]
6773
},
68-
"isNewVersionOf": {
69-
"_instruction": "Add the common coordinate space version preceding this common coordinate space version.",
74+
"isVersionOf": {
75+
"_instruction": "Add the version-independent information about this common coordinate space.",
7076
"_linkedTypes": [
71-
"sands:CommonCoordinateSpaceVersion"
77+
"sands:CommonCoordinateSpace"
7278
]
7379
},
7480
"license": {
@@ -82,16 +88,16 @@
8288
"_linkedTypes": [
8389
"controlledTerms:UnitOfMeasurement"
8490
]
85-
},
91+
},
8692
"ontologyIdentifier": {
8793
"type": "array",
8894
"minItems": 1,
8995
"uniqueItems": true,
9096
"_instruction": "Enter the internationalized resource identifiers (IRIs) to the related ontological terms matching this common coordinate space version.",
91-
"items": {
97+
"items": {
9298
"type": "string",
9399
"_formats": [
94-
"iri"
100+
"iri"
95101
]
96102
}
97103
},

0 commit comments

Comments
 (0)