Browse Source

Allow host-defined API Resource scope references

pull/26186/head
SALİH ÖZKARA 2 months ago
parent
commit
2cd8be347b
Failed to extract signature
  1. 160
      schemas/low-code/definitions/api-resource-descriptor.schema.json

160
schemas/low-code/definitions/api-resource-descriptor.schema.json

@ -350,10 +350,18 @@
"type": "object", "type": "object",
"properties": { "properties": {
"kind": { "kind": {
"enum": [ "anyOf": [
"all", {
"createdByCurrentUser", "enum": [
"assignedToCurrentUser" "all",
"createdByCurrentUser",
"assignedToCurrentUser"
]
},
{
"type": "string",
"pattern": "^host:.+$"
}
] ]
}, },
"userProperty": { "userProperty": {
@ -372,10 +380,18 @@
"type": "object", "type": "object",
"properties": { "properties": {
"kind": { "kind": {
"enum": [ "anyOf": [
"all", {
"createdByCurrentUser", "enum": [
"assignedToCurrentUser" "all",
"createdByCurrentUser",
"assignedToCurrentUser"
]
},
{
"type": "string",
"pattern": "^host:.+$"
}
] ]
}, },
"userProperty": { "userProperty": {
@ -394,10 +410,18 @@
"type": "object", "type": "object",
"properties": { "properties": {
"kind": { "kind": {
"enum": [ "anyOf": [
"all", {
"createdByCurrentUser", "enum": [
"assignedToCurrentUser" "all",
"createdByCurrentUser",
"assignedToCurrentUser"
]
},
{
"type": "string",
"pattern": "^host:.+$"
}
] ]
}, },
"userProperty": { "userProperty": {
@ -416,10 +440,18 @@
"type": "object", "type": "object",
"properties": { "properties": {
"kind": { "kind": {
"enum": [ "anyOf": [
"all", {
"createdByCurrentUser", "enum": [
"assignedToCurrentUser" "all",
"createdByCurrentUser",
"assignedToCurrentUser"
]
},
{
"type": "string",
"pattern": "^host:.+$"
}
] ]
}, },
"userProperty": { "userProperty": {
@ -438,10 +470,18 @@
"type": "object", "type": "object",
"properties": { "properties": {
"kind": { "kind": {
"enum": [ "anyOf": [
"all", {
"createdByCurrentUser", "enum": [
"assignedToCurrentUser" "all",
"createdByCurrentUser",
"assignedToCurrentUser"
]
},
{
"type": "string",
"pattern": "^host:.+$"
}
] ]
}, },
"userProperty": { "userProperty": {
@ -460,10 +500,18 @@
"type": "object", "type": "object",
"properties": { "properties": {
"kind": { "kind": {
"enum": [ "anyOf": [
"all", {
"createdByCurrentUser", "enum": [
"assignedToCurrentUser" "all",
"createdByCurrentUser",
"assignedToCurrentUser"
]
},
{
"type": "string",
"pattern": "^host:.+$"
}
] ]
}, },
"userProperty": { "userProperty": {
@ -482,10 +530,18 @@
"type": "object", "type": "object",
"properties": { "properties": {
"kind": { "kind": {
"enum": [ "anyOf": [
"all", {
"createdByCurrentUser", "enum": [
"assignedToCurrentUser" "all",
"createdByCurrentUser",
"assignedToCurrentUser"
]
},
{
"type": "string",
"pattern": "^host:.+$"
}
] ]
}, },
"userProperty": { "userProperty": {
@ -504,10 +560,18 @@
"type": "object", "type": "object",
"properties": { "properties": {
"kind": { "kind": {
"enum": [ "anyOf": [
"all", {
"createdByCurrentUser", "enum": [
"assignedToCurrentUser" "all",
"createdByCurrentUser",
"assignedToCurrentUser"
]
},
{
"type": "string",
"pattern": "^host:.+$"
}
] ]
}, },
"userProperty": { "userProperty": {
@ -526,10 +590,18 @@
"type": "object", "type": "object",
"properties": { "properties": {
"kind": { "kind": {
"enum": [ "anyOf": [
"all", {
"createdByCurrentUser", "enum": [
"assignedToCurrentUser" "all",
"createdByCurrentUser",
"assignedToCurrentUser"
]
},
{
"type": "string",
"pattern": "^host:.+$"
}
] ]
}, },
"userProperty": { "userProperty": {
@ -548,10 +620,18 @@
"type": "object", "type": "object",
"properties": { "properties": {
"kind": { "kind": {
"enum": [ "anyOf": [
"all", {
"createdByCurrentUser", "enum": [
"assignedToCurrentUser" "all",
"createdByCurrentUser",
"assignedToCurrentUser"
]
},
{
"type": "string",
"pattern": "^host:.+$"
}
] ]
}, },
"userProperty": { "userProperty": {

Loading…
Cancel
Save