SharedScope 共享范围
1. 结构声明
- TS Declaration
- JSON Schema
class SharedScope extends BaseNode {
scope: 'any' | 'specifiedRange' = 'any';
specifiedRange?: Array<string>;
}
{
"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"
}
}
},
"required": [
"scope"
],
"additionalProperties": false
}