BuildingSync / schema

BuildingSync® Schema
https://buildingsync.net
Other
23 stars 22 forks source link

Linked Premises - how specific to be when linking? #218

Open corymosiman12 opened 4 years ago

corymosiman12 commented 4 years ago

As summarized preliminarily here:

The question comes down to:

I believe our approach from BSync perspective is we would just expect the lowest common denominator to be linked.

@markborkum @nllong thoughts?

markborkum commented 4 years ago

@corymosiman12 Audit Template assumes that links, such as <auc:LinkedPremises> elements, have no semantics, and are purely structural, i.e., that their only information content is the identity of the source and target endpoints of the link itself.

Audit Template's "Building" and "HvacSystem" classes map to <auc:Building> and <auc:HVACSystem> elements, respectively. There is a foreign key from the corresponding database table for "HvacSystem" to that for "Building", so in BuildingSync, we represent the association as a <auc:LinkedPremises> element.

corymosiman12 commented 4 years ago

Cool - thanks for the clarification