Files
zen/test-data/passthrough.json
T
stefan-gorules 2b73856d55 feat: schema validation (#267)
* feat: schema validation

* fix prettier

* update implementation

* add test cases

* change validator to string

* update tests
2024-12-25 13:00:04 +01:00

31 lines
652 B
JSON

{
"contentType": "application/vnd.gorules.decision",
"nodes": [
{
"type": "inputNode",
"id": "4354dede-b4ed-4a57-9b80-45c1e33e2326",
"name": "request",
"position": {
"x": 90,
"y": 200
}
},
{
"type": "outputNode",
"id": "27e18970-f565-43eb-859e-568c9f53b7a8",
"name": "response",
"position": {
"x": 510,
"y": 200
}
}
],
"edges": [
{
"id": "4c036317-bc39-4ad2-a825-adbfd4ca2df6",
"sourceId": "4354dede-b4ed-4a57-9b80-45c1e33e2326",
"type": "edge",
"targetId": "27e18970-f565-43eb-859e-568c9f53b7a8"
}
]
}