Skip to content

Commit

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

* Removal of submodule name.

* 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 d799196 commit fab4986
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
10 changes: 5 additions & 5 deletions schemas/amountOfChemical.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"_type": "https://openminds.ebrains.eu/chemicals/AmountOfChemical",
"_type": "chemicals:AmountOfChemical",
"required": [
"chemicalProduct"
],
"properties": {
"amount": {
"_instruction": "When used in a mixture, enter the amount of the substance within the mixture (e.g., as concentration or as ratio). When used in its pure state, enter the used amount of the substance.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue"
"core:QuantitativeValue"
]
},
"chemicalProduct": {
"_instruction": "Add the chemical product that was used.",
"_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
8 changes: 4 additions & 4 deletions schemas/chemicalMixture.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/chemicals/ChemicalMixture",
"_type": "chemicals:ChemicalMixture",
"required": [
"hasPart",
"type"
Expand All @@ -15,7 +15,7 @@
"uniqueItems": true,
"_instruction": "Enter all components, including other mixtures, that are part of this chemical mixture.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/chemicals/AmountOfChemical"
"chemicals:AmountOfChemical"
]
},
"name": {
Expand All @@ -25,13 +25,13 @@
"productSource": {
"_instruction": "Add the source of this chemical mixture.",
"_linkedTypes": [
"https://openminds.ebrains.eu/chemicals/ProductSource"
"chemicals:ProductSource"
]
},
"type": {
"_instruction": "Add the type of this mixture.",
"_linkedTypes": [
"https://openminds.ebrains.eu/controlledTerms/ChemicalMixtureType"
"controlledTerms:ChemicalMixtureType"
]
}
}
Expand Down
10 changes: 5 additions & 5 deletions schemas/chemicalSubstance.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/chemicals/ChemicalSubstance",
"_type": "chemicals:ChemicalSubstance",
"required": [
"molecularEntity"
],
Expand All @@ -15,20 +15,20 @@
"molecularEntity": {
"_instruction": "Add the molecular entity that makes up this chemical substance.",
"_linkedTypes": [
"https://openminds.ebrains.eu/controlledTerms/MolecularEntity"
"controlledTerms:MolecularEntity"
]
},
"productSource": {
"_instruction": "Add the source of this chemical substance.",
"_linkedTypes": [
"https://openminds.ebrains.eu/chemicals/ProductSource"
"chemicals:ProductSource"
]
},
"purity": {
"_instruction": "Enter the purity of this chemical substance.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue",
"https://openminds.ebrains.eu/core/QuantitativeValueRange"
"core:QuantitativeValue",
"core:QuantitativeValueRange"
]
}
}
Expand Down
8 changes: 4 additions & 4 deletions schemas/productSource.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/chemicals/ProductSource",
"_type": "chemicals:ProductSource",
"required": [
"productName",
"provider"
Expand All @@ -8,7 +8,7 @@
"digitalIdentifier": {
"_instruction": "Add the globally unique and persistent digital identifier of this product.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/RRID"
"core:RRID"
]
},
"identifier": {
Expand All @@ -28,8 +28,8 @@
"purity": {
"_instruction": "Enter the purity of the product as stated by the 'provider'.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue",
"https://openminds.ebrains.eu/core/QuantitativeValueRange"
"core:QuantitativeValue",
"core:QuantitativeValueRange"
]
}
}
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 fab4986

Please sign in to comment.