SelectMembers 选择成员
结构声明
- TS Declaration
- Java Class
- JSON Schema
interface SelectMembers {
"concept": "SelectMembers", // 产品概念
"hideMembers": boolean, // hideMembers
"expression": LogicItem, // 根表达式
"members": Array<LogicItem>, // 成员表达式
}
class SelectMembersTreeNode {
ConceptEnum concept; // 产品概念
boolean hideMembers; // hideMembers
LogicItemTreeNode expression; // 根表达式
List<LogicItemTreeNode> members; // 成员表达式
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "#/definitions/SelectMembers",
"definitions": {
"SelectMembers": {
"type": "object",
"properties": {
"concept": {
"type": "string",
"const": "SelectMembers"
},
"hideMembers": {
"type": "boolean"
},
"expression": {
"$ref": "#/definitions/LogicItem"
},
"members": {
"type": "array",
"items": {
"$ref": "#/definitions/LogicItem"
}
}
},
"required": [
"concept",
"hideMembers",
"expression",
"members"
],
"additionalProperties": false
}
}
}
示例
简单示例
- JSON
- YAML
{
"concept": "SelectMembers",
"hideMembers": false,
"expression": null,
"members": []
}
concept: SelectMembers
hideMembers: false
expression: null
members: []