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 }