Skip to content

Commit

Permalink
Merge pull request #53 from Raphael-Gazzotti/v2
Browse files Browse the repository at this point in the history
V2: Removal of namespace in schema files.
  • Loading branch information
apdavison authored Oct 7, 2024
2 parents ada215e + 25a10c6 commit ee87279
Show file tree
Hide file tree
Showing 19 changed files with 117 additions and 117 deletions.
32 changes: 16 additions & 16 deletions schemas/computation.schema.tpl.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,36 +8,36 @@
"environment": {
"_instruction": "Add the computational environment in which this computation was executed.",
"_linkedTypes": [
"https://openminds.ebrains.eu/computation/Environment",
"https://openminds.ebrains.eu/core/WebServiceVersion"
"computation:Environment",
"core:WebServiceVersion"
]
},
"input": {
"_linkedTypes": [
"https://openminds.ebrains.eu/computation/LocalFile",
"https://openminds.ebrains.eu/core/File",
"https://openminds.ebrains.eu/core/FileBundle",
"https://openminds.ebrains.eu/core/SoftwareVersion"
"computation:LocalFile",
"core:File",
"core:FileBundle",
"core:SoftwareVersion"
]
},
"launchConfiguration": {
"_instruction": "Add the launch configuration of this computation (e.g., command-line arguments).",
"_linkedTypes": [
"https://openminds.ebrains.eu/computation/LaunchConfiguration"
"computation:LaunchConfiguration"
]
},
"output": {
"_linkedTypes": [
"https://openminds.ebrains.eu/computation/LocalFile",
"https://openminds.ebrains.eu/core/File",
"https://openminds.ebrains.eu/core/FileArchive",
"https://openminds.ebrains.eu/core/FileBundle"
"computation:LocalFile",
"core:File",
"core:FileArchive",
"core:FileBundle"
]
},
"recipe": {
"_instruction": "Add the workflow recipe version used for this computation.",
"_linkedTypes": [
"https://openminds.ebrains.eu/computation/WorkflowRecipeVersion"
"computation:WorkflowRecipeVersion"
]
},
"resourceUsage": {
Expand All @@ -46,8 +46,8 @@
"uniqueItems": true,
"_instruction": "Enter all resources used during this computation (e.g., core-hours or energy).",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue",
"https://openminds.ebrains.eu/core/QuantitativeValueRange"
"core:QuantitativeValue",
"core:QuantitativeValueRange"
]
},
"startedBy": {
Expand All @@ -59,7 +59,7 @@
"status": {
"_instruction": "Enter the current status of this computation.",
"_linkedTypes": [
"https://openminds.ebrains.eu/controlledTerms/ActionStatusType"
"controlledTerms:ActionStatusType"
]
},
"tag": {
Expand All @@ -77,7 +77,7 @@
"uniqueItems": true,
"_instruction": "Add all analysis techniques that were used in this computation.",
"_linkedTypes": [
"https://openminds.ebrains.eu/controlledTerms/AnalysisTechnique"
"controlledTerms:AnalysisTechnique"
]
},
"wasInformedBy": {
Expand Down
14 changes: 7 additions & 7 deletions schemas/dataAnalysis.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"_type": "https://openminds.ebrains.eu/computation/DataAnalysis",
"_type": "computation:DataAnalysis",
"_extends": "computation.schema.tpl.json",
"_categories": [
"computationalActivity"
],
"properties": {
"input": {
"_linkedTypes": [
"https://openminds.ebrains.eu/computation/LocalFile",
"https://openminds.ebrains.eu/core/File",
"https://openminds.ebrains.eu/core/FileBundle",
"https://openminds.ebrains.eu/core/SoftwareVersion",
"https://openminds.ebrains.eu/sands/BrainAtlasVersion",
"https://openminds.ebrains.eu/sands/CommonCoordinateSpaceVersion"
"computation:LocalFile",
"core:File",
"core:FileBundle",
"core:SoftwareVersion",
"sands:BrainAtlasVersion",
"sands:CommonCoordinateSpaceVersion"
]
}
}
Expand Down
22 changes: 11 additions & 11 deletions schemas/dataCopy.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
{
"_type": "https://openminds.ebrains.eu/computation/DataCopy",
"_type": "computation:DataCopy",
"_extends": "computation.schema.tpl.json",
"_categories": [
"computationalActivity"
],
"properties": {
"input": {
"_linkedTypes": [
"https://openminds.ebrains.eu/computation/LocalFile",
"https://openminds.ebrains.eu/computation/ValidationTestVersion",
"https://openminds.ebrains.eu/core/DatasetVersion",
"https://openminds.ebrains.eu/core/File",
"https://openminds.ebrains.eu/core/FileBundle",
"https://openminds.ebrains.eu/core/ModelVersion",
"https://openminds.ebrains.eu/core/SoftwareVersion"
"computation:LocalFile",
"computation:ValidationTestVersion",
"core:DatasetVersion",
"core:File",
"core:FileBundle",
"core:ModelVersion",
"core:SoftwareVersion"
]
},
"output": {
"_linkedTypes": [
"https://openminds.ebrains.eu/computation/LocalFile",
"https://openminds.ebrains.eu/core/File",
"https://openminds.ebrains.eu/core/FileBundle"
"computation:LocalFile",
"core:File",
"core:FileBundle"
]
}
}
Expand Down
8 changes: 4 additions & 4 deletions schemas/environment.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/computation/Environment",
"_type": "computation:Environment",
"required": [
"hardware",
"name"
Expand All @@ -8,7 +8,7 @@
"configuration": {
"_instruction": "Add the configuration of this computational environment.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/Configuration"
"core:Configuration"
]
},
"description": {
Expand All @@ -18,7 +18,7 @@
"hardware": {
"_instruction": "Add the hardware system on which this computational environment runs.",
"_linkedTypes": [
"https://openminds.ebrains.eu/computation/HardwareSystem"
"computation:HardwareSystem"
]
},
"name": {
Expand All @@ -31,7 +31,7 @@
"uniqueItems": true,
"_instruction": "Add all software versions available in this computational environment.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/SoftwareVersion"
"core:SoftwareVersion"
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion schemas/genericComputation.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/computation/GenericComputation",
"_type": "computation:GenericComputation",
"_extends": "computation.schema.tpl.json",
"_categories": [
"computationalActivity"
Expand Down
2 changes: 1 addition & 1 deletion schemas/hardwareSystem.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/computation/HardwareSystem",
"_type": "computation:HardwareSystem",
"required": [
"name"
],
Expand Down
4 changes: 2 additions & 2 deletions schemas/launchConfiguration.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/computation/LaunchConfiguration",
"_type": "computation:LaunchConfiguration",
"required": [
"executable"
],
Expand All @@ -19,7 +19,7 @@
"environmentVariable": {
"_instruction": "Add any environment variables defined by this launch configuration.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/PropertyValueList"
"core:PropertyValueList"
]
},
"executable": {
Expand Down
14 changes: 7 additions & 7 deletions schemas/localFile.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/computation/LocalFile",
"_type": "computation:LocalFile",
"_categories": [
"fileOrigin"
],
Expand All @@ -15,7 +15,7 @@
"copyOf": {
"_instruction": "Add the file of which this is a copy.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/File"
"core:File"
]
},
"dataType": {
Expand All @@ -24,19 +24,19 @@
"uniqueItems": true,
"_instruction": "Add all data types that are specifically represented in this local file instance.",
"_linkedTypes": [
"https://openminds.ebrains.eu/controlledTerms/DataType"
"controlledTerms:DataType"
]
},
"format": {
"_instruction": "Add the content type of this local file instance.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/ContentType"
"core:ContentType"
]
},
"hash": {
"_instruction": "Add the hash that was generated for this local file instance.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/Hash"
"core:Hash"
]
},
"name": {
Expand All @@ -50,13 +50,13 @@
"specialUsageRole": {
"_instruction": "Add the special usage role of this local file instance.",
"_linkedTypes": [
"https://openminds.ebrains.eu/controlledTerms/FileUsageRole"
"controlledTerms:FileUsageRole"
]
},
"storageSize": {
"_instruction": "Enter the storage size of this local file instance.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue"
"core:QuantitativeValue"
]
}
}
Expand Down
20 changes: 10 additions & 10 deletions schemas/modelValidation.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"_type": "https://openminds.ebrains.eu/computation/ModelValidation",
"_type": "computation:ModelValidation",
"_extends": "computation.schema.tpl.json",
"_categories": [
"computationalActivity"
],
"properties": {
"input": {
"_linkedTypes": [
"https://openminds.ebrains.eu/computation/LocalFile",
"https://openminds.ebrains.eu/computation/ValidationTestVersion",
"https://openminds.ebrains.eu/core/File",
"https://openminds.ebrains.eu/core/FileBundle",
"https://openminds.ebrains.eu/core/ModelVersion",
"https://openminds.ebrains.eu/core/SoftwareVersion"
"computation:LocalFile",
"computation:ValidationTestVersion",
"core:File",
"core:FileBundle",
"core:ModelVersion",
"core:SoftwareVersion"
]
},
"output": {
"_linkedTypes": [
"https://openminds.ebrains.eu/computation/LocalFile",
"https://openminds.ebrains.eu/core/File",
"https://openminds.ebrains.eu/core/FileBundle"
"computation:LocalFile",
"core:File",
"core:FileBundle"
]
},
"score": {
Expand Down
20 changes: 10 additions & 10 deletions schemas/optimization.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"_type": "https://openminds.ebrains.eu/computation/Optimization",
"_type": "computation:Optimization",
"_extends": "computation.schema.tpl.json",
"_categories": [
"computationalActivity"
],
"properties": {
"input": {
"_linkedTypes": [
"https://openminds.ebrains.eu/computation/LocalFile",
"https://openminds.ebrains.eu/core/File",
"https://openminds.ebrains.eu/core/FileBundle",
"https://openminds.ebrains.eu/core/ModelVersion",
"https://openminds.ebrains.eu/core/SoftwareVersion"
"computation:LocalFile",
"core:File",
"core:FileBundle",
"core:ModelVersion",
"core:SoftwareVersion"
]
},
"output": {
"_linkedTypes": [
"https://openminds.ebrains.eu/computation/LocalFile",
"https://openminds.ebrains.eu/core/File",
"https://openminds.ebrains.eu/core/FileBundle",
"https://openminds.ebrains.eu/core/ModelVersion"
"computation:LocalFile",
"core:File",
"core:FileBundle",
"core:ModelVersion"
]
}
}
Expand Down
12 changes: 6 additions & 6 deletions schemas/simulation.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"_type": "https://openminds.ebrains.eu/computation/Simulation",
"_type": "computation:Simulation",
"_extends": "computation.schema.tpl.json",
"_categories": [
"computationalActivity"
],
"properties": {
"input": {
"_linkedTypes": [
"https://openminds.ebrains.eu/computation/LocalFile",
"https://openminds.ebrains.eu/core/File",
"https://openminds.ebrains.eu/core/FileBundle",
"https://openminds.ebrains.eu/core/ModelVersion",
"https://openminds.ebrains.eu/core/SoftwareVersion"
"computation:LocalFile",
"core:File",
"core:FileBundle",
"core:ModelVersion",
"core:SoftwareVersion"
]
}
}
Expand Down
6 changes: 3 additions & 3 deletions schemas/softwareAgent.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/computation/SoftwareAgent",
"_type": "computation:SoftwareAgent",
"_categories": [
"agent"
],
Expand All @@ -11,7 +11,7 @@
"environment": {
"_instruction": "Add the computational environment in which this software agent was running.",
"_linkedTypes": [
"https://openminds.ebrains.eu/computation/Environment"
"computation:Environment"
]
},
"name": {
Expand All @@ -21,7 +21,7 @@
"software": {
"_instruction": "Add the software version that is being run as this software agent.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/SoftwareVersion"
"core:SoftwareVersion"
]
}
}
Expand Down
Loading

0 comments on commit ee87279

Please sign in to comment.