From 1c5afb52b327fb87c46c11a95d5e360d4dfeac2f Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Thu, 9 May 2024 15:32:35 +0300 Subject: [PATCH] schema --- schema/metadata/entityDefs.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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": {