Argument 实际参数
结构声明
- TS Declaration
- Java Class
- JSON Schema
interface Argument {
"concept": "Argument", // 产品概念
"keyword": string, // 参数名
"spread": boolean, // 是否为展开参数
"expression": LogicItem, // 参数值
}
class ArgumentTreeNode {
ConceptEnum concept; // 产品概念
String keyword; // 参数名
boolean spread; // 是否为展开参数
LogicItemTreeNode expression; // 参数值
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "#/definitions/Argument",
"definitions": {
"Argument": {
"type": "object",
"properties": {
"concept": {
"type": "string",
"const": "Argument"
},
"keyword": {
"type": "string"
},
"spread": {
"type": "boolean"
},
"expression": {
"$ref": "#/definitions/LogicItem"
}
},
"required": [
"concept",
"keyword",
"spread",
"expression"
],
"additionalProperties": false
}
}
}
示例
简单示例
- JSON
- YAML
{
"concept": "Argument",
"keyword": null,
"spread": null,
"expression": null
}
concept: Argument
keyword: null
spread: null
expression: null