mirror of
https://github.com/warmbly/warmbly.git
synced 2026-08-19 16:01:16 +00:00
25 lines
1008 B
JSON
25 lines
1008 B
JSON
[
|
|
{ "name": "contact_id", "type": "select", "label": "Contact", "required": true, "options": "rpc://contactList" },
|
|
{ "name": "first_name", "type": "text", "label": "First name" },
|
|
{ "name": "last_name", "type": "text", "label": "Last name" },
|
|
{ "name": "company", "type": "text", "label": "Company" },
|
|
{ "name": "phone", "type": "text", "label": "Phone" },
|
|
{ "name": "subscribed", "type": "boolean", "label": "Subscribed" },
|
|
{
|
|
"name": "campaigns",
|
|
"type": "array",
|
|
"label": "Set campaigns",
|
|
"help": "Replaces the full set of campaigns this contact belongs to.",
|
|
"spec": { "type": "select", "options": "rpc://campaignList", "label": "Campaign" }
|
|
},
|
|
{
|
|
"name": "custom_fields",
|
|
"type": "array",
|
|
"label": "Custom fields",
|
|
"spec": [
|
|
{ "name": "key", "type": "text", "label": "Field key", "required": true },
|
|
{ "name": "value", "type": "text", "label": "Value" }
|
|
]
|
|
}
|
|
]
|