{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "EASO Workflow Schemas", "schemas": { "WorkflowDetail": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "id": { "type": "string" }, "label": { "default": "", "type": "string" }, "desc": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "customDesc": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "state": { "default": 0, "type": "number" }, "debugState": { "default": 0, "type": "number" }, "runTimes": { "default": 0, "type": "number" }, "errorTimes": { "default": 0, "type": "number" }, "updateTime": { "default": "", "type": "string" }, "updateUser": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "staffName": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "version": { "default": "", "type": "string" }, "dataLimit": { "default": 20, "type": "number" }, "source": { "default": 0, "type": "number" }, "queueJobs": { "default": false, "type": "boolean" }, "tasksVersion": { "default": 0, "type": "number" }, "tasks": { "default": [], "type": "array", "items": { "$ref": "#/$defs/__schema0" } }, "alarm": { "anyOf": [ { "type": "object", "properties": { "alarmUser": { "default": [], "type": "array", "items": {} }, "alarmType": { "default": [], "type": "array", "items": { "type": "string" } }, "active": { "default": true, "type": "boolean" }, "alarmScope": { "default": "", "type": "string" } }, "required": [ "alarmUser", "alarmType", "active", "alarmScope" ], "additionalProperties": false }, { "type": "null" } ] }, "inputs": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": {} }, "required": [ "key", "value" ], "additionalProperties": false } }, "$snapshot": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": "string" } }, "required": [ "key", "value" ], "additionalProperties": false } } }, "required": [ "id", "label", "state", "debugState", "runTimes", "errorTimes", "updateTime", "version", "dataLimit", "source", "queueJobs", "tasksVersion", "tasks" ], "additionalProperties": {}, "$defs": { "__schema0": { "anyOf": [ { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "webhook" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "sampleId": { "type": "string" }, "params": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": "string" } }, "required": [ "key", "value" ], "additionalProperties": false } }, "urlPath": { "type": "string" } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "sampleId", "params", "urlPath" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "condition" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "tasksMaxLevel": { "type": "number" }, "combineFilters": { "$ref": "#/$defs/__schema1" }, "tasks": { "type": "array", "items": { "$ref": "#/$defs/__schema0" } } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "tasksMaxLevel", "combineFilters", "tasks" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "every" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "batch": { "type": "boolean" }, "batchSize": { "type": "number" }, "mode": { "type": "string" }, "list": { "type": "string" }, "filters": { "type": "array", "items": {} }, "tasksMaxLevel": { "type": "number" }, "tasks": { "type": "array", "items": { "$ref": "#/$defs/__schema0" } } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "batch", "mode", "list", "filters", "tasksMaxLevel", "tasks" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "if" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "tasksMaxLevel": { "type": "number" }, "combineFilters": {}, "conditions": {}, "tasks": { "type": "array", "items": { "$ref": "#/$defs/__schema0" } } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "loop" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "list": {}, "batchSize": { "type": "number" }, "tasksMaxLevel": { "type": "number" }, "tasks": { "type": "array", "items": { "$ref": "#/$defs/__schema0" } } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "while" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "combineFilters": {}, "conditions": {}, "maxLoop": { "type": "number" }, "tasksMaxLevel": { "type": "number" }, "tasks": { "type": "array", "items": { "$ref": "#/$defs/__schema0" } } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "amortization" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "tasksMaxLevel": { "type": "number" }, "tasks": { "type": "array", "items": { "$ref": "#/$defs/__schema0" } } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "apportion" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "tasksMaxLevel": { "type": "number" }, "tasks": { "type": "array", "items": { "$ref": "#/$defs/__schema0" } } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "stop" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "http" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "method": { "anyOf": [ { "type": "string", "enum": [ "GET", "POST", "PUT", "PATCH", "DELETE" ] }, { "type": "string" } ] }, "url": { "type": "string" }, "bodyType": { "anyOf": [ { "type": "string", "enum": [ "none", "raw", "from-data", "form-urlencoded" ] }, { "type": "string" } ] }, "bodyRaw": { "anyOf": [ { "type": "string" }, { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} } ] }, "contentType": { "anyOf": [ { "type": "string", "enum": [ "application/json", "text/plain", "application/javascript", "text/html", "application/xml" ] }, { "type": "string" } ] }, "header": { "type": "array", "items": {} }, "params": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": "string" } }, "required": [ "key", "value" ], "additionalProperties": false } }, "successCode": { "type": "array", "items": { "type": "string" } }, "sampleData": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "authId": { "anyOf": [ { "type": "number" }, { "type": "string" } ] }, "appId": { "anyOf": [ { "type": "number" }, { "type": "string" } ] } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "method", "url", "header", "params", "successCode" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "flow-detail" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "specificationId": { "type": "string" }, "mapping": { "anyOf": [ { "type": "boolean" }, { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": "string" } }, "required": [ "key", "value" ], "additionalProperties": false } } ] }, "flowCode": { "type": "string" } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "specificationId", "mapping", "flowCode" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "flow-create-task" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "specificationId": { "type": "string" }, "formState": { "type": "string" }, "form": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "details": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "flow-update-task" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "specificationId": { "type": "string" }, "formState": { "type": "string" }, "form": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "details": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "recalculate-the-approval-flow" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "flow-list" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "specificationId": { "type": "string" }, "combineFilters": {}, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "code" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "code": { "type": "string" } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "code" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "code-js2" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "code": { "type": "string" }, "mapping": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": "string" } }, "required": [ "key", "value" ], "additionalProperties": false } }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "code" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekuaibao-datalink-filter" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "mode": { "type": "string" }, "entityId": { "type": "string" }, "fields": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": {} }, "required": [ "key" ], "additionalProperties": {} } }, "filters": { "type": "array", "items": {} }, "selectFields": { "type": "array", "items": {} }, "combineFilters": { "$ref": "#/$defs/__schema1" }, "orderKey": { "type": "string" }, "orderMode": { "type": "string" }, "limitCount": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "mode", "entityId", "fields", "filters", "selectFields", "combineFilters", "orderKey", "orderMode", "limitCount" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekuaibao-datalink-create" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "mode": { "type": "string" }, "entityId": { "type": "string" }, "fields": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": {} }, "required": [ "key" ], "additionalProperties": {} } }, "filters": { "type": "array", "items": {} }, "combineFilters": { "$ref": "#/$defs/__schema1" } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "mode", "entityId", "fields", "filters", "combineFilters" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "data-convert" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "mode": { "type": "string" }, "path": { "type": "array", "items": { "type": "string" } }, "fields": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": "string" } }, "required": [ "key", "value" ], "additionalProperties": false } }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false }, "subType": { "type": "string" }, "itemType": { "type": "string" }, "targetType": { "type": "string" }, "feeFormType": { "type": "string" } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "mode", "path", "fields", "subType", "itemType", "targetType", "feeFormType" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "task-dynamic-delay" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "sleepTime": { "anyOf": [ { "type": "number" }, { "type": "string" } ] } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "message-dingtalk" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "receiverType": { "type": "string" }, "receivers": { "type": "array", "items": {} }, "content": { "type": "string" }, "title": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "message-feishu" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "receiverType": { "type": "string" }, "receivers": { "type": "array", "items": {} }, "content": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "feishu-sendMsg" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "receiverType": { "type": "string" }, "receivers": { "type": "array", "items": {} }, "content": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "message" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "receivers": { "type": "array", "items": {} }, "content": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "email" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "receivers": { "type": "array", "items": {} }, "title": { "type": "string" }, "content": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "message-internet" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "receivers": { "type": "array", "items": {} }, "title": { "type": "string" }, "content": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "message-outnet" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "receivers": { "type": "array", "items": {} }, "content": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "oa" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "receivers": { "type": "array", "items": {} }, "content": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ai-classification" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ai-extraction" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ai-attachment" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekb-ai" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "model": { "type": "string" }, "prompt": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekb-minimax-text" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "prompt": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekb-minimax-photo" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "imageUrl": { "type": "string" }, "prompt": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekb-ai-pdf" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "attachmentUrl": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekb-ai-url" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "url": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "dify" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "apiKey": { "type": "string" }, "inputs": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekuaibao-staff-filter" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "combineFilters": {}, "filters": { "type": "array", "items": {} }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekuaibao-staff-detail" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "staffId": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "staff-create" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "form": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "department-create" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "form": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "department-filter" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "combineFilters": {}, "filters": { "type": "array", "items": {} }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekuaibao-department-detail" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "departmentId": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekuaibao-department-update" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "departmentId": { "type": "string" }, "form": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "feishu-department-filter" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "wecom-department" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "search-staff-by-role" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "roleId": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "role-update" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "excel" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "aggregation" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "list": {}, "groupBy": {}, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "flow-format" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "task-log" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "message": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "task-dynamic-test" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "task-openapi" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "context" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "dmn" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "mapping" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ui-dialog" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ui-notification" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "output" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "default": "task", "type": "string" }, "type": { "type": "string" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "default": "trigger", "type": "string" }, "orderIndex": { "default": 0, "type": "number" }, "levelIndex": { "default": [ 0 ], "type": "array", "items": { "type": "number" } }, "status": { "default": "active", "type": "string" }, "displayName": { "type": "string" } }, "required": [ "name", "type", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} } ] }, "__schema1": { "type": "object", "properties": { "filters": { "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "key": { "type": "string" }, "value": {}, "compare": { "type": "string" } }, "required": [ "key", "compare" ], "additionalProperties": false }, { "$ref": "#/$defs/__schema1" } ] } }, "condition": { "type": "string" } }, "required": [ "filters", "condition" ], "additionalProperties": false } } }, "WorkflowTask": { "$schema": "https://json-schema.org/draft/2020-12/schema", "anyOf": [ { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "webhook" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "sampleId": { "type": "string" }, "params": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": "string" } }, "required": [ "key", "value" ], "additionalProperties": false } }, "urlPath": { "type": "string" } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "sampleId", "params", "urlPath" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "condition" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "tasksMaxLevel": { "type": "number" }, "combineFilters": { "$ref": "#/$defs/__schema0" }, "tasks": { "type": "array", "items": { "$ref": "#" } } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "tasksMaxLevel", "combineFilters", "tasks" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "every" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "batch": { "type": "boolean" }, "batchSize": { "type": "number" }, "mode": { "type": "string" }, "list": { "type": "string" }, "filters": { "type": "array", "items": {} }, "tasksMaxLevel": { "type": "number" }, "tasks": { "type": "array", "items": { "$ref": "#" } } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "batch", "mode", "list", "filters", "tasksMaxLevel", "tasks" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "if" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "tasksMaxLevel": { "type": "number" }, "combineFilters": {}, "conditions": {}, "tasks": { "type": "array", "items": { "$ref": "#" } } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "loop" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "list": {}, "batchSize": { "type": "number" }, "tasksMaxLevel": { "type": "number" }, "tasks": { "type": "array", "items": { "$ref": "#" } } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "while" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "combineFilters": {}, "conditions": {}, "maxLoop": { "type": "number" }, "tasksMaxLevel": { "type": "number" }, "tasks": { "type": "array", "items": { "$ref": "#" } } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "amortization" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "tasksMaxLevel": { "type": "number" }, "tasks": { "type": "array", "items": { "$ref": "#" } } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "apportion" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "tasksMaxLevel": { "type": "number" }, "tasks": { "type": "array", "items": { "$ref": "#" } } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "stop" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "http" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "method": { "anyOf": [ { "type": "string", "enum": [ "GET", "POST", "PUT", "PATCH", "DELETE" ] }, { "type": "string" } ] }, "url": { "type": "string" }, "bodyType": { "anyOf": [ { "type": "string", "enum": [ "none", "raw", "from-data", "form-urlencoded" ] }, { "type": "string" } ] }, "bodyRaw": { "anyOf": [ { "type": "string" }, { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} } ] }, "contentType": { "anyOf": [ { "type": "string", "enum": [ "application/json", "text/plain", "application/javascript", "text/html", "application/xml" ] }, { "type": "string" } ] }, "header": { "type": "array", "items": {} }, "params": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": "string" } }, "required": [ "key", "value" ], "additionalProperties": false } }, "successCode": { "type": "array", "items": { "type": "string" } }, "sampleData": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "authId": { "anyOf": [ { "type": "number" }, { "type": "string" } ] }, "appId": { "anyOf": [ { "type": "number" }, { "type": "string" } ] } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "method", "url", "header", "params", "successCode" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "flow-detail" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "specificationId": { "type": "string" }, "mapping": { "anyOf": [ { "type": "boolean" }, { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": "string" } }, "required": [ "key", "value" ], "additionalProperties": false } } ] }, "flowCode": { "type": "string" } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "specificationId", "mapping", "flowCode" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "flow-create-task" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "specificationId": { "type": "string" }, "formState": { "type": "string" }, "form": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "details": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "flow-update-task" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "specificationId": { "type": "string" }, "formState": { "type": "string" }, "form": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "details": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "recalculate-the-approval-flow" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "flow-list" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "specificationId": { "type": "string" }, "combineFilters": {}, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "code" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "code": { "type": "string" } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "code" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "code-js2" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "code": { "type": "string" }, "mapping": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": "string" } }, "required": [ "key", "value" ], "additionalProperties": false } }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "code" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekuaibao-datalink-filter" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "mode": { "type": "string" }, "entityId": { "type": "string" }, "fields": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": {} }, "required": [ "key" ], "additionalProperties": {} } }, "filters": { "type": "array", "items": {} }, "selectFields": { "type": "array", "items": {} }, "combineFilters": { "$ref": "#/$defs/__schema0" }, "orderKey": { "type": "string" }, "orderMode": { "type": "string" }, "limitCount": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "mode", "entityId", "fields", "filters", "selectFields", "combineFilters", "orderKey", "orderMode", "limitCount" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekuaibao-datalink-create" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "mode": { "type": "string" }, "entityId": { "type": "string" }, "fields": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": {} }, "required": [ "key" ], "additionalProperties": {} } }, "filters": { "type": "array", "items": {} }, "combineFilters": { "$ref": "#/$defs/__schema0" } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "mode", "entityId", "fields", "filters", "combineFilters" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "data-convert" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "mode": { "type": "string" }, "path": { "type": "array", "items": { "type": "string" } }, "fields": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": "string" } }, "required": [ "key", "value" ], "additionalProperties": false } }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false }, "subType": { "type": "string" }, "itemType": { "type": "string" }, "targetType": { "type": "string" }, "feeFormType": { "type": "string" } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "mode", "path", "fields", "subType", "itemType", "targetType", "feeFormType" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "task-dynamic-delay" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "sleepTime": { "anyOf": [ { "type": "number" }, { "type": "string" } ] } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "message-dingtalk" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "receiverType": { "type": "string" }, "receivers": { "type": "array", "items": {} }, "content": { "type": "string" }, "title": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "message-feishu" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "receiverType": { "type": "string" }, "receivers": { "type": "array", "items": {} }, "content": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "feishu-sendMsg" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "receiverType": { "type": "string" }, "receivers": { "type": "array", "items": {} }, "content": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "message" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "receivers": { "type": "array", "items": {} }, "content": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "email" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "receivers": { "type": "array", "items": {} }, "title": { "type": "string" }, "content": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "message-internet" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "receivers": { "type": "array", "items": {} }, "title": { "type": "string" }, "content": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "message-outnet" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "receivers": { "type": "array", "items": {} }, "content": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "oa" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "receivers": { "type": "array", "items": {} }, "content": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ai-classification" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ai-extraction" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ai-attachment" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekb-ai" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "model": { "type": "string" }, "prompt": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekb-minimax-text" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "prompt": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekb-minimax-photo" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "imageUrl": { "type": "string" }, "prompt": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekb-ai-pdf" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "attachmentUrl": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekb-ai-url" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "url": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "dify" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "apiKey": { "type": "string" }, "inputs": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekuaibao-staff-filter" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "combineFilters": {}, "filters": { "type": "array", "items": {} }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekuaibao-staff-detail" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "staffId": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "staff-create" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "form": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "department-create" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "form": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "department-filter" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "combineFilters": {}, "filters": { "type": "array", "items": {} }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekuaibao-department-detail" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "departmentId": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekuaibao-department-update" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "departmentId": { "type": "string" }, "form": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "feishu-department-filter" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "wecom-department" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "search-staff-by-role" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "roleId": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "role-update" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "excel" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "aggregation" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "list": {}, "groupBy": {}, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "flow-format" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "task-log" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "message": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "task-dynamic-test" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "task-openapi" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "context" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "dmn" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "mapping" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ui-dialog" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ui-notification" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "output" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "default": "task", "type": "string" }, "type": { "type": "string" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "default": "trigger", "type": "string" }, "orderIndex": { "default": 0, "type": "number" }, "levelIndex": { "default": [ 0 ], "type": "array", "items": { "type": "number" } }, "status": { "default": "active", "type": "string" }, "displayName": { "type": "string" } }, "required": [ "name", "type", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} } ], "$defs": { "__schema0": { "type": "object", "properties": { "filters": { "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "key": { "type": "string" }, "value": {}, "compare": { "type": "string" } }, "required": [ "key", "compare" ], "additionalProperties": false }, { "$ref": "#/$defs/__schema0" } ] } }, "condition": { "type": "string" } }, "required": [ "filters", "condition" ], "additionalProperties": false } } }, "Workflow": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "id": { "type": "string" }, "pipelineName": { "default": "", "type": "string" }, "state": { "default": 0, "type": "number" }, "runningCount": { "default": 0, "type": "number" }, "errorCount": { "default": 0, "type": "number" }, "updateTime": { "default": "", "type": "string" }, "updateUser": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "tasks": { "default": [], "type": "array", "items": { "$ref": "#/$defs/__schema0" } }, "desc": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "customDesc": { "anyOf": [ { "type": "string" }, { "type": "null" } ] } }, "required": [ "id", "pipelineName", "state", "runningCount", "errorCount", "updateTime", "tasks" ], "additionalProperties": false, "$defs": { "__schema0": { "anyOf": [ { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "webhook" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "sampleId": { "type": "string" }, "params": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": "string" } }, "required": [ "key", "value" ], "additionalProperties": false } }, "urlPath": { "type": "string" } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "sampleId", "params", "urlPath" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "condition" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "tasksMaxLevel": { "type": "number" }, "combineFilters": { "$ref": "#/$defs/__schema1" }, "tasks": { "type": "array", "items": { "$ref": "#/$defs/__schema0" } } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "tasksMaxLevel", "combineFilters", "tasks" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "every" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "batch": { "type": "boolean" }, "batchSize": { "type": "number" }, "mode": { "type": "string" }, "list": { "type": "string" }, "filters": { "type": "array", "items": {} }, "tasksMaxLevel": { "type": "number" }, "tasks": { "type": "array", "items": { "$ref": "#/$defs/__schema0" } } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "batch", "mode", "list", "filters", "tasksMaxLevel", "tasks" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "if" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "tasksMaxLevel": { "type": "number" }, "combineFilters": {}, "conditions": {}, "tasks": { "type": "array", "items": { "$ref": "#/$defs/__schema0" } } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "loop" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "list": {}, "batchSize": { "type": "number" }, "tasksMaxLevel": { "type": "number" }, "tasks": { "type": "array", "items": { "$ref": "#/$defs/__schema0" } } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "while" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "combineFilters": {}, "conditions": {}, "maxLoop": { "type": "number" }, "tasksMaxLevel": { "type": "number" }, "tasks": { "type": "array", "items": { "$ref": "#/$defs/__schema0" } } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "amortization" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "tasksMaxLevel": { "type": "number" }, "tasks": { "type": "array", "items": { "$ref": "#/$defs/__schema0" } } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "apportion" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "tasksMaxLevel": { "type": "number" }, "tasks": { "type": "array", "items": { "$ref": "#/$defs/__schema0" } } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "stop" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "http" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "method": { "anyOf": [ { "type": "string", "enum": [ "GET", "POST", "PUT", "PATCH", "DELETE" ] }, { "type": "string" } ] }, "url": { "type": "string" }, "bodyType": { "anyOf": [ { "type": "string", "enum": [ "none", "raw", "from-data", "form-urlencoded" ] }, { "type": "string" } ] }, "bodyRaw": { "anyOf": [ { "type": "string" }, { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} } ] }, "contentType": { "anyOf": [ { "type": "string", "enum": [ "application/json", "text/plain", "application/javascript", "text/html", "application/xml" ] }, { "type": "string" } ] }, "header": { "type": "array", "items": {} }, "params": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": "string" } }, "required": [ "key", "value" ], "additionalProperties": false } }, "successCode": { "type": "array", "items": { "type": "string" } }, "sampleData": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "authId": { "anyOf": [ { "type": "number" }, { "type": "string" } ] }, "appId": { "anyOf": [ { "type": "number" }, { "type": "string" } ] } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "method", "url", "header", "params", "successCode" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "flow-detail" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "specificationId": { "type": "string" }, "mapping": { "anyOf": [ { "type": "boolean" }, { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": "string" } }, "required": [ "key", "value" ], "additionalProperties": false } } ] }, "flowCode": { "type": "string" } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "specificationId", "mapping", "flowCode" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "flow-create-task" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "specificationId": { "type": "string" }, "formState": { "type": "string" }, "form": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "details": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "flow-update-task" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "specificationId": { "type": "string" }, "formState": { "type": "string" }, "form": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "details": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "recalculate-the-approval-flow" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "flow-list" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "specificationId": { "type": "string" }, "combineFilters": {}, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "code" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "code": { "type": "string" } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "code" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "code-js2" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "code": { "type": "string" }, "mapping": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": "string" } }, "required": [ "key", "value" ], "additionalProperties": false } }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "code" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekuaibao-datalink-filter" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "mode": { "type": "string" }, "entityId": { "type": "string" }, "fields": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": {} }, "required": [ "key" ], "additionalProperties": {} } }, "filters": { "type": "array", "items": {} }, "selectFields": { "type": "array", "items": {} }, "combineFilters": { "$ref": "#/$defs/__schema1" }, "orderKey": { "type": "string" }, "orderMode": { "type": "string" }, "limitCount": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "mode", "entityId", "fields", "filters", "selectFields", "combineFilters", "orderKey", "orderMode", "limitCount" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekuaibao-datalink-create" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "mode": { "type": "string" }, "entityId": { "type": "string" }, "fields": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": {} }, "required": [ "key" ], "additionalProperties": {} } }, "filters": { "type": "array", "items": {} }, "combineFilters": { "$ref": "#/$defs/__schema1" } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "mode", "entityId", "fields", "filters", "combineFilters" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "data-convert" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "mode": { "type": "string" }, "path": { "type": "array", "items": { "type": "string" } }, "fields": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": "string" } }, "required": [ "key", "value" ], "additionalProperties": false } }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false }, "subType": { "type": "string" }, "itemType": { "type": "string" }, "targetType": { "type": "string" }, "feeFormType": { "type": "string" } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status", "mode", "path", "fields", "subType", "itemType", "targetType", "feeFormType" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "task-dynamic-delay" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "sleepTime": { "anyOf": [ { "type": "number" }, { "type": "string" } ] } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "message-dingtalk" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "receiverType": { "type": "string" }, "receivers": { "type": "array", "items": {} }, "content": { "type": "string" }, "title": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "message-feishu" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "receiverType": { "type": "string" }, "receivers": { "type": "array", "items": {} }, "content": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "feishu-sendMsg" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "receiverType": { "type": "string" }, "receivers": { "type": "array", "items": {} }, "content": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "message" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "receivers": { "type": "array", "items": {} }, "content": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "email" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "receivers": { "type": "array", "items": {} }, "title": { "type": "string" }, "content": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "message-internet" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "receivers": { "type": "array", "items": {} }, "title": { "type": "string" }, "content": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "message-outnet" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "receivers": { "type": "array", "items": {} }, "content": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "oa" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "receivers": { "type": "array", "items": {} }, "content": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ai-classification" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ai-extraction" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ai-attachment" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekb-ai" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "model": { "type": "string" }, "prompt": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekb-minimax-text" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "prompt": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekb-minimax-photo" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "imageUrl": { "type": "string" }, "prompt": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekb-ai-pdf" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "attachmentUrl": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekb-ai-url" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "url": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "dify" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "apiKey": { "type": "string" }, "inputs": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekuaibao-staff-filter" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "combineFilters": {}, "filters": { "type": "array", "items": {} }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekuaibao-staff-detail" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "staffId": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "staff-create" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "form": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "department-create" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "form": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "department-filter" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "combineFilters": {}, "filters": { "type": "array", "items": {} }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekuaibao-department-detail" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "departmentId": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ekuaibao-department-update" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "departmentId": { "type": "string" }, "form": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "feishu-department-filter" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "wecom-department" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "search-staff-by-role" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "roleId": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "role-update" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "excel" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "aggregation" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "list": {}, "groupBy": {}, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "flow-format" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "task-log" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "message": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "task-dynamic-test" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "task-openapi" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "context" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "dmn" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "mapping" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ui-dialog" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "ui-notification" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string", "const": "output" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "type": "string" }, "orderIndex": { "type": "number" }, "levelIndex": { "type": "array", "items": { "type": "number" } }, "status": { "type": "string" }, "displayName": { "type": "string" }, "onError": { "type": "object", "properties": { "defaultAction": { "type": "string" } }, "required": [ "defaultAction" ], "additionalProperties": false } }, "required": [ "name", "type", "label", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} }, { "type": "object", "properties": { "name": { "default": "task", "type": "string" }, "type": { "type": "string" }, "label": { "type": "string" }, "desc": { "type": "string" }, "groupName": { "default": "trigger", "type": "string" }, "orderIndex": { "default": 0, "type": "number" }, "levelIndex": { "default": [ 0 ], "type": "array", "items": { "type": "number" } }, "status": { "default": "active", "type": "string" }, "displayName": { "type": "string" } }, "required": [ "name", "type", "groupName", "orderIndex", "levelIndex", "status" ], "additionalProperties": {} } ] }, "__schema1": { "type": "object", "properties": { "filters": { "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "key": { "type": "string" }, "value": {}, "compare": { "type": "string" } }, "required": [ "key", "compare" ], "additionalProperties": false }, { "$ref": "#/$defs/__schema1" } ] } }, "condition": { "type": "string" } }, "required": [ "filters", "condition" ], "additionalProperties": false } } } } }