Section 17 of 102
16. Syntax Model
Stable section ID: S05-CON-007-SECTION-17 · 34 content blocks
BDL syntax shall use explicit declarations, typed blocks, named properties, relationships, and constraints.
The general Entity syntax shall be:
entity_kind local_name : TypeReference {
property_name: value;
relationship_name: @Reference;
}
Examples:
node Node_N01 : UniversalStructuralNode {
id: "s05:node:n01";
location: @Grid_A1_Level_01;
capacity_class: SC_03;
}
cartridge EndCartridge_EC01 : TimberEndCartridge {
id: "s05:cartridge:ec01";
member: @Beam_B01;
universal_interface: @Node_N01.face_x_positive;
}
Relationships shall use explicit verbs:
connect @EndCartridge_EC01.node_face
to @Node_N01.face_x_positive;
supply @ElectricalPanel_EP01
to @KitchenCartridge_KC01;
Collections shall use bracket notation:
- profiles: [
- @System05_Base_Profile,
- @US_NJ_Residential_Profile
];
Nested declarations may be permitted where the containment relationship is unambiguous:
- level Ground {
- space Kitchen {
area: 14.5 m2;
}
}
Nesting shall not replace persistent identity where the nested Entity requires independent lifecycle traceability.