StringInterpolation 字符串插值
结构声明
- TS Declaration
- Java Class
- JSON Schema
interface StringInterpolation {
"concept": "StringInterpolation", // 产品概念
"expressions": Array<LogicItem>, // 插值表达式
}
class StringInterpolationTreeNode {
ConceptEnum concept; // 产品概念
List<LogicItemTreeNode> expressions; // 插值表达式
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "#/definitions/StringInterpolation",
"definitions": {
"StringInterpolation": {
"type": "object",
"properties": {
"concept": {
"type": "string",
"const": "StringInterpolation"
},
"expressions": {
"type": "array",
"items": {
"$ref": "#/definitions/LogicItem"
}
}
},
"required": [
"concept",
"expressions"
],
"additionalProperties": false
}
}
}
示例
简单示例
- JSON
- YAML
{
"concept": "StringInterpolation",
"expressions": []
}
concept: StringInterpolation
expressions: []