Skip to content

Commit 9d3ed73

Browse files
V4: Removal of namespace in schema files. (#280)
* Removal of former namespace. * Version updated. * Removal of submodule name in path. * Keep the module prefix. * The SANDS prefix must be capitalized, which matches the schema_group attribute in the pipeline. * The SANDS prefix must be capitalized, which matches the schema_group attribute in the pipeline. * Revert, lower-case prefixes are more frequently used. --------- Co-authored-by: raphaelgazzotti <raphael.gazzotti@ebrains.eu>
1 parent 6f4ad53 commit 9d3ed73

23 files changed

+116
-116
lines changed

schemas/atlas/annotation.schema.tpl.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,25 @@
1111
"maxItems": 3,
1212
"_instruction": "Enter the coordinates of the anchor point for this annotation (e.g., its centroid in two dimensional space as [x, y] or in three dimensional space as [x, y, z]).",
1313
"_embeddedTypes": [
14-
"https://openminds.ebrains.eu/core/QuantitativeValue"
14+
"core:QuantitativeValue"
1515
]
1616
},
1717
"criteria": {
1818
"_instruction": "Add the protocol execution defining the criteria that were applied to produce this annotation.",
1919
"_linkedTypes": [
20-
"https://openminds.ebrains.eu/core/ProtocolExecution"
20+
"core:ProtocolExecution"
2121
]
2222
},
2323
"criteriaQualityType": {
2424
"_instruction": "Add the quality type of the stated criteria used to define this annotation.",
2525
"_linkedTypes": [
26-
"https://openminds.ebrains.eu/controlledTerms/CriteriaQualityType"
26+
"controlledTerms:CriteriaQualityType"
2727
]
2828
},
2929
"criteriaType": {
3030
"_instruction": "Add the criteria type for this annotation.",
3131
"_linkedTypes": [
32-
"https://openminds.ebrains.eu/controlledTerms/AnnotationCriteriaType"
32+
"controlledTerms:AnnotationCriteriaType"
3333
]
3434
},
3535
"inspiredBy": {
@@ -38,7 +38,7 @@
3838
"uniqueItems": true,
3939
"_instruction": "Add all (source) files that inspired the definition of this annotation.",
4040
"_linkedTypes": [
41-
"https://openminds.ebrains.eu/core/File"
41+
"core:File"
4242
]
4343
},
4444
"internalIdentifier": {
@@ -52,19 +52,19 @@
5252
"uniqueItems": true,
5353
"_instruction": "Add one or both sides of the body, bilateral organ or bilateral organ part that this annotation is defined in.",
5454
"_linkedTypes": [
55-
"https://openminds.ebrains.eu/controlledTerms/Laterality"
55+
"controlledTerms:Laterality"
5656
]
5757
},
5858
"preferredVisualization": {
5959
"_instruction": "Add the preferred viewer specification to visualize this annotation.",
6060
"_embeddedTypes": [
61-
"https://openminds.ebrains.eu/sands/ViewerSpecification"
61+
"sands:ViewerSpecification"
6262
]
6363
},
6464
"type": {
6565
"_instruction": "Add the geometry type of this annotation.",
6666
"_linkedTypes": [
67-
"https://openminds.ebrains.eu/controlledTerms/AnnotationType"
67+
"controlledTerms:AnnotationType"
6868
]
6969
}
7070
}

schemas/atlas/atlasAnnotation.schema.tpl.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"_type": "https://openminds.ebrains.eu/sands/AtlasAnnotation",
2+
"_type": "sands:AtlasAnnotation",
33
"_extends": "atlas/annotation.schema.tpl.json",
44
"properties": {
55
"specification": {
66
"_instruction": "Add the non-parametric specification of this annotation.",
77
"_linkedTypes": [
8-
"https://openminds.ebrains.eu/core/File"
8+
"core:File"
99
]
1010
}
1111
}

