@steedos/schemas 3.0.2-beta.2 → 3.0.2-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/field/schema.json CHANGED
@@ -1,483 +1,445 @@
1
1
  {
2
- "$schema": "http://json-schema.org/draft-04/schema#",
3
- "name": "steedos-schema_object_field",
4
- "type": "object",
5
- "additionalProperties": false,
6
- "oneOf": [
7
- {
8
- "properties": {
9
- "type": {
10
- "enum": [
11
- "library"
12
- ]
13
- }
14
- },
15
- "required": [
16
- "type",
17
- "name"
18
- ]
19
- },
20
- {
21
- "properties": {
22
- "type": {
23
- "not": {
24
- "enum": [
25
- "library"
26
- ]
27
- }
28
- }
29
- }
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "name": "steedos-schema_object_field",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "oneOf": [
7
+ {
8
+ "properties": {
9
+ "type": {
10
+ "enum": ["library"]
30
11
  }
31
- ],
32
- "properties": {
33
- "name": {
34
- "type": "string",
35
- "description": "字段名称"
36
- },
37
- "label": {
38
- "type": "string",
39
- "description": "字段显示名称"
40
- },
41
- "is_name": {
42
- "type": "boolean",
43
- "description": "将当前字段叫标记为name字段,用于选择数据时的显示名称"
44
- },
45
- "column_name": {
46
- "type": "string",
47
- "description": "数据库字段名"
48
- },
49
- "object": {
50
- "type": "string",
51
- "description": "字段所属对象"
52
- },
12
+ },
13
+ "required": ["type", "name"]
14
+ },
15
+ {
16
+ "properties": {
53
17
  "type": {
18
+ "not": {
19
+ "enum": ["library"]
20
+ }
21
+ }
22
+ }
23
+ }
24
+ ],
25
+ "properties": {
26
+ "name": {
27
+ "type": "string",
28
+ "description": "字段名称"
29
+ },
30
+ "label": {
31
+ "type": "string",
32
+ "description": "字段显示名称"
33
+ },
34
+ "is_name": {
35
+ "type": "boolean",
36
+ "description": "将当前字段叫标记为name字段,用于选择数据时的显示名称"
37
+ },
38
+ "column_name": {
39
+ "type": "string",
40
+ "description": "数据库字段名"
41
+ },
42
+ "object": {
43
+ "type": "string",
44
+ "description": "字段所属对象"
45
+ },
46
+ "type": {
47
+ "type": "string",
48
+ "description": "字段类型",
49
+ "anyOf": [
50
+ {
51
+ "enum": [
52
+ "text",
53
+ "textarea",
54
+ "html",
55
+ "select",
56
+ "color",
57
+ "boolean",
58
+ "toggle",
59
+ "date",
60
+ "datetime",
61
+ "time",
62
+ "number",
63
+ "currency",
64
+ "percent",
65
+ "password",
66
+ "lookup",
67
+ "master_detail",
68
+ "grid",
69
+ "table",
70
+ "url",
71
+ "email",
72
+ "avatar",
73
+ "location",
74
+ "image",
75
+ "object",
76
+ "[object]",
77
+ "[Object]",
78
+ "[grid]",
79
+ "[text]",
80
+ "selectCity",
81
+ "audio",
82
+ "filesize",
83
+ "file",
84
+ "code",
85
+ "autonumber",
86
+ "markdown",
87
+ "formula",
88
+ "summary"
89
+ ]
90
+ }
91
+ ]
92
+ },
93
+ "sort_no": {
94
+ "type": "integer",
95
+ "description": "排序号, 默认值100"
96
+ },
97
+ "group": {
98
+ "type": "string",
99
+ "description": "分组名称"
100
+ },
101
+ "defaultValue": {
102
+ "type": ["string", "boolean", "array", "integer"],
103
+ "description": "默认值"
104
+ },
105
+ "allowedValues": {
106
+ "type": ["string", "boolean", "array"],
107
+ "description": "允许的值"
108
+ },
109
+ "multiple": {
110
+ "type": "boolean",
111
+ "description": "支持多选"
112
+ },
113
+ "required": {
114
+ "type": ["boolean", "string"],
115
+ "description": "是否必填"
116
+ },
117
+ "is_wide": {
118
+ "type": "boolean",
119
+ "description": "是否宽字段,如果为true,则在详细页面,一个字段占一行"
120
+ },
121
+ "readonly": {
122
+ "type": "boolean",
123
+ "description": "是否只读"
124
+ },
125
+ "static": {
126
+ "type": "boolean",
127
+ "description": "静态模式,显示为只读,但是可以通过默认值,自动填充或自定义脚本设置该字段值"
128
+ },
129
+ "hidden": {
130
+ "type": "boolean",
131
+ "description": "是否隐藏"
132
+ },
133
+ "omit": {
134
+ "type": "boolean",
135
+ "description": "忽略此字段"
136
+ },
137
+ "index": {
138
+ "type": "boolean",
139
+ "description": "创建索引"
140
+ },
141
+ "searchable": {
142
+ "type": "boolean",
143
+ "description": "允许搜索"
144
+ },
145
+ "sortable": {
146
+ "type": "boolean",
147
+ "description": "允许排序"
148
+ },
149
+ "precision": {
150
+ "type": "integer",
151
+ "description": "数值类型字段的最大长度,默认值18"
152
+ },
153
+ "scale": {
154
+ "type": "integer",
155
+ "description": "数值类型的小数位数,默认值2"
156
+ },
157
+ "reference_to": {
158
+ "type": ["string", "array"],
159
+ "description": "引用的对象"
160
+ },
161
+ "reference_to_field": {
162
+ "type": "string",
163
+ "description": "引用的对象的字段,按照此字段去查找相关记录"
164
+ },
165
+ "modal_mode": {
166
+ "type": "string",
167
+ "description": "lookup字段弹出框模式: 'dialog' | 'drawer' ",
168
+ "enum": ["dialog", "drawer"]
169
+ },
170
+ "show_as_qr": {
171
+ "type": "boolean",
172
+ "description": "显示为二维码"
173
+ },
174
+ "table_schema": {
175
+ "type": ["string", "object"],
176
+ "description": "lookup字段弹出框表格定义,可以定义为列表视图名称或列表属性"
177
+ },
178
+ "rows": {
179
+ "type": "integer",
180
+ "description": "多行文本默认行数"
181
+ },
182
+ "firstOption": {
183
+ "type": "boolean"
184
+ },
185
+ "options": {
186
+ "anyOf": [
187
+ {
188
+ "items": {
54
189
  "type": "string",
55
- "description": "字段类型",
56
- "anyOf": [
57
- {
58
- "enum": [
59
- "text",
60
- "textarea",
61
- "html",
62
- "select",
63
- "color",
64
- "boolean",
65
- "toggle",
66
- "date",
67
- "datetime",
68
- "time",
69
- "number",
70
- "currency",
71
- "percent",
72
- "password",
73
- "lookup",
74
- "master_detail",
75
- "grid",
76
- "table",
77
- "url",
78
- "email",
79
- "avatar",
80
- "location",
81
- "image",
82
- "object",
83
- "[object]",
84
- "[Object]",
85
- "[grid]",
86
- "[text]",
87
- "selectCity",
88
- "audio",
89
- "filesize",
90
- "file",
91
- "code",
92
- "autonumber",
93
- "markdown",
94
- "formula",
95
- "summary"
96
- ]
97
- }
98
- ]
99
- },
100
- "sort_no": {
101
- "type": "integer",
102
- "description": "排序号, 默认值100"
103
- },
104
- "group": {
105
- "type": "string",
106
- "description": "分组名称"
107
- },
108
- "defaultValue": {
109
- "type": [
110
- "string",
111
- "boolean",
112
- "array",
113
- "integer"
114
- ],
115
- "description": "默认值"
116
- },
117
- "allowedValues": {
118
- "type": [
119
- "string",
120
- "boolean",
121
- "array"
122
- ],
123
- "description": "允许的值"
124
- },
125
- "multiple": {
126
- "type": "boolean",
127
- "description": "支持多选"
128
- },
129
- "required": {
130
- "type": [
131
- "boolean",
132
- "string"
133
- ],
134
- "description": "是否必填"
135
- },
136
- "is_wide": {
137
- "type": "boolean",
138
- "description": "是否宽字段,如果为true,则在详细页面,一个字段占一行"
139
- },
140
- "readonly": {
141
- "type": "boolean",
142
- "description": "是否只读"
143
- },
144
- "static": {
145
- "type": "boolean",
146
- "description": "静态模式,显示为只读,但是可以通过默认值,自动填充或自定义脚本设置该字段值"
147
- },
148
- "hidden": {
149
- "type": "boolean",
150
- "description": "是否隐藏"
151
- },
152
- "omit": {
153
- "type": "boolean",
154
- "description": "忽略此字段"
155
- },
156
- "index": {
157
- "type": "boolean",
158
- "description": "创建索引"
159
- },
160
- "searchable": {
161
- "type": "boolean",
162
- "description": "允许搜索"
163
- },
164
- "sortable": {
165
- "type": "boolean",
166
- "description": "允许排序"
167
- },
168
- "precision": {
169
- "type": "integer",
170
- "description": "数值类型字段的最大长度,默认值18"
171
- },
172
- "scale": {
173
- "type": "integer",
174
- "description": "数值类型的小数位数,默认值2"
175
- },
176
- "reference_to": {
177
- "type": [
178
- "string",
179
- "array"
180
- ],
181
- "description": "引用的对象"
182
- },
183
- "reference_to_field": {
184
- "type": "string",
185
- "description": "引用的对象的字段,按照此字段去查找相关记录"
186
- },
187
- "modal_mode": {
188
- "type": "string",
189
- "description": "lookup字段弹出框模式: 'dialog' | 'drawer' ",
190
- "enum": [
191
- "dialog",
192
- "drawer"
193
- ]
194
- },
195
- "show_as_qr": {
196
- "type": "boolean",
197
- "description": "显示为二维码"
198
- },
199
- "table_schema": {
200
- "type": ["string", "object"],
201
- "description": "lookup字段弹出框表格定义,可以定义为列表视图名称或列表属性"
202
- },
203
- "rows": {
204
- "type": "integer",
205
- "description": "多行文本默认行数"
206
- },
207
- "firstOption": {
208
- "type": "boolean"
209
- },
210
- "options": {
211
- "anyOf": [
212
- {
213
- "items": {
214
- "type": "string",
215
- "pattern": "^[^:]+(:[^:]+)?(:[0-9a-fA-F]{6})?$"
216
- },
217
- "type": "array",
218
- "title": "One option per line. Three definition formats are supported. value, label:value, label:value:FFFFFF, the third format can set the color of each option, if supply as a string array."
219
- },
220
- {
221
- "items": {
222
- "type": "object",
223
- "required": ["label", "value"],
224
- "additionalProperties": false,
225
- "properties": {
226
- "label" : {
227
- "type": "string",
228
- "title": "Options display name"
229
- },
230
- "value" : {
231
- "type": ["string", "number", "boolean"],
232
- "title": "Options value saved as"
233
- },
234
- "color" : {
235
- "title": "Options color showed as background",
236
- "anyOf": [{
237
- "type": "string",
238
- "pattern": "^[0-9a-fA-F]{6}$"
239
- }]
240
- },
241
- "description" : {
242
- "type": "string",
243
- "title": "Options description "
244
- },
245
- "icon": {
246
- "type": "string",
247
- "title": "Options icon name"
248
- }
249
- }
250
- },
251
- "type": "array",
252
- "title": "The label and value propertie is required if supply as a object array."
253
- },
254
- {
255
- "type": "string",
256
- "title": "Only support a function string if supply as a string."
257
- }
258
- ],
259
- "description": "字段选项"
260
- },
261
- "auto_fill_mapping": {
262
- "anyOf": [
263
- {
264
- "items": {
265
- "type": "object",
266
- "required": ["from", "to"],
267
- "additionalProperties": false,
268
- "properties": {
269
- "from" : {
270
- "type": "string",
271
- "title": "从:引用对象中的字段"
272
- },
273
- "to" : {
274
- "type": "string",
275
- "title": "填充到:当前表单字段"
276
- }
277
- }
278
- },
279
- "type": "array",
280
- "title": "自动填充规则,选择数据后,将按此规则中的映射关系把引用对象中的字段值自动填充到当前表单字段中。"
281
- }
282
- ],
283
- "description": "自动填充规则,选择数据后,将按此规则中的映射关系把引用对象中的字段值自动填充到当前表单字段中。"
284
- },
285
- "description": {
286
- "type": "string",
287
- "description": "字段描述"
288
- },
289
- "filterable": {
290
- "type": "boolean",
291
- "description": "过滤器默认字段"
292
- },
293
- "inlineHelpText": {
294
- "type": "string",
295
- "description": "提示文本"
296
- },
297
- "unique": {
298
- "type": "boolean",
299
- "description": "唯一"
300
- },
301
- "optionsFunction": {
302
- "type": "string",
303
- "description": "字段选项函数名称"
304
- },
305
- "min": {
306
- "type": ["integer", "string"],
307
- "description": "最小长度。支持字符串,数字,金额,日期类型字段"
308
- },
309
- "max": {
310
- "type": ["integer", "string"],
311
- "description": "最大长度。支持字符串,数字,金额,日期类型字段"
312
- },
313
- "blackbox": {
314
- "type": "boolean",
315
- "description": "不校验字段类型"
316
- },
317
- "disabled": {
318
- "type": "boolean",
319
- "description": "禁用"
320
- },
321
- "reference_sort": {
322
- "type": "object",
323
- "description": "排序方式"
324
- },
325
- "reference_limit": {
326
- "type": "number",
327
- "description": "一次最多显示数据"
328
- },
329
- "is_company_only": {
330
- "type": "boolean",
331
- "description": "本公司"
332
- },
333
- "is_company_limited": {
334
- "type": ["boolean", "string"],
335
- "description": "本公司"
336
- },
337
- "system": {
338
- "type": "string"
339
- },
340
- "depend_on": {
341
- "type": "array",
342
- "description": "依赖的字段"
343
- },
344
- "defaultIcon": {
345
- "type": "string",
346
- "description": "默认的图标"
347
- },
348
- "showIcon": {
349
- "type": "boolean",
350
- "description": "是否显示图标"
351
- },
352
- "primary": {
353
- "type": "boolean",
354
- "description": "主键"
355
- },
356
- "generated": {
357
- "type": "boolean",
358
- "description": "自增"
359
- },
360
- "fieldDBType": {
361
- "type": "string",
362
- "description": "字段数据库类型"
363
- },
364
- "collection": {
365
- "type": "string",
366
- "description": "对应对象名"
367
- },
368
- "language": {
369
- "type": "string",
370
- "description": "模板名"
371
- },
372
- "create": {
373
- "type": "boolean",
374
- "description": "关联时是否允许创建"
190
+ "pattern": "^[^:]+(:[^:]+)?(:[0-9a-fA-F]{6})?$"
191
+ },
192
+ "type": "array",
193
+ "title": "One option per line. Three definition formats are supported. value, label:value, label:value:FFFFFF, the third format can set the color of each option, if supply as a string array."
375
194
  },
376
- "regEx": {
195
+ {
196
+ "items": {
377
197
  "type": "object",
378
- "description": "正则表达式"
379
- },
380
- "formula": {
381
- "type": "string",
382
- "description": "公式"
383
- },
384
- "data_type": {
385
- "type": "string",
386
- "description": "数据类型",
387
- "anyOf": [
388
- {
389
- "enum": [
390
- "text",
391
- "boolean",
392
- "date",
393
- "datetime",
394
- "number",
395
- "currency",
396
- "percent"
397
- ]
398
- }
399
- ]
400
- },
401
- "summary_object": {
402
- "type": "string",
403
- "description": "要汇总的对象"
404
- },
405
- "summary_type": {
406
- "type": "string",
407
- "description": "汇总类型",
408
- "anyOf": [
409
- {
410
- "enum": [
411
- "count",
412
- "sum",
413
- "min",
414
- "max",
415
- "avg"
416
- ]
417
- }
418
- ]
419
- },
420
- "summary_field": {
421
- "type": "string",
422
- "description": "要聚合的字段"
423
- },
424
- "summary_filters": {
425
- "type": [
426
- "array",
427
- "string"
428
- ],
429
- "description": "要汇总的子表记录的过滤条件"
430
- },
431
- "formula_blank_value": {
432
- "type": "string",
433
- "description": "空白字段处理,zeroes表示将空白字段视为零,blanks表示将空白字段视为空白,默认为zeroes",
434
- "anyOf": [
435
- {
436
- "enum": [
437
- "zeroes",
438
- "blanks"
439
- ]
440
- }
441
- ]
442
- },
443
- "filters": {
444
- "type": [
445
- "array",
446
- "string"
447
- ],
448
- "description": "过滤条件"
449
- },
450
- "filtersFunction": {
451
- "type": "string",
452
- "description": "过滤条件函数名称"
453
- },
454
- "write_requires_master_read": {
455
- "type": "boolean",
456
- "description": "设置主记录上创建、编辑或删除子记录所需的最低访问级别。此字段仅适用于master_detail字段类型。true--允许具有'读取'访问权限的用户创建、编辑或删除子记录。false = 允许具有'读取/写入'访问权限的用户创建、编辑或删除子记录的权限。此设置比 true 更严格,并且是默认值。"
457
- },
458
- "relatedList": {
459
- "type": "boolean",
460
- "description": "用于表示是否在相关表的详细页面中作为子表显示"
461
- },
462
- "picklist": {
463
- "type": "string",
464
- "description": "指定字段的选项列表值集"
465
- },
466
- "visible_on": {
467
- "type": "string",
468
- "description": "函数表达式,控制是否显示此字段"
198
+ "required": ["label", "value"],
199
+ "additionalProperties": false,
200
+ "properties": {
201
+ "label": {
202
+ "type": "string",
203
+ "title": "Options display name"
204
+ },
205
+ "value": {
206
+ "type": ["string", "number", "boolean"],
207
+ "title": "Options value saved as"
208
+ },
209
+ "color": {
210
+ "title": "Options color showed as background",
211
+ "anyOf": [
212
+ {
213
+ "type": "string",
214
+ "pattern": "^[0-9a-fA-F]{6}$"
215
+ }
216
+ ]
217
+ },
218
+ "description": {
219
+ "type": "string",
220
+ "title": "Options description "
221
+ },
222
+ "icon": {
223
+ "type": "string",
224
+ "title": "Options icon name"
225
+ }
226
+ }
227
+ },
228
+ "type": "array",
229
+ "title": "The label and value propertie is required if supply as a object array."
469
230
  },
470
- "amis": {
231
+ {
232
+ "type": "string",
233
+ "title": "Only support a function string if supply as a string."
234
+ }
235
+ ],
236
+ "description": "字段选项"
237
+ },
238
+ "auto_fill_mapping": {
239
+ "anyOf": [
240
+ {
241
+ "items": {
471
242
  "type": "object",
472
- "description": "amis属性"
473
- },
474
- "enable_enhanced_lookup": {
475
- "type": "boolean",
476
- "description": "启用增强lookup模式,当开启时,该字段会弹出窗口显示可选项!"
477
- },
478
- "enable_thousands": {
479
- "type": "boolean",
480
- "description": "显示千分符"
243
+ "required": ["from", "to"],
244
+ "additionalProperties": false,
245
+ "properties": {
246
+ "from": {
247
+ "type": "string",
248
+ "title": "从:引用对象中的字段"
249
+ },
250
+ "to": {
251
+ "type": "string",
252
+ "title": "填充到:当前表单字段"
253
+ }
254
+ }
255
+ },
256
+ "type": "array",
257
+ "title": "自动填充规则,选择数据后,将按此规则中的映射关系把引用对象中的字段值自动填充到当前表单字段中。"
258
+ }
259
+ ],
260
+ "description": "自动填充规则,选择数据后,将按此规则中的映射关系把引用对象中的字段值自动填充到当前表单字段中。"
261
+ },
262
+ "description": {
263
+ "type": "string",
264
+ "description": "字段描述"
265
+ },
266
+ "filterable": {
267
+ "type": "boolean",
268
+ "description": "过滤器默认字段"
269
+ },
270
+ "inlineHelpText": {
271
+ "type": "string",
272
+ "description": "提示文本"
273
+ },
274
+ "unique": {
275
+ "type": "boolean",
276
+ "description": "唯一"
277
+ },
278
+ "optionsFunction": {
279
+ "type": "string",
280
+ "description": "字段选项函数名称"
281
+ },
282
+ "min": {
283
+ "type": ["integer", "string"],
284
+ "description": "最小长度。支持字符串,数字,金额,日期类型字段"
285
+ },
286
+ "max": {
287
+ "type": ["integer", "string"],
288
+ "description": "最大长度。支持字符串,数字,金额,日期类型字段"
289
+ },
290
+ "blackbox": {
291
+ "type": "boolean",
292
+ "description": "不校验字段类型"
293
+ },
294
+ "disabled": {
295
+ "type": "boolean",
296
+ "description": "禁用"
297
+ },
298
+ "reference_sort": {
299
+ "type": "object",
300
+ "description": "排序方式"
301
+ },
302
+ "reference_limit": {
303
+ "type": "number",
304
+ "description": "一次最多显示数据"
305
+ },
306
+ "is_company_only": {
307
+ "type": "boolean",
308
+ "description": "本公司"
309
+ },
310
+ "is_company_limited": {
311
+ "type": ["boolean", "string"],
312
+ "description": "本公司"
313
+ },
314
+ "system": {
315
+ "type": "string"
316
+ },
317
+ "depend_on": {
318
+ "type": "array",
319
+ "description": "依赖的字段"
320
+ },
321
+ "defaultIcon": {
322
+ "type": "string",
323
+ "description": "默认的图标"
324
+ },
325
+ "showIcon": {
326
+ "type": "boolean",
327
+ "description": "是否显示图标"
328
+ },
329
+ "primary": {
330
+ "type": "boolean",
331
+ "description": "主键"
332
+ },
333
+ "generated": {
334
+ "type": "boolean",
335
+ "description": "自增"
336
+ },
337
+ "fieldDBType": {
338
+ "type": "string",
339
+ "description": "字段数据库类型"
340
+ },
341
+ "collection": {
342
+ "type": "string",
343
+ "description": "对应对象名"
344
+ },
345
+ "language": {
346
+ "type": "string",
347
+ "description": "模板名"
348
+ },
349
+ "create": {
350
+ "type": "boolean",
351
+ "description": "关联时是否允许创建"
352
+ },
353
+ "regEx": {
354
+ "type": "object",
355
+ "description": "正则表达式"
356
+ },
357
+ "formula": {
358
+ "type": "string",
359
+ "description": "公式"
360
+ },
361
+ "data_type": {
362
+ "type": "string",
363
+ "description": "数据类型",
364
+ "anyOf": [
365
+ {
366
+ "enum": [
367
+ "text",
368
+ "boolean",
369
+ "date",
370
+ "datetime",
371
+ "number",
372
+ "currency",
373
+ "percent"
374
+ ]
375
+ }
376
+ ]
377
+ },
378
+ "summary_object": {
379
+ "type": "string",
380
+ "description": "要汇总的对象"
381
+ },
382
+ "summary_type": {
383
+ "type": "string",
384
+ "description": "汇总类型",
385
+ "anyOf": [
386
+ {
387
+ "enum": ["count", "sum", "min", "max", "avg"]
388
+ }
389
+ ]
390
+ },
391
+ "summary_field": {
392
+ "type": "string",
393
+ "description": "要聚合的字段"
394
+ },
395
+ "summary_filters": {
396
+ "type": ["array", "string"],
397
+ "description": "要汇总的子表记录的过滤条件"
398
+ },
399
+ "formula_blank_value": {
400
+ "type": "string",
401
+ "description": "空白字段处理,zeroes表示将空白字段视为零,blanks表示将空白字段视为空白,默认为zeroes",
402
+ "anyOf": [
403
+ {
404
+ "enum": ["zeroes", "blanks"]
481
405
  }
406
+ ]
407
+ },
408
+ "filters": {
409
+ "type": ["array", "string"],
410
+ "description": "过滤条件"
411
+ },
412
+ "filtersFunction": {
413
+ "type": "string",
414
+ "description": "过滤条件函数名称"
415
+ },
416
+ "write_requires_master_read": {
417
+ "type": "boolean",
418
+ "description": "设置主记录上创建、编辑或删除子记录所需的最低访问级别。此字段仅适用于master_detail字段类型。true--允许具有'读取'访问权限的用户创建、编辑或删除子记录。false = 允许具有'读取/写入'访问权限的用户创建、编辑或删除子记录的权限。此设置比 true 更严格,并且是默认值。"
419
+ },
420
+ "relatedList": {
421
+ "type": "boolean",
422
+ "description": "用于表示是否在相关表的详细页面中作为子表显示"
423
+ },
424
+ "picklist": {
425
+ "type": "string",
426
+ "description": "指定字段的选项列表值集"
427
+ },
428
+ "visible_on": {
429
+ "type": "string",
430
+ "description": "函数表达式,控制是否显示此字段"
431
+ },
432
+ "amis": {
433
+ "type": "object",
434
+ "description": "amis属性"
435
+ },
436
+ "enable_enhanced_lookup": {
437
+ "type": "boolean",
438
+ "description": "启用增强lookup模式,当开启时,该字段会弹出窗口显示可选项!"
439
+ },
440
+ "enable_thousands": {
441
+ "type": "boolean",
442
+ "description": "显示千分符"
482
443
  }
483
- }
444
+ }
445
+ }