55 lines
1.2 KiB
JSON
55 lines
1.2 KiB
JSON
{
|
|
"name": "Budget",
|
|
"type": "object",
|
|
"properties": {
|
|
"hub_name": {
|
|
"type": "string",
|
|
"description": "Name of the budget hub"
|
|
},
|
|
"cost_center": {
|
|
"type": "string",
|
|
"description": "Cost center code this budget maps to"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"minimum": 0,
|
|
"description": "Budget amount for the period"
|
|
},
|
|
"frequency": {
|
|
"type": "string",
|
|
"enum": [
|
|
"Daily",
|
|
"Weekly",
|
|
"Monthly"
|
|
],
|
|
"default": "Monthly",
|
|
"description": "Budget periodicity"
|
|
},
|
|
"alert_enabled": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Whether usage alerts are on"
|
|
},
|
|
"alert_threshold": {
|
|
"type": "number",
|
|
"minimum": 1,
|
|
"maximum": 100,
|
|
"default": 80,
|
|
"description": "Utilization percentage that triggers an alert"
|
|
},
|
|
"business_id": {
|
|
"type": "string",
|
|
"description": "Client business ID this budget belongs to"
|
|
},
|
|
"business_name": {
|
|
"type": "string",
|
|
"description": "Client business name"
|
|
}
|
|
},
|
|
"required": [
|
|
"hub_name",
|
|
"cost_center",
|
|
"amount",
|
|
"frequency"
|
|
]
|
|
} |