A code sample for visualizing Azure Digital Twins graphs as a web application to create, edit, view, and diagnose digital twins, models, and relationships.
MIT License
191
stars
118
forks
source link
Uploading twins of model with "minMultiplicity" in a relationship is not possible through spreadsheet #266
{
"@id": "dtmi:digitaltwins:rec_3_3:business:TenantUnit;1",
"@type": "Interface",
"contents": [
{
"@type": "Relationship",
"description": {
"en": "Member entities of a collection; e.g., a Campus includes some Space, an Apartment includes some Room, etc. Inverse of: includedIn"
},
"displayName": {
"en": "includes"
},
"minMultiplicity": 0,
"name": "includes",
"target": "dtmi:digitaltwins:rec_3_3:core:Space;1"
},
{
"@type": "Component",
"displayName": {
"en": "address"
},
"name": "address",
"schema": "dtmi:digitaltwins:rec_3_3:addressing:Address;1"
}
],
"description": {
"en": "A tenant unit is an administrative grouping of spaces (buildings, building components, real estates, etc.) that are used for some purpose by a real estate holder or tenant."
},
"displayNam
[test.xlsx](https://github.com/Azure-Samples/digital-twins-explorer/files/8821579/test.xlsx)
e": {
"en": "Tenant unit"
},
"extends": "dtmi:digitaltwins:rec_3_3:core:SpaceCollection;1",
"@context": "dtmi:dtdl:context;2"
}
Hi,
When trying to define a twin which has a model with a relationship with
"minMultiplicity": 0
, the creation fails. Example model part of https://github.com/Azure/opendigitaltwins-building/tree/21b1c19622e62e5b1f5e0e03744fa08a71da0764/Ontology: