Microsoft.SmartPlaces.Facilities.OntologyMapper.Mapped 0.11.2-preview

Prefix Reserved
This is a prerelease version of Microsoft.SmartPlaces.Facilities.OntologyMapper.Mapped.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Microsoft.SmartPlaces.Facilities.OntologyMapper.Mapped --version 0.11.2-preview
                    
NuGet\Install-Package Microsoft.SmartPlaces.Facilities.OntologyMapper.Mapped -Version 0.11.2-preview
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.SmartPlaces.Facilities.OntologyMapper.Mapped" Version="0.11.2-preview" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.SmartPlaces.Facilities.OntologyMapper.Mapped" Version="0.11.2-preview" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.SmartPlaces.Facilities.OntologyMapper.Mapped" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.SmartPlaces.Facilities.OntologyMapper.Mapped --version 0.11.2-preview
                    
#r "nuget: Microsoft.SmartPlaces.Facilities.OntologyMapper.Mapped, 0.11.2-preview"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Microsoft.SmartPlaces.Facilities.OntologyMapper.Mapped@0.11.2-preview
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.SmartPlaces.Facilities.OntologyMapper.Mapped&version=0.11.2-preview&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.SmartPlaces.Facilities.OntologyMapper.Mapped&version=0.11.2-preview&prerelease
                    
Install as a Cake Tool

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 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
Loading failed