forked from soulspace-org/overarch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
model.edn
53 lines (51 loc) · 1.07 KB
/
model.edn
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
42
43
44
45
46
47
48
49
50
51
52
53
;;;;
;;;; Example model for use case views
;;;;
;;;; Levels based on Cockburn, A.; Writing Effective Use Cases
;;;;
#{
;;;
;;; Actors
;;;
{:el :person
:id :use-case/user
:name "User"}
{:el :person
:id :use-case/admin
; :extends :use-case/user
:name "Administrator"}
;;;
;;; Use Cases
;;;
{:el :use-case
:id :use-case/manage-content
:name "Manage Content"
:level :user-goal}
{:el :use-case
:id :use-case/manage-users
:name "Manage Users"
:level :user-goal}
{:el :use-case
:id :use-case/login
:name "Login"
:level :subfunction}
;;;
;;; Relations
;;;
{:el :uses
:id :use-case/user-wants-to-manage-content
:from :use-case/user
:to :use-case/manage-content}
{:el :uses
:id :use-case/admin-wants-to-manage-users
:from :use-case/admin
:to :use-case/manage-users}
{:el :include
:id :use-case/manage-content-includes-login
:from :use-case/manage-content
:to :use-case/login}
{:el :include
:id :use-case/manage-users-includes-login
:from :use-case/manage-users
:to :use-case/login}
}