End 结束节点
结构声明
- TS Declaration
- Java Class
- JSON Schema
interface End {
"concept": "End", // 产品概念
"label": string, // 结束节点标题
}
class EndTreeNode {
ConceptEnum concept; // 产品概念
String label; // 结束节点标题
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "#/definitions/End",
"definitions": {
"End": {
"type": "object",
"properties": {
"concept": {
"type": "string",
"const": "End"
},
"label": {
"type": "string"
}
},
"required": [
"concept",
"label"
],
"additionalProperties": false
}
}
}
示例
简单示例
- JSON
- YAML
{
"concept": "End",
"label": "返回"
}
concept: End
label: 返回