From 4334e369b309b6e3eca33bd041db056aff743384 Mon Sep 17 00:00:00 2001 From: Admin User Date: Fri, 13 Jun 2025 18:34:03 +0000 Subject: [PATCH] Update README.md --- flows.json | 74 +++++++++++++++++++++++++++++---------------- request_schema.json | 21 +++++++++++++ 2 files changed, 69 insertions(+), 26 deletions(-) diff --git a/flows.json b/flows.json index 5542173..b0dca53 100644 --- a/flows.json +++ b/flows.json @@ -18,6 +18,27 @@ ], "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": [] @@ -32,7 +53,7 @@ "height": 36 }, { - "id": "m9bpbbigt0prmfst3uc", + "id": "mbv5bk0d7enxum9v24m", "position": { "x": 0, "y": 150 @@ -62,7 +83,7 @@ } }, "blockName": "m-1-v-1", - "commitId": "95034efa4ef773fa4cb937738d17946521bf4f05", + "commitId": "f40b9e685fa13d836670db551ae4644af87863f2", "repo_url": "http://centurion-version-control.default.svc.cluster.local:3000/Centurion/blocks-transformer.git", "schema": { "$schema": "http://json-schema.org/draft-07/schema#", @@ -76,22 +97,15 @@ "description": "Unique identifier for the application.", "source": "$root.application_id" }, - "tu_credit_report": { + "creditBureau": { "type": [ "object", "null" ], - "description": "User Credit report", - "properties": { - "creditBureau": { - "type": "object", - "description": "Credit bureau details" - } - }, + "description": "Credit bureau details", "source": null } - }, - "required": [] + } } }, "outputSchema": { @@ -99,20 +113,28 @@ "type": "object", "properties": { "application_id": { - "type": [ - "string", - "null" - ], - "description": "Application Key" + "type": "string", + "description": "Unique identifier for the application" }, - "hd_score_m1": { - "type": [ - "number", - "null" - ], - "description": "HD Fraud Score M1" + "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", @@ -128,9 +150,9 @@ ], "edges": [ { - "id": "c2w3wcw04fjyio9un4f=>m9bpbbigt0prmfst3uc", + "id": "c2w3wcw04fjyio9un4f=>mbv5bk0d7enxum9v24m", "source": "c2w3wcw04fjyio9un4f", - "target": "m9bpbbigt0prmfst3uc", + "target": "mbv5bk0d7enxum9v24m", "type": "workflow" } ] diff --git a/request_schema.json b/request_schema.json index 193faf3..406331d 100644 --- a/request_schema.json +++ b/request_schema.json @@ -8,6 +8,27 @@ ], "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": []