[docs] Capture and sharing: design note for day 2 (events, capture parsing, splits, QR Platba)

This commit is contained in:
2026-11-03 23:27:26 +01:00
parent 2bda5dbbec
commit 8e085bafc3
2 changed files with 93 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
# Bank notification samples (Android)
Real, **redacted** notifications only, one folder per bank (`fixtures/notifications/<bank>/`), one JSON file
per notification:
```json
{
"app": "cz.example.bank",
"title": "the notification's title, exactly",
"text": "the notification's text, exactly",
"expected": { "amount": -12950, "merchant": "ALBERT", "card": "*1234" }
}
```
`expected` is `null` for a notification from the bank app that is not a card payment (a balance, a login, an
incoming transfer); it must stay unknown. `amount` is in haléře, negative for a payment.
Redact names, card numbers and balances, but keep every other character: spaces, no-break spaces, the
currency sign and the punctuation are exactly what a template is written from. 3–5 payments per bank app,
plus one or two that are not payments. A template (`fiscus-capture/src/notification.rs`, `TEMPLATES`) is
written only from the samples here; a bank app with no samples is unsupported, and its notifications are
counted as unrecognised, never guessed.