Files
simbarag/tests/fixtures/context/scenarios.json
T

73 lines
1.6 KiB
JSON

[
{
"name": "finance_with_refund",
"kind": "ynab.spending_report",
"data": {
"total": 710.5,
"inflows": 100,
"net_outflows": 610.5,
"total_basis": "outflows",
"start_date": "2026-10-01",
"end_date": "2026-10-12",
"filters": {
"category": "Groceries",
"payee": ""
}
},
"budget": 2500,
"required_fields": {
"data.total": 710.5,
"data.inflows": 100,
"data.net_outflows": 610.5,
"data.total_basis": "outflows",
"data.start_date": "2026-10-01",
"data.end_date": "2026-10-12",
"data.filters.category": "Groceries",
"data.filters.payee": ""
}
},
{
"name": "large_note_with_late_section",
"kind": "obsidian.note",
"data": {
"path": "notes/budget-plan.md",
"title": "Budget plan"
},
"budget": 2500,
"required_fields": {
"data.path": "notes/budget-plan.md",
"data.title": "Budget plan"
},
"required_headings": [
{
"line": 2002,
"heading": "## Unresolved decisions"
}
]
},
{
"name": "transaction_search_with_sources",
"kind": "ynab.transactions",
"data": {
"total": -123.45,
"count": 100,
"start_date": "2026-09-01",
"end_date": "2026-09-30",
"filters": {
"payee": "Trader Joe's"
}
},
"budget": 5000,
"required_fields": {
"data.total": -123.45,
"data.count": 100,
"data.start_date": "2026-09-01",
"data.end_date": "2026-09-30",
"data.filters.payee": "Trader Joe's"
},
"required_source_ids": [
"transaction-99"
]
}
]