1 import Base 2 import ./system/type.bend as S 3 import ./environment/type.bend as En 4 5 # An architecture: a software system in its environment. 6 type Architecture is Data: 7 Architecture{system: S.System, environment: En.Environment} 8 9 # What each key in an architecture is, for drawing it. 10 type Level is Data: 11 PersonLevel{} 12 SystemLevel{} 13 ContainerLevel{} 14 ComponentLevel{} 15 ExternalLevel{} 16 17 type Element is Data: 18 Element{name: String, description: String, technology: String, level: Level}