test: Add workflow tests for tools in loops (#19127)

This commit is contained in:
Benjamin Schroth
2025-09-04 18:41:12 +02:00
committed by GitHub
parent ed6f60f52e
commit f8a732bfb3
14 changed files with 7554 additions and 0 deletions

View File

@@ -0,0 +1,605 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"startData": {
"type": "object",
"properties": {}
},
"resultData": {
"type": "object",
"properties": {
"runData": {
"type": "object",
"properties": {
"When clicking Test workflow": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"source": {
"type": "array",
"items": {}
},
"hints": {
"type": "array",
"items": {}
},
"executionTime": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"main": {
"type": "array",
"items": {
"type": "array"
}
}
}
}
}
}
},
"Code": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
}
}
}
},
"hints": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string"
},
"location": {
"type": "string"
}
}
}
},
"executionTime": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"main": {
"type": "array",
"items": {
"type": "array"
}
}
}
}
}
}
},
"Loop Over Items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
},
"previousNodeRun": {
"type": "number"
}
},
"required": [
"previousNode",
"previousNodeRun"
]
}
},
"hints": {
"type": "array",
"items": {}
},
"executionTime": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"main": {
"type": "array",
"items": {
"type": "array"
}
}
}
}
},
"required": [
"startTime",
"executionIndex",
"source",
"hints",
"executionTime",
"executionStatus",
"data"
]
}
},
"OpenAI Chat Model4": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
},
"previousNodeRun": {
"type": "number"
}
},
"required": [
"previousNode",
"previousNodeRun"
]
}
},
"data": {
"type": "object",
"properties": {
"ai_languageModel": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"inputOverride": {
"type": "object",
"properties": {
"ai_languageModel": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"metadata": {
"type": "object",
"properties": {
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
}
}
},
"required": [
"startTime",
"executionTime",
"executionIndex",
"executionStatus",
"source",
"data",
"inputOverride",
"metadata"
]
}
},
"Hacker News3": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
},
"previousNodeRun": {
"type": "number"
}
},
"required": [
"previousNode",
"previousNodeRun"
]
}
},
"data": {
"type": "object",
"properties": {
"ai_tool": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"inputOverride": {
"type": "object",
"properties": {
"ai_tool": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"metadata": {
"type": "object",
"properties": {
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
}
}
},
"required": [
"startTime",
"executionTime",
"executionIndex",
"executionStatus",
"source",
"data",
"inputOverride",
"metadata"
]
}
},
"AI Agent4": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
},
"previousNodeOutput": {
"type": "number"
},
"previousNodeRun": {
"type": "number"
}
},
"required": [
"previousNode",
"previousNodeOutput",
"previousNodeRun"
]
}
},
"hints": {
"type": "array",
"items": {}
},
"executionTime": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"main": {
"type": "array",
"items": {
"type": "array"
}
}
}
}
},
"required": [
"startTime",
"executionIndex",
"source",
"hints",
"executionTime",
"executionStatus",
"data"
]
}
}
}
},
"lastNodeExecuted": {
"type": "string"
}
}
},
"executionData": {
"type": "object",
"properties": {
"contextData": {
"type": "object",
"properties": {
"node:Loop Over Items": {
"type": "object",
"properties": {
"currentRunIndex": {
"type": "number"
},
"maxRunIndex": {
"type": "number"
},
"sourceData": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
}
}
},
"items": {
"type": "array",
"items": {}
},
"processedItems": {
"type": "array",
"items": {
"type": "object",
"properties": {
"json": {
"type": "object",
"properties": {
"output": {
"type": "string"
}
}
},
"pairedItem": {
"type": "object",
"properties": {
"sourceOverwrite": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
},
"previousNodeRun": {
"type": "number"
}
}
},
"item": {
"type": "number"
}
}
}
},
"required": [
"json",
"pairedItem"
]
}
},
"noItemsLeft": {
"type": "boolean"
},
"done": {
"type": "boolean"
}
}
}
}
},
"nodeExecutionStack": {
"type": "array",
"items": {}
},
"metadata": {
"type": "object",
"properties": {
"OpenAI Chat Model4": {
"type": "array",
"items": {
"type": "object",
"properties": {
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
},
"required": [
"subRun"
]
}
},
"Hacker News3": {
"type": "array",
"items": {
"type": "object",
"properties": {
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
},
"required": [
"subRun"
]
}
}
}
},
"waitingExecution": {
"type": "object",
"properties": {}
},
"waitingExecutionSource": {
"type": "object",
"properties": {}
}
}
}
}
},
"mode": {
"type": "string"
},
"startedAt": {
"type": "string"
},
"stoppedAt": {
"type": "string"
},
"status": {
"type": "string"
},
"finished": {
"type": "boolean"
}
}
}

