PHASE C: INFORMATION SYSTEMS ARCHITECTURE (Data, Applications, Integration)
Purpose: Define the data and application landscape — what information the bank manages, what systems process it, how they integrate.
Inputs:
- Business Architecture (Phase B)
- Current system inventory (legacy, cloud, SaaS)
- Data classification (sensitive: client PII, regulatory; non-sensitive: reference data)
- Integration patterns (APIs, batch, real-time)
- Data quality issues (gaps, lineage breaks)
Key Deliverables:
1. Data Architecture (Logical & Physical)
Logical Data Model (what data is stored, relationships):
MASTER DATA:
├─ Client (individual, legal entity, UBO, sanctions status)
├─ Instrument (securities, currencies, commodities)
├─ Counterparty (brokers, banks, fund managers)
└─ Reference (countries, currencies, asset classes)
TRANSACTIONAL DATA:
├─ Client Lifecycle
│ ├─ KYC Review (status, completion date, reviewer)
│ ├─ Document (type, uploaded date, verified date, retention_until)
│ └─ Sanctions Screen (list, hit flag, decision)
├─ Accounts & Mandates
│ ├─ Account (type, currency, balance)
│ ├─ Mandate (DPM/advisory, limits, strategy)
│ └─ Authorized Signatory (name, signing rights)
├─ Trading & Settlement
│ ├─ Order (ISIN, qty, price, status)
│ ├─ Trade (execution price, T+2 settlement date)
│ └─ Settlement (T+2 status, fail flag, buy-in flag)
├─ AML & Compliance
│ ├─ AML Alert (rule, client, status, investigation)
│ ├─ STR (filing deadline, FIU submission status, tip-off=0)
│ └─ Sanctions Screen (recurred)
└─ Regulatory Reporting
├─ COREP (CET1, AT1, leverage ratio)
├─ NSFR (liquidity ratio)
├─ FATCA/CRS Account Report
└─ ICAAP Snapshot
ANALYTICAL DATA:
├─ KRI (Key Risk Indicator) readings (daily)
├─ RCSA (Risk Self-Assessment) risk events + controls
├─ Risk Data Quality metrics (BCBS 239)
├─ Risk Data Lineage (source → target)
└─ Credit Assessment (LTV, stress LTV, decision)Physical Data Model (database schema):
- Core Banking Tables (275 tables in AIB mock; see README)
- Enforces business rules at schema layer: tip-off prohibition (
CHECK(tipped_off = 0)), dual authorization, data classification - Indexes on frequently queried fields (client_id, account_id, trade_id for settlement query)
- Retention triggers (GDPR DSR 30-day, SPG Art. 22 10-year)
- Enforces business rules at schema layer: tip-off prohibition (
Data Governance & Classification:
| Data Class | Confidentiality | Availability | Integrity | Examples | Regulations |
|---|---|---|---|---|---|
| Confidential (A) | High | Medium | Critical | Client PII, SSN, account balance, trading mandate | GDPR Art. 4, MiFID II Art. 26 |
| Restricted (B) | Medium | High | Critical | Transaction logs, KYC status, AML alerts | SPG Art. 22, BankG Art. 9 |
| Internal (C) | Low | High | Medium | Process documentation, internal reports | None |
| Public (D) | None | Medium | Low | Company news, regulatory filings | None |
Data Quality Requirements (BCBS 239):
Per principle P3–P5, data must be:
- Accurate: No discrepancies between source and reporting systems; ±0.5% variance tolerance
- Complete: No missing values in critical fields (e.g., counterparty LEI for EMIR reporting)
- Timely: Trade data available in regulatory reporting system within 24 hours (T+1 submission deadline for EMIR)
Data Lineage (P6):
Example: COREP C01 (Tier 1 capital) calculation
Source Data:
- own_funds_instrument.cet1_amount (own_funds_instrument table)
- own_funds_deduction.goodwill (deduction table)
Transformation:
Tier 1 = SUM(own_funds_instrument.cet1_amount)
- SUM(own_funds_deduction.goodwill) * [phase-in %]
Target Reporting:
COREP C01-00, row 010 (CET1 capital)
Lineage Record:
- Target table: pillar3_disclosure
- Source tables: own_funds_instrument, own_funds_deduction
- Transformation rule: CET1 calculation per CRR3 Art. 26–50
- Splittable: No (aggregated; cannot trace to individual client)
- Quality flag: Accurate (reconciled 2026-06-01)2. Application Architecture (Current & Target State)
Current State (typical small bank):
┌─────────────────────────────────────────────────┐
│ Front-End Layer │
├─────────────────────────────────────────────────┤
│ Banking Portal (legacy Java 8) │
│ Advisor Dashboard (Excel macros + VBA) │
│ Compliance Workbench (Lotus Notes + custom DB) │
└─────────────────────────────────────────────────┘
↓ (ODBC / file export)
┌─────────────────────────────────────────────────┐
│ Application Layer (Middleware) │
├─────────────────────────────────────────────────┤
│ Banking Core (NetSmart / Temenos T24, EOL 2026) │
│ Compliance Engine (Thomson Reuters Actimize) │
│ Trading Platform (Fidessa, legacy) │
│ GL (SAP FI, underutilized) │
│ CRM (Salesforce, partial integration) │
└─────────────────────────────────────────────────┘
↓ (FTP / nightly batch)
┌─────────────────────────────────────────────────┐
│ Data Layer │
├─────────────────────────────────────────────────┤
│ Database: Oracle 11g (EOL 2023, patch support) │
│ Data Warehouse: Teradata (high cost) │
│ File Storage: NAS (unversioned, no encryption) │
└─────────────────────────────────────────────────┘
Problems:
- 7 systems, no unified data model
- Data enters Oracle → exported to DW nightly (16–18 hour lag)
- Regulatory reporting compiled manually in Excel
- No immutable audit log
- Compliance escalation requires manual emailTarget State (AIB, Phase 2026):
┌─────────────────────────────────────────────────┐
│ Front-End Layer (Multi-Tenant) │
├─────────────────────────────────────────────────┤
│ Web: React SPA (Next.js, TypeScript) │
│ Mobile: React Native (iOS/Android) │
│ Advisor Portal: internal Next.js app │
│ Compliance Workbench: React dashboard │
│ Reporting Portal: real-time BI dashboards │
└─────────────────────────────────────────────────┘
↓ (REST/GraphQL APIs over TLS 1.3)
┌─────────────────────────────────────────────────┐
│ API Gateway Layer (Cloudflare Workers / Kong) │
├─────────────────────────────────────────────────┤
│ Authentication (OAuth 2.0 + OIDC) │
│ Rate limiting (client-specific, rule-based) │
│ Request validation + transformation │
│ Audit logging (all API calls → immutable log) │
└─────────────────────────────────────────────────┘
↓ (microservices-native calls)
┌─────────────────────────────────────────────────┐
│ Domain Microservices (AI Agent-Centric) │
├─────────────────────────────────────────────────┤
│ aib-compliance-service (KYC, document review) │
│ aib-aml-service (screening, alert mgmt) │
│ aib-trading-service (orders, execution) │
│ aib-settlement-service (CSDR T+2 mgmt) │
│ aib-risk-service (capital, KRI, RCSA) │
│ aib-operations-service (GL, payments, nostro) │
│ aib-reporting-service (COREP, FATCA/CRS) │
│ aib-identity-service (client master, auth) │
│ aib-audit-service (immutable log API) │
└─────────────────────────────────────────────────┘
↓ (Pub/Sub events; consistency via saga)
┌─────────────────────────────────────────────────┐
│ Data Layer (Single Source of Truth) │
├─────────────────────────────────────────────────┤
│ Operational DB: Cloudflare D1 (SQLite) │
│ → 275 tables, real-time │
│ Data Lake: S3/R2 (transaction history archives) │
│ Cache: Redis (FX rates, sanctions lists) │
│ Message Queue: Kafka (event streaming) │
│ Search: Elasticsearch (full-text, analytics) │
└─────────────────────────────────────────────────┘
Benefits:
- Single source of truth (D1)
- Real-time compliance checks (< 100ms latency)
- Immutable audit log (append-only Kafka)
- Event-driven architecture (client onboarded → async trigger KYC review)
- Automatic regulatory reporting (COREP calculated hourly)Application Interaction Diagram (ArchiMate) — rendered: see Diagrams (C4 Container, ArchiMate Layered View). ASCII sketch below:
Client Portal ──┐
├→ API Gateway ──┐
Advisor Portal ─┤ ├→ aib-compliance-service
CRM (Salesforce)┤ │ ↓
├→ Event Stream ├→ aib-aml-service
│ │ ↓
External APIs ├→ Cache Layer ├→ aib-trading-service
(Giact, RFT) │ │ ↓
└→ D1 Database ◄─┴→ aib-settlement-service
(source of ↓
truth) aib-audit-service
(immutable log)3. Integration Patterns
Synchronous (Request/Response):
- REST APIs for interactive operations (client onboarding, order placement)
- gRPC for high-throughput internal calls (settlement matching)
- Latency requirement: < 100ms (user-facing), < 500ms (backend reconciliation)
Asynchronous (Event-Driven):
- Kafka topics for state changes (client_onboarded, order_executed, settlement_failed)
- Each event captures full context (client_id, account_id, mandate_id, timestamp, actor)
- Used for:
- Eventual consistency across services (saga pattern)
- Regulatory reporting triggers (KYC approved → auto-trigger account opening)
- Audit logging (all events stored immutably)
Batch/Scheduled:
- Daily: settlements query (T+2 status), KRI readings, regulatory data exports
- Weekly: risk reports (RCSA, credit assessments), compliance dashboards
- Monthly: GL close, COREP data compilation, FATCA/CRS reconciliation
- Quarterly: financial statements, QIR generation
Example Integration: Client KYC Approval → Account Opening → Suitability Workflow
Event: kyc_review.status updated to 'approved'
↓
Kafka Topic: kyc-reviews
├→ aib-identity-service: Update client.kyc_status = 'approved'
├→ aib-compliance-service: Trigger account opening workflow
└→ aib-audit-service: Log KYC completion event
↓
Async (via Pub/Sub):
aib-compliance-service: Send form to capture suitability assessment
↓
Event: suitability_assessment.status = 'completed'
├→ aib-risk-service: Risk classification
├→ aib-trading-service: Activate mandate templates
└→ Client Portal: Notify client account is ready
Total journey: < 5 seconds end-to-end (was 2–3 days)4. Technology Standards & Constraints
Regulatory Constraints:
- Encryption: TLS 1.3 in-transit, AES-256 at-rest (GDPR Art. 32)
- Data Residency: EU/EEA only (GDPR Art. 6, DORA Art. 3)
- Backup: 3 geographic replicas, tested quarterly (DORA Art. 22)
- Access Control: Multi-factor authentication (MFA) for all privileged accounts (DORA Art. 8)
- API Security: OAuth 2.0 + OIDC, rate limiting, request signing (SPG Art. 9)
Technology Choices:
- Language: TypeScript (front-end, backend via Node.js)
- Database: SQLite (operational via Cloudflare D1), PostgreSQL (analytics), S3 (archives)
- Message Queue: Kafka (audit log, event streaming)
- Container Orchestration: Kubernetes (on-prem) or Cloudflare Workers (serverless)
- Monitoring: Prometheus + Grafana (metrics), ELK (logs), custom dashboard (regulatory alerts)
- Testing: Jest (unit), Cypress (E2E), K6 (load), OWASP ZAP (security)
Architecture Principles:
- Single Responsibility: Each microservice owns one business capability (AML, trading, etc.)
- API-First: All data access via versioned APIs, no shared database access
- Immutable Audit Trail: All state changes logged to Kafka + audit_log table
- Fail-Safe Defaults: Regulatory denials (e.g., STR filing) default to "not tipped off" state
- Defense in Depth: Validation at API gateway + application + database layers
- Data Minimization: Only process data necessary for business process (GDPR Art. 5(1)(c))
Roles:
- Chief Architect, Solutions Architect, Database Architect, Security Architect, Enterprise Data Officer
Baseline → Target → Gap (Information Systems)
| Component | Baseline (AS-IS) | Target | Gap | Disposition | Roadmap |
|---|---|---|---|---|---|
| Core banking | Temenos T24 (EOL 2026) | aib-* microservices on D1 | Rebuild on owned services | Replace | Waves 2–3 |
| Operational DB | Oracle 11g (EOL) | Cloudflare D1 (single source of truth) | Migration of 10TB | Replace | Wave 3/5 |
| Data warehouse | Teradata (high cost) | D1 + R2 + analytics | Cost + lineage | Replace | Wave 3 |
| Compliance engine | Actimize | aib-aml-service | Custom rules + scoring | Replace | Wave 2 |
| Integration | FTP / nightly batch (16–18h lag) | Event-driven (Kafka) + APIs | Real-time eventing | New | Wave 1 |
| Audit | None | Immutable append-only log | aib-audit-service | New | Wave 1 |
| Data quality (BCBS 239) | Manual reconciliation | Lineage + quality flags | Provenance tables | New | Wave 2 |
Artifacts:
- Logical data model — ER diagrams in Diagrams + Schema Explorer (275 tables)
- Data governance — classification, retention, lineage (/artifacts/governance/aib-data-stewardship-charter)
- Application architecture — C4 Context / Container diagrams in Diagrams
- Integration patterns — sync/async, batch, real-time (see this phase + Service APIs)
- Data quality framework — BCBS 239 P3–P6 mappings (see this phase + Regulatory Mapping)
- Technology standards — encryption, MFA, API security (documented in Phase D, this reference)
Approval Gate:
- Data model signed by Enterprise Data Officer (legal liability for retention)
- Application architecture approved by CTO + Chief Architect
- Integration design reviewed by Security Architect (encryption, auth)
- BCBS 239 data governance framework approved by Head of Risk