159 lines
4.2 KiB
JSON
159 lines
4.2 KiB
JSON
{
|
|
"nodes": [
|
|
{
|
|
"id": "c2w3wcw04fjyio9un4f",
|
|
"position": {
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"data": {
|
|
"label": "Request",
|
|
"request_schema": {
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"properties": {
|
|
"application_id": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"description": "Unique identifier for the application.",
|
|
"required": []
|
|
},
|
|
"tu_credit_report": {
|
|
"type": [
|
|
"object",
|
|
"null"
|
|
],
|
|
"description": "User Credit report",
|
|
"properties": {
|
|
"creditBureau": {
|
|
"type": "object",
|
|
"description": "Credit bureau details"
|
|
}
|
|
}
|
|
},
|
|
"creditBureau": {
|
|
"type": [
|
|
"object",
|
|
"null"
|
|
],
|
|
"description": "Credit bureau details",
|
|
"source": null
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
},
|
|
"type": "requestNode",
|
|
"positionAbsolute": {
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"width": 260,
|
|
"height": 36
|
|
},
|
|
{
|
|
"id": "mbv5bk0d7enxum9v24m",
|
|
"position": {
|
|
"x": 0,
|
|
"y": 150
|
|
},
|
|
"data": {
|
|
"label": "+",
|
|
"nodeConfig": {
|
|
"activityConfig": {
|
|
"retryPolicy": {
|
|
"maximumAttempts": 1,
|
|
"initialInterval": 1000,
|
|
"backoffCoefficient": 2,
|
|
"maximumInterval": 100000
|
|
},
|
|
"timeouts": {
|
|
"startToCloseTimeout": 10000,
|
|
"scheduleToStartTimeout": 10000,
|
|
"scheduleToCloseTimeout": 10000,
|
|
"heartbeatTimeout": 86
|
|
},
|
|
"taskQueue": {
|
|
"taskQueueName": ""
|
|
},
|
|
"advancedSettings": {
|
|
"cancellationType": "TRY_CANCEL",
|
|
"heartbeatEnabled": false
|
|
}
|
|
},
|
|
"blockName": "m-1-v-1",
|
|
"commitId": "848a80fb09d9cf05ebe7153f4474b7ce35c227c5",
|
|
"repo_url": "http://centurion-version-control.default.svc.cluster.local:3000/Centurion/blocks-transformer.git",
|
|
"schema": {
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"properties": {
|
|
"application_id": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"description": "Unique identifier for the application.",
|
|
"source": "$root.application_id"
|
|
},
|
|
"creditBureau": {
|
|
"type": [
|
|
"object",
|
|
"null"
|
|
],
|
|
"description": "Credit bureau details",
|
|
"source": "$root.tu_credit_report.data"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"outputSchema": {
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"properties": {
|
|
"application_id": {
|
|
"type": "string",
|
|
"description": "Unique identifier for the application"
|
|
},
|
|
"prediction": {
|
|
"type": "number",
|
|
"description": "Model's predicted probability score"
|
|
},
|
|
"grade": {
|
|
"type": "string",
|
|
"description": "HD Model Grade"
|
|
},
|
|
"reason_description": {
|
|
"type": "string",
|
|
"description": "Reason for the model decision"
|
|
}
|
|
},
|
|
"required": [
|
|
"application_id",
|
|
"prediction",
|
|
"grade",
|
|
"reason_description"
|
|
]
|
|
}
|
|
},
|
|
"type": "transformerNode",
|
|
"positionAbsolute": {
|
|
"x": 0,
|
|
"y": 150
|
|
},
|
|
"width": 260,
|
|
"height": 79,
|
|
"selected": false,
|
|
"dragging": false
|
|
}
|
|
],
|
|
"edges": [
|
|
{
|
|
"id": "c2w3wcw04fjyio9un4f=>mbv5bk0d7enxum9v24m",
|
|
"source": "c2w3wcw04fjyio9un4f",
|
|
"target": "mbv5bk0d7enxum9v24m",
|
|
"type": "workflow"
|
|
}
|
|
]
|
|
} |