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