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

171 lines
4.0 KiB
JSON

{
"name": "Sector",
"type": "object",
"properties": {
"sector_number": {
"type": "string",
"description": "Sector Number format SN-#### (auto-generated)",
"pattern": "^SN-[0-9]{4}$"
},
"customer_group": {
"type": "string",
"description": "Customer group name"
},
"sector_code": {
"type": "string",
"description": "Short code identifier"
},
"sector_name": {
"type": "string",
"description": "Sector/brand name (e.g., Bon App\u00e9tit, Flik, Eurest)"
},
"division_code": {
"type": "string",
"description": "Division code"
},
"division": {
"type": "string",
"description": "Division name"
},
"region_code": {
"type": "string",
"description": "Region code"
},
"region": {
"type": "string",
"description": "Region name"
},
"district_code": {
"type": "string",
"description": "District code"
},
"district": {
"type": "string",
"description": "District name"
},
"customer_code": {
"type": "string",
"description": "Customer code"
},
"customer": {
"type": "string",
"description": "Customer name"
},
"main_contact_address1": {
"type": "string",
"description": "Main contact address line 1"
},
"main_contact_address2": {
"type": "string",
"description": "Main contact address line 2"
},
"main_contact_city": {
"type": "string",
"description": "Main contact city"
},
"main_contact_state": {
"type": "string",
"description": "Main contact state"
},
"main_contact_postal_code": {
"type": "string",
"description": "Main contact postal/ZIP code"
},
"financial_code": {
"type": "string",
"description": "Financial code"
},
"account_manager": {
"type": "string",
"description": "Account manager name"
},
"account_manager_department": {
"type": "string",
"description": "Account manager department"
},
"division_manager": {
"type": "string",
"description": "Division manager name"
},
"division_manager_department": {
"type": "string",
"description": "Division manager department"
},
"business_channels": {
"type": "array",
"description": "Business channels for this sector",
"items": {
"type": "string"
}
},
"new_addition": {
"type": "string",
"description": "New addition flag or info"
},
"parent_enterprise_id": {
"type": "string",
"description": "Parent enterprise ID"
},
"parent_enterprise_name": {
"type": "string",
"description": "Parent enterprise name"
},
"sector_type": {
"type": "string",
"enum": [
"Food Service",
"Facilities",
"Healthcare",
"Education",
"Corporate",
"Sports & Entertainment"
],
"description": "Sector business type"
},
"client_portfolio": {
"type": "array",
"description": "List of partner/client IDs in this sector",
"items": {
"type": "string"
}
},
"sector_policies": {
"type": "object",
"description": "Sector-specific policies",
"properties": {
"uniform_requirements": {
"type": "string"
},
"certification_requirements": {
"type": "array",
"items": {
"type": "string"
}
},
"special_training": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"approved_vendors": {
"type": "array",
"description": "List of approved vendor IDs for this sector",
"items": {
"type": "string"
}
},
"is_active": {
"type": "boolean",
"default": true,
"description": "Is sector active"
}
},
"required": [
"sector_name",
"sector_code",
"sector_number"
]
}