From e2c2560e0a3ab5b221932cf0140698d80aaff901 Mon Sep 17 00:00:00 2001 From: Admin User Date: Thu, 10 Apr 2025 18:33:30 +0000 Subject: [PATCH] Series M v1 model --- block.py | 2 +- request_schema.json | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/block.py b/block.py index 4558587..4421479 100644 --- a/block.py +++ b/block.py @@ -8,7 +8,7 @@ logging.basicConfig( ) logger = logging.getLogger(__name__) -def __main__(application_id: str, tu_credit_report: str) -> dict: +def __main__(application_id: str, tu_credit_report: dict) -> dict: # Randomly pick an integer between 800 and 1400 hd_score_m1 = random.randint(800, 1400) diff --git a/request_schema.json b/request_schema.json index 340f1e7..180d1b3 100644 --- a/request_schema.json +++ b/request_schema.json @@ -7,8 +7,14 @@ "description": "Unique identifier for the application." }, "tu_credit_report": { - "type": ["string", "null"], - "description": "User Credit report" + "type": ["object", "null"], + "description": "User Credit report", + "properties": { + "creditBureau": { + "type": "object", + "description": "Credit bureau details" + } + } } }, "required": []