Subworkflows: Structured Representation¶
The JSON structured representation of subworkflows, together with an example, is contained below.
{
"$id": "workflow/subworkflow",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Subworkflow",
"type": "object",
"allOf": [
{
"$ref": "base_flow.json"
}
],
"properties": {
"units": {
"description": "Contains the Units of the subworkflow",
"type": "array",
"items": {
"$ref": "./subworkflow/unit.json"
}
},
"model": {
"description": "Model used inside the subworkflow",
"$ref": "../model.json"
},
"application": {
"description": "information about the simulation engine/application.",
"$ref": "../software/application.json"
},
"isDraft": {
"description": "Defines whether to store the results/properties extracted in this unit to properties collection",
"type": "boolean",
"default": false
}
},
"required": [
"model",
"application"
]
}
{
"_id": "LCthJ6E2QabYCZqf4",
"application": {
"...": "include(../software/application.json)"
},
"model": {
"...": "include(../model.json)"
},
"name": "Band Structure",
"properties": [
"band_structure"
],
"units": [
{
"...": "include(unit/execution.json)"
}
]
}