{ "id": "simple-test-001", "name": "简单端到端测试", "description": "简单测试工作流", "status": "DRAFT", "definition": { "id": "simple-test-001", "name": "简单端到端测试", "version": "1.0", "nodes": [ { "id": "start", "type": "start", "name": "开始", "position": { "x": 100, "y": 200 }, "config": {}, "inputMapping": {}, "outputSchema": { "type": "object", "properties": { "message": { "type": "string" } } } }, { "id": "httpNode", "type": "http_request", "name": "HTTP测试节点", "position": { "x": 300, "y": 200 }, "config": { "url": "https://httpbin.org/get", "method": "GET", "headers": {} }, "inputMapping": { "url": "https://httpbin.org/get", "method": "GET" }, "outputSchema": { "type": "object", "properties": { "httpStatusCode": { "type": "integer" }, "responseBody": { "type": "object" } } } }, { "id": "end", "type": "end", "name": "结束", "position": { "x": 500, "y": 200 }, "config": {}, "inputMapping": { "result": "${httpNode.output}" }, "outputSchema": { "type": "object", "properties": { "completed": { "type": "boolean" } } } } ], "edges": [ { "id": "start-to-http", "source": "start", "target": "httpNode", "condition": null }, { "id": "http-to-end", "source": "httpNode", "target": "end", "condition": null } ] } }