1{
2 "definition": {
3 "id": null,
4 "name": "New Client Onboarding Referral",
5 "developerName": "New_Client_Onboarding_Referral",
6 "description": "Referral intake form for onboarding new clients.",
7 "baseEntity": "Referral",
8 "contextDefinitionId": "0jY0x0000000001EAA",
9 "isActive": true,
10 "shouldShowNavigationSteps": true,
11 "shouldShowSummaryStep": true
12 },
13 "welcome": {
14 "title": "Welcome to our referral intake",
15 "description": "Tell us a little about you to get started.",
16 "content": {
17 "body": "Welcome! Complete this form to submit your referral.",
18 "format": "plainText"
19 },
20 "consents": [{
21 "id": "a1D5g000000ABcn",
22 "sequence": 1,
23 "isRequired": true,
24 "consentText": "I agree to the terms of service.",
25 "consentLinkUrl": "https://www.example.com/terms",
26 "consentLinkLabel": "View terms",
27 "consentVersion": "1.0",
28 "capturedFieldApiName": "HasConsented__c",
29 "capturedTimestampFieldApiName": "ConsentTimestamp__c",
30 "bodyFormat": "html",
31 "body": "<p>Full terms and conditions...</p>"
32 }],
33 "fields": [{
34 "id": "a1A5g000000ABwx",
35 "sequence": 1,
36 "apiName": "Email",
37 "label": "Email Address",
38 "type": "Email",
39 "isRequired": true,
40 "helpText": "We'll use this to contact you about your referral.",
41 "description": "Applicant's primary email address.",
42 "displayAs": "singleLine",
43 "placeholder": "name@example.com",
44 "defaultValue": null,
45 "hidden": false,
46 "readOnly": false,
47 "targetObjectApiName": null
48 }]
49 },
50 "steps": [
51 {
52 "label": "Applicant Information",
53 "sequence": 1,
54 "isVisibilityConditional": false,
55 "sections": [
56 {
57 "label": "Applicant Details",
58 "sequence": 1,
59 "isVisibilityConditional": false,
60 "fields": [
61 {
62 "apiName": "FirstName",
63 "objectApiName": "Referral",
64 "label": "First Name",
65 "dataType": "String",
66 "sequence": 1,
67 "isRequired": true
68 },
69 {
70 "apiName": "LastName",
71 "objectApiName": "Referral",
72 "label": "Last Name",
73 "dataType": "String",
74 "sequence": 2,
75 "isRequired": true
76 }
77 ]
78 }
79 ]
80 }
81 ],
82 "successScreen": {
83 "defaultMessage": {
84 "heading": "Thanks for your referral",
85 "subtitle": "A specialist will contact you within one business day.",
86 "subtitleFormat": "plainText"
87 },
88 "messageRules": []
89 }
90}