Designing models
As we explained in Chapter 1, About Digital Twins, an Azure Digital Twins instance contains Azure Digital Twins. Azure Digital Twins are instances of a model that are used to represent a certain entity. This means that a model can be seen as a template for creating Azure Digital Twins. Models are based on the Digital Twins Definition Language and are specified using JSON-LD.
Modeling a smart building
The best way of explaining models and creating instances is by using an example that is based on the smart building concept. This concept allows us to model a building and its sensors into an Azure Digital Twins instance. We will keep this simple by using the simplest structure for this concept. We have the following entities:
- Campus: A company's location containing one or more buildings.
- Building: A building located on the Campus of a company.
- Floor: Buildings contain one or more floors. Each floor is defined by Floor.
- Room: Each floor...