<#ftl output_format="JSON"> <#-- The macro for generating view and template metadata for a new ConnectedSystem --> <#macro newConnectedSystem request recipeObjectId name uuid integrationType sharedConfigParameters replaceable=true adminGroups="" readerGroups="" triggers="" description="" logoChoice=""> { <#-- recipe section --> "version": 2, "objectType": "CONNECTED_SYSTEM", "replaceable": ${replaceable?c}, "recipeObjectId": "${recipeObjectId}", "templateForCreate": "ix/v2/createConnectedSystem_v2.ftlx", "selectedObjectIndex": 0, "isVisible": true, <#if triggers?has_content> "triggers": ${triggers}, <#-- the set of new and reused objects --> "objects": [ { "objectStatus": "NEW", "templateObjectId": "${recipeObjectId}-0", "objectIndex": 0, <#-- bindings section --> "uuid": "${uuid}", "currentVersionUuid": "${uuid}", "versionUuids": ["${uuid}"], "integrationType": "${integrationType}", "logoChoice": "${logoChoice}", <#if adminGroups?has_content> "administratorGroups": ${adminGroups}, <#if readerGroups?has_content> "readerGroups": ${readerGroups}, <#include "${sharedConfigParameters['templateHelper']}"> <#-- i18n section --> "name": "${name?json_string}", "description": "${description?json_string}" } ] }