55 lines
1.3 KiB
JSON
55 lines
1.3 KiB
JSON
{
|
|
"version": "1.0",
|
|
"campaign": {
|
|
"id": "simple-announcement",
|
|
"name": "Simple announcement",
|
|
"description": "Credential-free release fixture for Campaign validation and message building.",
|
|
"mode": "test"
|
|
},
|
|
"fields": [
|
|
{
|
|
"name": "display_name",
|
|
"type": "string",
|
|
"label": "Display name",
|
|
"required": true
|
|
}
|
|
],
|
|
"recipients": {
|
|
"from": [
|
|
{
|
|
"email": "announcements@example.test",
|
|
"name": "GovOPlaN Example",
|
|
"type": "to"
|
|
}
|
|
],
|
|
"allow_individual_to": true
|
|
},
|
|
"template": {
|
|
"subject": "Planned service maintenance for ${display_name}",
|
|
"text": "Hello ${display_name},\n\nThe example service will be unavailable during the announced maintenance window.\n\nThis message was built locally and was not sent.\n",
|
|
"body_mode": "text"
|
|
},
|
|
"attachments": {
|
|
"base_path": ".",
|
|
"send_without_attachments_behavior": "continue",
|
|
"global": []
|
|
},
|
|
"entries": {
|
|
"inline": [
|
|
{
|
|
"id": "example-recipient",
|
|
"to": [
|
|
{
|
|
"email": "recipient@example.test",
|
|
"name": "Example Recipient",
|
|
"type": "to"
|
|
}
|
|
],
|
|
"fields": {
|
|
"display_name": "Example Recipient"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|