addedInput schema / properties / amount / description
Added value: +"Valor orçado/limite do período"
addedInput schema / properties / category
Added value: +{
+ "description": "Nome da categoria a limitar (deve bater com Transaction.category). Omitido ou 'ALL' = todas as categorias desse type",
+ "type": "string"
+}
removedInput schema / properties / categoryId
Removed value: -{
- "type": "string"
-}
addedInput schema / properties / currency
Added value: +{
+ "description": "Moeda (ISO 4217). Default: BRL",
+ "type": "string"
+}
addedInput schema / properties / month / description
Added value: +"Mês (1-12), obrigatório apenas quando period = MONTHLY"
addedInput schema / properties / name
Added value: +{
+ "description": "Nome do orçamento (ex: 'Mercado de Janeiro')",
+ "type": "string"
+}
addedInput schema / properties / period
Added value: +{
+ "description": "Periodicidade. Sem default no banco: se omitido, o orçamento não casa com a regra MONTHLY em budget_comparison/budget_daily e acaba tratado como anual — prefira sempre informar",
+ "enum": [
+ "MONTHLY",
+ "YEARLY"
+ ],
+ "type": "string"
+}
addedInput schema / properties / type
Added value: +{
+ "description": "Tipo — precisa bater com o Transaction.type das transações que devem contar para este orçamento",
+ "enum": [
+ "INCOME",
+ "EXPENSE",
+ "INVESTMENT"
+ ],
+ "type": "string"
+}
addedInput schema / properties / year / description
Added value: +"Ano do período (ex: 2026)"
changedInput schema / required
Previous value: -[
- "categoryId",
- "amount",
- "year",
- "month"
-]New value: +[
+ "name",
+ "type",
+ "amount",
+ "year"
+]