Skip to content

Commit da22d24

Browse files
V2: Removal of namespace in schema files. (#11)
* Removal of former namespace. * Removal of submodule name in paths. * Keep the module prefix. --------- Co-authored-by: raphaelgazzotti <raphael.gazzotti@ebrains.eu>
1 parent 8c879e9 commit da22d24

4 files changed

Lines changed: 20 additions & 20 deletions

File tree

schemas/activity/stimulationActivity.schema.tpl.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"_type": "https://openminds.ebrains.eu/stimulation/StimulationActivity",
2+
"_type": "stimulation:StimulationActivity",
33
"_extends": "/core/schemas/research/experimentalActivity.schema.tpl.json",
44
"required": [
55
"stimulus"
@@ -11,10 +11,10 @@
1111
"uniqueItems": true,
1212
"_instruction": "Add all states of the specimen(s) that are being stimulated during this activity.",
1313
"_linkedTypes": [
14-
"https://openminds.ebrains.eu/core/SubjectGroupState",
15-
"https://openminds.ebrains.eu/core/SubjectState",
16-
"https://openminds.ebrains.eu/core/TissueSampleCollectionState",
17-
"https://openminds.ebrains.eu/core/TissueSampleState"
14+
"core:SubjectGroupState",
15+
"core:SubjectState",
16+
"core:TissueSampleCollectionState",
17+
"core:TissueSampleState"
1818
]
1919
},
2020
"output": {
@@ -23,18 +23,18 @@
2323
"uniqueItems": true,
2424
"_instruction": "Add all states of the specimen(s) that were stimulated as a result of this activity, and all files or file bundles generated.",
2525
"_linkedTypes": [
26-
"https://openminds.ebrains.eu/core/File",
27-
"https://openminds.ebrains.eu/core/FileBundle",
28-
"https://openminds.ebrains.eu/core/SubjectGroupState",
29-
"https://openminds.ebrains.eu/core/SubjectState",
30-
"https://openminds.ebrains.eu/core/TissueSampleCollectionState",
31-
"https://openminds.ebrains.eu/core/TissueSampleState"
26+
"core:File",
27+
"core:FileBundle",
28+
"core:SubjectGroupState",
29+
"core:SubjectState",
30+
"core:TissueSampleCollectionState",
31+
"core:TissueSampleState"
3232
]
3333
},
3434
"setup": {
3535
"_instruction": "Add the setup used during this stimulation activity.",
3636
"_linkedTypes": [
37-
"https://openminds.ebrains.eu/core/Setup"
37+
"core:Setup"
3838
]
3939
},
4040
"stimulus": {

schemas/stimulus/ephysStimulus.schema.tpl.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"_type": "https://openminds.ebrains.eu/stimulation/EphysStimulus",
2+
"_type": "stimulation:EphysStimulus",
33
"_extends": "stimulus/stimulus.schema.tpl.json",
44
"properties": {
55
"type": {
66
"_instruction": "Add the type that describe this electrical stimulus.",
77
"_linkedTypes": [
8-
"https://openminds.ebrains.eu/controlledTerms/ElectricalStimulusType"
8+
"controlledTerms:ElectricalStimulusType"
99
]
1010
}
1111
}

schemas/stimulus/stimulus.schema.tpl.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"epoch": {
2020
"_instruction": "Enter the total epoch length of this stimulus.",
2121
"_embeddedTypes": [
22-
"https://openminds.ebrains.eu/core/QuantitativeValue"
22+
"core:QuantitativeValue"
2323
]
2424
},
2525
"generatedBy": {
@@ -42,10 +42,10 @@
4242
"uniqueItems": true,
4343
"_instruction": "Add the specification information for this stimulus.",
4444
"_linkedTypes": [
45-
"https://openminds.ebrains.eu/core/Configuration",
46-
"https://openminds.ebrains.eu/core/File",
47-
"https://openminds.ebrains.eu/core/FileBundle",
48-
"https://openminds.ebrains.eu/core/PropertyValueList"
45+
"core:Configuration",
46+
"core:File",
47+
"core:FileBundle",
48+
"core:PropertyValueList"
4949
]
5050
}
5151
}

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1
1+
v2

0 commit comments

Comments
 (0)