diff --git a/Source/DTDLv2/RealEstateCore/Asset/Asset.json b/Source/DTDLv2/RealEstateCore/Asset/Asset.json index 5dc6bea78..c690145f2 100644 --- a/Source/DTDLv2/RealEstateCore/Asset/Asset.json +++ b/Source/DTDLv2/RealEstateCore/Asset/Asset.json @@ -29,6 +29,15 @@ "schema": "string", "writable": true }, + { + "@type": "Property", + "displayName": { + "en": "colour" + }, + "name": "colour", + "schema": "string", + "writable": true + }, { "@type": "Property", "displayName": { @@ -283,6 +292,15 @@ "name": "servicedBy", "target": "dtmi:org:w3id:rec:Agent;1", "writable": true + }, + { + "@type": "Relationship", + "displayName": { + "en": "warranty" + }, + "name": "warranty", + "target": "dtmi:org:w3id:rec:Warranty;1", + "writable": true } ], "description": { diff --git a/Source/DTDLv2/RealEstateCore/Event/Warranty.json b/Source/DTDLv2/RealEstateCore/Event/Warranty.json new file mode 100644 index 000000000..b18d20d5d --- /dev/null +++ b/Source/DTDLv2/RealEstateCore/Event/Warranty.json @@ -0,0 +1,14 @@ +{ + "@id": "dtmi:org:w3id:rec:Warranty;1", + "@type": "Interface", + "extends": "dtmi:org:w3id:rec:Event;1", + "description": { + "en": "Represents warranty information for an asset." + }, + "displayName": { + "en": "Warranty" + }, + "@context": [ + "dtmi:dtdl:context;2" + ] +}