Skip to content

Commit

Permalink
V2: Removal of namespace in schema files. (#15)
Browse files Browse the repository at this point in the history
* Removal of former namespace.

* Removal of submodule name in paths.

* Keep the module prefix.

---------

Co-authored-by: raphaelgazzotti <[email protected]>
  • Loading branch information
Raphael-Gazzotti and raphaelgazzotti authored Sep 24, 2024
1 parent a50bebf commit 10ee61d
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 39 deletions.
10 changes: 5 additions & 5 deletions schemas/activity/cranialWindowPreparation.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/specimenPrep/CranialWindowPreparation",
"_type": "specimenPrep:CranialWindowPreparation",
"_extends": "/core/schemas/research/experimentalActivity.schema.tpl.json",
"required": [
"constructionType"
Expand All @@ -8,7 +8,7 @@
"constructionType": {
"_instruction": "Add the construction type of the cranial window.",
"_linkedTypes": [
"https://openminds.ebrains.eu/controlledTerms/CranialWindowConstructionType"
"controlledTerms:CranialWindowConstructionType"
]
},
"dimension": {
Expand All @@ -20,19 +20,19 @@
"input": {
"_instruction": "Add the state of the subject which received the cranial window before this activity.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/SubjectState"
"core:SubjectState"
]
},
"output": {
"_instruction": "Add the state of the subject which received the cranial window as a result of this activity.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/SubjectState"
"core:SubjectState"
]
},
"reinforcementType": {
"_instruction": "Add the reinforcement type of the cranial window.",
"_linkedTypes": [
"https://openminds.ebrains.eu/controlledTerms/CranialWindowReinforcementType"
"controlledTerms:CranialWindowReinforcementType"
]
}
}
Expand Down
8 changes: 4 additions & 4 deletions schemas/activity/devicePlacement.schema.tpl.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"input": {
"_instruction": "Add the state of the specimen that the device is being placed in or on during this activity.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/TissueSampleState",
"https://openminds.ebrains.eu/core/SubjectState"
"core:TissueSampleState",
"core:SubjectState"
]
},
"output": {
Expand All @@ -26,8 +26,8 @@
"uniqueItems": true,
"_instruction": "Add all states of the specimen(s) that the device was placed in or on as a result of this activity.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/TissueSampleState",
"https://openminds.ebrains.eu/core/SubjectState"
"core:TissueSampleState",
"core:SubjectState"
]
},
"targetPosition": {
Expand Down
16 changes: 8 additions & 8 deletions schemas/activity/tissueCulturePreparation.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/specimenPrep/TissueCulturePreparation",
"_type": "specimenPrep:TissueCulturePreparation",
"_extends": "/core/schemas/research/experimentalActivity.schema.tpl.json",
"required": [
"cultureMedium",
Expand All @@ -9,28 +9,28 @@
"cultureMedium": {
"_instruction": "Add the culture medium used during this tissue culture preparation.",
"_linkedTypes": [
"https://openminds.ebrains.eu/chemicals/ChemicalMixture"
"chemicals:ChemicalMixture"
]
},
"cultureType": {
"_instruction": "Add the cell culture type of the resulting tissue cell culture.",
"_linkedTypes": [
"https://openminds.ebrains.eu/controlledTerms/CellCultureType"
"controlledTerms:CellCultureType"
]
},
"input": {
"_instruction": "Add the state of the specimen before it was prepared as culture in this activity.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/TissueSampleState",
"https://openminds.ebrains.eu/core/TissueSampleCollectionState",
"https://openminds.ebrains.eu/core/SubjectGroupState",
"https://openminds.ebrains.eu/core/SubjectState"
"core:TissueSampleState",
"core:TissueSampleCollectionState",
"core:SubjectGroupState",
"core:SubjectState"
]
},
"output": {
"_instruction": "Add the state of the prepared tissue sample culture that resulted from this activity.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/TissueSampleState"
"core:TissueSampleState"
]
}
}
Expand Down
20 changes: 10 additions & 10 deletions schemas/activity/tissueSampleSlicing.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/specimenPrep/TissueSampleSlicing",
"_type": "specimenPrep:TissueSampleSlicing",
"_extends": "/core/schemas/research/experimentalActivity.schema.tpl.json",
"required": [
"device"
Expand All @@ -8,15 +8,15 @@
"device": {
"_instruction": "Add the device used to slice the tissue sample.",
"_linkedTypes": [
"https://openminds.ebrains.eu/specimenPrep/SlicingDeviceUsage"
"specimenPrep:SlicingDeviceUsage"
]
},
"input": {
"_instruction": "Add the state of the specimen that was sliced during this activity.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/SubjectState",
"https://openminds.ebrains.eu/core/TissueSampleCollectionState",
"https://openminds.ebrains.eu/core/TissueSampleState"
"core:SubjectState",
"core:TissueSampleCollectionState",
"core:TissueSampleState"
]
},
"output": {
Expand All @@ -25,21 +25,21 @@
"minItems": 1,
"uniqueItems": true,
"_linkedTypes": [
"https://openminds.ebrains.eu/core/TissueSampleCollectionState",
"https://openminds.ebrains.eu/core/TissueSampleState"
"core:TissueSampleCollectionState",
"core:TissueSampleState"
]
},
"temperature": {
"_instruction": "Enter the temperature at which the tissue sample was sliced during the activity.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue",
"https://openminds.ebrains.eu/core/QuantitativeValueRange"
"core:QuantitativeValue",
"core:QuantitativeValueRange"
]
},
"tissueBathSolution": {
"_instruction": "Add the chemical mixture used as bath solution during this activity.",
"_linkedTypes": [
"https://openminds.ebrains.eu/chemicals/ChemicalMixture"
"chemicals:ChemicalMixture"
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion schemas/device/slicingDevice.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"_type": "https://openminds.ebrains.eu/specimenPrep/SlicingDevice",
"_type": "specimenPrep:SlicingDevice",
"_extends": "/core/schemas/products/device.schema.tpl.json"
}
20 changes: 10 additions & 10 deletions schemas/device/slicingDeviceUsage.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/specimenPrep/SlicingDeviceUsage",
"_type": "specimenPrep:SlicingDeviceUsage",
"_extends": "/core/schemas/research/deviceUsage.schema.tpl.json",
"required": [
"sliceThickness",
Expand All @@ -9,20 +9,20 @@
"device": {
"_instruction": "Add the slicing device used.",
"_linkedTypes": [
"https://openminds.ebrains.eu/specimenPrep/SlicingDevice"
"specimenPrep:SlicingDevice"
]
},
"oscillationAmplitude": {
"_instruction": "Enter the oscillation amplitude of the blade from the slicing device during its use.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue"
"core:QuantitativeValue"
]
},
"sliceThickness": {
"_instruction": "Enter the defined slice thickness during the use of this slicing device.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue",
"https://openminds.ebrains.eu/core/QuantitativeValueRange"
"core:QuantitativeValue",
"core:QuantitativeValueRange"
]
},
"slicingAngle": {
Expand All @@ -31,26 +31,26 @@
"maxItems": 2,
"_instruction": "Enter all slicing angles (intentional or unintentional) in relation to the slicing plane used during this activity.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue",
"https://openminds.ebrains.eu/core/NumericalProperty"
"core:QuantitativeValue",
"core:NumericalProperty"
]
},
"slicingPlane": {
"_instruction": "Add the anatomical plane that best describes the slicing direction of the tissue sample(s) during the use of this slicing device.",
"_linkedTypes": [
"https://openminds.ebrains.eu/controlledTerms/AnatomicalPlane"
"controlledTerms:AnatomicalPlane"
]
},
"slicingSpeed": {
"_instruction": "Enter the defined slicing speed during the use of this slicing device.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue"
"core:QuantitativeValue"
]
},
"vibrationFrequency": {
"_instruction": "Enter the defined vibration frequency during the use of this slicing device.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue"
"core:QuantitativeValue"
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1
v2

0 comments on commit 10ee61d

Please sign in to comment.