This repository was archived by the owner on Mar 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVSON.puml
More file actions
111 lines (88 loc) · 1.62 KB
/
Copy pathVSON.puml
File metadata and controls
111 lines (88 loc) · 1.62 KB
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
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
101
102
103
104
105
106
107
108
109
110
111
@startuml
class GeoLocation {
+double : longitude
+double : latitude
}
class IntegerQuantity {
+int : value
+float : uncertainty
+float : lowerUncertainty
+float : upperUncertainty
+float : confidenceLevel
}
class RealQuantity {
+float : value
+float : uncertainty
+float : lowerUncertainty
+float : upperUncertainty
+float : confidenceLevel
}
RealQuantity . IntegerQuantity
class VSON {
+Volcano[] : volcanoes
}
class Volcano {
+String : id
+String : name
+GeoLocation : location
+double : peakAltitude
+VOLCANO_TYPE : type
+ELEVATION_PROFILE : elevationProfile
+VolcanoStatus[] : alerts
+VolcanicEvent[] : events
+VolcanicMeasurement[] : measurements
}
class VolcanicEvent {
+String : id
+EVENT_TYPE: type
+date : startTime
+date : endTime
+date : updateTime
}
class VolcanicEruptionEvent {
+ERUPTION_TYPE : eruptionType
}
class VolcanicMeasurement {
+MEASUREMENT_TYPE : type
+RealQuantity : value
}
class VolcanoStatus {
+ALERT_LEVEL : alertLevel
+Date : alertTime
}
enum MEASUREMENT_TYPE {
}
enum ALERT_LEVEL {
NORMAL
ADVISORY
WATCH
WARNING
}
/' ENUM CONSTANTS '/
enum ELEVATION_PROFILE {
UNDERWATER
ABOVE_WATER
}
enum VOLCANO_TYPE {
COMPOSITE
FISSURE
LAVA_DOME
SHIELD
STRATO
}
enum EVENT_TYPE {
ERUPTION
LANDSLIDE
TREMOR
}
VSON <-- Volcano
Volcano <- VolcanicEvent
VolcanoStatus -> Volcano
Volcano <-- ELEVATION_PROFILE
Volcano <-- VOLCANO_TYPE
ALERT_LEVEL -> VolcanoStatus
VolcanicEvent <- EVENT_TYPE
VolcanicEvent <|-- VolcanicEruptionEvent
Volcano <-- VolcanicMeasurement
VolcanicMeasurement <-- MEASUREMENT_TYPE
@enduml