PermissionForSharedScope 读写权限共享限定
1. 结构声明
- TS Declaration
- JSON Schema
class PermissionForSharedScope extends SharedScope {
permission: 'readOnly' | 'readWrite' = 'readWrite';
}
{
"type": "object",
"properties": {
"composedBy": {
"type": "array",
"items": {
"type": "string"
}
},
"changedTime": {
"$ref": "#/definitions/long"
},
"scope": {
"type": "string",
"enum": [
"any",
"specifiedRange"
]
},
"specifiedRange": {
"type": "array",
"items": {
"type": "string"
}
},
"permission": {
"type": "string",
"enum": [
"readOnly",
"readWrite"
]
}
},
"required": [
"permission",
"scope"
],
"additionalProperties": false
}