Skip to content

EspoCRM – Open Source CRM Application

schema

Yuri Kuznetsove66d7fc36783
diff --git a/schema/metadata/entityDefs.json b/schema/metadata/entityDefs.json
index 835b6f50a4..73efeaff6e 100644
--- a/schema/metadata/entityDefs.json
+++ b/schema/metadata/entityDefs.json
@@ -744,6 +744,28 @@
}
}
},
+ {
+ "if": {
+ "properties": {
+ "type": {
+ "anyOf": [
+ {"const": "linkParent"}
+ ]
+ }
+ }
+ },
+ "then": {
+ "properties": {
+ "entityList": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Entity types supported by the link."
+ }
+ }
+ }
+ },
{
"if": {
"properties": {