ViewBlockWithImage 带截图的代码块
1. 结构声明
- TS Declaration
- JSON Schema
class ViewBlockWithImage extends ViewBlock {
screenshot!: string;
drawing!: string;
}
{
"type": "object",
"properties": {
"composedBy": {
"type": "array",
"items": {
"type": "string"
}
},
"changedTime": {
"$ref": "#/definitions/long"
},
"title": {
"type": "string"
},
"code": {
"type": "string"
},
"description": {
"type": "string"
},
"screenshot": {
"type": "string"
},
"drawing": {
"type": "string"
}
},
"required": [
"code",
"drawing",
"screenshot",
"title"
],
"additionalProperties": false
}