From 219082caa1672397302d3de1f0039fcb2ced27ea Mon Sep 17 00:00:00 2001 From: Nicola Cerutti <94574085+ncerutti@users.noreply.github.com> Date: Mon, 11 Dec 2023 15:28:35 +0000 Subject: [PATCH] Added fields to analysis settings schema (#80) * added vulnerability_set field * added vulnerability_adjustments field * correlation_settings to analysis_settings * removed field until needed * removed field until needed --------- Co-authored-by: sambles --- ods_tools/data/analysis_settings_schema.json | 35 +++++++++++++++++--- 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/ods_tools/data/analysis_settings_schema.json b/ods_tools/data/analysis_settings_schema.json index de414b61..ac0f4cff 100644 --- a/ods_tools/data/analysis_settings_schema.json +++ b/ods_tools/data/analysis_settings_schema.json @@ -379,10 +379,37 @@ }, "footprint_set": { "type": "string", - "title": "Footprint set file ID.", - "description": "Identifier for the footprint files that are used for output calculations.", - "default": 1 - } + "title": "Footprint set file ID.", + "description": "Identifier for the footprint files that are used for output calculations.", + "default": 1 + }, + "vulnerability_set": { + "type": "string", + "title": "Vulnerability set file ID.", + "description": "Identifier for the vulnerability files that are used for output calculations.", + "default": 1 + }, + "correlation_settings": { + "type": "array", + "title": "Correlation Settings", + "description": "The Correlation Settings", + "items": { + "type": "object", + "properties": { + "peril_correlation_group": { + "type": "integer", + "title": "Peril Correlation Group", + "description": "The Peril Correlation Group", + "minLength": 1 + }, + "correlation_value": { + "type": "string", + "title": "Correlation Value", + "description": "The Correlation Value" + } + } + } + } } }, "gul_output": {