schemas/atlas/brainAtlas.schema.tpl.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"_type": "https://openminds.ebrains.eu/sands/BrainAtlas",
2+
"_type": "sands:BrainAtlas",
33
"_extends": "/core/schemas/products/researchProduct.schema.tpl.json",
44
"required": [
55
"author",
@@ -22,15 +22,15 @@
2222
"digitalIdentifier": {
2323
"_instruction": "Add the globally unique and persistent digital identifier of this research product. Note that this digital identifier will be used to reference all attached research product versions.",
2424
"_linkedTypes": [
25-
"https://openminds.ebrains.eu/core/DOI",
26-
"https://openminds.ebrains.eu/core/ISBN",
27-
"https://openminds.ebrains.eu/core/RRID"
25+
"core:DOI",
26+
"core:ISBN",
27+
"core:RRID"
2828
]
2929
},
3030
"hasTerminology": {
3131
"_instruction": "Enter the parcellation terminology of this brain atlas.",
3232
"_embeddedTypes": [
33-
"https://openminds.ebrains.eu/sands/ParcellationTerminology"
33+
"sands:ParcellationTerminology"
3434
]
3535
},
3636
"hasVersion": {
@@ -39,7 +39,7 @@
3939
"uniqueItems": true,
4040
"_instruction": "Add versions of this brain atlas.",
4141
"_linkedTypes": [
42-
"https://openminds.ebrains.eu/sands/BrainAtlasVersion"
42+
"sands:BrainAtlasVersion"
4343
]
4444
},
4545
"ontologyIdentifier": {
@@ -52,7 +52,7 @@
5252
"usedSpecies": {
5353
"_instruction": "Add the species that was used for the creation of this brain atlas.",
5454
"_linkedTypes": [
55-
"https://openminds.ebrains.eu/controlledTerms/Species"
55+
"controlledTerms:Species"
5656
]
5757
}
5858
}

schemas/atlas/brainAtlasVersion.schema.tpl.json

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"_type": "https://openminds.ebrains.eu/sands/BrainAtlasVersion",
2+
"_type": "sands:BrainAtlasVersion",
33
"_extends": "/core/schemas/products/researchProductVersion.schema.tpl.json",
44
"required": [
55
"coordinateSpace",
@@ -23,21 +23,21 @@
2323
"coordinateSpace": {
2424
"_instruction": "Add the specific common coordinate space in which this brain atlas version exists.",
2525
"_linkedTypes": [
26-
"https://openminds.ebrains.eu/sands/CommonCoordinateSpaceVersion"
26+
"sands:CommonCoordinateSpaceVersion"
2727
]
2828
},
2929
"digitalIdentifier": {
3030
"_instruction": "Add the globally unique and persistent digital identifier of this research product version.",
3131
"_linkedTypes": [
32-
"https://openminds.ebrains.eu/core/DOI",
33-
"https://openminds.ebrains.eu/core/ISBN",
34-
"https://openminds.ebrains.eu/core/RRID"
32+
"core:DOI",
33+
"core:ISBN",
34+
"core:RRID"
3535
]
3636
},
3737
"hasTerminology": {
3838
"_instruction": "Enter the specific parcellation terminology of this brain atlas version.",
3939
"_embeddedTypes": [
40-
"https://openminds.ebrains.eu/sands/ParcellationTerminologyVersion"
40+
"sands:ParcellationTerminologyVersion"
4141
]
4242
},
4343
"isAlternativeVersionOf": {
@@ -46,19 +46,19 @@
4646
"uniqueItems": true,
4747
"_instruction": "Add all brain atlas versions that can be used alternatively to this brain atlas version.",
4848
"_linkedTypes": [
49-
"https://openminds.ebrains.eu/sands/BrainAtlasVersion"
49+
"sands:BrainAtlasVersion"
5050
]
5151
},
5252
"isNewVersionOf": {
5353
"_instruction": "Add the brain atlas version preceding this brain atlas version.",
5454
"_linkedTypes": [
55-
"https://openminds.ebrains.eu/sands/BrainAtlasVersion"
55+
"sands:BrainAtlasVersion"
5656
]
5757
},
5858
"license": {
5959
"_instruction": "Add the license of this brain atlas version.",
6060
"_linkedTypes": [
61-
"https://openminds.ebrains.eu/core/License"
61+
"core:License"
6262
]
6363
},
6464
"majorVersionIdentifier": {
@@ -75,7 +75,7 @@
7575
"type": {
7676
"_instruction": "Add the type of this brain atlas version.",
7777
"_linkedTypes": [
78-
"https://openminds.ebrains.eu/controlledTerms/AtlasType"
78+
"controlledTerms:AtlasType"
7979
]
8080
},
8181
"usedSpecimen": {
@@ -84,10 +84,10 @@
8484
"uniqueItems": true,
8585
"_instruction": "Add the specimen that was used for the creation of this brain atlas version.",
8686
"_linkedTypes": [
87-
"https://openminds.ebrains.eu/core/Subject",
88-
"https://openminds.ebrains.eu/core/SubjectGroup",
89-
"https://openminds.ebrains.eu/core/TissueSample",
90-
"https://openminds.ebrains.eu/core/TissueSampleCollection"
87+
"core:Subject",
88+
"core:SubjectGroup",
89+
"core:TissueSample",
90+
"core:TissueSampleCollection"
9191
]
9292
}
9393
}

schemas/atlas/commonCoordinateSpace.schema.tpl.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"_type": "https://openminds.ebrains.eu/sands/CommonCoordinateSpace",
2+
"_type": "sands:CommonCoordinateSpace",
33
"_extends": "/core/schemas/products/researchProduct.schema.tpl.json",
44
"_categories": [
55
"coordinateSpace"
@@ -24,9 +24,9 @@
2424
"digitalIdentifier": {
2525
"_instruction": "Add the globally unique and persistent digital identifier of this research product. Note that this digital identifier will be used to reference all attached research product versions.",
2626
"_linkedTypes": [
27-
"https://openminds.ebrains.eu/core/DOI",
28-
"https://openminds.ebrains.eu/core/ISBN",
29-
"https://openminds.ebrains.eu/core/RRID"
27+
"core:DOI",
28+
"core:ISBN",
29+
"core:RRID"
3030
]
3131
},
3232
"hasVersion": {
@@ -35,7 +35,7 @@
3535
"uniqueItems": true,
3636
"_instruction": "Add all versions of this common coordinate space.",
3737
"_linkedTypes": [
38-
"https://openminds.ebrains.eu/sands/CommonCoordinateSpaceVersion"
38+
"sands:CommonCoordinateSpaceVersion"
3939
]
4040
},
4141
"ontologyIdentifier": {
@@ -53,7 +53,7 @@
5353
"usedSpecies": {
5454
"_instruction": "Add the species that was used for the creation of this common coordinate space.",
5555
"_linkedTypes": [
56-
"https://openminds.ebrains.eu/controlledTerms/Species"
56+
"controlledTerms:Species"
5757
]
5858
}
5959
}

schemas/atlas/commonCoordinateSpaceVersion.schema.tpl.json

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"_type": "https://openminds.ebrains.eu/sands/CommonCoordinateSpaceVersion",
2+
"_type": "sands:CommonCoordinateSpaceVersion",
33
"_extends": "/core/schemas/products/researchProductVersion.schema.tpl.json",
44
"_categories": [
55
"coordinateSpace"
@@ -17,7 +17,7 @@
1717
"anatomicalAxesOrientation": {
1818
"_instruction": "Add the axes orientation denoted in standard anatomical terms of direction (stated as XYZ) for this common coordinate space version.",
1919
"_linkedTypes": [
20-
"https://openminds.ebrains.eu/controlledTerms/AnatomicalAxesOrientation"
20+
"controlledTerms:AnatomicalAxesOrientation"
2121
]
2222
},
2323
"author": {
@@ -36,7 +36,7 @@
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": [
39-
"https://openminds.ebrains.eu/core/QuantitativeValue"
39+
"core:QuantitativeValue"
4040
]
4141
},
4242
"defaultImage": {
@@ -45,15 +45,15 @@
4545
"uniqueItems": true,
4646
"_instruction": "Add all image files used as visual representation of this common coordinate space version.",
4747
"_linkedTypes": [
48-
"https://openminds.ebrains.eu/core/File"
48+
"core:File"
4949
]
5050
},
5151
"digitalIdentifier": {
5252
"_instruction": "Add the globally unique and persistent digital identifier of this research product version.",
5353
"_linkedTypes": [
54-
"https://openminds.ebrains.eu/core/DOI",
55-
"https://openminds.ebrains.eu/core/ISBN",
56-
"https://openminds.ebrains.eu/core/RRID"
54+
"core:DOI",
55+
"core:ISBN",
56+
"core:RRID"
5757
]
5858
},
5959
"isAlternativeVersionOf": {
@@ -62,25 +62,25 @@
6262
"uniqueItems": true,
6363
"_instruction": "Add all common coordinate space versions that can be used alternatively to this common coordinate space version.",
6464
"_linkedTypes": [
65-
"https://openminds.ebrains.eu/sands/CommonCoordinateSpaceVersion"
65+
"sands:CommonCoordinateSpaceVersion"
6666
]
6767
},
6868
"isNewVersionOf": {
6969
"_instruction": "Add the common coordinate space version preceding this common coordinate space version.",
7070
"_linkedTypes": [
71-
"https://openminds.ebrains.eu/sands/CommonCoordinateSpaceVersion"
71+
"sands:CommonCoordinateSpaceVersion"
7272
]
7373
},
7474
"license": {
7575
"_instruction": "Add the license of this common coordinate space version.",
7676
"_linkedTypes": [
77-
"https://openminds.ebrains.eu/core/License"
77+
"core:License"
7878
]
7979
},
8080
"nativeUnit": {
8181
"_instruction": "Add the native unit that is used for this common coordinate space version.",
8282
"_linkedTypes": [
83-
"https://openminds.ebrains.eu/controlledTerms/UnitOfMeasurement"
83+
"controlledTerms:UnitOfMeasurement"
8484
]
8585
},
8686
"ontologyIdentifier": {
@@ -101,10 +101,10 @@
101101
"uniqueItems": true,
102102
"_instruction": "Add the specimen that was used for the creation of this common coordinate space version.",
103103
"_linkedTypes": [
104-
"https://openminds.ebrains.eu/core/Subject",
105-
"https://openminds.ebrains.eu/core/SubjectGroup",
106-
"https://openminds.ebrains.eu/core/TissueSample",
107-
"https://openminds.ebrains.eu/core/TissueSampleCollection"
104+
"core:Subject",
105+
"core:SubjectGroup",
106+
"core:TissueSample",
107+
"core:TissueSampleCollection"
108108
]
109109
}
110110
}

schemas/atlas/parcellationEntity.schema.tpl.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"_type": "https://openminds.ebrains.eu/sands/ParcellationEntity",
2+
"_type": "sands:ParcellationEntity",
33
"_categories": [
44
"anatomicalLocation",
55
"studyTarget"
@@ -31,7 +31,7 @@
3131
"uniqueItems": true,
3232
"_instruction": "Add all anatomical parent structures for this parcellation entity as defined within the corresponding brain atlas.",
3333
"_linkedTypes": [
34-
"https://openminds.ebrains.eu/sands/ParcellationEntity"
34+
"sands:ParcellationEntity"
3535
]
3636
},
3737
"hasVersion": {
@@ -40,7 +40,7 @@
4040
"uniqueItems": true,
4141
"_instruction": "Add all versions of this parcellation entity.",
4242
"_linkedTypes": [
43-
"https://openminds.ebrains.eu/sands/ParcellationEntityVersion"
43+
"sands:ParcellationEntityVersion"
4444
]
4545
},
4646
"lookupLabel": {
@@ -66,8 +66,8 @@
6666
"relatedUBERONTerm":{
6767
"_instruction": "Add the related anatomical entity as defined by the UBERON ontology.",
6868
"_linkedTypes": [
69-
"https://openminds.ebrains.eu/controlledTerms/Organ",
70-
"https://openminds.ebrains.eu/controlledTerms/UBERONParcellation"
69+
"controlledTerms:Organ",
70+
"controlledTerms:UBERONParcellation"
7171
]
7272
}
7373
}

0 commit comments

Comments
 (0)