Files
pmsco-public/pmsco/schema/reports.schema.json

61 lines
1.4 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "file:reports.schema.json",
"title": "PMSCO Reports",
"description": "PMSCO Reports",
"type": "array",
"items": {
"type": "object",
"properties": {
"__class__": {
"type": "string",
"enum": [
"ConvergencePlot",
"GeneticPlot",
"Rfactor1DPlot",
"Rfactor2DPlot",
"SwarmPlot"
]
},
"enabled": {
"type": "boolean",
"default": true,
"title": "enable the report",
"description": "disabled reports will not execute at run time"
},
"filename_format": {
"type": "string",
"examples": [
"${base}.convergence",
"${base}-${gen}.geneticplot",
"${base}-${param0}-${param1}-${gen}.swarmplot"
]
},
"titlename_format": {
"type": "string",
"examples": [
"${job_name}",
"${job_name} gen ${gen}",
"${job_name} ${param0}-${param1} gen ${gen}"
]
},
"params": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 2,
"maxItems": 2,
"uniqueItems": true
}
}
},
"required": [
"__class__"
]
},
"minItems": 1
}