Skip to content

EspoCRM – Open Source CRM Application

Schema

Yuriiee5ca5f55ada
diff --git a/schema/metadata/entityDefs.json b/schema/metadata/entityDefs.json
index 37fe3b666e..5f254d00d3 100644
--- a/schema/metadata/entityDefs.json
+++ b/schema/metadata/entityDefs.json
@@ -495,7 +495,23 @@
"copyToClipboard": {
"type": "boolean",
"description": "Display 'Copy to Clipboard' button."
- },
+ }
+ }
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "type": {
+ "anyOf": [
+ {"const": "url"},
+ {"const": "urlMultiple"}
+ ]
+ }
+ }
+ },
+ "then": {
+ "properties": {
"protocolRequired": {
"type": "boolean",
"description": "Require protocol. As of v10.0."