123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205 |
- {
- "description":"AI应用场景演示配置JSON",
- "type":"object",
- "required":[
- "pageLayout",
- "reasoningResults"
- ],
- "properties":{
- "pageLayout":{
- "type":"string",
- "enum":[
- "DEFAULT"
- ],
- "description":"页面布局 * DEFAULT:默认",
- "default":"DEFAULT"
- },
- "reasoningResults":{
- "nullable":false,
- "type":"array",
- "description":"推理结果展示定义数组",
- "items":{
- "description":"推理结果展示形式定义",
- "type":"object",
- "required":[
- "displayForm"
- ],
- "oneOf":[
- {
- "title":"PROP_GRID:属性表格",
- "properties":{
- "displayForm":{
- "type":"string",
- "nullable":false,
- "default":"PROP_GRID"
- },
- "title":{
- "type":"string",
- "description":"标题",
- "maxLength":100
- },
- "dataMapping":{
- "type":"array",
- "items":{
- "description":"属性表格数据映射",
- "type":"object",
- "required":[
- "markCoordXpath"
- ],
- "properties":{
- "labelXpath":{
- "type":"string",
- "description":"属性label获取路径配置"
- },
- "value":{
- "description":"数据值配置",
- "type":"object",
- "required":[
- "xpath"
- ],
- "properties":{
- "xpath":{
- "type":"string",
- "description":"值获取路径"
- },
- "format":{
- "type":"string",
- "description":"格式化设置"
- },
- "uiType":{
- "type":"string",
- "enum":[
- "PROGRESS_BAR",
- "VALUE"
- ],
- "description":"数值展现形式 * PROGRESS_BAR: 展示进度条 * VALUE: 展示值",
- "default":"VALUE"
- }
- }
- }
- }
- }
- }
- }
- },
- {
- "title":"TABLE:表格",
- "properties":{
- "displayForm":{
- "type":"string",
- "nullable":false,
- "default":"TABLE"
- },
- "title":{
- "type":"string",
- "description":"标题",
- "maxLength":100
- },
- "dataMapping":{
- "type":"array",
- "items":{
- "description":"数据值配置",
- "type":"object",
- "required":[
- "xpath"
- ],
- "properties":{
- "columnName":{
- "type":"string",
- "description":"列名"
- },
- "xpath":{
- "type":"string",
- "description":"值获取路径"
- },
- "format":{
- "type":"string",
- "description":"格式化设置"
- },
- "uiType":{
- "type":"string",
- "enum":[
- "PROGRESS_BAR",
- "VALUE"
- ],
- "description":"数值展现形式 * PROGRESS_BAR: 展示进度条 * VALUE: 展示值",
- "default":"VALUE"
- }
- }
- }
- }
- }
- },
- {
- "title":"PIC_MARK:图片标注",
- "properties":{
- "displayForm":{
- "type":"string",
- "nullable":false,
- "default":"PIC_MARK"
- },
- "title":{
- "type":"string",
- "description":"标题",
- "maxLength":100
- },
- "dataMapping":{
- "type":"array",
- "items":{
- "description":"图片标注数据映射",
- "type":"object",
- "required":[
- "markCoordXpath"
- ],
- "properties":{
- "markTitleXpath":{
- "type":"string",
- "description":"标注标题数据获取路径"
- },
- "markCoordXpath":{
- "description":"标注坐标数据获取路径",
- "type":"object",
- "nullable":false,
- "required":[
- "startX",
- "startY"
- ],
- "properties":{
- "startX":{
- "type":"string",
- "nullable":false,
- "description":"起点X坐标"
- },
- "startY":{
- "type":"string",
- "nullable":false,
- "description":"起点Y坐标"
- },
- "endX":{
- "type":"string",
- "description":"终点X坐标"
- },
- "endY":{
- "type":"string",
- "description":"终点Y坐标"
- },
- "width":{
- "type":"string",
- "description":"宽度"
- },
- "height":{
- "type":"string",
- "description":"高度"
- }
- }
- }
- }
- }
- }
- }
- }
- ]
- }
- }
- }
- }
|