Template JSON
{
"nodes": [
{
"id": "start-1",
"type": "start",
"label": "Start",
"x": 80,
"y": 160,
"position": {
"x": 80,
"y": 160
},
"config": {
"publicSafe": true,
"protectedAction": false
},
"status": "idle",
"metadata": {}
},
{
"id": "transform_json-2",
"type": "transform_json",
"label": "Validate proposal schema",
"x": 310,
"y": 240,
"position": {
"x": 310,
"y": 240
},
"config": {
"publicSafe": true,
"protectedAction": false,
"required": [
"name",
"meaning",
"examples"
]
},
"status": "idle",
"metadata": {}
},
{
"id": "approval-3",
"type": "approval",
"label": "Review proposal",
"x": 540,
"y": 160,
"position": {
"x": 540,
"y": 160
},
"config": {
"publicSafe": false,
"protectedAction": true
},
"status": "idle",
"metadata": {}
},
{
"id": "docs_export-4",
"type": "docs_export",
"label": "Draft public proposal docs",
"x": 770,
"y": 240,
"position": {
"x": 770,
"y": 240
},
"config": {
"publicSafe": true,
"protectedAction": false,
"service": "docs.platphormnews.com"
},
"status": "idle",
"metadata": {}
},
{
"id": "end-5",
"type": "end",
"label": "Complete",
"x": 1000,
"y": 160,
"position": {
"x": 1000,
"y": 160
},
"config": {
"publicSafe": true,
"protectedAction": false
},
"status": "idle",
"metadata": {}
}
],
"edges": [
{
"id": "edge-1",
"source": "start-1",
"target": "transform_json-2",
"sourceNodeId": "start-1",
"targetNodeId": "transform_json-2",
"condition": "success",
"metadata": {}
},
{
"id": "edge-2",
"source": "transform_json-2",
"target": "approval-3",
"sourceNodeId": "transform_json-2",
"targetNodeId": "approval-3",
"metadata": {}
},
{
"id": "edge-3",
"source": "approval-3",
"target": "docs_export-4",
"sourceNodeId": "approval-3",
"targetNodeId": "docs_export-4",
"metadata": {}
},
{
"id": "edge-4",
"source": "docs_export-4",
"target": "end-5",
"sourceNodeId": "docs_export-4",
"targetNodeId": "end-5",
"metadata": {}
}
]
}