From df9431670a35bf9737da2c6e568d16cb32bec8db Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Fri, 22 Mar 2024 11:41:43 +0200 Subject: [PATCH] schema --- schema/metadata/entityDefs.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/schema/metadata/entityDefs.json b/schema/metadata/entityDefs.json index aa3a988543..ff4cfd9f55 100644 --- a/schema/metadata/entityDefs.json +++ b/schema/metadata/entityDefs.json @@ -263,6 +263,26 @@ } } }, + { + "if": { + "properties": { + "type": { + "anyOf": [ + {"const": "varchar"}, + {"const": "url"} + ] + } + } + }, + "then": { + "properties": { + "copyToClipboard": { + "type": "boolean", + "description": "Display 'Copy to Clipboard' button." + } + } + } + }, { "if": { "properties": {