{
    {% if console.__experimental__platform_idp is defined %}
    "__experimental__platformIdP" : {
        "enabled": {{ console.__experimental__platform_idp.enabled }},
        "homeRealmId": "{{ console.__experimental__platform_idp.homeRealmId }}"
    },
    {% endif %}
    "accountApp": {
        {% if console.applications.account_app.configs is defined %}
        {% for key, value in console.applications.account_app.configs.items() %}
            {% if value is string %}
                "{{ key }}": "{{ value }}"{{ "," if not loop.last }}
            {% elif value is iterable %}
                "{{ key }}": [
                    {% for item in value %}
                        "{{ item }}"{{ "," if not loop.last }}
                    {% endfor %}
                ]{{ "," if not loop.last }}
            {% else %}
                "{{ key }}": {{ value }}{{ "," if not loop.last }}
            {% endif %}
        {% endfor %}
        {% endif %}
    },
    "adminApp": {
        {% if console.applications.admin_app.configs is defined %}
        {% for key, value in console.applications.admin_app.configs.items() %}
            "{{ key }}": "{{ value }}"{{ "," if not loop.last }}
        {% endfor %}
        {% endif %}
    },
    "analytics": {
        {% if console.analytics.metrics is defined %}
        "metrics": {
        {% for param, value in console.analytics.metrics.items() %}
            "{{ param }}": {{ value }}{{ "," if not loop.last }}
        {% endfor %}
        }
        {% endif %}
    },
    "appBaseName": "{{ console.app_base_name }}",
    {% if console.app_base_name_for_history_api is defined %}
        "appBaseNameForHistoryAPI": "{{ console.app_base_name_for_history_api }}",
    {% endif %}
    {% if console.allow_multiple_app_protocols is defined %}
        "allowMultipleAppProtocols": {{ console.allow_multiple_app_protocols }},
    {% endif %}
    "clientID": "{{ console.client_id }}",
    "debug": {{ console.debug.enable }},
    "developerApp": {
        {% if console.applications.developer_app.configs is defined %}
        {% for key, value in console.applications.developer_app.configs.items() %}
            "{{ key }}": "{{ value }}"{{ "," if not loop.last }}
        {% endfor %}
        {% endif %}
    },
    {% if console.super_tenant_proxy_name is defined %}
        "superTenantProxy" : "{{ console.super_tenant_proxy_name }}",
    {% endif %}
    {% if console.doc_site_path is defined %}
    "docSiteUrl": "{{ console.doc_site_path }}",
    {% endif %}
    {% if console.idp_configs is defined %}
    "idpConfigs": {
        {% if console.idp_configs.items() is defined %}
        {% for key, value in console.idp_configs.items() %}
        {% if value is string %}
            "{{ key }}": "{{ value }}"{{ "," if not loop.last }}
        {% elif value is iterable %}
            "{{ key }}": [
                {% for item in value %}
                    "{{ item }}"{{ "," if not loop.last }}
                {% endfor %}
            ]{{ "," if not loop.last }}
        {% else %}
            "{{ key }}": {{ value }}{{ "," if not loop.last }}
        {% endif %}
        {% endfor %}
        {% endif %}
    },
    {% endif %}
    "i18nResourcePath": "{{ console.i18n_resource_path }}",
    "loginCallbackPath": "{{ console.login_callback_path }}",
    "logoutCallbackPath": "{{ console.logout_callback_path }}",
    {% if console.server_origin is defined %}
    "serverOrigin": "{{ console.server_origin }}",
    {% endif %}
    "routePaths": {
        {% if console.route_paths is defined %}
        {% for path, value in console.route_paths.items() %}
            "{{ path }}": "{{ value }}"{{ "," if not loop.last }}
        {% endfor %}
        {% endif %}
    },
    "extensions": {
        {% if webappscommon.layout_store_url is defined %}
            "layoutStoreURL": "{{ webappscommon.layout_store_url }}",
        {% endif %}
        {% if console.extensions is defined %}
        {% for key, value in console.extensions.items() %}
        {% if value is number or value is boolean %}
            "{{ key }}": {{ value }}{{ "," if not loop.last }}
        {% elif value is mapping %}
            "{{ key }}": {
                {% for level_1_key, level_1_value in value.items() %}
                    {% if level_1_value is mapping %}
                        "{{ level_1_key }}": {
                            {% for level_2_key, level_2_value in level_1_value.items() %}
                                {% if level_2_value is iterable %}
                                    "{{ level_2_key }}": [
                                        {% for level_2_value_item in level_2_value %}
                                            "{{ level_2_value_item }}"{{ "," if not loop.last }}
                                        {% endfor %}
                                    ]{{ "," if not loop.last }}
                                {% else %}
                                    "{{ level_2_key }}": "{{ level_2_value }}"{{ "," if not loop.last }}
                                {% endif %}
                            {% endfor %}
                        }{{ "," if not loop.last }}
                    {% else %}
                        "{{ level_1_key }}": "{{ level_1_value }}"{{ "," if not loop.last }}
                    {% endif %}
                {% endfor %}
            }{{ "," if not loop.last }}
        {% elif value is iterable %}
            "{{ key }}": [
                {% for item in value %}
                    {% if item is mapping %}
                        {
                            {% for array_obj_key, array_obj_value in item.items() %}
                                {% if array_obj_value is number %}
                                    "{{ array_obj_key }}": {{ array_obj_value }}{{ "," if not loop.last }}
                                {% elif array_obj_value is boolean %}
                                    "{{ array_obj_key }}": {{ array_obj_value }}{{ "," if not loop.last }}
                                {% else %}
                                    "{{ array_obj_key }}": "{{ array_obj_value }}"{{ "," if not loop.last }}
                                {% endif %}
                            {% endfor %}
                        }{{ "," if not loop.last }}
                    {% else %}
                        "{{ level_1_key }}": "{{ level_1_value }}"{{ "," if not loop.last }}
                    {% endif %}
                {% endfor %}
            ]{{ "," if not loop.last }}
        {% else %}
            "{{ key }}": "{{ value }}"{{ "," if not loop.last }}
        {% endif %}
        {% endfor %}
        {% endif %}
    },
    "session": {
        {% if console.session.params is defined %}
        {% for param, value in console.session.params.items() %}
            "{{ param }}": {{ value }}{{ "," if not loop.last }}
        {% endfor %}
        {% endif %}
    },
    {% if console.get_profile_info_from_id_token is defined %}
    "getProfileInfoFromIDToken": {{ console.get_profile_info_from_id_token }},
    {% endif %}
    {% if tenant_context is defined %}
    "tenantContext": {
        "enableTenantQualifiedUrls": {{ tenant_context.enable_tenant_qualified_urls | default(true) }},
        "requireSuperTenantInUrls": {{ tenant_context.enable_tenant_qualified_urls && tenant_context.require_super_tenant_in_urls | default(false) }},
        "requireSuperTenantInAppUrls": {{ tenant_context.require_super_tenant_in_app_urls | default(true) }}
    },
    {% endif %}
    "ui": {
        "announcements": [
            {% if console.ui.announcements is defined %}
            {% for announcement in console.ui.announcements %}
            {
            {% for key, value in announcement.items() %}
            {% if value is number %}
                "{{ key }}": {{ value }}{{ "," if not loop.last }}
            {% else %}
                "{{ key }}": "{{ value }}"{{ "," if not loop.last }}
            {% endif %}
            {% endfor %}
            }{{ "," if not loop.last }}
            {% endfor %}
            {% endif %}
        ],
        "appCopyright": "{{ console.ui.app_copyright }}",
        "appTitle": "{{ console.ui.app_title }}",
        "appName": "{{ console.ui.app_name }}",
        {% if console.ui.application_template_loading_strategy is defined %}
        "applicationTemplateLoadingStrategy": "{{ console.ui.application_template_loading_strategy }}",
        {% endif %}
        {% if console.ui.identity_provider_template_loading_strategy is defined %}
        "identityProviderTemplateLoadingStrategy": "{{ console.ui.identity_provider_template_loading_strategy }}",
        {% endif %}
        "appLogoPath": "{{ console.ui.app_logo_path }}",
        "appWhiteLogoPath": "{{ console.ui.app_white_logo_path }}",
        "emailTemplates": {
            "defaultLogoUrl": "{{ console.ui.email_templates.default_logo_url }}",
            "defaultWhiteLogoUrl": "{{ console.ui.email_templates.default_white_logo_url }}"
        },
        "appFaviconPath": "{{ console.ui.app_favicon_path }}",
        "googleOneTapEnabledTenants": [
            {% if console.ui.google_one_tap_enabled_tenants is defined %}
                {% for value in console.ui.google_one_tap_enabled_tenants %}
                    "{{ value }}"{{ "," if not loop.last }}
                {% endfor %}
            {% endif %}
        ],
        {% if console.ui.show_app_switch_button is defined %}
        "showAppSwitchButton": {{ console.ui.show_app_switch_button }},
        {% endif %}
        {% if identity_mgt.user_claim_update.enable_multiple_emails_and_mobile_numbers is defined %}
        "isMultipleEmailsAndMobileNumbersEnabled": {{ identity_mgt.user_claim_update.enable_multiple_emails_and_mobile_numbers }},
        {% endif %}
        "features": {
            {% if console.extensions.features is defined %}
            {% for name, feature in console.extensions.features.items() %}
            "{{ name }}": {
                "disabledFeatures": [
                    {% if feature.disabled_features is defined %}
                    {% for disabled_feature in feature.disabled_features %}
                    "{{ disabled_feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {{ feature.enabled }},
                "scopes": {
                    {% if feature.scopes is defined %}
                    {% for operation, scopes in feature.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endfor %}
            {% endif %}
            {% if console.login_and_registration is defined %}
            "loginAndRegistration": {
                "disabledFeatures": [
                    {% if console.login_and_registration.disabled_features is defined %}
                    {% for feature in console.login_and_registration.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.login_and_registration.enabled is defined %} {{ console.login_and_registration.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.login_and_registration.scopes is defined %}
                    {% for operation, scopes in console.login_and_registration.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.internal_notification_sending is defined %}
            "internalNotificationSending": {
                "disabledFeatures": [
                    {% if console.internal_notification_sending.disabled_features is defined %}
                    {% for feature in console.internal_notification_sending.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.internal_notification_sending.enabled is defined %} {{ console.internal_notification_sending.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.internal_notification_sending.scopes is defined %}
                    {% for operation, scopes in console.internal_notification_sending.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": [],
                        "feature": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.account_login is defined %}
            "accountLogin": {
                "disabledFeatures": [
                    {% if console.account_login.disabled_features is defined %}
                    {% for feature in console.account_login.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.account_login.enabled is defined %} {{ console.account_login.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.account_login.scopes is defined %}
                    {% for operation, scopes in console.account_login.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.account_security is defined %}
            "accountSecurity": {
                "disabledFeatures": [
                    {% if console.account_security.disabled_features is defined %}
                    {% for feature in console.account_security.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.account_security.enabled is defined %} {{ console.account_security.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.account_security.scopes is defined %}
                    {% for operation, scopes in console.account_security.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.account_recovery is defined %}
            "accountRecovery": {
                "disabledFeatures": [
                    {% if console.account_recovery.disabled_features is defined %}
                    {% for feature in console.account_recovery.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.account_recovery.enabled is defined %} {{ console.account_recovery.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.account_recovery.scopes is defined %}
                    {% for operation, scopes in console.account_recovery.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.administrators is defined %}
            "administrators": {
                "disabledFeatures": [
                    {% if console.administrators.disabled_features is defined %}
                    {% for feature in console.administrators.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.administrators.enabled is defined %} {{ console.administrators.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.administrators.scopes is defined %}
                    {% for operation, scopes in console.administrators.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.analytics.enabled is defined %}
            "analytics": {
                "disabledFeatures": [
                    {% if console.analytics.disabled_features is defined %}
                    {% for feature in console.analytics.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.analytics.enabled is defined %} {{ console.analytics.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.analytics.scopes is defined %}
                    {% for operation, scopes in console.analytics.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.api_resources is defined %}
            "apiResources": {
                "disabledFeatures": [
                    {% if console.api_resources.disabled_features is defined %}
                    {% for feature in console.api_resources.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.api_resources.enabled is defined %} {{ console.api_resources.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.api_resources.scopes is defined %}
                    {% for operation, scopes in console.api_resources.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.applications is defined %}
            "applications": {
                "disabledFeatures": [
                    {% if console.applications.disabled_features is defined %}
                    {% for feature in console.applications.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.applications.enabled is defined %} {{ console.applications.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.applications.scopes is defined %}
                    {% for operation, scopes in console.applications.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.application_roles is defined %}
            "applicationRoles": {
                "disabledFeatures": [
                    {% if console.application_roles.disabled_features is defined %}
                    {% for feature in console.application_roles.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.application_roles.enabled is defined %} {{ console.application_roles.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.application_roles.scopes is defined %}
                    {% for operation, scopes in console.application_roles.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.approvals is defined %}
            "approvals": {
                "disabledFeatures": [
                    {% if console.approvals.disabled_features is defined %}
                    {% for feature in console.approvals.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.approvals.enabled is defined %} {{ console.approvals.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.approvals.scopes is defined %}
                    {% for operation, scopes in console.approvals.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.attribute_dialects is defined %}
            "attributeDialects": {
                "disabledFeatures": [
                    {% if console.attribute_dialects.disabled_features is defined %}
                    {% for feature in console.attribute_dialects.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.attribute_dialects.enabled is defined %} {{ console.attribute_dialects.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.attribute_dialects.scopes is defined %}
                    {% for operation, scopes in console.attribute_dialects.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.branding is defined %}
            "branding": {
                "disabledFeatures": [
                    {% if console.branding.disabled_features is defined %}
                    {% for feature in console.branding.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.branding.enabled is defined %} {{ console.branding.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.branding.scopes is defined %}
                    {% for operation, scopes in console.branding.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.bulk_user_import is defined %}
            "bulkUserImport": {
                "disabledFeatures": [
                    {% if console.bulk_user_import.disabled_features is defined %}
                    {% for feature in console.bulk_user_import.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.bulk_user_import.enabled is defined %} {{ console.bulk_user_import.enabled }},
                {% else %} true,
                {% endif %}
                {% if console.bulk_user_import.user_limit is defined %}
                "userLimit": {{ console.bulk_user_import.user_limit }},
                {% endif %}
                {% if console.bulk_user_import.file_import_timeout is defined %}
                "fileImportTimeout": {{ console.bulk_user_import.file_import_timeout }},
                {% endif %}
                "scopes": {
                    {% if console.bulk_user_import.scopes is defined %}
                    {% for operation, scopes in console.bulk_user_import.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.certificates is defined %}
            "certificates": {
                "disabledFeatures": [
                    {% if console.certificates.disabled_features is defined %}
                    {% for feature in console.certificates.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.certificates.enabled is defined %} {{ console.certificates.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.certificates.scopes is defined %}
                    {% for operation, scopes in console.certificates.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.console_settings is defined %}
            "consoleSettings": {
                "disabledFeatures": [
                    {% if console.console_settings.disabled_features is defined %}
                    {% for feature in console.console_settings.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.console_settings.enabled is defined %} {{ console.console_settings.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.console_settings.scopes is defined %}
                    {% for operation, scopes in console.console_settings.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.notification_channels is defined %}
            "notificationChannels": {
                "disabledFeatures": [
                    {% if console.notification_channels.disabled_features is defined %}
                    {% for feature in console.notification_channels.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.notification_channels.enabled is defined %} {{ console.notification_channels.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.notification_channels.scopes is defined %}
                    {% for operation, scopes in console.notification_channels.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.email_providers is defined %}
            "emailProviders": {
                "disabledFeatures": [
                    {% if console.email_providers.disabled_features is defined %}
                    {% for feature in console.email_providers.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.email_providers.enabled is defined %} {{ console.email_providers.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.email_providers.scopes is defined %}
                    {% for operation, scopes in console.email_providers.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.sms_providers is defined %}
            "smsProviders": {
                "disabledFeatures": [
                    {% if console.sms_providers.disabled_features is defined %}
                    {% for feature in console.sms_providers.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.sms_providers.enabled is defined %} {{ console.sms_providers.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.sms_providers.scopes is defined %}
                    {% for operation, scopes in console.sms_providers.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.email_templates is defined %}
            "emailTemplates": {
                "disabledFeatures": [
                    {% if console.email_templates.disabled_features is defined %}
                    {% for feature in console.email_templates.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.email_templates.enabled is defined %} {{ console.email_templates.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.email_templates.scopes is defined %}
                    {% for operation, scopes in console.email_templates.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.event_publishing is defined %}
            "eventPublishing": {
                "disabledFeatures": [
                    {% if console.event_publishing.disabled_features is defined %}
                    {% for feature in console.event_publishing.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.event_publishing.enabled is defined %} {{ console.event_publishing.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.event_publishing.scopes is defined %}
                    {% for operation, scopes in console.event_publishing.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.governance_connectors is defined %}
            "governanceConnectors": {
                "deprecatedFeaturesToShow": [
                    {% if console.governance_connectors.disabled_features is defined %}
                    {% for feature in deprecated_features_to_show %}
                    {
                        "name": "{{ feature.name }}",
                        "deprecatedProperties": [
                            {% for property in feature.deprecated_properties %}
                            "{{ property }}"{% if not loop.last %},{% endif %}
                            {% endfor %}
                        ]
                    }{% if not loop.last %},{% endif %}
                    {% endfor %}
                    {% endif %}
                ],
                "disabledFeatures": [
                    {% if console.governance_connectors.disabled_features is defined %}
                    {% for feature in console.governance_connectors.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.governance_connectors.enabled is defined %} {{ console.governance_connectors.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.governance_connectors.scopes is defined %}
                    {% for operation, scopes in console.governance_connectors.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.groups is defined %}
            "groups": {
                "disabledFeatures": [
                    {% if console.groups.disabled_features is defined %}
                    {% for feature in console.groups.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.groups.enabled is defined %} {{ console.groups.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.groups.scopes is defined %}
                    {% for operation, scopes in console.groups.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.guest_user is defined %}
            "guestUser": {
                "disabledFeatures": [
                    {% if console.guest_user.disabled_features is defined %}
                    {% for feature in console.guest_user.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.guest_user.enabled is defined %} {{ console.guest_user.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.guest_user.scopes is defined %}
                    {% for operation, scopes in console.guest_user.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.parent_user_invitation is defined %}
            "parentUserInvitation": {
                "disabledFeatures": [
                    {% if console.parent_user_invitation.disabled_features is defined %}
                    {% for feature in console.parent_user_invitation.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.parent_user_invitation.enabled is defined %} {{ console.parent_user_invitation.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.parent_user_invitation.scopes is defined %}
                    {% for operation, scopes in console.parent_user_invitation.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.identity_providers is defined %}
            "identityProviders": {
                "disabledFeatures": [
                    {% if console.identity_providers.disabled_features is defined %}
                    {% for feature in console.identity_providers.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.identity_providers.enabled is defined %} {{ console.identity_providers.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.identity_providers.scopes is defined %}
                    {% for operation, scopes in console.identity_providers.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.identity_provider_groups is defined %}
            "identityProviderGroups": {
                "disabledFeatures": [
                    {% if console.identity_provider_groups.disabled_features is defined %}
                    {% for feature in console.identity_provider_groups.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.identity_provider_groups.enabled is defined %} {{ console.identity_provider_groups.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.identity_provider_groups.scopes is defined %}
                    {% for operation, scopes in console.identity_provider_groups.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.identity_verification_providers is defined %}
            "identityVerificationProviders": {
                "enabled": {% if console.identity_verification_providers.enabled is defined %} {{ console.identity_verification_providers.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.identity_verification_providers.scopes is defined %}
                    {% for operation, scopes in console.identity_verification_providers.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.insights is defined %}
            "insights": {
                "disabledFeatures": [
                    {% if console.insights.disabled_features is defined %}
                    {% for feature in console.insights.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.insights.enabled is defined %} {{ console.insights.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.insights.scopes is defined %}
                    {% for operation, scopes in console.insights.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.logs is defined %}
            "logs": {
                "disabledFeatures": [
                    {% if console.logs.disabled_features is defined %}
                    {% for feature in console.logs.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.logs.enabled is defined %} {{ console.logs.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.logs.scopes is defined %}
                    {% for operation, scopes in console.logs.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.getting_started is defined %}
            "gettingStarted": {
                "disabledFeatures": [
                    {% if console.getting_started.disabled_features is defined %}
                    {% for feature in console.getting_started.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.getting_started.enabled is defined %} {{ console.getting_started.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.getting_started.scopes is defined %}
                    {% for operation, scopes in console.getting_started.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.my_account is defined %}
            "myAccount": {
                "disabledFeatures": [
                    {% if console.my_account.disabled_features is defined %}
                    {% for feature in console.my_account.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.my_account.enabled is defined %} {{ console.my_account.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.my_account.scopes is defined %}
                    {% for operation, scopes in console.my_account.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.oidc_scopes is defined %}
            "oidcScopes": {
                "disabledFeatures": [
                    {% if console.oidc_scopes.disabled_features is defined %}
                    {% for feature in console.oidc_scopes.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.oidc_scopes.enabled is defined %} {{ console.oidc_scopes.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.oidc_scopes.scopes is defined %}
                    {% for operation, scopes in console.oidc_scopes.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.organizations is defined %}
            "organizations": {
                "enabled": {% if console.organizations.enabled is defined %} {{ console.organizations.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.organizations.scopes is defined %}
                    {% for operation, scopes in console.organizations.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                },
                "disabledFeatures": [
                    {% if console.organizations.disabled_features is defined %}
                    {% for feature in console.organizations.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ]
            },
            {% endif %}
            {% if console.organization_discovery is defined %}
            "organizationDiscovery": {
                "enabled": {% if console.organization_discovery.enabled is defined %} {{ console.organization_discovery.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.organization_discovery.scopes is defined %}
                    {% for operation, scopes in console.organization_discovery.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                },
                "disabledFeatures": [
                    {% if console.organization_discovery.disabled_features is defined %}
                    {% for feature in console.organization_discovery.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ]
            },
            {% endif %}
            {% if console.resident_outbound_provisioning is defined %}
            "residentOutboundProvisioning": {
                "enabled": {% if console.resident_outbound_provisioning.enabled is defined %} {{ console.resident_outbound_provisioning.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.resident_outbound_provisioning.scopes is defined %}
                    {% for operation, scopes in console.resident_outbound_provisioning.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                },
                "disabledFeatures": [
                    {% if console.resident_outbound_provisioning.disabled_features is defined %}
                    {% for feature in console.resident_outbound_provisioning.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ]
            },
            {% endif %}
            {% if console.server is defined %}
            "server": {
                "disabledFeatures": [
                    {% if console.server.disabled_features is defined %}
                    {% for feature in console.server.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.server.enabled is defined %} {{ console.server.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.server.scopes is defined %}
                    {% for operation, scopes in console.server.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.saml2_configuration is defined %}
            "saml2Configuration": {
                "disabledFeatures": [
                    {% if console.saml2_configuration.disabled_features is defined %}
                    {% for feature in console.saml2_configuration.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.saml2_configuration.enabled is defined %} {{ console.saml2_configuration.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.saml2_configuration.scopes is defined %}
                    {% for operation, scopes in console.saml2_configuration.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.secrets_management is defined %}
            "secretsManagement": {
                "enabled": {% if console.secrets_management.enabled is defined %} {{ console.secrets_management.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.secrets_management.scopes is defined %}
                    {% for operation, scopes in console.secrets_management.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                },
                "disabledFeatures": [
                    {% if console.secrets_management.disabled_features is defined %}
                    {% for feature in console.secrets_management.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ]
            },
            {% endif %}
            {% if console.session_management is defined %}
            "sessionManagement": {
                "disabledFeatures": [
                    {% if console.session_management.disabled_features is defined %}
                    {% for feature in console.session_management.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.session_management.enabled is defined %} {{ console.session_management.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.session_management.scopes is defined %}
                    {% for operation, scopes in console.session_management.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.sms_templates is defined %}
            "smsTemplates": {
                "disabledFeatures": [
                    {% if console.sms_templates.disabled_features is defined %}
                    {% for feature in console.sms_templates.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.sms_templates.enabled is defined %} {{ console.sms_templates.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.sms_templates.scopes is defined %}
                    {% for operation, scopes in console.sms_templates.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.user_onboarding is defined %}
            "userOnboarding": {
                "disabledFeatures": [
                    {% if console.user_onboarding.disabled_features is defined %}
                    {% for feature in console.user_onboarding.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.user_onboarding.enabled is defined %} {{ console.user_onboarding.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.user_onboarding.scopes is defined %}
                    {% for operation, scopes in console.user_onboarding.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.ws_fed_configuration is defined %}
            "wsFedConfiguration": {
                "disabledFeatures": [
                    {% if console.ws_fed_configuration.disabled_features is defined %}
                    {% for feature in console.ws_fed_configuration.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.ws_fed_configuration.enabled is defined %} {{ console.ws_fed_configuration.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.ws_fed_configuration.scopes is defined %}
                    {% for operation, scopes in console.ws_fed_configuration.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.remote_fetch is defined %}
            "remoteFetchConfig": {
                "disabledFeatures": [
                    {% if console.remote_fetch.disabled_features is defined %}
                    {% for feature in console.remote_fetch.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.remote_fetch.enabled is defined %} {{ console.remote_fetch.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.remote_fetch.scopes is defined %}
                    {% for operation, scopes in console.remote_fetch.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.user_v1_roles is defined %}
            "userV1Roles": {
                "disabledFeatures": [
                    {% if console.user_v1_roles.disabled_features is defined %}
                    {% for feature in console.user_v1_roles.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.user_v1_roles.enabled is defined %} {{ console.user_v1_roles.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.user_v1_roles.scopes is defined %}
                    {% for operation, scopes in console.user_v1_roles.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.user_roles is defined %}
            "userRoles": {
                "disabledFeatures": [
                    {% if console.user_roles.disabled_features is defined %}
                    {% for feature in console.user_roles.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.user_roles.enabled is defined %} {{ console.user_roles.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.user_roles.scopes is defined %}
                    {% for operation, scopes in console.user_roles.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.tenants is defined %}
            "tenants": {
                "disabledFeatures": [
                    {% if tenant_mgt.tenant_deletion is not defined or tenant_mgt.tenant_deletion == false %}
                        "tenants.deletion"{{ "," if console.tenants.disabled_features is defined }}
                    {% endif %}
                    {% if console.tenants.disabled_features is defined %}
                    {% for feature in console.tenants.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.tenants.enabled is defined %} {{ console.tenants.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.tenants.scopes is defined %}
                    {% for operation, scopes in console.tenants.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.try_it is defined %}
            "tryIt": {
                "disabledFeatures": [
                    {% if console.try_it.disabled_features is defined %}
                    {% for feature in console.try_it.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.try_it.enabled is defined %} {{ console.try_it.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.try_it.scopes is defined %}
                    {% for operation, scopes in console.try_it.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.users is defined %}
            "users": {
                "disabledFeatures": [
                    {% if console.users.disabled_features is defined %}
                    {% for feature in console.users.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.users.enabled is defined %} {{ console.users.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.users.scopes is defined %}
                    {% for operation, scopes in console.users.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            },
            {% endif %}
            {% if console.user_stores is defined %}
            "userStores": {
                "disabledFeatures": [
                    {% if console.user_stores.disabled_features is defined %}
                    {% for feature in console.user_stores.disabled_features %}
                    "{{ feature }}"{{ "," if not loop.last }}
                    {% endfor %}
                    {% endif %}
                ],
                "enabled": {% if console.user_stores.enabled is defined %} {{ console.user_stores.enabled }},
                {% else %} true,
                {% endif %}
                "scopes": {
                    {% if console.user_stores.scopes is defined %}
                    {% for operation, scopes in console.user_stores.scopes.items() %}
                    "{{ operation }}": [
                        {% for scope in scopes %}
                            "{{ scope }}"{{ "," if not loop.last }}
                        {% endfor %}
                    ]{{ "," if not loop.last }}
                    {% endfor %}
                    {% else %}
                        "create": [],
                        "read": [],
                        "update": [],
                        "delete": []
                    {% endif %}
                }
            }
            {% endif %}
        },
        "gravatarConfig": {
           {% if console.gravatar.configs is defined %}
           {% for key, value in console.gravatar.configs.items() %}
               "{{ key }}": "{{ value }}"{{ "," if not loop.last }}
           {% endfor %}
           {% endif %}
        },
        "hiddenAuthenticators": [
            {% if console.ui.hiddenAuthenticators is defined %}
                {% for value in console.ui.hiddenAuthenticators %}
                "{{ value }}"{{ "," if not loop.last }}
                {% endfor %}
            {% endif %}
        ],
        "hiddenConnectionTemplates": [
            {% if console.ui.hiddenConnectionTemplates is defined %}
                {% for value in console.ui.hiddenConnectionTemplates %}
                "{{ value }}"{{ "," if not loop.last }}
                {% endfor %}
            {% endif %}
        ],
        "hiddenApplicationTemplates": [
            {% if console.ui.hiddenApplicationTemplates is defined %}
                {% for value in console.ui.hiddenApplicationTemplates %}
                "{{ value }}"{{ "," if not loop.last }}
                {% endfor %}
            {% endif %}
        ],
        "hiddenUserStores": [
            {% if console.ui.hidden_user_stores is defined %}
                {% for value in console.ui.hidden_user_stores %}
                "{{ value }}"{{ "," if not loop.last }}
                {% endfor %}
            {% endif %}
        ],
        "i18nConfigs": {
            {% if console.ui.i18n_configs.items() is defined %}
            {% for key, value in console.ui.i18n_configs.items() %}
            {% if value is string %}
                "{{ key }}": "{{ value }}"{{ "," if not loop.last }}
            {% else %}
                "{{ key }}": {{ value }}{{ "," if not loop.last }}
            {% endif %}
            {% endfor %}
            {% endif %}
        },
        {% if console.ui.idp_templates is defined %}
        "identityProviderTemplates": {
            {% for key, value in console.ui.idp_templates.items() %}
            "{{ key }}": {
                {% for attrKey, attrValue in value.items() %}
                {% if attrValue is string %}
                    "{{ attrKey }}": "{{ attrValue }}"{{ "," if not loop.last }}
                {% else %}
                    "{{ attrKey }}": {{ attrValue }}{{ "," if not loop.last }}
                {% endif %}
                {% endfor %}
            }{{ "," if not loop.last }}
            {% endfor %}
        },
        {% endif %}
        {% if console.ui.is_feature_gate_enabled is defined %}
        "isFeatureGateEnabled": {{ console.ui.is_feature_gate_enabled }},
        {% endif %}
        {% if console.ui.is_cookie_consent_banner_enabled is defined %}
        "isCookieConsentBannerEnabled": {{ console.ui.is_cookie_consent_banner_enabled }},
        {% endif %}
        {% if console.ui.cookie_policy_url is defined %}
        "cookiePolicyUrl": "{{ console.ui.cookie_policy_url }}",
        {% endif %}
        {% if console.ui.is_marketing_consent_banner_enabled is defined %}
        "isMarketingConsentBannerEnabled": {{ console.ui.is_marketing_consent_banner_enabled }},
        {% endif %}
        {% if identity_mgt.user_claim_update.uniqueness.enable is defined %}
        "isClaimUniquenessValidationEnabled": {{ identity_mgt.user_claim_update.uniqueness.enable }},
        {% endif %}
        {% if oauth.hash_tokens_and_secrets is defined %}
        "isClientSecretHashEnabled": {{ oauth.hash_tokens_and_secrets }},
        {% endif %}
        {% if authentication.endpoint.enable_custom_claim_mappings is defined %}
        "isCustomClaimMappingEnabled": {{ authentication.endpoint.enable_custom_claim_mappings }},
        {% endif %}
        {% if authentication.endpoint.enable_merging_custom_claim_mappings_with_default is defined %}
        "isCustomClaimMappingMergeEnabled": {{ authentication.endpoint.enable_merging_custom_claim_mappings_with_default }},
        {% endif %}
        {% if console.ui.is_default_dialect_editing_enabled is defined %}
        "isDefaultDialectEditingEnabled": {{ console.ui.is_default_dialect_editing_enabled }},
        {% endif %}
        {% if console.ui.is_dialect_adding_enabled is defined %}
        "isDialectAddingEnabled": {{ console.ui.is_dialect_adding_enabled }},
        {% endif %}
        "isGroupAndRoleSeparationEnabled": {{ authorization_manager.properties.GroupAndRoleSeparationEnabled }},
        {% if console.ui.is_header_avatar_label_allowed is defined %}
        "isHeaderAvatarLabelAllowed": {{ console.ui.is_header_avatar_label_allowed }},
        {% endif %}
        {% if console.ui.is_request_path_authentication_enabled is defined %}
        "isRequestPathAuthenticationEnabled": {{ console.ui.is_request_path_authentication_enabled }},
        {% endif %}
        {% if console.ui.enable_custom_email_templates is defined %}
            "enableCustomEmailTemplates": {{ console.ui.enable_custom_email_templates }},
        {% else %}
            "enableCustomEmailTemplates": true,
        {% endif %}
        {% if console.ui.enable_custom_sms_templates is defined %}
            "enableCustomSmsTemplates": {{ console.ui.enable_custom_sms_templates }},
        {% else %}
            "enableCustomSmsTemplates": true,
        {% endif %}
        {% if console.ui.is_left_navigation_categorized is defined %}
        "isLeftNavigationCategorized": {{ console.ui.is_left_navigation_categorized }},
        {% endif %}
        {% if console.ui.is_saas_deployment is defined %}
        "isSAASDeployment": {{ console.ui.saas_deployment }},
        {% endif %}
        {% if event.default_listener.validation.enable is defined %}
        "isPasswordInputValidationEnabled": {{ event.default_listener.validation.enable }},
        {% else %}
        "isPasswordInputValidationEnabled": true,
        {% endif %}
        "passwordPolicyConfigs": {
            {% if identity_mgt.password_policy.items() is defined %}
            {% for key, value in identity_mgt.password_policy.items() %}
            {% if value is string %}
                "{{ key }}": "{{ value }}"{{ "," if not loop.last }}
            {% else %}
                "{{ key }}": {{ value }}{{ "," if not loop.last }}
            {% endif %}
            {% endfor %}
            {% endif %}
        },
        "isSignatureValidationCertificateAliasEnabled": {{ console.applications.ui.certificate_alias_enabled }},
        "listAllAttributeDialects": {{ console.list_all_attribute_dialects }},
        {% if console.enable_identity_claims is defined %}
        "enableIdentityClaims": {{ console.enable_identity_claims }},
        {% endif %}
        {% if tenant_mgt.enable_email_domain is defined %}
        "enableEmailDomain": {{ tenant_mgt.enable_email_domain }},
        {% endif %}
        "privacyPolicyConfigs": {
            {% if console.privacy_policy_configs.items() is defined %}
            {% for key, value in console.privacy_policy_configs.items() %}
            {% if value is string %}
                "{{ key }}": "{{ value }}"{{ "," if not loop.last }}
            {% else %}
                "{{ key }}": {{ value }}{{ "," if not loop.last }}
            {% endif %}
            {% endfor %}
            {% endif %}
        },
        "productName": "{{ console.ui.product_name }}",
        "productVersionConfig": {
            {% if console.product_version.configs.items() is defined %}
            {% for key, value in console.product_version.configs.items() %}
            {% if value is string %}
                "{{ key }}": "{{ value }}"{{ "," if not loop.last }}
            {% else %}
                "{{ key }}": {{ value }}{{ "," if not loop.last }}
            {% endif %}
            {% endfor %}
            {% endif %}
        },
        "selfAppIdentifier": "{{ console.self_app_identifier }}",
        "systemAppsIdentifiers": [
            {% if console.system_apps_identifiers is defined %}
                {% for value in console.system_apps_identifiers %}
                "{{ value }}"{{ "," if not loop.last }}
                {% endfor %}
            {% endif %}
        ],
        {% if console.ui.is_editing_system_roles_allowed is defined %}
        "isEditingSystemRolesAllowed": {{ console.ui.is_editing_system_roles_allowed }},
        {% endif %}
        {% if console.ui.isXacmlConnectorEnabled is defined %}
        "isXacmlConnectorEnabled": {{ console.ui.isXacmlConnectorEnabled }},
        {% endif %}
        {% if federated.idp.use_idp_role_claim_as_idp_group_claim is defined %}
        "useRoleClaimAsGroupClaim": {{ federated.idp.use_idp_role_claim_as_idp_group_claim }},
        {% endif %}
        {% if application_mgt.trusted_app_consent_required is defined %}
        "isTrustedAppConsentRequired": {{ application_mgt.trusted_app_consent_required }},
        {% endif %}
        {% if console.ui.administrator_role_display_name is defined %}
        "administratorRoleDisplayName": "{{ console.ui.administrator_role_display_name }}",
        {% endif %}
        "legacyMode": {
            {% if console.ui.legacy_mode.items() is defined %}
                {% for key, value in console.ui.legacy_mode.items() %}
                    {% if value is string %}
                        "{{ key }}": "{{ value }}"{{ "," if not loop.last }}
                    {% else %}
                        "{{ key }}": {{ value }}{{ "," if not loop.last }}
                    {% endif %}
                {% endfor %}
            {% endif %}
        },
        "theme": {
            "name": "{{ console.theme }}"
        }
    }
}
