{ "name": "verify-form-trigger-shape", "nodes": [ {"id": "n1", "name": "Form", "type": "form-trigger", "position": {"x": 0, "y": 0}, "config": {"title": "Send an image", "fields": [{"name": "image", "label": "Image", "type": "file", "required": true}]}}, {"id": "n2", "name": "Check", "type": "code", "position": {"x": 0, "y": 100}, "config": {"code": "return { hasForm: typeof input.data.form === 'object' && input.data.form !== null, submitted: typeof input.data.submittedAt === 'number' };"}} ], "connections": [ {"sourceNodeId": "n1", "sourceOutput": "main", "targetNodeId": "n2", "targetInput": "data"} ], "expect": { "n2": {"status": "completed", "output": {"result": {"hasForm": true, "submitted": true}}} } }