| @startuml |
| !include definitions.iuml |
| |
| skinparam class { |
| BorderColor black |
| FontColor #50237f |
| BackgroundColor #f5f5f5 |
| ArrowColor black |
| } |
| skinparam stereotype{ |
| CBackgroundColor white |
| EBackgroundColor white |
| } |
| |
| 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 |
| |
| @enduml |