Context
We are the Smart-Campus project at NMBU (Norwegian University of Life Sciences),
building a smart campus solution on top of REC using Azure Digital Twins (ADT) as the digital twin platform.
We are currently evaluating the migration from REC 4 to REC 5.
Background
Per section 2. Excluded Properties and Relationships in the
rec5-breaking-changes.pdf bfab7a3:
customProperties and customTags have been excluded from all core classes:
Agent, Asset, BuildingElement, Collection, Event, Information, Space
We rely on both properties on Space and BuildingElement for campus-specific metadata —
customProperties for arbitrary key-value metadata, and customTags specifically for storing
boolean flags (not for traditional free-form tagging).
The same document's Migration Recommendations state:
- Custom Properties: Implement custom properties through separate extension ontologies
Question
We would like to understand what this recommendation means in practice:
- What does a minimal extension ontology for
customProperties and customTags look like?
- Is there a reference example or template for extending REC 5 core classes with custom properties?
- Should
customTags (used here as boolean flags) be modeled the same way, or is there a more idiomatic REC 5 pattern for boolean attributes?
- Are there any tooling or validation guidelines for extension ontologies to ensure compatibility with REC 5 SHACL shapes?
Why this matters
Our ADT deployment uses customProperties for metadata and customTags for boolean flags
on Space and BuildingElement twins extensively.
A clear migration path would significantly reduce upgrade risk and effort for our campus deployment.
Any pointers to migration tooling, worked examples, or documentation would be appreciated.
Context
We are the Smart-Campus project at NMBU (Norwegian University of Life Sciences),
building a smart campus solution on top of REC using Azure Digital Twins (ADT) as the digital twin platform.
We are currently evaluating the migration from REC 4 to REC 5.
Background
Per section 2. Excluded Properties and Relationships in the
rec5-breaking-changes.pdf bfab7a3:
We rely on both properties on
SpaceandBuildingElementfor campus-specific metadata —customPropertiesfor arbitrary key-value metadata, andcustomTagsspecifically for storingboolean flags (not for traditional free-form tagging).
The same document's Migration Recommendations state:
Question
We would like to understand what this recommendation means in practice:
customPropertiesandcustomTagslook like?customTags(used here as boolean flags) be modeled the same way, or is there a more idiomatic REC 5 pattern for boolean attributes?Why this matters
Our ADT deployment uses
customPropertiesfor metadata andcustomTagsfor boolean flagson
SpaceandBuildingElementtwins extensively.A clear migration path would significantly reduce upgrade risk and effort for our campus deployment.
Any pointers to migration tooling, worked examples, or documentation would be appreciated.