Six example models next to the three C4 ones: arc42 (Cinema Tickets, IoT Telemetry, Team Wiki) by section, ArchiMate (Insurance Claims, HR Onboarding, Logistics Tracking) by layer, each validated with 0 errors and 0 warnings. resolveRefs and the editor schemas now take ref: in workflow and dataflow nodes, sequence participants and lifecycle states, as the skill already did. Example tests check each framework's folders.
28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
schema_version: 1
|
|
diagram_type: sequence
|
|
meta:
|
|
title: Runtime - book seats
|
|
output: book-seats.html
|
|
viewBox: [1060, 680]
|
|
column_fit: spread
|
|
decisions: [seat-holds-with-ttl]
|
|
participants:
|
|
- { ref: customer }
|
|
- { ref: web }
|
|
- { ref: booking }
|
|
- { ref: seatlock }
|
|
- { ref: psp }
|
|
- { ref: ticketing }
|
|
- { ref: mail }
|
|
messages:
|
|
- { from: customer, to: web, y: 170, label: pick seats, variant: emphasis }
|
|
- { from: web, to: booking, y: 214, label: POST /holds }
|
|
- { from: booking, to: seatlock, y: 258, label: SET NX TTL 8m, decisions: [seat-holds-with-ttl] }
|
|
- { from: seatlock, to: booking, y: 302, label: OK, variant: return }
|
|
- { from: booking, to: web, y: 346, label: hold id, variant: return }
|
|
- { from: web, to: psp, y: 390, label: hosted checkout, variant: security }
|
|
- { from: psp, to: booking, y: 434, label: webhook paid, variant: security }
|
|
- { from: booking, to: ticketing, y: 478, label: issue tickets }
|
|
- { from: ticketing, to: mail, y: 522, label: QR e-mail }
|
|
- { from: mail, to: customer, y: 566, label: tickets, variant: return }
|