<#ftl output_format="JSON"> <#-- The macro for generating template metadata for a new Document Folder --> <#macro newDocumentFolder request uuid name parentUuid recipeObjectId description adminGroups="" readerGroups=""> { <#-- recipe section --> "objectStatus": "NEW", "replaceable": false, "recipeObjectId": "${recipeObjectId}", "templateForCreate": "createDocumentFolder.ftlx", <#-- bindings section --> "uuid": "${uuid}", "versionUuids": ["${request.generateUuid("")}"], "parentUuid": "${parentUuid}", <#if adminGroups?has_content> "administratorGroups": ${adminGroups}, <#if readerGroups?has_content> "readerGroups": ${readerGroups}, "isReadersInherit": true, "isAuthorsInherit": true, "isAdministratorsInherit": true, <#-- i18n section --> "name": "${name?json_string}", "description": "${description?json_string}" }