Skip to main content
Version: 3.1

CompletionProperty 自动补全属性

结构声明

interface CompletionProperty {
"concept": "CompletionProperty", // 产品概念
"name": string, // 自动补全属性名称
"value": string, // 自动补全属性的值
"label": string, // 自动补全属性标题
"description": string, // 自动补全属性描述
"typeAnnotation": TypeAnnotation, // 类型
"required": boolean, // 是否必填
"defaultValue": string, // 默认值,JSON 字符串
}

示例

简单示例

{
"concept": "CompletionProperty",
"name": "age",
"value": "student.age",
"label": "标题",
"description": "描述",
"typeAnnotation": null,
"required": true,
"defaultValue": null
}