From d6776ffcc81edf7ffdbe1de45fc9383dc203df1e Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Fri, 17 Nov 2023 09:11:01 +0200 Subject: [PATCH] schema --- schema/metadata/entityDefs.json | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/schema/metadata/entityDefs.json b/schema/metadata/entityDefs.json index 3bbbfdf531..7cd22514b4 100644 --- a/schema/metadata/entityDefs.json +++ b/schema/metadata/entityDefs.json @@ -360,6 +360,29 @@ } } }, + { + "if": { + "properties": { + "type": { + "anyOf": [ + {"const": "foreign"} + ] + } + } + }, + "then": { + "properties": { + "link": { + "type": "string", + "description": "A link." + }, + "field": { + "type": "string", + "description": "A field if the foreign entity type." + } + } + } + }, { "if": { "properties": {