@steedos/schemas 3.0.0 → 3.0.2-beta.10
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/app/schema.json +147 -155
- package/button/schema.json +1 -1
- package/dashboard/schema.json +51 -59
- package/field/schema.json +435 -473
- package/listview/schema.json +22 -2
- package/object/schema.json +1 -1
- package/package.json +2 -2
- package/permission/schema.json +149 -157
- package/permissionset/schema.json +50 -56
- package/profile/schema.json +82 -89
package/listview/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"name": "steedos-schema_object_listview",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"additionalProperties": false,
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"type": {
|
|
35
35
|
"type": "string",
|
|
36
36
|
"description": "列表显示类型,默认为grid",
|
|
37
|
-
"enum": ["grid", "calendar"]
|
|
37
|
+
"enum": ["grid", "cards", "calendar", "timeline"]
|
|
38
38
|
},
|
|
39
39
|
"filter_scope": {
|
|
40
40
|
"type": "string",
|
|
@@ -127,6 +127,26 @@
|
|
|
127
127
|
"crud": {
|
|
128
128
|
"type": "object",
|
|
129
129
|
"description": "重写列表crud配置,请使用json格式配置。"
|
|
130
|
+
},
|
|
131
|
+
"calendar_start_field": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"description": "日程开始时间字段"
|
|
134
|
+
},
|
|
135
|
+
"calendar_end_field": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"description": "日程结束时间字段"
|
|
138
|
+
},
|
|
139
|
+
"calendar_all_day_field": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"description": "日程是否全天字段,选择一个布尔字段来标记日程是否为全天事件。"
|
|
142
|
+
},
|
|
143
|
+
"calendar_group_field": {
|
|
144
|
+
"type": "string",
|
|
145
|
+
"description": "日程资源字段,选择一个相关表字段来标记日程所属资源,日历视图将按此字段进行分组显示。"
|
|
146
|
+
},
|
|
147
|
+
"calendar_current_view": {
|
|
148
|
+
"type": "string",
|
|
149
|
+
"description": "日程默认视图,默认为week"
|
|
130
150
|
}
|
|
131
151
|
}
|
|
132
152
|
}
|
package/object/schema.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/schemas",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2-beta.10",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": "https://github.com/steedos/schemas.git",
|
|
6
6
|
"author": "sunhaolin <sunhaolin@hotoa.com>",
|
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
"publishConfig": {
|
|
9
9
|
"access": "public"
|
|
10
10
|
},
|
|
11
|
-
"gitHead": "
|
|
11
|
+
"gitHead": "35caa60431c6d4931e0d098b36af37945a3c0c6e"
|
|
12
12
|
}
|
package/permission/schema.json
CHANGED
|
@@ -1,163 +1,155 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"name": "steedos-schema_object_permission",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"additionalProperties": false,
|
|
6
|
+
"oneOf": [
|
|
7
|
+
{
|
|
8
|
+
"properties": {
|
|
9
|
+
"type": {
|
|
10
|
+
"enum": ["library"]
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"required": ["name"]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"properties": {
|
|
17
|
+
"type": {
|
|
18
|
+
"not": {
|
|
19
|
+
"enum": ["library"]
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"properties": {
|
|
26
|
+
"name": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"description": "名称"
|
|
29
|
+
},
|
|
30
|
+
"permission_set_id": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"description": "权限集"
|
|
33
|
+
},
|
|
34
|
+
"object_name": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "对象"
|
|
37
|
+
},
|
|
38
|
+
"allowRead": {
|
|
39
|
+
"type": "boolean",
|
|
40
|
+
"description": "允许查看"
|
|
41
|
+
},
|
|
42
|
+
"allowCreate": {
|
|
43
|
+
"type": "boolean",
|
|
44
|
+
"description": "允许创建"
|
|
45
|
+
},
|
|
46
|
+
"allowEdit": {
|
|
47
|
+
"type": "boolean",
|
|
48
|
+
"description": "允许修改"
|
|
49
|
+
},
|
|
50
|
+
"allowDelete": {
|
|
51
|
+
"type": "boolean",
|
|
52
|
+
"description": "允许删除"
|
|
53
|
+
},
|
|
54
|
+
"viewAllRecords": {
|
|
55
|
+
"type": "boolean",
|
|
56
|
+
"description": "查看所有记录"
|
|
57
|
+
},
|
|
58
|
+
"modifyAllRecords": {
|
|
59
|
+
"type": "boolean",
|
|
60
|
+
"description": "修改所有记录"
|
|
61
|
+
},
|
|
62
|
+
"viewCompanyRecords": {
|
|
63
|
+
"type": "boolean",
|
|
64
|
+
"description": "查看本分部"
|
|
65
|
+
},
|
|
66
|
+
"modifyCompanyRecords": {
|
|
67
|
+
"type": "boolean",
|
|
68
|
+
"description": "修改本分部"
|
|
69
|
+
},
|
|
70
|
+
"viewAssignCompanysRecords": {
|
|
71
|
+
"type": "array",
|
|
72
|
+
"description": "查看指定分部"
|
|
73
|
+
},
|
|
74
|
+
"modifyAssignCompanysRecords": {
|
|
75
|
+
"type": "array",
|
|
76
|
+
"description": "修改指定分部"
|
|
77
|
+
},
|
|
78
|
+
"allowReadFiles": {
|
|
79
|
+
"type": "boolean",
|
|
80
|
+
"description": "允许查看附件"
|
|
81
|
+
},
|
|
82
|
+
"allowCreateFiles": {
|
|
83
|
+
"type": "boolean",
|
|
84
|
+
"description": "允许创建附件"
|
|
85
|
+
},
|
|
86
|
+
"allowEditFiles": {
|
|
87
|
+
"type": "boolean",
|
|
88
|
+
"description": "允许修改附件"
|
|
89
|
+
},
|
|
90
|
+
"allowDeleteFiles": {
|
|
91
|
+
"type": "boolean",
|
|
92
|
+
"description": "允许删除附件"
|
|
93
|
+
},
|
|
94
|
+
"viewAllFiles": {
|
|
95
|
+
"type": "boolean",
|
|
96
|
+
"description": "查看所有附件"
|
|
97
|
+
},
|
|
98
|
+
"modifyAllFiles": {
|
|
99
|
+
"type": "boolean",
|
|
100
|
+
"description": "修改所有附件"
|
|
101
|
+
},
|
|
102
|
+
"disabled_list_views": {
|
|
103
|
+
"type": "array",
|
|
104
|
+
"description": "禁用对象列表视图"
|
|
105
|
+
},
|
|
106
|
+
"disabled_actions": {
|
|
107
|
+
"type": "array",
|
|
108
|
+
"description": "禁用操作按钮"
|
|
109
|
+
},
|
|
110
|
+
"unreadable_fields": {
|
|
111
|
+
"type": "array",
|
|
112
|
+
"description": "不可见字段"
|
|
113
|
+
},
|
|
114
|
+
"uneditable_fields": {
|
|
115
|
+
"type": "array",
|
|
116
|
+
"description": "不可编辑字段"
|
|
117
|
+
},
|
|
118
|
+
"unrelated_objects": {
|
|
119
|
+
"type": "array",
|
|
120
|
+
"description": "禁用关联对象"
|
|
121
|
+
},
|
|
122
|
+
"uneditable_related_list": {
|
|
123
|
+
"type": "array",
|
|
124
|
+
"description": "关联对象只读"
|
|
125
|
+
},
|
|
126
|
+
"field_permissions": {
|
|
127
|
+
"anyOf": [
|
|
19
128
|
{
|
|
129
|
+
"items": {
|
|
130
|
+
"type": "object",
|
|
131
|
+
"required": ["field"],
|
|
132
|
+
"additionalProperties": false,
|
|
20
133
|
"properties": {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
134
|
+
"field": {
|
|
135
|
+
"type": "string",
|
|
136
|
+
"title": "字段 Api 名称"
|
|
137
|
+
},
|
|
138
|
+
"readable": {
|
|
139
|
+
"type": "boolean",
|
|
140
|
+
"title": "允许查看"
|
|
141
|
+
},
|
|
142
|
+
"editable": {
|
|
143
|
+
"type": "boolean",
|
|
144
|
+
"title": "允许编辑"
|
|
145
|
+
}
|
|
28
146
|
}
|
|
147
|
+
},
|
|
148
|
+
"type": "array",
|
|
149
|
+
"title": "字段权限"
|
|
29
150
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"name":{
|
|
33
|
-
"type": "string",
|
|
34
|
-
"description": "名称"
|
|
35
|
-
},
|
|
36
|
-
"permission_set_id":{
|
|
37
|
-
"type": "string",
|
|
38
|
-
"description": "权限集"
|
|
39
|
-
},
|
|
40
|
-
"object_name": {
|
|
41
|
-
"type": "string",
|
|
42
|
-
"description": "对象"
|
|
43
|
-
},
|
|
44
|
-
"allowRead": {
|
|
45
|
-
"type": "boolean",
|
|
46
|
-
"description": "允许查看"
|
|
47
|
-
},
|
|
48
|
-
"allowCreate": {
|
|
49
|
-
"type": "boolean",
|
|
50
|
-
"description": "允许创建"
|
|
51
|
-
},
|
|
52
|
-
"allowEdit": {
|
|
53
|
-
"type": "boolean",
|
|
54
|
-
"description": "允许修改"
|
|
55
|
-
},
|
|
56
|
-
"allowDelete": {
|
|
57
|
-
"type": "boolean",
|
|
58
|
-
"description": "允许删除"
|
|
59
|
-
},
|
|
60
|
-
"viewAllRecords": {
|
|
61
|
-
"type": "boolean",
|
|
62
|
-
"description": "查看所有记录"
|
|
63
|
-
},
|
|
64
|
-
"modifyAllRecords": {
|
|
65
|
-
"type": "boolean",
|
|
66
|
-
"description": "修改所有记录"
|
|
67
|
-
},
|
|
68
|
-
"viewCompanyRecords": {
|
|
69
|
-
"type": "boolean",
|
|
70
|
-
"description": "查看本分部"
|
|
71
|
-
},
|
|
72
|
-
"modifyCompanyRecords": {
|
|
73
|
-
"type": "boolean",
|
|
74
|
-
"description": "修改本分部"
|
|
75
|
-
},
|
|
76
|
-
"viewAssignCompanysRecords": {
|
|
77
|
-
"type": "array",
|
|
78
|
-
"description": "查看指定分部"
|
|
79
|
-
},
|
|
80
|
-
"modifyAssignCompanysRecords": {
|
|
81
|
-
"type": "array",
|
|
82
|
-
"description": "修改指定分部"
|
|
83
|
-
},
|
|
84
|
-
"allowReadFiles": {
|
|
85
|
-
"type": "boolean",
|
|
86
|
-
"description": "允许查看附件"
|
|
87
|
-
},
|
|
88
|
-
"allowCreateFiles": {
|
|
89
|
-
"type": "boolean",
|
|
90
|
-
"description": "允许创建附件"
|
|
91
|
-
},
|
|
92
|
-
"allowEditFiles": {
|
|
93
|
-
"type": "boolean",
|
|
94
|
-
"description": "允许修改附件"
|
|
95
|
-
},
|
|
96
|
-
"allowDeleteFiles": {
|
|
97
|
-
"type": "boolean",
|
|
98
|
-
"description": "允许删除附件"
|
|
99
|
-
},
|
|
100
|
-
"viewAllFiles": {
|
|
101
|
-
"type": "boolean",
|
|
102
|
-
"description": "查看所有附件"
|
|
103
|
-
},
|
|
104
|
-
"modifyAllFiles": {
|
|
105
|
-
"type": "boolean",
|
|
106
|
-
"description": "修改所有附件"
|
|
107
|
-
},
|
|
108
|
-
"disabled_list_views": {
|
|
109
|
-
"type": "array",
|
|
110
|
-
"description": "禁用对象列表视图"
|
|
111
|
-
},
|
|
112
|
-
"disabled_actions": {
|
|
113
|
-
"type": "array",
|
|
114
|
-
"description": "禁用操作按钮"
|
|
115
|
-
},
|
|
116
|
-
"unreadable_fields": {
|
|
117
|
-
"type": "array",
|
|
118
|
-
"description": "不可见字段"
|
|
119
|
-
},
|
|
120
|
-
"uneditable_fields": {
|
|
121
|
-
"type": "array",
|
|
122
|
-
"description": "不可编辑字段"
|
|
123
|
-
},
|
|
124
|
-
"unrelated_objects": {
|
|
125
|
-
"type": "array",
|
|
126
|
-
"description": "禁用关联对象"
|
|
127
|
-
},
|
|
128
|
-
"uneditable_related_list": {
|
|
129
|
-
"type": "array",
|
|
130
|
-
"description": "关联对象只读"
|
|
131
|
-
},
|
|
132
|
-
"field_permissions": {
|
|
133
|
-
"anyOf": [
|
|
134
|
-
{
|
|
135
|
-
"items": {
|
|
136
|
-
"type": "object",
|
|
137
|
-
"required": [
|
|
138
|
-
"field"
|
|
139
|
-
],
|
|
140
|
-
"additionalProperties": false,
|
|
141
|
-
"properties": {
|
|
142
|
-
"field": {
|
|
143
|
-
"type": "string",
|
|
144
|
-
"title": "字段 Api 名称"
|
|
145
|
-
},
|
|
146
|
-
"readable": {
|
|
147
|
-
"type": "boolean",
|
|
148
|
-
"title": "允许查看"
|
|
149
|
-
},
|
|
150
|
-
"editable": {
|
|
151
|
-
"type": "boolean",
|
|
152
|
-
"title": "允许编辑"
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
"type": "array",
|
|
157
|
-
"title": "字段权限"
|
|
158
|
-
}
|
|
159
|
-
],
|
|
160
|
-
"description": "字段权限"
|
|
161
|
-
}
|
|
151
|
+
],
|
|
152
|
+
"description": "字段权限"
|
|
162
153
|
}
|
|
163
|
-
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
@@ -1,61 +1,55 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"library"
|
|
12
|
-
]
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"required": [
|
|
16
|
-
"name"
|
|
17
|
-
]
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"properties": {
|
|
21
|
-
"type": {
|
|
22
|
-
"not": {
|
|
23
|
-
"enum": [
|
|
24
|
-
"library"
|
|
25
|
-
]
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"name": "steedos-schema_permissionset",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"additionalProperties": false,
|
|
6
|
+
"oneOf": [
|
|
7
|
+
{
|
|
8
|
+
"properties": {
|
|
9
|
+
"type": {
|
|
10
|
+
"enum": ["library"]
|
|
29
11
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
},
|
|
36
|
-
"label": {
|
|
37
|
-
"type": "string",
|
|
38
|
-
"description": "显示名称"
|
|
39
|
-
},
|
|
12
|
+
},
|
|
13
|
+
"required": ["name"]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"properties": {
|
|
40
17
|
"type": {
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
"license": {
|
|
45
|
-
"type": "string",
|
|
46
|
-
"description": "许可证"
|
|
47
|
-
},
|
|
48
|
-
"assigned_apps": {
|
|
49
|
-
"type": "array",
|
|
50
|
-
"description": "授权应用"
|
|
51
|
-
},
|
|
52
|
-
"users": {
|
|
53
|
-
"type": "array",
|
|
54
|
-
"description": "成员"
|
|
55
|
-
},
|
|
56
|
-
"is_system": {
|
|
57
|
-
"type": "boolean",
|
|
58
|
-
"description": "系统"
|
|
18
|
+
"not": {
|
|
19
|
+
"enum": ["library"]
|
|
20
|
+
}
|
|
59
21
|
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"properties": {
|
|
26
|
+
"name": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"description": "API 名称"
|
|
29
|
+
},
|
|
30
|
+
"label": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"description": "显示名称"
|
|
33
|
+
},
|
|
34
|
+
"type": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "类别"
|
|
37
|
+
},
|
|
38
|
+
"license": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"description": "许可证"
|
|
41
|
+
},
|
|
42
|
+
"assigned_apps": {
|
|
43
|
+
"type": "array",
|
|
44
|
+
"description": "授权应用"
|
|
45
|
+
},
|
|
46
|
+
"users": {
|
|
47
|
+
"type": "array",
|
|
48
|
+
"description": "成员"
|
|
49
|
+
},
|
|
50
|
+
"is_system": {
|
|
51
|
+
"type": "boolean",
|
|
52
|
+
"description": "系统"
|
|
60
53
|
}
|
|
61
|
-
}
|
|
54
|
+
}
|
|
55
|
+
}
|
package/profile/schema.json
CHANGED
|
@@ -1,94 +1,87 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"library"
|
|
12
|
-
]
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"required": [
|
|
16
|
-
"name",
|
|
17
|
-
"license"
|
|
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_profile",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"additionalProperties": false,
|
|
6
|
+
"oneOf": [
|
|
7
|
+
{
|
|
8
|
+
"properties": {
|
|
9
|
+
"type": {
|
|
10
|
+
"enum": ["library"]
|
|
30
11
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
},
|
|
37
|
-
"label": {
|
|
38
|
-
"type": "string",
|
|
39
|
-
"description": "显示名称"
|
|
40
|
-
},
|
|
12
|
+
},
|
|
13
|
+
"required": ["name", "license"]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"properties": {
|
|
41
17
|
"type": {
|
|
42
|
-
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
"license": {
|
|
46
|
-
"type": "string",
|
|
47
|
-
"description": "许可证"
|
|
48
|
-
},
|
|
49
|
-
"assigned_apps": {
|
|
50
|
-
"type": "array",
|
|
51
|
-
"description": "授权应用"
|
|
52
|
-
},
|
|
53
|
-
"users": {
|
|
54
|
-
"type": "array",
|
|
55
|
-
"description": "成员"
|
|
56
|
-
},
|
|
57
|
-
"is_system": {
|
|
58
|
-
"type": "boolean",
|
|
59
|
-
"description": "系统"
|
|
60
|
-
},
|
|
61
|
-
"password_history": {
|
|
62
|
-
"type": "string",
|
|
63
|
-
"description": "强制密码历史。默认值3"
|
|
64
|
-
},
|
|
65
|
-
"max_login_attempts": {
|
|
66
|
-
"type": "string",
|
|
67
|
-
"description": "最大无效登录尝试次数。默认值10"
|
|
68
|
-
},
|
|
69
|
-
"lockout_interval": {
|
|
70
|
-
"type": "string",
|
|
71
|
-
"description": "锁定有效期间。默认值15"
|
|
72
|
-
},
|
|
73
|
-
"enable_MFA": {
|
|
74
|
-
"type": "boolean",
|
|
75
|
-
"description": "多重身份验证(需要开启短信服务)"
|
|
76
|
-
},
|
|
77
|
-
"logout_other_clients": {
|
|
78
|
-
"type": "boolean",
|
|
79
|
-
"description": "单例登录"
|
|
80
|
-
},
|
|
81
|
-
"login_expiration_in_days": {
|
|
82
|
-
"type": "number",
|
|
83
|
-
"description": "登录到期时间(天)"
|
|
84
|
-
},
|
|
85
|
-
"phone_logout_other_clients": {
|
|
86
|
-
"type": "boolean",
|
|
87
|
-
"description": "手机App单例登录"
|
|
88
|
-
},
|
|
89
|
-
"phone_login_expiration_in_days": {
|
|
90
|
-
"type": "number",
|
|
91
|
-
"description": "手机App登录到期时间(天)"
|
|
18
|
+
"not": {
|
|
19
|
+
"enum": ["library"]
|
|
20
|
+
}
|
|
92
21
|
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"properties": {
|
|
26
|
+
"name": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"description": "API 名称"
|
|
29
|
+
},
|
|
30
|
+
"label": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"description": "显示名称"
|
|
33
|
+
},
|
|
34
|
+
"type": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "类别"
|
|
37
|
+
},
|
|
38
|
+
"license": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"description": "许可证"
|
|
41
|
+
},
|
|
42
|
+
"assigned_apps": {
|
|
43
|
+
"type": "array",
|
|
44
|
+
"description": "授权应用"
|
|
45
|
+
},
|
|
46
|
+
"users": {
|
|
47
|
+
"type": "array",
|
|
48
|
+
"description": "成员"
|
|
49
|
+
},
|
|
50
|
+
"is_system": {
|
|
51
|
+
"type": "boolean",
|
|
52
|
+
"description": "系统"
|
|
53
|
+
},
|
|
54
|
+
"password_history": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"description": "强制密码历史。默认值3"
|
|
57
|
+
},
|
|
58
|
+
"max_login_attempts": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"description": "最大无效登录尝试次数。默认值10"
|
|
61
|
+
},
|
|
62
|
+
"lockout_interval": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"description": "锁定有效期间。默认值15"
|
|
65
|
+
},
|
|
66
|
+
"enable_MFA": {
|
|
67
|
+
"type": "boolean",
|
|
68
|
+
"description": "多重身份验证(需要开启短信服务)"
|
|
69
|
+
},
|
|
70
|
+
"logout_other_clients": {
|
|
71
|
+
"type": "boolean",
|
|
72
|
+
"description": "单例登录"
|
|
73
|
+
},
|
|
74
|
+
"login_expiration_in_days": {
|
|
75
|
+
"type": "number",
|
|
76
|
+
"description": "登录到期时间(天)"
|
|
77
|
+
},
|
|
78
|
+
"phone_logout_other_clients": {
|
|
79
|
+
"type": "boolean",
|
|
80
|
+
"description": "手机App单例登录"
|
|
81
|
+
},
|
|
82
|
+
"phone_login_expiration_in_days": {
|
|
83
|
+
"type": "number",
|
|
84
|
+
"description": "手机App登录到期时间(天)"
|
|
93
85
|
}
|
|
94
|
-
}
|
|
86
|
+
}
|
|
87
|
+
}
|