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