forked from w3c/vc-use-cases
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.pml
41 lines (34 loc) · 947 Bytes
/
example.pml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
@startuml
' bringing this in from the master branch
!includeurl https://raw.githubusercontent.com/w3c/webpayments-ig/master/VCTF/common/skin.pml
!ifndef SKIN_INCLUDED
skinparam {
backgroundColor transparent
defaultFontName Lucida Sans
shadowing false
}
skinparam sequence {
DividerBackgroundColor transparent
LifeLineBackgroundColor transparent
}
!endif
Autonumber
Actor Jane
Participant "Credential Repository" as CV
Participant "User Agent" as UA
Participant "Credential Consumer" as merchant
Jane->merchant: Navigate to web site
Note right
Merchant requires that
web site users be at
least 21 years of age
End note
merchant->UA: Request proof of age
UA->CV: Need proof of age
CV->Jane: Displays relevant credentials
Jane->CV: Selects a credential
CV->merchant: Use this credential as proof of age
merchant->merchant: Verify
merchant->UA: Redirect to web site
title Example age verification flow
@enduml