MemberExpression 成员表达式
结构声明
- TS Declaration
- Java Class
- JSON Schema
interface MemberExpression {
"concept": "MemberExpression", // 产品概念
"object": LogicItem, // 逻辑项
"property": LogicItem, // 逻辑项
}
class MemberExpressionTreeNode {
ConceptEnum concept; // 产品概念
LogicItemTreeNode object; // 逻辑项
LogicItemTreeNode property; // 逻辑项
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "#/definitions/MemberExpression",
"definitions": {
"MemberExpression": {
"type": "object",
"properties": {
"concept": {
"type": "string",
"const": "MemberExpression"
},
"object": {
"$ref": "#/definitions/LogicItem"
},
"property": {
"$ref": "#/definitions/LogicItem"
}
},
"required": [
"concept",
"object",
"property"
],
"additionalProperties": false
}
}
}
示例
简单示例
- JSON
- YAML
{
"concept": "MemberExpression",
"object": null,
"property": null
}
concept: MemberExpression
object: null
property: null