diff --git a/Source/DTDLv2/Brick/Point/Point.json b/Source/DTDLv2/Brick/Point/Point.json index a5b554435..641dbd407 100644 --- a/Source/DTDLv2/Brick/Point/Point.json +++ b/Source/DTDLv2/Brick/Point/Point.json @@ -739,6 +739,26 @@ }, "name": "isPointOf", "writable": true + }, + { + "@type": "Relationship", + "displayName": { + "en": "located in" + }, + "name": "locatedIn", + "target": "dtmi:org:w3id:rec:Architecture;1", + "writable": true, + "maxMultiplicity": 1 + }, + { + "@type": "Relationship", + "displayName": { + "en": "is member of" + }, + "name": "isMemberOf", + "target": "dtmi:org:w3id:rec:PointGroup;1", + "writable": true, + "maxMultiplicity": 1 } ], "displayName": { diff --git a/Source/DTDLv2/RealEstateCore/PointGroup/PointGroup.json b/Source/DTDLv2/RealEstateCore/PointGroup/PointGroup.json new file mode 100644 index 000000000..9e8cc22f4 --- /dev/null +++ b/Source/DTDLv2/RealEstateCore/PointGroup/PointGroup.json @@ -0,0 +1,88 @@ +{ + "@id": "dtmi:org:w3id:rec:PointGroup;1", + "@type": "Interface", + "contents": [ + { + "@type": "Relationship", + "displayName": { + "en": "located in" + }, + "name": "locatedIn", + "target": "dtmi:org:w3id:rec:Space;1", + "maxMultiplicity": 1, + "writable": true + }, + { + "@type": "Relationship", + "displayName": { + "en": "has member" + }, + "name": "hasMember", + "target": "dtmi:org:brickschema:schema:Brick:Point;1", + "writable": true + }, + { + "@type": "Relationship", + "displayName": { + "en": "is point group of" + }, + "name": "isPointGroupOf", + "target": "dtmi:org:w3id:rec:Asset;1", + "writable": true + }, + + { + "@type": "Property", + "displayName": { + "en": "Custom Tags" + }, + "name": "customTags", + "schema": { + "@type": "Map", + "mapKey": { + "name": "tagName", + "schema": "string" + }, + "mapValue": { + "name": "tagValue", + "schema": "boolean" + } + }, + "writable": true + }, + { + "@type": "Property", + "displayName": { + "en": "Identifiers" + }, + "name": "identifiers", + "schema": { + "@type": "Map", + "mapKey": { + "name": "namespace", + "schema": "string" + }, + "mapValue": { + "name": "identifier", + "schema": "string" + } + }, + "writable": true + }, + { + "@type": "Property", + "displayName": { + "en": "name" + }, + "name": "name", + "schema": "string", + "writable": true + } + ], + "displayName": { + "en": "Point Group" + }, + "@context": [ + "dtmi:dtdl:context;2" + ] +} \ No newline at end of file