Files
krowworkforce_controltower/base44/entities/Scorecard.jsonc
2026-08-17 19:45:29 +05:30

285 lines
6.1 KiB
JSON

{
"name": "Scorecard",
"type": "object",
"properties": {
"scorecard_number": {
"type": "string",
"description": "Scorecard Number format SC-#### (auto-generated)",
"pattern": "^SC-[0-9]{4}$"
},
"vendor_id": {
"type": "string",
"description": "Vendor ID"
},
"vendor_name": {
"type": "string",
"description": "Vendor name"
},
"period_type": {
"type": "string",
"enum": [
"Monthly",
"Quarterly",
"Annual",
"All Time"
],
"description": "Reporting period"
},
"period_start": {
"type": "string",
"format": "date",
"description": "Period start date"
},
"period_end": {
"type": "string",
"format": "date",
"description": "Period end date"
},
"kpis": {
"type": "object",
"description": "Key Performance Indicators",
"properties": {
"fill_rate": {
"type": "object",
"properties": {
"value": {
"type": "number"
},
"target": {
"type": "number"
},
"status": {
"type": "string",
"enum": [
"Exceeds",
"Meets",
"Below"
]
}
}
},
"on_time_arrival": {
"type": "object",
"properties": {
"value": {
"type": "number"
},
"target": {
"type": "number"
},
"status": {
"type": "string"
}
}
},
"cancellation_rate": {
"type": "object",
"properties": {
"value": {
"type": "number"
},
"target": {
"type": "number"
},
"status": {
"type": "string"
}
}
},
"no_show_rate": {
"type": "object",
"properties": {
"value": {
"type": "number"
},
"target": {
"type": "number"
},
"status": {
"type": "string"
}
}
},
"average_rating": {
"type": "object",
"properties": {
"value": {
"type": "number"
},
"target": {
"type": "number"
},
"status": {
"type": "string"
}
}
},
"response_time_hours": {
"type": "object",
"properties": {
"value": {
"type": "number"
},
"target": {
"type": "number"
},
"status": {
"type": "string"
}
}
},
"compliance_score": {
"type": "object",
"properties": {
"value": {
"type": "number"
},
"target": {
"type": "number"
},
"status": {
"type": "string"
}
}
}
}
},
"sla_results": {
"type": "object",
"description": "SLA Performance Results",
"properties": {
"orders_received": {
"type": "number"
},
"orders_filled": {
"type": "number"
},
"orders_partially_filled": {
"type": "number"
},
"orders_unfilled": {
"type": "number"
},
"total_shifts": {
"type": "number"
},
"shifts_completed": {
"type": "number"
},
"shifts_cancelled": {
"type": "number"
},
"avg_response_time": {
"type": "number"
}
}
},
"trends": {
"type": "array",
"description": "Performance trends over time",
"items": {
"type": "object",
"properties": {
"metric": {
"type": "string"
},
"current_value": {
"type": "number"
},
"previous_value": {
"type": "number"
},
"change_percentage": {
"type": "number"
},
"trend_direction": {
"type": "string",
"enum": [
"Up",
"Down",
"Stable"
]
}
}
}
},
"overall_score": {
"type": "number",
"minimum": 0,
"maximum": 100,
"description": "Overall performance score (0-100)"
},
"grade": {
"type": "string",
"enum": [
"A+",
"A",
"B+",
"B",
"C+",
"C",
"D",
"F"
],
"description": "Performance grade"
},
"strengths": {
"type": "array",
"description": "Identified strengths",
"items": {
"type": "string"
}
},
"areas_for_improvement": {
"type": "array",
"description": "Areas needing improvement",
"items": {
"type": "string"
}
},
"action_items": {
"type": "array",
"description": "Recommended action items",
"items": {
"type": "object",
"properties": {
"item": {
"type": "string"
},
"priority": {
"type": "string",
"enum": [
"High",
"Medium",
"Low"
]
},
"due_date": {
"type": "string",
"format": "date"
}
}
}
},
"reviewed_by": {
"type": "string",
"description": "Who reviewed this scorecard"
},
"reviewed_date": {
"type": "string",
"format": "date",
"description": "Review date"
},
"next_review_date": {
"type": "string",
"format": "date",
"description": "Next scheduled review"
}
},
"required": [
"vendor_id",
"period_type",
"period_start",
"period_end"
]
}