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

89 lines
2.0 KiB
JSON

{
"name": "Enterprise",
"type": "object",
"properties": {
"enterprise_number": {
"type": "string",
"description": "Enterprise Number format EN-#### (auto-generated)",
"pattern": "^EN-[0-9]{4}$"
},
"enterprise_name": {
"type": "string",
"description": "Enterprise name (e.g., Compass)"
},
"enterprise_code": {
"type": "string",
"description": "Short code identifier"
},
"brand_family": {
"type": "array",
"description": "List of brands under this enterprise",
"items": {
"type": "string"
}
},
"headquarters_address": {
"type": "string",
"description": "HQ address"
},
"global_policies": {
"type": "object",
"description": "Global enterprise policies",
"properties": {
"minimum_wage": {
"type": "number"
},
"overtime_rules": {
"type": "string"
},
"uniform_standards": {
"type": "string"
},
"background_check_required": {
"type": "boolean"
}
}
},
"sector_registry": {
"type": "array",
"description": "List of sector IDs under this enterprise",
"items": {
"type": "string"
}
},
"rate_guardrails": {
"type": "object",
"description": "Rate limits and guardrails",
"properties": {
"minimum_markup_percentage": {
"type": "number"
},
"maximum_markup_percentage": {
"type": "number"
},
"minimum_bill_rate": {
"type": "number"
}
}
},
"primary_contact_name": {
"type": "string",
"description": "Enterprise contact"
},
"primary_contact_email": {
"type": "string",
"format": "email",
"description": "Enterprise contact email"
},
"is_active": {
"type": "boolean",
"default": true,
"description": "Is enterprise active"
}
},
"required": [
"enterprise_name",
"enterprise_code",
"enterprise_number"
]
}