Skip to content

Commit b14de5b

Browse files
committed
Add computaion settings to analyses settings schema
1 parent 0c2f7ec commit b14de5b

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

ods_tools/data/analysis_settings_schema.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,24 @@
353353
"title": "User set quantile points",
354354
"description": "List of quantiles as float values '[0.0, 0.2, 0.4 .. etc]'"
355355
},
356+
"computation_settings": {
357+
"type": "object",
358+
"title": "Computation setting options",
359+
"description": "List of oasislmf package settings, options are dependent on the package version. To see these look at releases 2.4.0 and up (https://github.com/OasisLMF/OasisLMF/releases)",
360+
"patternProperties": {
361+
"^.*$": {
362+
"anyOf": [
363+
{ "type": "integer" },
364+
{ "type": "string" },
365+
{ "type": "boolean" },
366+
{ "type": "object" },
367+
{ "type": "number" },
368+
{ "type": "array" }
369+
]
370+
}
371+
},
372+
"additionalProperties": true
373+
},
356374
"model_settings": {
357375
"type": "object",
358376
"title": "Model settings",

ods_tools/data/model_settings_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1695,7 +1695,7 @@
16951695
"computation_settings": {
16961696
"type":"object",
16971697
"title":"Computation setting options",
1698-
"description":"List of parameters that will be passed as arguments to the MDK",
1698+
"description":"List of parameters that will be passed as arguments to the MDK, options are dependent on the package version. To see these look at releases 2.4.0 and up (https://github.com/OasisLMF/OasisLMF/releases)",
16991699
"unevaluatedProperties":false,
17001700
"allOf": [{"$ref": "#/definition/extensible_parameters"}]
17011701
}

0 commit comments

Comments
 (0)