From 76c3f42717c4946786725a35291de788483a5769 Mon Sep 17 00:00:00 2001 From: afwillia Date: Tue, 7 Nov 2023 15:08:35 -0800 Subject: [PATCH] Update dca demo config to nested structure --- dcc/demo/dca_demo_dca_config.json | 51 +++++++++++++++++++------------ 1 file changed, 32 insertions(+), 19 deletions(-) diff --git a/dcc/demo/dca_demo_dca_config.json b/dcc/demo/dca_demo_dca_config.json index 53fddbd..0c523cc 100644 --- a/dcc/demo/dca_demo_dca_config.json +++ b/dcc/demo/dca_demo_dca_config.json @@ -1,21 +1,34 @@ { - "project_name":"DCA Demo", - "synapse_asset_view":"syn33715412", - "data_model_url":"https://raw.githubusercontent.com/Sage-Bionetworks/data-models/main/example.model.jsonld", - "data_model_info": "", - "template_menu_config_file":"dcc/demo/dca-template-config.json", - "logo_location":"dcc/demo/Logo_Sage_Logomark.png", - "logo_link":"https://synapse.org", - "dcc_help_link": "", - "manifest_output_format":"google_sheet", - "manifest_use_annotations":false, - "validate_restrict_rules":false, - "submit_use_schema_labels":true, - "submit_table_manipulation":"replace", - "submit_manifest_record_type":"table_and_file", - "submit_hide_blanks":false, - "use_compliance_dashboard":false, - "primary_col":"#2a668d", - "secondary_col":"#184e71", - "sidebar_col":"#191919" + "dcc": { + "project_name":"DCA Demo", + "synapse_asset_view":"syn33715412", + "data_model_url":"https://raw.githubusercontent.com/Sage-Bionetworks/data-models/main/example.model.jsonld", + "data_model_info": "", + "template_menu_config_file":"dcc/demo/dca-template-config.json", + "logo_location":"dcc/demo/Logo_Sage_Logomark.png", + "logo_link":"https://synapse.org", + "dcc_help_link": "", + "portal_help_link": "" + }, + "dca": { + "use_compliance_dashboard":false, + "primary_col":"#2a668d", + "secondary_col":"#184e71", + "sidebar_col":"#191919" + }, + "schematic": { + "manifest_generate": { + "output_format":"google_sheet", + "use_annotations":false + }, + "model_validate": { + "restrict_rules":false + }, + "model_submit": { + "use_schema_labels":true, + "table_manipulation":"replace", + "manifest_record_type":"table_and_file", + "hide_blanks":false + } + } }