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