Microsoft.SmartPlaces.Facilities.OntologyMapper.Mapped
0.9.28-preview
Prefix Reserved
See the version list below for details.
dotnet add package Microsoft.SmartPlaces.Facilities.OntologyMapper.Mapped --version 0.9.28-preview
NuGet\Install-Package Microsoft.SmartPlaces.Facilities.OntologyMapper.Mapped -Version 0.9.28-preview
<PackageReference Include="Microsoft.SmartPlaces.Facilities.OntologyMapper.Mapped" Version="0.9.28-preview" />
paket add Microsoft.SmartPlaces.Facilities.OntologyMapper.Mapped --version 0.9.28-preview
#r "nuget: Microsoft.SmartPlaces.Facilities.OntologyMapper.Mapped, 0.9.28-preview"
// Install Microsoft.SmartPlaces.Facilities.OntologyMapper.Mapped as a Cake Addin #addin nuget:?package=Microsoft.SmartPlaces.Facilities.OntologyMapper.Mapped&version=0.9.28-preview&prerelease // Install Microsoft.SmartPlaces.Facilities.OntologyMapper.Mapped as a Cake Tool #tool nuget:?package=Microsoft.SmartPlaces.Facilities.OntologyMapper.Mapped&version=0.9.28-preview&prerelease
OntologyMapper.Mapped
This library provides helpers useful for mapping the Mapped implementation Digital Twins Definition Language (DTDL) model to various other DTDL topologies. The Mapped mappings are embedded resources within this assembly, making it easy to use these transforms without recreating them from scratch.
This library works in conjunction with and depends on the Microsoft.SmartPlaces.Facilities.OntologyMapper
library, that defines a generic DTDL ontology mapping format (OntologyMapping
) and facilities for software to consume such mappings (IOntologyMappingManager
).
The following mappings have been created and are being maintained:
Resource Path | Input Ontologies | Input DTDL Version | Output Ontologies | Output DTDL Version | Notes |
---|---|---|---|---|---|
Mappings\v0\BrickRec\mapped_json_v0_dtdlv2_Brick_1_3-Rec_4_0.json | Mapped | V0 (not strict DTDL compliance) | Brick 1.3, Rec 4.0 | v2 | Deprecated |
Mappings\v0\BrickRec\mapped_json_v0_dtdlv3_Brick_1_3-Rec_4_0.json | Mapped | V0 (not strict DTDL compliance) | Brick 1.3, Rec 4.0 | v3 | Deprecated |
Mappings\v0\Willow\mapped_json_v0_dtdlv2_Willow.json | Mapped | V0 (not strict DTDL compliance) | Willow | v2 | Deprecated |
Mappings\v1\BrickRec\mapped_v1_dtdlv2_Brick_1_3-Rec_4_0.json | Mapped | V3 | Brick 1.3, Rec 4.0 | v2 | |
Mappings\v1\Willow\mapped_v1_dtdlv2_Willow.json | Mapped | V3 | Willow | v2 |
Usage Instructions
The MappedOntologyMappingLoader
class enables loading of one of the above listed. An instance of such a loader is passed as input when constructing an IOntologyMappingManager
instance, from which the mappings can subsequently be read. When instantiating this class, specify the full path of the resource to be loaded in dot notation, i.e.:
var loader = new MappedOntologyMappingLoader(logger, "Mappings.v0.BrickRec.mapped_json_v0_dtdlv2_Brick_1_3-REC_4_0.json");
var mappingManager = new OntologyMappingManager(loader);
var mappingExists = mappingManager.TryGetInterfaceRemapDtmi(someInputDtmi, someOutputDtmi);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.2)
- Microsoft.SmartPlaces.Facilities.OntologyMapper (>= 0.6.8-preview)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.11.2-preview | 59 | 9/5/2024 |
0.11.1-preview | 82 | 9/4/2024 |
0.11.0-preview | 267 | 1/31/2024 |
0.10.12-preview | 108 | 7/18/2023 |
0.10.11-preview | 90 | 6/27/2023 |
0.10.10-preview | 108 | 6/15/2023 |
0.10.9-preview | 91 | 6/13/2023 |
0.10.8-preview | 106 | 6/9/2023 |
0.10.7-preview | 187 | 5/15/2023 |
0.10.2-preview | 94 | 4/24/2023 |
0.10.1-preview | 402 | 3/7/2023 |
0.10.0-preview | 133 | 2/17/2023 |
0.9.28-preview | 175 | 12/8/2022 |
0.9.27-preview | 174 | 12/2/2022 |
0.9.26-preview | 106 | 11/30/2022 |
0.9.25-preview | 108 | 11/10/2022 |
0.9.24-preview | 191 | 11/7/2022 |
0.9.23-preview | 140 | 11/4/2022 |
0.9.22-preview | 102 | 11/3/2022 |
0.9.21-preview | 139 | 10/31/2022 |
0.9.20-preview | 164 | 10/27/2022 |
0.9.19-preview | 100 | 10/26/2022 |
0.9.1-preview | 122 | 10/20/2022 |
0.9.0-preview | 168 | 10/20/2022 |
0.8.0-preview | 133 | 10/19/2022 |
0.7.0-preview | 153 | 10/15/2022 |
0.5.0-preview | 256 | 10/3/2022 |
0.4.0-preview | 183 | 9/27/2022 |
0.3.0-preview | 179 | 9/26/2022 |
0.2.0-preview | 171 | 9/23/2022 |
0.1.0-preview | 177 | 9/23/2022 |