From bd9f68f08b3ece9b221a75baaa5eeb230ea07561 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?SAL=C4=B0H=20=C3=96ZKARA?= Date: Thu, 17 Sep 2026 13:06:44 +0300 Subject: [PATCH] Revert "Allow host-defined API Resource scope references" This reverts commit 2cd8be347be9bfa44a787e84cd1e71dbf392170b. --- .../api-resource-descriptor.schema.json | 160 +++++------------- 1 file changed, 40 insertions(+), 120 deletions(-) diff --git a/schemas/low-code/definitions/api-resource-descriptor.schema.json b/schemas/low-code/definitions/api-resource-descriptor.schema.json index 06d676b24b..a06f64d95f 100644 --- a/schemas/low-code/definitions/api-resource-descriptor.schema.json +++ b/schemas/low-code/definitions/api-resource-descriptor.schema.json @@ -350,18 +350,10 @@ "type": "object", "properties": { "kind": { - "anyOf": [ - { - "enum": [ - "all", - "createdByCurrentUser", - "assignedToCurrentUser" - ] - }, - { - "type": "string", - "pattern": "^host:.+$" - } + "enum": [ + "all", + "createdByCurrentUser", + "assignedToCurrentUser" ] }, "userProperty": { @@ -380,18 +372,10 @@ "type": "object", "properties": { "kind": { - "anyOf": [ - { - "enum": [ - "all", - "createdByCurrentUser", - "assignedToCurrentUser" - ] - }, - { - "type": "string", - "pattern": "^host:.+$" - } + "enum": [ + "all", + "createdByCurrentUser", + "assignedToCurrentUser" ] }, "userProperty": { @@ -410,18 +394,10 @@ "type": "object", "properties": { "kind": { - "anyOf": [ - { - "enum": [ - "all", - "createdByCurrentUser", - "assignedToCurrentUser" - ] - }, - { - "type": "string", - "pattern": "^host:.+$" - } + "enum": [ + "all", + "createdByCurrentUser", + "assignedToCurrentUser" ] }, "userProperty": { @@ -440,18 +416,10 @@ "type": "object", "properties": { "kind": { - "anyOf": [ - { - "enum": [ - "all", - "createdByCurrentUser", - "assignedToCurrentUser" - ] - }, - { - "type": "string", - "pattern": "^host:.+$" - } + "enum": [ + "all", + "createdByCurrentUser", + "assignedToCurrentUser" ] }, "userProperty": { @@ -470,18 +438,10 @@ "type": "object", "properties": { "kind": { - "anyOf": [ - { - "enum": [ - "all", - "createdByCurrentUser", - "assignedToCurrentUser" - ] - }, - { - "type": "string", - "pattern": "^host:.+$" - } + "enum": [ + "all", + "createdByCurrentUser", + "assignedToCurrentUser" ] }, "userProperty": { @@ -500,18 +460,10 @@ "type": "object", "properties": { "kind": { - "anyOf": [ - { - "enum": [ - "all", - "createdByCurrentUser", - "assignedToCurrentUser" - ] - }, - { - "type": "string", - "pattern": "^host:.+$" - } + "enum": [ + "all", + "createdByCurrentUser", + "assignedToCurrentUser" ] }, "userProperty": { @@ -530,18 +482,10 @@ "type": "object", "properties": { "kind": { - "anyOf": [ - { - "enum": [ - "all", - "createdByCurrentUser", - "assignedToCurrentUser" - ] - }, - { - "type": "string", - "pattern": "^host:.+$" - } + "enum": [ + "all", + "createdByCurrentUser", + "assignedToCurrentUser" ] }, "userProperty": { @@ -560,18 +504,10 @@ "type": "object", "properties": { "kind": { - "anyOf": [ - { - "enum": [ - "all", - "createdByCurrentUser", - "assignedToCurrentUser" - ] - }, - { - "type": "string", - "pattern": "^host:.+$" - } + "enum": [ + "all", + "createdByCurrentUser", + "assignedToCurrentUser" ] }, "userProperty": { @@ -590,18 +526,10 @@ "type": "object", "properties": { "kind": { - "anyOf": [ - { - "enum": [ - "all", - "createdByCurrentUser", - "assignedToCurrentUser" - ] - }, - { - "type": "string", - "pattern": "^host:.+$" - } + "enum": [ + "all", + "createdByCurrentUser", + "assignedToCurrentUser" ] }, "userProperty": { @@ -620,18 +548,10 @@ "type": "object", "properties": { "kind": { - "anyOf": [ - { - "enum": [ - "all", - "createdByCurrentUser", - "assignedToCurrentUser" - ] - }, - { - "type": "string", - "pattern": "^host:.+$" - } + "enum": [ + "all", + "createdByCurrentUser", + "assignedToCurrentUser" ] }, "userProperty": {