View File

@@ -0,0 +1,603 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"startData": {
"type": "object",
"properties": {}
},
"resultData": {
"type": "object",
"properties": {
"runData": {
"type": "object",
"properties": {
"When clicking Test workflow": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"source": {
"type": "array",
"items": {}
},
"hints": {
"type": "array",
"items": {}
},
"executionTime": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"main": {
"type": "array",
"items": {
"type": "array"
}
}
}
}
}
}
},
"Code": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
}
}
}
},
"hints": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string"
},
"location": {
"type": "string"
}
}
}
},
"executionTime": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"main": {
"type": "array",
"items": {
"type": "array"
}
}
}
}
}
}
},
"Loop Over Items4": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
},
"previousNodeRun": {
"type": "number"
}
},
"required": [
"previousNode"
]
}
},
"hints": {
"type": "array",
"items": {}
},
"executionTime": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"main": {
"type": "array",
"items": {
"type": "array"
}
}
}
}
},
"required": [
"startTime",
"executionIndex",
"source",
"hints",
"executionTime",
"executionStatus",
"data"
]
}
},
"OpenAI Chat Model8": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
},
"previousNodeRun": {
"type": "number"
}
},
"required": [
"previousNode",
"previousNodeRun"
]
}
},
"data": {
"type": "object",
"properties": {
"ai_languageModel": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"inputOverride": {
"type": "object",
"properties": {
"ai_languageModel": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"metadata": {
"type": "object",
"properties": {
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
}
}
},
"required": [
"startTime",
"executionTime",
"executionIndex",
"executionStatus",
"source",
"data",
"inputOverride",
"metadata"
]
}
},
"Hacker News5": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
},
"previousNodeRun": {
"type": "number"
}
},
"required": [
"previousNode",
"previousNodeRun"
]
}
},
"data": {
"type": "object",
"properties": {
"ai_tool": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"inputOverride": {
"type": "object",
"properties": {
"ai_tool": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"metadata": {
"type": "object",
"properties": {
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
}
}
},
"required": [
"startTime",
"executionTime",
"executionIndex",
"executionStatus",
"source",
"data",
"inputOverride",
"metadata"
]
}
},
"AI Agent8": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
},
"previousNodeOutput": {
"type": "number"
},
"previousNodeRun": {
"type": "number"
}
},
"required": [
"previousNode",
"previousNodeOutput"
]
}
},
"hints": {
"type": "array",
"items": {}
},
"executionTime": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"main": {
"type": "array",
"items": {
"type": "array"
}
}
}
}
},
"required": [
"startTime",
"executionIndex",
"source",
"hints",
"executionTime",
"executionStatus",
"data"
]
}
}
}
},
"lastNodeExecuted": {
"type": "string"
}
}
},
"executionData": {
"type": "object",
"properties": {
"contextData": {
"type": "object",
"properties": {
"node:Loop Over Items4": {
"type": "object",
"properties": {
"currentRunIndex": {
"type": "number"
},
"maxRunIndex": {
"type": "number"
},
"sourceData": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
}
}
},
"items": {
"type": "array",
"items": {}
},
"processedItems": {
"type": "array",
"items": {
"type": "object",
"properties": {
"json": {
"type": "object",
"properties": {
"output": {
"type": "string"
}
}
},
"pairedItem": {
"type": "object",
"properties": {
"sourceOverwrite": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
},
"previousNodeRun": {
"type": "number"
}
}
},
"item": {
"type": "number"
}
}
}
},
"required": [
"json",
"pairedItem"
]
}
},
"noItemsLeft": {
"type": "boolean"
},
"done": {
"type": "boolean"
}
}
}
}
},
"nodeExecutionStack": {
"type": "array",
"items": {}
},
"metadata": {
"type": "object",
"properties": {
"OpenAI Chat Model8": {
"type": "array",
"items": {
"type": "object",
"properties": {
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
},
"required": [
"subRun"
]
}
},
"Hacker News5": {
"type": "array",
"items": {
"type": "object",
"properties": {
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
},
"required": [
"subRun"
]
}
}
}
},
"waitingExecution": {
"type": "object",
"properties": {}
},
"waitingExecutionSource": {
"type": "object",
"properties": {}
}
}
}
}
},
"mode": {
"type": "string"
},
"startedAt": {
"type": "string"
},
"stoppedAt": {
"type": "string"
},
"status": {
"type": "string"
},
"finished": {
"type": "boolean"
}
}
}

