Initial codex telegram bot source
This commit is contained in:
67
schemas/v2/PluginShareUpdateTargetsParams.json
Normal file
67
schemas/v2/PluginShareUpdateTargetsParams.json
Normal file
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "PluginShareUpdateTargetsParams",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"discoverability",
|
||||
"remotePluginId",
|
||||
"shareTargets"
|
||||
],
|
||||
"properties": {
|
||||
"discoverability": {
|
||||
"$ref": "#/definitions/PluginShareUpdateDiscoverability"
|
||||
},
|
||||
"remotePluginId": {
|
||||
"type": "string"
|
||||
},
|
||||
"shareTargets": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/PluginShareTarget"
|
||||
}
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"PluginSharePrincipalType": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"user",
|
||||
"group",
|
||||
"workspace"
|
||||
]
|
||||
},
|
||||
"PluginShareTarget": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"principalId",
|
||||
"principalType",
|
||||
"role"
|
||||
],
|
||||
"properties": {
|
||||
"principalId": {
|
||||
"type": "string"
|
||||
},
|
||||
"principalType": {
|
||||
"$ref": "#/definitions/PluginSharePrincipalType"
|
||||
},
|
||||
"role": {
|
||||
"$ref": "#/definitions/PluginShareTargetRole"
|
||||
}
|
||||
}
|
||||
},
|
||||
"PluginShareTargetRole": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"reader",
|
||||
"editor"
|
||||
]
|
||||
},
|
||||
"PluginShareUpdateDiscoverability": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"UNLISTED",
|
||||
"PRIVATE"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user