MsgTriggerEvent 触发器事件消息
结构声明
- TS Declaration
- Java Class
- JSON Schema
interface MsgTriggerEvent {
"concept": "MsgTriggerEvent", // 产品概念
"properties": Array<Param>, // 输入参数列表
}
class MsgTriggerEventTreeNode {
ConceptEnum concept; // 产品概念
List<ParamTreeNode> properties; // 输入参数列表
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "#/definitions/MsgTriggerEvent",
"definitions": {
"MsgTriggerEvent": {
"type": "object",
"properties": {
"concept": {
"type": "string",
"const": "MsgTriggerEvent"
},
"properties": {
"type": "array",
"items": {
"$ref": "#/definitions/Param"
}
}
},
"required": [
"concept",
"properties"
],
"additionalProperties": false
}
}
}
示例
简单示例
- JSON
- YAML
{
"concept": "MsgTriggerEvent",
"properties": []
}
concept: MsgTriggerEvent
properties: []