AssignmentLine 赋值连线
结构声明
- TS Declaration
- Java Class
- JSON Schema
interface AssignmentLine {
"concept": "AssignmentLine", // 产品概念
"leftIndex": Array<number>, // 左侧索引
"rightIndex": Array<number>, // 右侧索引
}
class AssignmentLineTreeNode {
ConceptEnum concept; // 产品概念
List<int> leftIndex; // 左侧索引
List<int> rightIndex; // 右侧索引
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "#/definitions/AssignmentLine",
"definitions": {
"AssignmentLine": {
"type": "object",
"properties": {
"concept": {
"type": "string",
"const": "AssignmentLine"
},
"leftIndex": {
"type": "array",
"items": {
"type": "number"
}
},
"rightIndex": {
"type": "array",
"items": {
"type": "number"
}
}
},
"required": [
"concept",
"leftIndex",
"rightIndex"
],
"additionalProperties": false
}
}
}
示例
简单示例
- JSON
- YAML
{
"concept": "AssignmentLine",
"leftIndex": [],
"rightIndex": []
}
concept: AssignmentLine
leftIndex: []
rightIndex: []