domain/architecture/LAWS.bend
1import Base
2import near-v-framework@0.4.0.0/general/rose/ops.bend as RO
3import near-v-framework@0.4.0.0/domain/architecture/type.bend as A
4import near-v-framework@0.4.0.0/domain/architecture/ops.bend as O
5
6# LAW: an architecture's first key is its system's
7law first_key_is_system:
8 for +a: A.Architecture
9 {RO.first(O.keys(a)) == O.system_key(a) : String}