blocks-transformer/response_schema.json
Admin User 8f7a795573
All checks were successful
Build and Push Docker Image / test (push) Successful in 19s
Build and Push Docker Image / build_and_push (push) Successful in 3m16s
Upload files to "/"
2025-06-18 17:12:25 +00:00

49 lines
1.2 KiB
JSON

{
"$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_codes": {
"type": "array",
"description": "List of reason codes explaining the model decision",
"items": {
"type": "object",
"properties": {
"code": {
"type": ["string", "null"],
"description": "Feature or score reason code"
},
"rank": {
"type": ["string", "null"],
"description": "Rank of importance (1 to 4)"
},
"description": {
"type": ["string", "null"],
"description": "Human-readable explanation for the reason"
}
},
"required": ["code", "rank", "description"]
},
"minItems": 1,
"maxItems": 4
}
},
"required": [
"application_id",
"prediction",
"grade",
"reason_codes"
]
}