View File

@@ -0,0 +1,664 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"startData": {
"type": "object",
"properties": {}
},
"resultData": {
"type": "object",
"properties": {
"runData": {
"type": "object",
"properties": {
"When clicking Test workflow": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"source": {
"type": "array",
"items": {}
},
"hints": {
"type": "array",
"items": {}
},
"executionTime": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"main": {
"type": "array",
"items": {
"type": "array"
}
}
}
}
}
}
},
"Code": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
}
}
}
},
"hints": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string"
},
"location": {
"type": "string"
}
}
}
},
"executionTime": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"main": {
"type": "array",
"items": {
"type": "array"
}
}
}
}
}
}
},
"Loop Over Items1": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
},
"previousNodeRun": {
"type": "number"
}
},
"required": [
"previousNode"
]
}
},
"hints": {
"type": "array",
"items": {}
},
"executionTime": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"main": {
"type": "array",
"items": {
"type": "array"
}
}
}
}
},
"required": [
"startTime",
"executionIndex",
"source",
"hints",
"executionTime",
"executionStatus",
"data"
]
}
},
"Aggregate2": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
},
"previousNodeOutput": {
"type": "number"
},
"previousNodeRun": {
"type": "number"
}
},
"required": [
"previousNode",
"previousNodeOutput"
]
}
},
"hints": {
"type": "array",
"items": {}
},
"executionTime": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"main": {
"type": "array",
"items": {
"type": "array"
}
}
}
}
},
"required": [
"startTime",
"executionIndex",
"source",
"hints",
"executionTime",
"executionStatus",
"data"
]
}
},
"OpenAI Chat Model5": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
},
"previousNodeRun": {
"type": "number"
}
},
"required": [
"previousNode",
"previousNodeRun"
]
}
},
"data": {
"type": "object",
"properties": {
"ai_languageModel": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"inputOverride": {
"type": "object",
"properties": {
"ai_languageModel": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"metadata": {
"type": "object",
"properties": {
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
}
}
},
"required": [
"startTime",
"executionTime",
"executionIndex",
"executionStatus",
"source",
"data",
"inputOverride",
"metadata"
]
}
},
"Hacker News4": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
},
"previousNodeRun": {
"type": "number"
}
},
"required": [
"previousNode",
"previousNodeRun"
]
}
},
"data": {
"type": "object",
"properties": {
"ai_tool": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"inputOverride": {
"type": "object",
"properties": {
"ai_tool": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"metadata": {
"type": "object",
"properties": {
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
}
}
},
"required": [
"startTime",
"executionTime",
"executionIndex",
"executionStatus",
"source",
"data",
"inputOverride",
"metadata"
]
}
},
"AI Agent5": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
},
"previousNodeRun": {
"type": "number"
}
},
"required": [
"previousNode"
]
}
},
"hints": {
"type": "array",
"items": {}
},
"executionTime": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"main": {
"type": "array",
"items": {
"type": "array"
}
}
}
}
},
"required": [
"startTime",
"executionIndex",
"source",
"hints",
"executionTime",
"executionStatus",
"data"
]
}
}
}
},
"lastNodeExecuted": {
"type": "string"
}
}
},
"executionData": {
"type": "object",
"properties": {
"contextData": {
"type": "object",
"properties": {
"node:Loop Over Items1": {
"type": "object",
"properties": {
"currentRunIndex": {
"type": "number"
},
"maxRunIndex": {
"type": "number"
},
"sourceData": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
}
}
},
"items": {
"type": "array",
"items": {}
},
"processedItems": {
"type": "array",
"items": {
"type": "object",
"properties": {
"json": {
"type": "object",
"properties": {
"output": {
"type": "string"
}
}
},
"pairedItem": {
"type": "object",
"properties": {
"sourceOverwrite": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
},
"previousNodeRun": {
"type": "number"
}
}
},
"item": {
"type": "number"
}
}
}
},
"required": [
"json",
"pairedItem"
]
}
},
"noItemsLeft": {
"type": "boolean"
},
"done": {
"type": "boolean"
}
}
}
}
},
"nodeExecutionStack": {
"type": "array",
"items": {}
},
"metadata": {
"type": "object",
"properties": {
"OpenAI Chat Model5": {
"type": "array",
"items": {
"type": "object",
"properties": {
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
},
"required": [
"subRun"
]
}
},
"Hacker News4": {
"type": "array",
"items": {
"type": "object",
"properties": {
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
},
"required": [
"subRun"
]
}
}
}
},
"waitingExecution": {
"type": "object",
"properties": {}
},
"waitingExecutionSource": {
"type": "object",
"properties": {}
}
}
}
}
},
"mode": {
"type": "string"
},
"startedAt": {
"type": "string"
},
"stoppedAt": {
"type": "string"
},
"status": {
"type": "string"
},
"finished": {
"type": "boolean"
}
}
}

