Xbim.InformationSpecifications
1.1.0-preview.16
dotnet add package Xbim.InformationSpecifications --version 1.1.0-preview.16
NuGet\Install-Package Xbim.InformationSpecifications -Version 1.1.0-preview.16
<PackageReference Include="Xbim.InformationSpecifications" Version="1.1.0-preview.16" />
<PackageVersion Include="Xbim.InformationSpecifications" Version="1.1.0-preview.16" />
<PackageReference Include="Xbim.InformationSpecifications" />
paket add Xbim.InformationSpecifications --version 1.1.0-preview.16
#r "nuget: Xbim.InformationSpecifications, 1.1.0-preview.16"
#:package Xbim.InformationSpecifications@1.1.0-preview.16
#addin nuget:?package=Xbim.InformationSpecifications&version=1.1.0-preview.16&prerelease
#tool nuget:?package=Xbim.InformationSpecifications&version=1.1.0-preview.16&prerelease
Xbim.InformationSpecifications
Xbim.InformationSpecifications is a .NET library that implements the Information Delivery Specification (IDS) standard defined by buildingSMART International. It provides the core data model and import/export functionality needed to create, read, and write IDS documents for IFC-based building-model verification.
An interactive demo of the library's editing capabilities is available at xbim.it/xids.
Status
The library tracks the development of the buildingSMART IDS repository and is updated promptly when the standard changes.
The current release is v1.1.0-preview.
Features
- IDS data model — full object model for the IDS standard (
Xids,SpecificationsGroup,Specification,FacetGroup, and all IDS facets). - buildingSMART IDS import/export — read and write IDS XML files that conform to the buildingSMART schema.
- Native JSON persistence — an additional JSON format for compact, human-readable storage.
- All IDS facets are supported
IfcTypeFacet— clauses on IFC entity type and predefined type.AttributeFacet— clauses on IFC attribute value.IfcPropertyFacet— clauses on property set and property value.IfcClassificationFacet— clauses on classification system and reference.MaterialFacet— clauses on material name.PartOfFacet— clauses on spatial/assembly containment relationships.
- Extra facets are under test development
DocumentFacet— clauses on documents and their properties.IfcRelationFacet— clauses across multiple selectors (facet groups).
- Multi-target — targets
netstandard2.0andnet8.0, (compatible with .NET Framework 4.6.1, .NET Core 2.0, .NET 8.0 and later) - Strong-named assembly — signed with the Xbim open-source key.
Note: Several helper utilities that originated in this library have since been promoted to the upstream ids-lib repository.
Installation
Install the package from NuGet:
dotnet add package Xbim.InformationSpecifications
Quick Start
Reading an IDS file
using Xbim.InformationSpecifications;
// Load an IDS XML file produced by any conformant tool
Xids? ids = Xids.ImportBuildingSmartIDS("path/to/file.ids");
foreach (var spec in ids!.AllSpecifications())
{
Console.WriteLine(spec.Name);
}
Creating and exporting an IDS
using Xbim.InformationSpecifications;
var ids = new Xids();
// Create a specification targeting IFC4
var spec = ids.PrepareSpecification(IfcSchemaVersion.IFC4);
spec.Name = "Walls must have a fire rating";
// Add an applicability facet
var typeFacet = new IfcTypeFacet { IfcType = new ValueConstraint("IFCWALL") };
spec.Applicability!.Facets.Add(typeFacet);
// Add a requirement facet
var propFacet = new IfcPropertyFacet
{
PropertySetName = new ValueConstraint("Pset_WallCommon"),
PropertyName = new ValueConstraint("FireRating"),
};
spec.Requirement!.Facets.Add(propFacet);
// Export to buildingSMART IDS XML
ids.ExportBuildingSmartIDS("output.ids");
Project Structure
| Project | Description |
|---|---|
Xbim.InformationSpecifications |
Core library — data model, IO, and facet definitions |
Xbim.InformationSpecifications.NewTests |
xUnit test suite |
Key namespaces inside the core library:
| Namespace / Folder | Contents |
|---|---|
Facets/buildingSMART |
All concrete IDS facet classes |
IO |
XML and JSON import/export logic |
Collections |
FacetGroup, FacetGroupRepository, SpecificationsGroup |
Values |
Value constraint types (ValueConstraint, etc.) |
Cardinality |
Cardinality / optionality types |
Building from Source
Requirements: .NET 8 SDK and Git.
git clone https://github.com/CBenghi/Xbim.Xids.git
cd Xbim.Xids
dotnet build
dotnet test
The CI pipeline (GitHub Actions) runs on every push to main and preview and
publishes a NuGet package automatically when a build on main succeeds.
Contributing
Contributions are welcome. Please open an issue or a pull request on GitHub. All pull requests trigger the CI build and test suite automatically.
Contact
- Bug reports and feature requests: GitHub Issues
- Private enquiries: claudio@xbim.it
Licence
This project is licensed under the CDDL-1.0 licence. See LICENSE.md for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 is compatible. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- ids-lib (>= 1.0.124)
- System.IO.Compression.ZipFile (>= 4.3.0)
- System.Text.Json (>= 8.0.5)
-
net8.0
- ids-lib (>= 1.0.124)
- System.IO.Compression.ZipFile (>= 4.3.0)
- System.Text.Json (>= 8.0.5)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Xbim.InformationSpecifications:
| Package | Downloads |
|---|---|
|
Xbim.IDS.Validator.Common
Common interfaces for IDS validation of IFC models using xbim Toolkit |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.1.0-preview.16 | 61 | 11/29/2026 |
| 1.1.0-preview.15 | 72 | 11/28/2026 |
| 1.1.0-preview.14 | 149 | 7/4/2026 |
| 1.1.0-preview.13 | 100 | 6/25/2026 |
| 1.1.0-preview.12 | 98 | 6/15/2026 |
| 1.1.0-preview.11 | 90 | 6/6/2026 |
| 1.1.0-preview.10 | 89 | 6/1/2026 |
| 1.1.0-preview.9 | 96 | 5/27/2026 |
| 1.1.0-preview.8 | 87 | 5/27/2026 |
| 1.1.0-preview.7 | 98 | 5/19/2026 |
| 1.1.0-preview.6 | 92 | 5/17/2026 |
| 1.1.0-preview.5 | 101 | 5/12/2026 |
| 1.1.0-preview.4 | 89 | 5/11/2026 |
| 1.1.0-preview.3 | 91 | 5/11/2026 |
| 1.1.0-preview.2 | 104 | 5/10/2026 |
| 1.1.0-preview.1 | 93 | 5/9/2026 |
| 1.0.24 | 1,490 | 5/5/2026 |
| 1.0.23 | 132 | 5/4/2026 |
| 1.0.22 | 145 | 5/3/2026 |
| 1.0.21 | 155 | 5/2/2026 |