Skip to content

EspoCRM – Open Source CRM Application

schema fix

Yuri Kuznetsov74cc70145974
diff --git a/schema/metadata/clientDefs.json b/schema/metadata/clientDefs.json
index 51b01e3902..bdda50126c 100644
--- a/schema/metadata/clientDefs.json
+++ b/schema/metadata/clientDefs.json
@@ -527,34 +527,37 @@
"description": "Attributes to carry over to a related record when creating. Mapping Parent => Related."
},
"buttonList": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "A name."
- },
- "acl": {
- "description": "An ACL action access to which is required for the action.",
- "type": "string",
- "enum": [
- "create",
- "read",
- "edit",
- "delete",
- "stream"
- ]
- },
- "label": {
- "type": "string",
- "description": "A translatable label."
- },
- "handler": {
- "type": "string",
- "description": "A frontend handler. A view is passed to the constructor."
- },
- "actionFunction": {
- "type": "string",
- "description": "An action method in the handler."
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "A name."
+ },
+ "acl": {
+ "description": "An ACL action access to which is required for the action.",
+ "type": "string",
+ "enum": [
+ "create",
+ "read",
+ "edit",
+ "delete",
+ "stream"
+ ]
+ },
+ "label": {
+ "type": "string",
+ "description": "A translatable label."
+ },
+ "handler": {
+ "type": "string",
+ "description": "A frontend handler. A view is passed to the constructor."
+ },
+ "actionFunction": {
+ "type": "string",
+ "description": "An action method in the handler."
+ }
}
},
"description": "Header buttons. As of v8.4."