View File

@@ -0,0 +1,847 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"startData": {
"type": "object",
"properties": {}
},
"resultData": {
"type": "object",
"properties": {
"runData": {
"type": "object",
"properties": {
"When clicking Test workflow": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"source": {
"type": "array",
"items": {}
},
"hints": {
"type": "array",
"items": {}
},
"executionTime": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"main": {
"type": "array",
"items": {
"type": "array"
}
}
}
}
}
}
},
"Code": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
}
}
}
},
"hints": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string"
},
"location": {
"type": "string"
}
}
}
},
"executionTime": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"main": {
"type": "array",
"items": {
"type": "array"
}
}
}
}
}
}
},
"Aggregate": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
}
}
}
},
"hints": {
"type": "array",
"items": {}
},
"executionTime": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"main": {
"type": "array",
"items": {
"type": "array"
}
}
}
}
}
}
},
"OpenAI Chat Model1": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
},
"previousNodeRun": {
"type": "number"
}
},
"required": [
"previousNode",
"previousNodeRun"
]
}
},
"data": {
"type": "object",
"properties": {
"ai_languageModel": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"inputOverride": {
"type": "object",
"properties": {
"ai_languageModel": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"metadata": {
"type": "object",
"properties": {
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
}
}
},
"required": [
"startTime",
"executionTime",
"executionIndex",
"executionStatus",
"source",
"data",
"inputOverride",
"metadata"
]
}
},
"Hacker News1": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
},
"previousNodeRun": {
"type": "number"
}
},
"required": [
"previousNode",
"previousNodeRun"
]
}
},
"data": {
"type": "object",
"properties": {
"ai_tool": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"inputOverride": {
"type": "object",
"properties": {
"ai_tool": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"metadata": {
"type": "object",
"properties": {
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
}
}
},
"required": [
"startTime",
"executionTime",
"executionIndex",
"executionStatus",
"source",
"data",
"inputOverride",
"metadata"
]
}
},
"AI Agent1": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
}
}
}
},
"hints": {
"type": "array",
"items": {}
},
"executionTime": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"main": {
"type": "array",
"items": {
"type": "array"
}
}
}
}
}
}
},
"Aggregate1": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
}
}
}
},
"hints": {
"type": "array",
"items": {}
},
"executionTime": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"main": {
"type": "array",
"items": {
"type": "array"
}
}
}
}
}
}
},
"OpenAI Chat Model3": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
},
"previousNodeRun": {
"type": "number"
}
},
"required": [
"previousNode",
"previousNodeRun"
]
}
},
"data": {
"type": "object",
"properties": {
"ai_languageModel": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"inputOverride": {
"type": "object",
"properties": {
"ai_languageModel": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"metadata": {
"type": "object",
"properties": {
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
}
}
},
"required": [
"startTime",
"executionTime",
"executionIndex",
"executionStatus",
"source",
"data",
"inputOverride",
"metadata"
]
}
},
"Call n8n Workflow Tool1": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
},
"previousNodeRun": {
"type": "number"
}
},
"required": [
"previousNode",
"previousNodeRun"
]
}
},
"data": {
"type": "object",
"properties": {
"ai_tool": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"inputOverride": {
"type": "object",
"properties": {
"ai_tool": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"metadata": {
"type": "object",
"properties": {
"subExecution": {
"type": "object",
"properties": {
"executionId": {
"type": "string"
},
"workflowId": {
"type": "string"
}
}
},
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
}
}
},
"required": [
"startTime",
"executionTime",
"executionIndex",
"executionStatus",
"source",
"data",
"inputOverride",
"metadata"
]
}
},
"AI Agent3": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
}
}
}
},
"hints": {
"type": "array",
"items": {}
},
"executionTime": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"main": {
"type": "array",
"items": {
"type": "array"
}
}
}
}
}
}
}
}
},
"lastNodeExecuted": {
"type": "string"
}
}
},
"executionData": {
"type": "object",
"properties": {
"contextData": {
"type": "object",
"properties": {}
},
"nodeExecutionStack": {
"type": "array",
"items": {}
},
"metadata": {
"type": "object",
"properties": {
"OpenAI Chat Model1": {
"type": "array",
"items": {
"type": "object",
"properties": {
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
},
"required": [
"subRun"
]
}
},
"Hacker News1": {
"type": "array",
"items": {
"type": "object",
"properties": {
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
},
"required": [
"subRun"
]
}
},
"OpenAI Chat Model3": {
"type": "array",
"items": {
"type": "object",
"properties": {
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
},
"required": [
"subRun"
]
}
},
"Call n8n Workflow Tool1": {
"type": "array",
"items": {
"type": "object",
"properties": {
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
},
"required": [
"subRun"
]
}
}
}
},
"waitingExecution": {
"type": "object",
"properties": {}
},
"waitingExecutionSource": {
"type": "object",
"properties": {}
}
}
}
}
},
"mode": {
"type": "string"
},
"startedAt": {
"type": "string"
},
"stoppedAt": {
"type": "string"
},
"status": {
"type": "string"
},
"finished": {
"type": "boolean"
}
}
}

