138 lines
3.5 KiB
JSON
138 lines
3.5 KiB
JSON
{
|
|
"$schema": "https://govoplan.local/schema/campaign.schema.ui.json",
|
|
"$id": "https://govoplan.local/schema/campaign.schema.ui.json",
|
|
"schema": "campaign.schema.json",
|
|
"version": 1,
|
|
"sections": [
|
|
{
|
|
"id": "basics",
|
|
"label": "Basics",
|
|
"path": "/campaign",
|
|
"order": 10
|
|
},
|
|
{
|
|
"id": "fields",
|
|
"label": "Fields",
|
|
"path": "/fields",
|
|
"order": 20
|
|
},
|
|
{
|
|
"id": "global_values",
|
|
"label": "Global Values",
|
|
"path": "/global_values",
|
|
"order": 30
|
|
},
|
|
{
|
|
"id": "recipients",
|
|
"label": "Recipients",
|
|
"path": "/recipients",
|
|
"order": 40
|
|
},
|
|
{
|
|
"id": "template",
|
|
"label": "Template",
|
|
"path": "/template",
|
|
"order": 50
|
|
},
|
|
{
|
|
"id": "attachments",
|
|
"label": "Attachments",
|
|
"path": "/attachments",
|
|
"order": 60
|
|
},
|
|
{
|
|
"id": "mail",
|
|
"label": "Mail",
|
|
"path": "/server",
|
|
"order": 70,
|
|
"requiresCapability": "mail.campaign_delivery"
|
|
},
|
|
{
|
|
"id": "delivery",
|
|
"label": "Delivery",
|
|
"path": "/delivery",
|
|
"order": 80
|
|
},
|
|
{
|
|
"id": "review",
|
|
"label": "Review & Send",
|
|
"path": "/review",
|
|
"order": 90
|
|
}
|
|
],
|
|
"fields": {
|
|
"/attachments/global[]/message_filename_template": {
|
|
"label": "Direct attachment filename",
|
|
"control": "text",
|
|
"placeholder": "{{ file.name }}",
|
|
"templateContext": [
|
|
"global values",
|
|
"recipient fields",
|
|
"file.name",
|
|
"file.stem",
|
|
"file.suffix",
|
|
"file.ext",
|
|
"file.index",
|
|
"attachment.id",
|
|
"attachment.label"
|
|
],
|
|
"description": "Optional filename template used when files are attached directly to the message."
|
|
},
|
|
"/attachments/global[]/zip_entry_name_template": {
|
|
"label": "ZIP entry filename",
|
|
"control": "text",
|
|
"placeholder": "{{ file.name }}",
|
|
"templateContext": [
|
|
"global values",
|
|
"recipient fields",
|
|
"file.name",
|
|
"file.stem",
|
|
"file.suffix",
|
|
"file.ext",
|
|
"file.index",
|
|
"attachment.id",
|
|
"attachment.label"
|
|
],
|
|
"description": "Optional filename template used for files inside generated ZIP archives."
|
|
},
|
|
"/entries/inline[]/attachments[]/message_filename_template": {
|
|
"label": "Direct attachment filename",
|
|
"control": "text",
|
|
"placeholder": "{{ file.name }}",
|
|
"templateContext": [
|
|
"global values",
|
|
"recipient fields",
|
|
"file.name",
|
|
"file.stem",
|
|
"file.suffix",
|
|
"file.ext",
|
|
"file.index",
|
|
"attachment.id",
|
|
"attachment.label"
|
|
],
|
|
"description": "Optional filename template used when files are attached directly to the message."
|
|
},
|
|
"/entries/inline[]/attachments[]/zip_entry_name_template": {
|
|
"label": "ZIP entry filename",
|
|
"control": "text",
|
|
"placeholder": "{{ file.name }}",
|
|
"templateContext": [
|
|
"global values",
|
|
"recipient fields",
|
|
"file.name",
|
|
"file.stem",
|
|
"file.suffix",
|
|
"file.ext",
|
|
"file.index",
|
|
"attachment.id",
|
|
"attachment.label"
|
|
],
|
|
"description": "Optional filename template used for files inside generated ZIP archives."
|
|
}
|
|
},
|
|
"capabilities": {
|
|
"files.campaign_attachments": "Enable managed file chooser and frozen file-version evidence.",
|
|
"mail.campaign_delivery": "Enable mail profile selection, SMTP/IMAP validation, queueing, and delivery."
|
|
}
|
|
}
|