-
Notifications
You must be signed in to change notification settings - Fork 56
/
smbc-v1.json
347 lines (347 loc) · 11.6 KB
/
smbc-v1.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
{
"$comment": "This file is autogenerated, do not edit manually, see https://github.com/SAP/abap-file-formats for more information.",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/SAP/abap-file-formats/blob/main/file-formats/smbc/smbc-v1.json",
"title": "Business Configuration Maintenance Object Type",
"type": "object",
"properties": {
"formatVersion": {
"title": "ABAP File Format Version",
"description": "The ABAP file format version",
"type": "string",
"const": "1"
},
"header": {
"title": "Header for SMBC Objects",
"type": "object",
"properties": {
"description": {
"title": "Description",
"description": "Description of the Business Configuration shown in the Maintain Business Configurations app. Can be translated with the Maintain Translations app",
"type": "string",
"maxLength": 50
},
"originalLanguage": {
"title": "Original Language",
"description": "Original language of the development object. Attributes Name and Description must be maintained in this language",
"type": "string",
"minLength": 2
},
"abapLanguageVersion": {
"title": "ABAP Language Version",
"description": "ABAP language version",
"type": "string",
"enum": [
"standard",
"cloudDevelopment"
],
"enumTitles": [
"Standard",
"ABAP Cloud Development"
],
"enumDescriptions": [
"Standard",
"ABAP cloud development"
],
"default": "standard"
}
},
"additionalProperties": false,
"required": [
"description",
"originalLanguage"
]
},
"serviceConfiguration": {
"title": "Service Configuration",
"type": "object",
"properties": {
"serviceBinding": {
"title": "Service Binding",
"description": "Service Binding used for business configuration maintenance",
"type": "string",
"maxLength": 40
},
"serviceName": {
"title": "Service Name",
"type": "string",
"maxLength": 40
},
"serviceVersion": {
"title": "Service Version",
"description": "The major version number of the service to be used (as defined in the Service Binding)",
"type": "string",
"maxLength": 4,
"pattern": "^[0-9]+$"
},
"rootEntitySet": {
"title": "Root Entity Set",
"description": "Root Entity Set exposed by the Service Definition",
"type": "string",
"maxLength": 30
},
"name": {
"title": "Name",
"description": "Name of the Business Configuration",
"type": "string",
"maxLength": 50
},
"configurationGroup": {
"title": "Configuration Group",
"type": "string",
"maxLength": 30
},
"skipRootEntity": {
"title": "Skip Root Entity List Report",
"description": "If true, the UI automatically navigates to the Object Page of the root entity",
"type": "boolean"
}
},
"additionalProperties": false,
"required": [
"serviceBinding",
"serviceName",
"serviceVersion",
"rootEntitySet",
"name"
]
},
"appConfiguration": {
"title": "Confguration of List Report and Object Pages",
"type": "object",
"properties": {
"listReport": {
"title": "List Report Configuration",
"type": "object",
"properties": {
"initialLoad": {
"title": "Initial Load",
"description": "Defines whether data in the List Report is automatically loaded on first app start.",
"type": "string",
"enum": [
"enabled",
"disabled",
"auto"
],
"enumTitles": [
"Enabled",
"Disabled",
"Automatic"
],
"enumDescriptions": [
"Data is always loaded when opening the app",
"Data is never loaded when opening the app without an app state",
"Data is only loaded, if initial/preset filters are available"
],
"default": "enabled"
},
"variantManagement": {
"title": "Variant Management",
"type": "string",
"enum": [
"page",
"none"
],
"enumTitles": [
"Page",
"None"
],
"default": "page"
}
},
"additionalProperties": false
},
"objectPages": {
"title": "Object Page Configurations",
"type": "array",
"uniqueItems": true,
"items": {
"title": "Object Page Settings",
"type": "object",
"properties": {
"entitySet": {
"title": "Entity Set",
"type": "string"
},
"sectionLayout": {
"title": "Section Layout",
"description": "Toggle between onepage concept and tabs.",
"type": "string",
"enum": [
"page",
"tabs"
],
"enumTitles": [
"Page",
"Tabs"
],
"default": "page"
},
"variantManagement": {
"title": "Variant Management",
"type": "string",
"enum": [
"control",
"none"
],
"enumTitles": [
"Control",
"None"
],
"default": "none"
},
"editableHeaderContent": {
"title": "Editable Header Content",
"description": "If true, the header content is changeable in edit mode",
"type": "boolean"
}
},
"additionalProperties": false
}
},
"tableSettings": {
"title": "Table Settings",
"type": "array",
"uniqueItems": true,
"items": {
"title": "Table Settings",
"type": "object",
"properties": {
"entitySet": {
"title": "Entity Set",
"type": "string"
},
"tableType": {
"title": "Table Type",
"type": "string",
"enum": [
"responsiveTable",
"gridTable"
],
"enumTitles": [
"Responsive Table",
"Grid Table"
],
"default": "responsiveTable"
},
"selectionMode": {
"title": "Selection Mode",
"type": "string",
"enum": [
"auto",
"multi",
"single",
"none"
],
"enumTitles": [
"Automatic",
"Select Multiple Entries",
"Select Single Entry",
"None"
],
"default": "auto"
},
"rowCountMode": {
"title": "Row Count Mode",
"description": "Defines how the table handles the visible rows in the table",
"type": "string",
"enum": [
"fixed",
"auto"
],
"enumTitles": [
"Fixed",
"Automatic"
],
"enumDescriptions": [
"The table always has as many rows as defined in the visibleRowCount property",
"The visibleRowCount property is changed by the table automatically"
],
"default": "fixed"
},
"rowCount": {
"title": "Row Count",
"description": "Number of visible rows of the table",
"type": "integer",
"minimum": 1,
"maximum": 1000,
"default": 5
},
"creationModeName": {
"title": "Table Creation Mode",
"type": "string",
"enum": [
"newPage",
"inline",
"creationRow",
"inlineCreationRows"
],
"enumTitles": [
"New Page",
"Inline",
"Creation Row",
"Empty Row"
],
"enumDescriptions": [
"Item is created in subpage",
"By clicking on 'Create' a new line is created but automatic navigation to subpage is not performed.",
"By clicking on 'Add row' a new line is created but automatic navigation to subpage is not performed.",
"In create or edit mode, one new empty row is added to the table."
],
"default": "newPage"
},
"createAtEnd": {
"title": "Create at End",
"description": "If true, a new row is added to the end of the table instead of the beginning of the table",
"type": "boolean"
},
"hideFilter": {
"title": "Hide Filter",
"description": "If true, the user cannot filter data of the table",
"type": "boolean"
},
"hideSort": {
"title": "Hide Sort",
"description": "If true, the user cannot sort the table",
"type": "boolean"
},
"hideColumn": {
"title": "Hide Column",
"description": "If true, the user cannot add and remove columns to the table",
"type": "boolean"
},
"condensedTableLayout": {
"title": "Condensed Table Layout",
"description": "If true, display rows in a condensed way. Only applicaple to Table Type 'GridTable'.",
"type": "boolean"
},
"disablePaste": {
"title": "Disable Paste",
"description": "If true, disable the possibility to add several items by copying and pasting data from an excel file",
"type": "boolean"
},
"enableFullScreen": {
"title": "Enable Full Screen",
"description": "If true, a button on the table toolbar allows the user to open the table in fullscreen dialog",
"type": "boolean"
},
"enableMassEdit": {
"title": "Enable Mass Edit",
"description": "Mass editing allows users to simultaneously change multiple objects that share the same editable properties",
"type": "boolean"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false,
"required": [
"formatVersion",
"header",
"serviceConfiguration"
]
}