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": {