diff --git a/schema/metadata/entityDefs.json b/schema/metadata/entityDefs.json index 4b94555f75..32ce4b1548 100644 --- a/schema/metadata/entityDefs.json +++ b/schema/metadata/entityDefs.json @@ -215,6 +215,10 @@ "optionsPath": { "type": "string", "description": "An options path. E.g. `entityDefs.SomeEntityType.fields.someField.options`." + }, + "optionsReference": { + "type": "string", + "description": "An options reference. E.g. `SomeEntityType.someField`." } } } @@ -241,6 +245,26 @@ } } }, + { + "if": { + "properties": { + "type": { + "anyOf": [ + {"const": "multiEnum"}, + {"const": "array"} + ] + } + } + }, + "then": { + "properties": { + "allowCustomOptions": { + "type": "boolean", + "description": "Allow custom options." + } + } + } + }, { "if": { "properties": {