1{
2 "pingRate":{
3 "type":"number",
4 "description":"The rate at which the visitor should ping the server to maintain presence",
5 "required":true,
6 "version":29.0
7 },
8 "contentServerUrl":{
9 "type":"string",
10 "description":"The content server URL",
11 "required":true,
12 "version":29.0
13 },
14 "buttons":{
15 "type":"array",
16 "description":"The list of buttons",
17 "items":{
18 "name":"button",
19 "type":"object",
20 "properties":{
21 "id":{
22 "type":"string",
23 "description":"The id of the button",
24 "required":true,
25 "version":29.0
26 },
27 "type":{
28 "type":"string",
29 "description":"The type of the button",
30 "required":true,
31 "version":29.0,
32 "enum":["Standard","Invite","ToAgent"]
33 },
34 "endpointUrl":{
35 "type":"string",
36 "description":"The custom chat window url of the button",
37 "required":false,
38 "version":29.0
39 },
40 "prechatUrl":{
41 "type":"string",
42 "description":"The prechat url of the button",
43 "required":false,
44 "version":29.0
45 },
46 "language":{
47 "type":"string",
48 "description":"The language setting of the button",
49 "required":false,
50 "version":29.0
51 },
52 "isAvailable":{
53 "type":"boolean",
54 "description":"Whether or not the button is available for chat",
55 "version":29.0
56 },
57 /* Invite related settings */
58 "inviteImageUrl":{
59 "type":"string",
60 "description":"The image of the button",
61 "required":false,
62 "version":29.0
63 },
64 "inviteImageWidth":{
65 "type":"number",
66 "description":"The width of the button image",
67 "required":false,
68 "version":29.0
69 },
70 "inviteImageHeight":{
71 "type":"number",
72 "description":"The height of the button image",
73 "required":false,
74 "version":29.0
75 },
76 "inviteRenderer":{
77 "type":"string",
78 "description":"The animation option of the invite",
79 "required":false,
80 "version":29.0,
81 "enum":["Slide","Fade","Appear","Custom"]
82 },
83 "inviteStartPosition":{
84 "type":"string",
85 "description":"The start position of the animation",
86 "required":false,
87 "version":29.0,
88 "enum":["TopLeft","TopLeftTop","Top","TopRightTop","TopRight",
89 "TopRightRight","Right","BottomRightRight","BottomRight",
90 "BottomRightBottom","Bottom","BottomLeftBottom","BottomLeft",
91 "BottomLeftLeft","Left","TopLeftLeft"]
92 },
93 "inviteEndPosition":{
94 "type":"string",
95 "description":"The end position of the animation",
96 "required":false,
97 "version":29.0,
98 "enum":["TopLeft","Top","TopRight","Left","Center","Right","BottomLeft","Bottom","BottomRight"]
99 },
100 "hasInviteAfterAccept":{
101 "type":"boolean",
102 "description":"Whether or not invite will trigger after accepting",
103 "required":false,
104 "version":29.0
105 },
106 "hasInviteAfterReject":{
107 "type":"boolean",
108 "description":"Whether or not invite will trigger after rejecting",
109 "required":false,
110 "version":29.0
111 },
112 "inviteRejectTime":{
113 "type":"number",
114 "description":"The auto reject setting of the invite",
115 "required":false,
116 "version":29.0
117 },
118 "inviteRules":{
119 "type":"object",
120 "description":"The rules of the invite",
121 "required":false,
122 "version":29.0
123 }
124 /* Invite related settings */
125 }
126 },
127 "required":true,
128 "version":29.0
129 }
130 }