Properties
| Name | Type | Description |
|---|---|---|
| name | string | Name of the budget rule. |
| amount | number | Budget amount limit. |
| interval | string | Recurrence interval of the budget. |
| aggregation | string | The field used to scope the budget. |
| filter | string | Filter expression to scope the budget. |
| actions | array | Alert actions for threshold notifications. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/BudgetInput",
"title": "BudgetInput",
"type": "object",
"required": [
"name",
"amount",
"interval"
],
"properties": {
"name": {
"type": "string",
"description": "Name of the budget rule."
},
"amount": {
"type": "number",
"description": "Budget amount limit."
},
"interval": {
"type": "string",
"enum": [
"weekly",
"monthly"
],
"description": "Recurrence interval of the budget."
},
"aggregation": {
"type": "string",
"description": "The field used to scope the budget."
},
"filter": {
"type": "string",
"description": "Filter expression to scope the budget."
},
"actions": {
"type": "array",
"items": {
"$ref": "#/components/schemas/BudgetAction"
},
"description": "Alert actions for threshold notifications."
}
}
}