The short version
- The problem it solves: information requirements ("every wall must have a fire rating", "every space must have a number") usually live in PDFs and spreadsheets. People read them and check models by hand.
- What IDS does: it writes those requirements as an XML file (
.ids) that software can read. The same file then checks any IFC model, in any tool that supports IDS. - Status: IDS 1.0 was approved by buildingSMART International as a final standard in June 2024. Its XML schema (
ids.xsd) is published by buildingSMART. - Where it fits: buildingSMART positions IDS as a lightweight, standardised way to specify and then check information delivery, as intended by ISO 19650.
How an IDS file is structured
An IDS file holds some general information (title, author, version, purpose) and a list of specifications. Each specification is one rule with two parts:
- Applicability: which elements the rule is about. For example, "all
IfcWallelements" or "doors whoseIsExternalproperty is true". - Requirements: what those elements must (or must not) have. For example, "a
FireRatingproperty inPset_WallCommon, of typeIFCLABEL".
Each specification also names the IFC versions it applies to: IFC2X3, IFC4 or IFC4X3_ADD2.
The six facets
Both parts are built from the same six building blocks, called facets:
| Facet | Checks | Example |
|---|---|---|
entity | The IFC class, optionally with its predefined type | IFCDOOR, or IFCWALL of type PARTITIONING |
attribute | A built-in IFC attribute | Name must match D-[0-9]{3} |
property | A property in a property set, optionally its data type and value | Pset_WallCommon.FireRating is an IFCLABEL |
classification | A classification reference | A Uniclass code starting with EF_25 |
material | The assigned material | Material name is Concrete |
partOf | A relationship to another element | The element is contained in an IfcBuildingStorey |
Values can be exact (simpleValue) or constrained with XML Schema restrictions: a list of allowed values,
a pattern, a numeric range or a text length. In the requirements part, most facets also take a cardinality:
required, optional (if present, it must match) or prohibited.
What IDS does not check
IDS checks the information attached to individual elements. It is not a clash detector and does not check geometry, such as whether a corridor is wide enough or two pipes collide. Rules like that need a dedicated rule-checking or clash-detection tool. Many projects use both: IDS for information delivery, other tools for geometry and design rules.
What it looks like in code
This script uses ifctester, the IDS library from the IfcOpenShell project
(pip install ifctester), to write one specification, save it as fire-safety.ids, and check the
two-wall model made on the IFC page.
"""Write an IDS file with ifctester, then check an IFC model against it.
Run ifc_create_and_read.py first: it writes demo.ifc, which has one wall that passes
and one wall that is missing its fire rating.
"""
import ifcopenshell
from ifctester import ids, reporter
# --- Write the requirements as an IDS file ---
spec = ids.Specification(name="Walls have a fire rating", ifcVersion=["IFC4"])
spec.applicability.append(ids.Entity(name="IFCWALL")) # which elements the rule applies to
spec.requirements.append( # what those elements must contain
ids.Property(
propertySet="Pset_WallCommon",
baseName="FireRating",
dataType="IFCLABEL",
cardinality="required",
)
)
requirements = ids.Ids(title="Fire safety handover", author="[email protected]")
requirements.specifications.append(spec)
requirements.to_xml("fire-safety.ids")
# --- Load the IDS and validate the model against it ---
requirements = ids.open("fire-safety.ids")
model = ifcopenshell.open("demo.ifc")
requirements.validate(model)
for specification in requirements.specifications:
print(f"{specification.name}: {'PASS' if specification.status else 'FAIL'}")
for result in specification.requirements:
for failure in result.failures:
element = failure["element"]
print(f" {element.is_a()} '{element.Name}' ({element.GlobalId}): {failure['reason']}")
# Save a machine-readable report (reporter.Html and reporter.Bcf work the same way).
report = reporter.Json(requirements)
report.report()
report.to_file("fire-safety-report.json") Walls have a fire rating: FAIL
IfcWall 'Partition wall' (3V_OYeitj4PQ$ZX3WASmka): The property set does not contain the required property The generated IDS file is valid against the official IDS 1.0 schema (the test for this page checks that):
<?xml version='1.0' encoding='utf-8'?>
<ids xmlns="http://standards.buildingsmart.org/IDS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://standards.buildingsmart.org/IDS http://standards.buildingsmart.org/IDS/1.0/ids.xsd">
<info>
<title>Fire safety handover</title>
<author>[email protected]</author>
</info>
<specifications>
<specification name="Walls have a fire rating" ifcVersion="IFC4">
<applicability minOccurs="0" maxOccurs="unbounded">
<entity>
<name>
<simpleValue>IFCWALL</simpleValue>
</name>
</entity>
</applicability>
<requirements>
<property dataType="IFCLABEL" cardinality="required">
<propertySet>
<simpleValue>Pset_WallCommon</simpleValue>
</propertySet>
<baseName>
<simpleValue>FireRating</simpleValue>
</baseName>
</property>
</requirements>
</specification>
</specifications>
</ids> ifctester can also write the results as an HTML report, or as BCF issues that other
BIM tools can open (reporter.Html, reporter.Bcf).
Who writes IDS files
Usually the party asking for the information: a client, a BIM manager or an information manager writing the exchange requirements for a project. Suppliers then check their models against the same file before they deliver, instead of finding out at handover that data is missing.