A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Building | |||||||||||||||||||
2 | status : {Pass, Fail} | |||||||||||||||||||
3 | extinguishers : List<FireExtinguisher> | |||||||||||||||||||
4 | name : String | |||||||||||||||||||
5 | ||||||||||||||||||||
6 | FireExtinguisher | |||||||||||||||||||
7 | expiresOn : Date | |||||||||||||||||||
8 | expired : boolean | |||||||||||||||||||
9 | status : {Pass : Fail } | |||||||||||||||||||
10 | inspectedBy : Inspector | |||||||||||||||||||
11 | serialNo : string | |||||||||||||||||||
12 | ||||||||||||||||||||
13 | Inspector | |||||||||||||||||||
14 | name : String | |||||||||||||||||||
15 | ||||||||||||||||||||
16 | Scenarios: | |||||||||||||||||||
17 | Joe goes to white house | |||||||||||||||||||
18 | Inspector Joe goes to Building WhiteHouse | |||||||||||||||||||
19 | Joe finds 30 fire extinguishers, all passing | |||||||||||||||||||
20 | Joe passes White house | |||||||||||||||||||
21 | Joe's data get synced and pushed to Agnes | |||||||||||||||||||
22 | ||||||||||||||||||||
23 | ||||||||||||||||||||
24 | Agnes and Joe inspect Capitol | |||||||||||||||||||
25 | Inspector Agnes goes to Building Captiol | |||||||||||||||||||
26 | Agnes finds 20 extinguishers 5 passing | |||||||||||||||||||
27 | Agnes fails building | |||||||||||||||||||
28 | Agne's data syncs to Joe | |||||||||||||||||||
29 | Joe goes to Building Capitol | |||||||||||||||||||
30 | Agnes skipped 10 extinguishers which are passing. Joe adds them | |||||||||||||||||||
31 | Joes extinguishers Sync to Agnes | |||||||||||||||||||
32 | Capitol fixes broken extinguishers | |||||||||||||||||||
33 | Agnes inspects all 30 extinguishers and passes building | |||||||||||||||||||
34 | Agne's data syncs to Joe | |||||||||||||||||||
35 | ||||||||||||||||||||
36 | Joe and Agnes inspect Stadium and conflict data | |||||||||||||||||||
37 | Inspector Joe and Agnes go to Building Stadium | |||||||||||||||||||
38 | Joe and Agnes inspect the same 30 extinguishers | |||||||||||||||||||
39 | Joe is from the US and does all his expires backwards | |||||||||||||||||||
40 | Agnes follows ISO standards on her date formats | |||||||||||||||||||
41 | Joe uploads his list first | |||||||||||||||||||
42 | Agnes gets a conflict and has to resolve her data and Joes data | |||||||||||||||||||
43 | Joe's data gets synced with the correct dates. | |||||||||||||||||||
44 | ||||||||||||||||||||
45 | ||||||||||||||||||||
46 | ||||||||||||||||||||
47 | ||||||||||||||||||||
48 | ||||||||||||||||||||
49 | ||||||||||||||||||||
50 | ||||||||||||||||||||
51 | ||||||||||||||||||||
52 | ||||||||||||||||||||
53 | ||||||||||||||||||||
54 | ||||||||||||||||||||
55 | ||||||||||||||||||||
56 | ||||||||||||||||||||
57 | ||||||||||||||||||||
58 | ||||||||||||||||||||
59 | ||||||||||||||||||||
60 | ||||||||||||||||||||
61 | ||||||||||||||||||||
62 | ||||||||||||||||||||
63 | ||||||||||||||||||||
64 | ||||||||||||||||||||
65 | ||||||||||||||||||||
66 | ||||||||||||||||||||
67 | ||||||||||||||||||||
68 | ||||||||||||||||||||
69 | ||||||||||||||||||||
70 | ||||||||||||||||||||
71 | ||||||||||||||||||||
72 | ||||||||||||||||||||
73 | ||||||||||||||||||||
74 | ||||||||||||||||||||
75 | ||||||||||||||||||||
76 | ||||||||||||||||||||
77 | ||||||||||||||||||||
78 | ||||||||||||||||||||
79 | ||||||||||||||||||||
80 | ||||||||||||||||||||
81 | ||||||||||||||||||||
82 | ||||||||||||||||||||
83 | ||||||||||||||||||||
84 | ||||||||||||||||||||
85 | ||||||||||||||||||||
86 | ||||||||||||||||||||
87 | ||||||||||||||||||||
88 | ||||||||||||||||||||
89 | ||||||||||||||||||||
90 | ||||||||||||||||||||
91 | ||||||||||||||||||||
92 | ||||||||||||||||||||
93 | ||||||||||||||||||||
94 | ||||||||||||||||||||
95 | ||||||||||||||||||||
96 | ||||||||||||||||||||
97 | ||||||||||||||||||||
98 | ||||||||||||||||||||
99 | ||||||||||||||||||||
100 |