1+ {
2+ "$schema" : " http://json-schema.org/draft-04/schema#" ,
3+ "title" : " uSyncAppSettings" ,
4+ "type" : " object" ,
5+ "properties" : {
6+ "uSync" : {
7+ "$ref" : " #/definitions/USyncuSyncDefinition"
8+ }
9+ },
10+ "definitions" : {
11+ "USyncuSyncDefinition" : {
12+ "type" : " object" ,
13+ "description" : " Configuration of uSync settings" ,
14+ "properties" : {
15+ "Settings" : {
16+ "description" : " uSync settings" ,
17+ "oneOf" : [
18+ {
19+ "$ref" : " #/definitions/USyncBackOfficeConfigurationuSyncSettings"
20+ }
21+ ]
22+ },
23+ "ForceFips" : {
24+ "type" : " boolean" ,
25+ "description" : " Force uSync to use FIPS compliant hashing algorthims when comparing files"
26+ },
27+ "Sets" : {
28+ "description" : " Settings of Handler sets" ,
29+ "oneOf" : [
30+ {
31+ "$ref" : " #/definitions/USyncuSyncSetsDefinition"
32+ }
33+ ]
34+ },
35+ "AutoTemplates" : {
36+ "description" : " Settings for the AutoTemplates package, (dynamic adding of templates based on files on disk)" ,
37+ "oneOf" : [
38+ {
39+ "$ref" : " #/definitions/USyncAutoTemplatesDefinition"
40+ }
41+ ]
42+ }
43+ }
44+ },
45+ "USyncBackOfficeConfigurationuSyncSettings" : {
46+ "type" : " object" ,
47+ "description" : " uSync Settings" ,
48+ "properties" : {
49+ "RootFolder" : {
50+ "type" : " string" ,
51+ "description" : " Location where all uSync files are saved by default" ,
52+ "default" : " uSync/v9/"
53+ },
54+ "Folders" : {
55+ "type" : " array" ,
56+ "description" : " collection of folders uSync looks in when performing imports.\n " ,
57+ "default" : " uSync/Root/, uSync/v9" ,
58+ "items" : {
59+ "type" : " string"
60+ }
61+ },
62+ "IsRootSite" : {
63+ "type" : " boolean" ,
64+ "description" : " Sets this site to be the root site (so it will save into \" uSync/root/\" )\n " ,
65+ "default" : false
66+ },
67+ "LockRoot" : {
68+ "type" : " boolean" ,
69+ "description" : " when locked you can't make changes to anything that is in the root"
70+ },
71+ "LockRootTypes" : {
72+ "type" : " array" ,
73+ "description" : " lock specific types at root so they can't be changed in child sites. \n " ,
74+ "items" : {
75+ "type" : " string"
76+ }
77+ },
78+ "DefaultSet" : {
79+ "type" : " string" ,
80+ "description" : " The default handler set to use on all notification triggered events" ,
81+ "default" : " Default"
82+ },
83+ "ImportAtStartup" : {
84+ "type" : " string" ,
85+ "description" : " Import when Umbraco boots (can be group name or 'All' so everything is done, blank or 'none' == off)" ,
86+ "default" : " None"
87+ },
88+ "ExportAtStartup" : {
89+ "type" : " string" ,
90+ "description" : " Export when Umbraco boots" ,
91+ "default" : " None"
92+ },
93+ "ExportOnSave" : {
94+ "type" : " string" ,
95+ "description" : " Export when an item is saved in Umbraco" ,
96+ "default" : " All"
97+ },
98+ "UiEnabledGroups" : {
99+ "type" : " string" ,
100+ "description" : " The handler groups that are enabled in the UI." ,
101+ "default" : " All"
102+ },
103+ "ReportDebug" : {
104+ "type" : " boolean" ,
105+ "description" : " Debug reports (creates an export into a temp folder for comparison)" ,
106+ "default" : false
107+ },
108+ "AddOnPing" : {
109+ "type" : " boolean" ,
110+ "description" : " Ping the AddOnUrl to get the json used to show the addons dashboard" ,
111+ "default" : true
112+ },
113+ "RebuildCacheOnCompletion" : {
114+ "type" : " boolean" ,
115+ "description" : " Pre Umbraco 8.4 - rebuild the cache was needed after content was imported" ,
116+ "default" : false
117+ },
118+ "FailOnMissingParent" : {
119+ "type" : " boolean" ,
120+ "description" : " Fail if the items parent is not in umbraco or part of the batch being imported" ,
121+ "default" : false
122+ },
123+ "FailOnDuplicates" : {
124+ "type" : " boolean" ,
125+ "description" : " fail if a duplicate file of same type and key is detected during the import process.\n " ,
126+ "default" : false
127+ },
128+ "CacheFolderKeys" : {
129+ "type" : " boolean" ,
130+ "description" : " Should folder keys be cached (for speed)" ,
131+ "default" : true
132+ },
133+ "ShowVersionCheckWarning" : {
134+ "type" : " boolean" ,
135+ "description" : " Show a version check warning to the user if the folder version is less than the version expected by uSync." ,
136+ "default" : true
137+ },
138+ "CustomMappings" : {
139+ "type" : " object" ,
140+ "description" : " Custom mapping keys, allows users to add a simple config mapping to make one property type to behave like an existing one" ,
141+ "additionalProperties" : {
142+ "type" : " string"
143+ }
144+ },
145+ "EnableHistory" : {
146+ "type" : " boolean" ,
147+ "description" : " Should the history view be on of off ? " ,
148+ "default" : true
149+ },
150+ "DefaultExtension" : {
151+ "type" : " string" ,
152+ "description" : " Default file extension for the uSync files. " ,
153+ "default" : " config"
154+ },
155+ "ImportOnFirstBoot" : {
156+ "type" : " boolean" ,
157+ "description" : " Import the uSync folder on the first boot. " ,
158+ "default" : false
159+ },
160+ "FirstBootGroup" : {
161+ "type" : " string" ,
162+ "description" : " Handler group(s) to run on first boot, default is All (so full import)" ,
163+ "default" : " All"
164+ },
165+ "DisableDashboard" : {
166+ "type" : " boolean" ,
167+ "description" : " Disable the default dashboard (so people can't accedently press the buttons)." ,
168+ "default" : " false"
169+ },
170+ "SummaryDashboard" : {
171+ "type" : " boolean" ,
172+ "description" : " summerize results (for when there are loads and loads of items)\n " ,
173+ "default" : " false"
174+ },
175+ "SummaryLimit" : {
176+ "type" : " integer" ,
177+ "description" : " limit of items to display before flicking to summary view. (this is per handler)\n " ,
178+ "format" : " int32" ,
179+ "default" : 1000
180+ },
181+ "HideAddOns" : {
182+ "type" : " string" ,
183+ "description" : " list of addon (tabs) you don't want to show inside uSync dashboard.\n "
184+ },
185+ "DisableNotificationSuppression" : {
186+ "type" : " boolean" ,
187+ "description" : " turns of use of the Notifications.Supress method, so notifications\n fire after every item is imported.\n " ,
188+ "default" : " false"
189+ },
190+ "BackgroundNotifications" : {
191+ "type" : " boolean" ,
192+ "description" : " trigger all the notifications in a background thread, \n " ,
193+ "default" : false
194+ }
195+ }
196+ },
197+ "USyncuSyncSetsDefinition" : {
198+ "type" : " object" ,
199+ "properties" : {
200+ "Default" : {
201+ "$ref" : " #/definitions/USyncBackOfficeConfigurationuSyncHandlerSetSettings"
202+ }
203+ }
204+ },
205+ "USyncBackOfficeConfigurationuSyncHandlerSetSettings" : {
206+ "type" : " object" ,
207+ "description" : " Settings for a handler set (group of handlers)" ,
208+ "properties" : {
209+ "Enabled" : {
210+ "type" : " boolean" ,
211+ "description" : " Is this handler set enabled" ,
212+ "default" : true
213+ },
214+ "HandlerGroups" : {
215+ "type" : " array" ,
216+ "description" : " List of groups handlers can belong to." ,
217+ "items" : {
218+ "type" : " string"
219+ }
220+ },
221+ "DisabledHandlers" : {
222+ "type" : " array" ,
223+ "description" : " List of disabled handlers" ,
224+ "items" : {
225+ "type" : " string"
226+ }
227+ },
228+ "HandlerDefaults" : {
229+ "description" : " Default settings for all handlers" ,
230+ "oneOf" : [
231+ {
232+ "$ref" : " #/definitions/USyncBackOfficeConfigurationHandlerSettings"
233+ }
234+ ]
235+ },
236+ "Handlers" : {
237+ "type" : " object" ,
238+ "description" : " Settings for named handlers " ,
239+ "additionalProperties" : {
240+ "$ref" : " #/definitions/USyncBackOfficeConfigurationHandlerSettings"
241+ }
242+ },
243+ "IsSelectable" : {
244+ "type" : " boolean" ,
245+ "description" : " for handlers to appear in the drop down on the dashboard they have to be selectable\n "
246+ }
247+ }
248+ },
249+ "USyncBackOfficeConfigurationHandlerSettings" : {
250+ "type" : " object" ,
251+ "description" : " Settings to control who a handler works" ,
252+ "properties" : {
253+ "Enabled" : {
254+ "type" : " boolean" ,
255+ "description" : " Is handler enabled or disabled" ,
256+ "default" : true
257+ },
258+ "Actions" : {
259+ "type" : " array" ,
260+ "description" : " List of actions the handler is configured for. " ,
261+ "items" : {
262+ "type" : " string"
263+ }
264+ },
265+ "UseFlatStructure" : {
266+ "type" : " boolean" ,
267+ "description" : " Should use a flat folder structure when exporting items" ,
268+ "default" : true
269+ },
270+ "GuidNames" : {
271+ "type" : " boolean" ,
272+ "description" : " Items should be saved with their guid/key value as the filename" ,
273+ "default" : false
274+ },
275+ "FailOnMissingParent" : {
276+ "type" : " boolean" ,
277+ "description" : " Imports should fail if the parent item is missing (if false, item be importated go a close as possible to location)" ,
278+ "default" : false
279+ },
280+ "Group" : {
281+ "type" : " string" ,
282+ "description" : " Override the group the handler belongs too." ,
283+ "default" : " "
284+ },
285+ "CreateClean" : {
286+ "type" : " boolean" ,
287+ "description" : " create a corresponding _clean file for this export \n "
288+ },
289+ "Settings" : {
290+ "type" : " object" ,
291+ "description" : " Additional settings for the handler" ,
292+ "additionalProperties" : {
293+ "type" : " string"
294+ }
295+ }
296+ }
297+ },
298+ "USyncAutoTemplatesDefinition" : {
299+ "type" : " object" ,
300+ "properties" : {
301+ "Enabled" : {
302+ "type" : " boolean" ,
303+ "description" : " Enable AutoTemplates feature" ,
304+ "default" : false
305+ },
306+ "Delete" : {
307+ "type" : " boolean" ,
308+ "description" : " Delete templates from Umbraco if the file is missing from disk" ,
309+ "default" : false
310+ },
311+ "Delay" : {
312+ "type" : " integer" ,
313+ "description" : " Amount of time (milliseconds) to wait after file change event before applying changes" ,
314+ "format" : " int32" ,
315+ "default" : 1000
316+ }
317+ }
318+ }
319+ }
320+ }
0 commit comments