View File

@@ -0,0 +1,755 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"startData": {
"type": "object",
"properties": {}
},
"resultData": {
"type": "object",
"properties": {
"runData": {
"type": "object",
"properties": {
"When clicking Test workflow": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"source": {
"type": "array",
"items": {}
},
"hints": {
"type": "array",
"items": {}
},
"executionTime": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"main": {
"type": "array",
"items": {
"type": "array"
}
}
}
}
}
}
},
"Code1": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
}
}
}
},
"hints": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string"
},
"location": {
"type": "string"
}
}
}
},
"executionTime": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"main": {
"type": "array",
"items": {
"type": "array"
}
}
}
}
}
}
},
"OpenAI Chat Model": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
},
"previousNodeRun": {
"type": "number"
}
},
"required": [
"previousNode",
"previousNodeRun"
]
}
},
"data": {
"type": "object",
"properties": {
"ai_languageModel": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"inputOverride": {
"type": "object",
"properties": {
"ai_languageModel": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"metadata": {
"type": "object",
"properties": {
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
}
}
},
"required": [
"startTime",
"executionTime",
"executionIndex",
"executionStatus",
"source",
"data",
"inputOverride",
"metadata"
]
}
},
"Hacker News": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
},
"previousNodeRun": {
"type": "number"
}
},
"required": [
"previousNode",
"previousNodeRun"
]
}
},
"data": {
"type": "object",
"properties": {
"ai_tool": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"inputOverride": {
"type": "object",
"properties": {
"ai_tool": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"metadata": {
"type": "object",
"properties": {
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
}
}
},
"required": [
"startTime",
"executionTime",
"executionIndex",
"executionStatus",
"source",
"data",
"inputOverride",
"metadata"
]
}
},
"AI Agent": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
}
}
}
},
"hints": {
"type": "array",
"items": {}
},
"executionTime": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"main": {
"type": "array",
"items": {
"type": "array"
}
}
}
}
}
}
},
"OpenAI Chat Model2": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
},
"previousNodeRun": {
"type": "number"
}
},
"required": [
"previousNode",
"previousNodeRun"
]
}
},
"data": {
"type": "object",
"properties": {
"ai_languageModel": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"inputOverride": {
"type": "object",
"properties": {
"ai_languageModel": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"metadata": {
"type": "object",
"properties": {
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
}
}
},
"required": [
"startTime",
"executionTime",
"executionIndex",
"executionStatus",
"source",
"data",
"inputOverride",
"metadata"
]
}
},
"Call n8n Workflow Tool": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
},
"previousNodeRun": {
"type": "number"
}
},
"required": [
"previousNode",
"previousNodeRun"
]
}
},
"data": {
"type": "object",
"properties": {
"ai_tool": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"inputOverride": {
"type": "object",
"properties": {
"ai_tool": {
"type": "array",
"items": {
"type": "array"
}
}
}
},
"metadata": {
"type": "object",
"properties": {
"subExecution": {
"type": "object",
"properties": {
"executionId": {
"type": "string"
},
"workflowId": {
"type": "string"
}
}
},
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
}
}
},
"required": [
"startTime",
"executionTime",
"executionIndex",
"executionStatus",
"source",
"data",
"inputOverride",
"metadata"
]
}
},
"AI Agent2": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startTime": {
"type": "number"
},
"executionIndex": {
"type": "number"
},
"source": {
"type": "array",
"items": {
"type": "object",
"properties": {
"previousNode": {
"type": "string"
}
}
}
},
"hints": {
"type": "array",
"items": {}
},
"executionTime": {
"type": "number"
},
"executionStatus": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"main": {
"type": "array",
"items": {
"type": "array"
}
}
}
}
}
}
}
}
},
"lastNodeExecuted": {
"type": "string"
}
}
},
"executionData": {
"type": "object",
"properties": {
"contextData": {
"type": "object",
"properties": {}
},
"nodeExecutionStack": {
"type": "array",
"items": {}
},
"metadata": {
"type": "object",
"properties": {
"OpenAI Chat Model": {
"type": "array",
"items": {
"type": "object",
"properties": {
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
},
"required": [
"subRun"
]
}
},
"Hacker News": {
"type": "array",
"items": {
"type": "object",
"properties": {
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
},
"required": [
"subRun"
]
}
},
"OpenAI Chat Model2": {
"type": "array",
"items": {
"type": "object",
"properties": {
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
},
"required": [
"subRun"
]
}
},
"Call n8n Workflow Tool": {
"type": "array",
"items": {
"type": "object",
"properties": {
"subRun": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"runIndex": {
"type": "number"
}
},
"required": [
"node",
"runIndex"
]
}
}
},
"required": [
"subRun"
]
}
}
}
},
"waitingExecution": {
"type": "object",
"properties": {}
},
"waitingExecutionSource": {
"type": "object",
"properties": {}
}
}
}
}
},
"mode": {
"type": "string"
},
"startedAt": {
"type": "string"
},
"stoppedAt": {
"type": "string"
},
"status": {
"type": "string"
},
"finished": {
"type": "boolean"
}
}
}