{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BudgetTransaction",
  "title": "BudgetTransaction",
  "type": "object",
  "description": "A budget transaction for entering or adjusting budget amounts",
  "properties": {
    "BudgetName": {
      "type": "string",
      "description": "Name of the budget"
    },
    "LedgerId": {
      "type": "integer",
      "description": "Unique identifier of the ledger"
    },
    "AccountingPeriod": {
      "type": "string",
      "description": "Accounting period for the budget entry"
    },
    "AccountCombination": {
      "type": "string",
      "description": "Account combination for the budget amount"
    },
    "Amount": {
      "type": "number",
      "description": "Budget amount"
    },
    "CurrencyCode": {
      "type": "string",
      "description": "ISO 4217 currency code",
      "pattern": "^[A-Z]{3}$"
    }
  }
}