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

200 lines
4.4 KiB
JSON

{
"name": "FoodServiceOperation",
"type": "object",
"properties": {
"operation_id": {
"type": "string",
"description": "Operation record ID"
},
"operation_name": {
"type": "string",
"description": "Name of the food service operation"
},
"service_type": {
"type": "string",
"enum": [
"breakfast",
"lunch",
"dinner",
"catering",
"concession",
"cafe",
"buffet",
"banquet",
"retail",
"vending",
"other"
],
"description": "Type of food service"
},
"client_id": {
"type": "string",
"description": "Client/Business ID this operation serves"
},
"client_name": {
"type": "string"
},
"site_id": {
"type": "string",
"description": "Site where operation takes place"
},
"location_name": {
"type": "string",
"description": "Location/dining area name"
},
"sector_id": {
"type": "string",
"description": "Sector this operation belongs to"
},
"sector_name": {
"type": "string"
},
"vendor_id": {
"type": "string",
"description": "Vendor operating this service"
},
"vendor_name": {
"type": "string"
},
"manager_id": {
"type": "string",
"description": "Manager Staff ID running this operation"
},
"manager_name": {
"type": "string"
},
"shift_id": {
"type": "string",
"description": "Shift this operation is tied to"
},
"event_id": {
"type": "string",
"description": "Event this operation is part of"
},
"operation_date": {
"type": "string",
"format": "date",
"description": "Date of operation"
},
"service_start_time": {
"type": "string",
"description": "Service start time"
},
"service_end_time": {
"type": "string",
"description": "Service end time"
},
"meal_period": {
"type": "string",
"enum": [
"breakfast",
"am_break",
"lunch",
"pm_break",
"dinner",
"late_night",
"all_day"
],
"description": "Meal period"
},
"menu_type": {
"type": "string",
"description": "Menu style (e.g., American, Mediterranean, Asian, Custom)"
},
"covers_expected": {
"type": "number",
"default": 0,
"description": "Expected number of covers/guests"
},
"covers_actual": {
"type": "number",
"default": 0,
"description": "Actual covers served"
},
"staffing_level": {
"type": "number",
"default": 0,
"description": "Number of staff assigned to this operation"
},
"kitchen_status": {
"type": "string",
"enum": [
"closed",
"prep",
"service",
"post_service",
"cleanup",
"deep_clean"
],
"default": "closed",
"description": "Current kitchen/operation phase"
},
"equipment_assigned": {
"type": "array",
"description": "Equipment IDs assigned to this operation",
"items": {
"type": "object",
"properties": {
"equipment_id": {
"type": "string"
},
"equipment_name": {
"type": "string"
},
"quantity": {
"type": "number"
}
}
}
},
"contract_id": {
"type": "string",
"description": "Contract governing this operation"
},
"invoice_id": {
"type": "string",
"description": "Invoice generated for this operation"
},
"compliance_status": {
"type": "string",
"enum": [
"compliant",
"pending_review",
"non_compliant",
"not_applicable"
],
"default": "compliant"
},
"quality_score": {
"type": "number",
"minimum": 0,
"maximum": 100,
"description": "Quality/QA score for this operation"
},
"client_feedback": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"scheduled",
"prep",
"in_service",
"completed",
"cancelled",
"no_show"
],
"default": "scheduled",
"description": "Operation status"
},
"notes": {
"type": "string"
}
},
"required": [
"operation_name",
"service_type",
"operation_date",
"status"
]
}