Skip to content

Commit

Permalink
V2: Removal of namespace in schema files. (#51)
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 Raphael-Gazzotti authored Sep 24, 2024
1 parent 59f93f2 commit 3a04392
Show file tree
Hide file tree
Showing 12 changed files with 75 additions and 75 deletions.
12 changes: 6 additions & 6 deletions schemas/activity/cellPatching.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"_type": "https://openminds.ebrains.eu/ephys/CellPatching",
"_type": "ephys:CellPatching",
"_extends": "/specimenPrep/schemas/activity/devicePlacement.schema.tpl.json",
"properties": {
"bathTemperature": {
"_instruction": "Enter the temperature of the bath solution.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue",
"https://openminds.ebrains.eu/core/QuantitativeValueRange"
"core:QuantitativeValue",
"core:QuantitativeValueRange"
]
},
"device": {
Expand All @@ -15,19 +15,19 @@
"uniqueItems": true,
"_instruction": "Add all patch pipettes placed during this activity.",
"_linkedTypes": [
"https://openminds.ebrains.eu/ephys/PipetteUsage"
"ephys:PipetteUsage"
]
},
"tissueBathSolution": {
"_instruction": "Add the chemical mixture used as bath solution during this activity.",
"_linkedTypes": [
"https://openminds.ebrains.eu/chemicals/ChemicalMixture"
"chemicals:ChemicalMixture"
]
},
"variation": {
"_instruction": "Add the patch-clamp variation used during this activity.",
"_linkedTypes": [
"https://openminds.ebrains.eu/controlledTerms/PatchClampVariation"
"controlledTerms:PatchClampVariation"
]
}
}
Expand Down
6 changes: 3 additions & 3 deletions schemas/activity/electrodePlacement.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/ephys/ElectrodePlacement",
"_type": "ephys:ElectrodePlacement",
"_extends": "/specimenPrep/schemas/activity/devicePlacement.schema.tpl.json",
"properties": {
"device": {
Expand All @@ -8,8 +8,8 @@
"uniqueItems": true,
"_instruction": "Add all electrodes placed during this activity.",
"_linkedTypes": [
"https://openminds.ebrains.eu/ephys/ElectrodeUsage",
"https://openminds.ebrains.eu/ephys/ElectrodeArrayUsage"
"ephys:ElectrodeUsage",
"ephys:ElectrodeArrayUsage"
]
}
}
Expand Down
16 changes: 8 additions & 8 deletions schemas/activity/recordingActivity.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/ephys/RecordingActivity",
"_type": "ephys:RecordingActivity",
"_extends": "/core/schemas/research/experimentalActivity.schema.tpl.json",
"properties": {
"device": {
Expand All @@ -8,17 +8,17 @@
"uniqueItems": true,
"_instruction": "Add all devices used during this recording activity.",
"_linkedTypes": [
"https://openminds.ebrains.eu/ephys/ElectrodeArrayUsage",
"https://openminds.ebrains.eu/ephys/ElectrodeUsage",
"https://openminds.ebrains.eu/ephys/PipetteUsage"
"ephys:ElectrodeArrayUsage",
"ephys:ElectrodeUsage",
"ephys:PipetteUsage"
]
},
"input": {
"_linkedTypes": [
"https://openminds.ebrains.eu/core/SubjectGroupState",
"https://openminds.ebrains.eu/core/SubjectState",
"https://openminds.ebrains.eu/core/TissueSampleCollectionState",
"https://openminds.ebrains.eu/core/TissueSampleState"
"core:SubjectGroupState",
"core:SubjectState",
"core:TissueSampleCollectionState",
"core:TissueSampleState"
]
},
"internalIdentifier": {
Expand Down
18 changes: 9 additions & 9 deletions schemas/device/electrode.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/ephys/Electrode",
"_type": "ephys:Electrode",
"_categories": [
"setupComponent"
],
Expand All @@ -8,17 +8,17 @@
"conductorMaterial": {
"_instruction": "Add the conductor material of this electrode.",
"_linkedTypes": [
"https://openminds.ebrains.eu/chemicals/ChemicalMixture",
"https://openminds.ebrains.eu/chemicals/ChemicalSubstance",
"https://openminds.ebrains.eu/controlledTerms/MolecularEntity"
"chemicals:ChemicalMixture",
"chemicals:ChemicalSubstance",
"controlledTerms:MolecularEntity"
]
},
"insulatorMaterial": {
"_instruction": "Add the insulator material of this electrode.",
"_linkedTypes": [
"https://openminds.ebrains.eu/chemicals/ChemicalMixture",
"https://openminds.ebrains.eu/chemicals/ChemicalSubstance",
"https://openminds.ebrains.eu/controlledTerms/MolecularEntity"
"chemicals:ChemicalMixture",
"chemicals:ChemicalSubstance",
"controlledTerms:MolecularEntity"
]
},
"internalIdentifier": {
Expand All @@ -28,8 +28,8 @@
"intrinsicResistance": {
"_instruction": "Enter the intrinsic resistance of this electrode.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue",
"https://openminds.ebrains.eu/core/QuantitativeValueRange"
"core:QuantitativeValue",
"core:QuantitativeValueRange"
]
}
}
Expand Down
18 changes: 9 additions & 9 deletions schemas/device/electrodeArray.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/ephys/ElectrodeArray",
"_type": "ephys:ElectrodeArray",
"_extends": "/core/schemas/products/device.schema.tpl.json",
"_categories": [
"setupComponent"
Expand All @@ -12,9 +12,9 @@
"conductorMaterial": {
"_instruction": "Add the conductor material of this electrode array.",
"_linkedTypes": [
"https://openminds.ebrains.eu/chemicals/ChemicalMixture",
"https://openminds.ebrains.eu/chemicals/ChemicalSubstance",
"https://openminds.ebrains.eu/controlledTerms/MolecularEntity"
"chemicals:ChemicalMixture",
"chemicals:ChemicalSubstance",
"controlledTerms:MolecularEntity"
]
},
"electrodeIdentifier": {
Expand All @@ -29,9 +29,9 @@
"insulatorMaterial": {
"_instruction": "Add the insulator material of this electrode array.",
"_linkedTypes": [
"https://openminds.ebrains.eu/chemicals/ChemicalMixture",
"https://openminds.ebrains.eu/chemicals/ChemicalSubstance",
"https://openminds.ebrains.eu/controlledTerms/MolecularEntity"
"chemicals:ChemicalMixture",
"chemicals:ChemicalSubstance",
"controlledTerms:MolecularEntity"
]
},
"internalIdentifier": {
Expand All @@ -41,8 +41,8 @@
"intrinsicResistance": {
"_instruction": "Enter the intrinsic resistance of this electrode array.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue",
"https://openminds.ebrains.eu/core/QuantitativeValueRange"
"core:QuantitativeValue",
"core:QuantitativeValueRange"
]
},
"numberOfElectrodes": {
Expand Down
8 changes: 4 additions & 4 deletions schemas/device/electrodeArrayUsage.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/ephys/ElectrodeArrayUsage",
"_type": "ephys:ElectrodeArrayUsage",
"_extends": "/core/schemas/research/deviceUsage.schema.tpl.json",
"properties": {
"anatomicalLocationOfArray": {
Expand All @@ -26,14 +26,14 @@
"uniqueItems": true,
"_instruction": "Enter the contact resistance for each electrode of this array during its use, in the same order that the electrode identifiers for this electrode array have been specified.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue",
"https://openminds.ebrains.eu/core/QuantitativeValueRange"
"core:QuantitativeValue",
"core:QuantitativeValueRange"
]
},
"device": {
"_instruction": "Add the electrode array used.",
"_linkedTypes": [
"https://openminds.ebrains.eu/ephys/ElectrodeArray"
"ephys:ElectrodeArray"
]
},
"spatialLocationOfElectrodes": {
Expand Down
8 changes: 4 additions & 4 deletions schemas/device/electrodeUsage.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/ephys/ElectrodeUsage",
"_type": "ephys:ElectrodeUsage",
"_extends": "/core/schemas/research/deviceUsage.schema.tpl.json",
"properties": {
"anatomicalLocation": {
Expand All @@ -11,14 +11,14 @@
"contactResistance": {
"_instruction": "Enter the contact resistance of this electrode during its use.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue",
"https://openminds.ebrains.eu/core/QuantitativeValueRange"
"core:QuantitativeValue",
"core:QuantitativeValueRange"
]
},
"device": {
"_instruction": "Add the electrode used.",
"_linkedTypes": [
"https://openminds.ebrains.eu/ephys/Electrode"
"ephys:Electrode"
]
},
"spatialLocation": {
Expand Down
12 changes: 6 additions & 6 deletions schemas/device/pipette.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"_type": "https://openminds.ebrains.eu/ephys/Pipette",
"_type": "ephys:Pipette",
"_extends": "/core/schemas/products/device.schema.tpl.json",
"properties": {
"externalDiameter": {
"_instruction": "Enter the external diameter of the pipette.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue"
"core:QuantitativeValue"
]
},
"internalDiameter": {
"_instruction": "Enter the internal diameter of the pipette.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue"
"core:QuantitativeValue"
]
},
"internalIdentifier": {
Expand All @@ -21,9 +21,9 @@
"material": {
"_instruction": "Add the material that the pipette is made of.",
"_linkedTypes": [
"https://openminds.ebrains.eu/chemicals/ChemicalMixture",
"https://openminds.ebrains.eu/chemicals/ChemicalSubstance",
"https://openminds.ebrains.eu/controlledTerms/MolecularEntity"
"chemicals:ChemicalMixture",
"chemicals:ChemicalSubstance",
"controlledTerms:MolecularEntity"
]
}
}
Expand Down
34 changes: 17 additions & 17 deletions schemas/device/pipetteUsage.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/ephys/PipetteUsage",
"_type": "ephys:PipetteUsage",
"_extends": "/core/schemas/research/deviceUsage.schema.tpl.json",
"required": [
"pipetteSolution"
Expand All @@ -16,76 +16,76 @@
"type": "array",
"minItems": 1,
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/Measurement"
"core:Measurement"
]
},
"compensationCurrent": {
"_instruction": "Enter the compensation current for the series resistance of the pipette measured during its use.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/Measurement"
"core:Measurement"
]
},
"device": {
"_instruction": "Add the pipette used.",
"_linkedTypes": [
"https://openminds.ebrains.eu/ephys/Pipette"
"ephys:Pipette"
]
},
"endMembranePotential": {
"_instruction": "Enter the membrane potential of e.g., a patched cell at the end of a recording measured during the use of this pipette.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/Measurement"
"core:Measurement"
]
},
"holdingPotential": {
"_instruction": "Enter the holding membrane potential of e.g., a patched cell measured during the use of this pipette.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/Measurement"
"core:Measurement"
]
},
"inputResistance": {
"_instruction": "Enter the input resistance of e.g., a patched cell measured during the use of this pipette.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/Measurement"
"core:Measurement"
]
},
"labelingCompound": {
"_instruction": "Add the used compound for labelling e.g., a patched cell during the use of this pipette. ",
"_linkedTypes": [
"https://openminds.ebrains.eu/chemicals/ChemicalMixture",
"https://openminds.ebrains.eu/chemicals/ChemicalSubstance",
"https://openminds.ebrains.eu/controlledTerms/MolecularEntity"
"chemicals:ChemicalMixture",
"chemicals:ChemicalSubstance",
"controlledTerms:MolecularEntity"
]
},
"liquidJunctionPotential": {
"_instruction": "Enter the liquid junction potential of e.g., a patched cell measured during the use of this pipette.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/Measurement"
"core:Measurement"
]
},
"pipetteResistance": {
"_instruction": "Enter the resistance of the pipette during its use.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue",
"https://openminds.ebrains.eu/core/QuantitativeValueRange"
"core:QuantitativeValue",
"core:QuantitativeValueRange"
]
},
"pipetteSolution": {
"_instruction": "Enter the solution with which the pipette was filled during its use.",
"_linkedTypes": [
"https://openminds.ebrains.eu/chemicals/ChemicalMixture"
"chemicals:ChemicalMixture"
]
},
"sealResistance": {
"_instruction": "Enter the seal resistance of e.g., a patched cell measured during the use of this pipette.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/Measurement"
"core:Measurement"
]
},
"seriesResistance": {
"_instruction": "Enter the series resistance of the pipette measured during its use.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/Measurement"
"core:Measurement"
]
},
"spatialLocation": {
Expand All @@ -97,7 +97,7 @@
"startMembranePotential": {
"_instruction": "Enter the membrane potential of e.g., a patched cell at the beginning of a recording measured during the use of this pipette.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/Measurement"
"core:Measurement"
]
}
}
Expand Down
4 changes: 2 additions & 2 deletions schemas/entity/channel.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/ephys/Channel",
"_type": "ephys:Channel",
"required": [
"internalIdentifier",
"unit"
Expand All @@ -12,7 +12,7 @@
"unit": {
"_instruction": "Add the unit of measurement for this channel.",
"_linkedTypes": [
"https://openminds.ebrains.eu/controlledTerms/UnitOfMeasurement"
"controlledTerms:UnitOfMeasurement"
]
}
}
Expand Down
Loading

0 comments on commit 3a04392

Please sign in to comment.