| @startuml |
| !include definitions.iuml |
| |
| class MessagePayload { |
| content-spec : String |
| device : Device |
| messages : Messages |
| } |
| |
| class Message { |
| code : String |
| description[0..1] : String |
| hint[0..1] : String |
| origin[0..1] : String |
| severity[0..1] : Severity |
| title[0..1] : String |
| ts : Date |
| type[0..1] : Type |
| } |
| |
| enum Type { |
| DEVICE |
| TECHNICAL_INFO |
| } |
| |
| enum Severity { |
| HIGH |
| MEDIUM |
| LOW |
| UNKNOWN |
| } |
| |
| MessagePayload -- Device |
| MessagePayload "1" o-- "1..*" Message : Messages |
| |
| hide Context |
| hide Limits |
| hide Measurement |
| hide Part |
| hide PartType |
| hide Result |
| hide Series |
| |
| Context "1" -left- "0..*" Limits |
| |
| @enduml |