dp:models:industry_domain_extension, listed as Industry Domain Data Model template in the Cognite Toolkit) is an industry-neutral enterprise data model template for asset-heavy industries such as process, manufacturing, utilities, energy, mining, and infrastructure. It extends the Cognite core data model (cdf_cdm) and the process industries data model (cdf_idm) with a single Tag asset hub, work management views, two lightweight custom types, and an AlarmEvent record type for high-volume alarms.
Use it when no standards-based model (CFIHOS or ISA) fits your project, or as a clean starting point you adapt to your own source systems. The data model modules define the schema and include demo properties. They do not include sample source data. Add the sample data modules, or the Industry Domain Deployment Pack Demo, to load sample instances. Replace the demo properties with your real source fields before the first production deployment.
The model is delivered as two cherry-pickable modules inside the Data models deployment pack (dp:models):
industry_domain_extension— the enterprise model (Industry_DOM). It owns the containers, views, the alarm stream, and the access groups.industry_domain_extension_search— the search model (IndustrySearch_SOL). It is a schema-only search solution model that maps the enterprise containers into views that give users access to the content.
_DOM suffix marks an enterprise (domain) data model, and _SOL marks a solution data model built for a specific consumer.
dp:industry_quickstart). See Install and deploy.Who it’s for
Data engineers, data modelers, and solution architects use this pack to start a CDF project on a governed, extensible data model without building it from scratch.Target personas
- Data engineers — deploy the model with the Cognite Toolkit, and point ingestion at real source systems.
- Data modelers — map source fields to the template, trim unused types, and extend the model for gaps.
- Solution architects — decide instance spaces, access groups, and how the enterprise and search models are consumed.
When to use this pack
- You need an asset-centric data model for an industry that no standards-based pack covers.
- You want work orders, operations, and notifications that follow the process industries data model. The work views use the same types as InField.
- You want high-volume alarm events stored as records in a stream instead of as nodes.
- You want a search-optimized model that stays decoupled from enterprise view versions.
- You want a documented adaptation procedure (
SPEC.md) that both people and AI agents can follow.
When not to use this pack
- Your project is oil and gas and needs CFIHOS 2.0 equipment classes. Use the Oil and Gas Data Model.
- Your project is batch or discrete manufacturing that needs the ISA-95 and ISA-88 hierarchies. Use the ISA Data Model.
- You only need reliability and maintenance entities. Use the Reliability and Maintenance Data Model.
What’s included
The two data model modules define schema, governance, and access only. Sample source data, transformations, and load workflows live in three separate sample data modules.CONTRACT: (structural wiring you keep) or SOURCE_SCAFFOLD: (demo property you rename, replace, or delete). See Adapt the template to your project.
Prerequisites
Verify all of the following before you start:-
The Cognite Toolkit, version 0.9 or later (record view
streamIdsupport). See Setting up. -
A
cdf.tomlfile exists in your project root. Authentication is configured. Runcdf auth initandcdf auth verify. See Authentication and authorization. -
.envincludes the Microsoft Entra ID group object IDs for the access groups the modules create. In the group names,<env>is your environment name, such asdevorprod: -
If you plan to test with sample data:
-
.envalso includesIDP_CLIENT_IDandIDP_CLIENT_SECRETfor the service principal that runs the sample transformations, workflows, and alarm function. Map that service principal into the identity provider (IdP) group forproducer_industry_pp_<env>. -
The data plugin is enabled in
cdf.toml:
-
- The Cognite Toolkit service principal can create spaces, containers, views, data models, data sets, location filters, groups, and streams. If you add the sample data modules, it also needs to create RAW databases, transformations, workflows, and functions. See Access management.
Install and deploy
Choose how you want to add the modules. Include the enterprise module in the same build as the search module, or deploy the enterprise module first. Deploy both before any sample data module. The search views map the enterprise containers.- Add to an existing project
- Start a new project
- Full demo with sample data
modules/datamodels/ and updates your config.<env>.yaml files. Before you build:
- Set the group source ID variables in
.env. See Prerequisites. - Override module variables in
config.<env>.yaml, at minimum the access group names for your environment. See Configuration reference. - Decide on the alarm stream template. The stream template cannot be changed after the stream is created. See Alarm stream template.
Build deployment artifacts
build/ directory. If you need to change the project name or any variables marked <change_me>, edit config.<env>.yaml first — see Configure, build, and deploy modules.Dry-run the deployment
Deploy to CDF
Set up CI/CD (optional)
cdf build reports a MISSING-REFERENCED-RESOURCE insight. Add industry_domain_extension to the build, or deploy it first.
Test with sample data
The data model modules define schema only. To load sample instances, use the three sample data modules. The full demo pack includes them already.Add the sample data modules
enterprise_space, instance_space, dm_enterprise_version, and dataset_external_id as the enterprise module. If you changed those values, change them in the sample data modules too.Deploy
cdf build and cdf deploy. Each sample data module owns one RAW database: raw_asset_all_sap, raw_timeseries_all_pi, and raw_files_all_sharepoint.Upload sample data
--cdf-project must match the project in your credentials.Run the SAP workflow first
wf_sap_all_to_industry and wait for it to complete. It creates the tags and equipment that the other workflows link to.Run the PI and SharePoint workflows
wf_pi_all_to_industry and wf_sharepoint_all_to_industry, in either order.Verify the deployment
After deploying, confirm success with these checks:cdf deploycompletes without errors and reports spaces, containers, views, data models, the data set, location filters, groups, and the stream.- In Data Modeling > Spaces, the spaces
dm_dom_industry,dm_sol_industry_search, andinst_locationexist (or your configured names). - The data models
Industry_DOMandIndustrySearch_SOLare listed and open.Industry_DOMcontainsTag,Equipment,Document,TimeSeriesData,WorkOrder,WorkOrderOperation,Notification,Material, andOperatingLimit. - The stream
pi_all_alarm_eventexists with the stream template you chose. Use the records API or the Cognite Toolkit to check. - If you tested with sample data, all three workflows complete without errors, and
SearchTaginIndustrySearch_SOLreturns tag instances.
Configuration reference
Module variables are defined in each module’sdefault.config.yaml. Override them per environment under variables.modules in config.<env>.yaml.
Set or confirm every row marked Yes before the first deployment. Rows marked No can keep the default.
Enterprise module (industry_domain_extension)
Search module (industry_domain_extension_search)
dm_search_version does not require a change to dm_enterprise_version, and bumping dm_enterprise_version does not require a change to dm_search_version. The search views map enterprise containers, not enterprise views, so an enterprise view version bump does not affect search. A container change (rename, trim, or new property) needs a matching search view change.
Alarm stream template
The module default isBasicArchive, which is safe for production. For short-lived sample streams, override alarm_stream_template to ImmutableTestStream in config.dev.yaml only.
Instance spaces
The template uses one instance space,inst_location, for all nodes, edges, and alarm records. Every direct relation, including links from PI or SharePoint data to a tag, points into that same space. The search model has no instance space of its own.
When you adapt the model, change or add instance spaces to match how your domain is used: a site, a plant, or an access boundary. Do not split instance spaces by source system. Spaces are permanent, so decide the instance space layout before the first production deployment. When you change spaces, update the location filters, group scopes, transformation instanceSpace values, and every node reference together.
Access groups
The enterprise module creates four access groups and the search module creates one. They are additive to the Foundation persona groups (admin_all_*, producer_all_*, consumer_all_*). Do not delete the Foundation groups, and do not treat admin_industry_all_* as a replacement for admin_all_*.
dataModelsAcl READ on cdf_cdm and dataModelInstancesAcl READ on the instance space. The admin, domain producer, and search consumer groups already grant that pair. Security categories apply to classic time series and files only. They do not gate data modeling instances.
Search users get no streamRecordsAcl. If a user needs both the search model and alarm records, map them to both the search consumer group and the domain producer group.
Architecture
The model splits into two independently versioned modules. The enterprise module owns the containers, which are the durable contract, and the views that implement core and process industries data model types. The search module is a search solution model: it maps those containers into views that give users access to the content, and hosts the reverse relations that search navigation needs.How the views connect
Tag is the central asset node and the only CogniteAsset implementer. Equipment, documents, time series, work management, materials, and alarms all hold a direct relation to Tag. The diagram shows the enterprise direct relations, labeled with the property that defines each relation.
For readability, the diagram leaves out the relations to cdf_cdm reference types (CogniteAssetType, CogniteEquipmentType, CogniteFileCategory, CogniteUnit) and the equipment and timeSeries relations on WorkOrderOperation.
A view that implements a core or process industries type inherits that type’s relations, which point at the cdf_cdm or cdf_idm views. The enterprise views override those inherited relations so navigation stays inside this model. For example, Tag.files returns Document nodes, not CogniteFile nodes. The enterprise model overrides these inherited reverse relations:
Core data model extensions (cdf_cdm)
Process industries data model extensions (cdf_idm)
Custom types
Material and OperatingLimit are label-only types. They do not implement or require CogniteDescribable, which avoids a join on those nodes. Instead, they keep their own name property, and OperatingLimit also keeps local description and aliases.
Alarm records
AlarmEvent is a record container (usedFor: record) with a record view that sets streamId. Alarms are high-volume, so they are stored as records in a stream instead of as nodes. The record view is not part of Industry_DOM, and there is no search view for alarms. Read alarms through the records API.
Each alarm record links to the Tag, the TimeSeriesData, and the OperatingLimit it refers to. To query alarms for a set of tags, filter the tags in Industry_DOM, then filter AlarmEvent records with an in filter on asset, in chunks of 100 IDs or fewer. Immutable streams require a lastUpdatedTime range on every filter.
Search views
Each search view maps its enterprise container for the scaffold properties. Search views for core and process industries types also map the minimumcdf_cdm and cdf_idm containers that classify the type, plus CogniteDescribable for name and description. SearchMaterial and SearchOperatingLimit map only their enterprise container. Search views do not implement any type. Every direct relation and reverse relation in the search model points at another search view.
Key design decisions
SingleCogniteAsset. Only Tag implements CogniteAsset. This keeps one asset hierarchy for CDF applications such as Canvas.
Containers are the durable contract. Every node view has its own container. Containers for core and process industries types require their parent container, for example Tag requires CogniteAsset. Search views map these containers rather than implementing enterprise views, so the search model can change and re-version without forcing enterprise consumers to migrate.
Search is schema-only. The search model has views and a data model, but no containers, transformations, or instance space. Data loaded through Industry_DOM is visible through IndustrySearch_SOL without any search-side writes. Search views use a Search prefix (SearchTag, SearchEquipment), so consumers can tell which model a view belongs to.
No source schema layer. Transformations write RAW data straight into Industry_DOM. There is no separate source data model.
Independent domain models. Relations whose target lives in another domain model keep the inherited cdf_cdm or cdf_idm target. Referencing another model’s view would pin its version. Cross-model navigation belongs in a solution model.
Adapt the template to your project
The template is a starting point, not a finished model. The enterprise containers are scaffolding that your project owns. Adapt them in place before the first production deployment. After that, container and property identifiers are permanent: you can only add properties, on a new extension container. The module’sSPEC.md holds the full adaptation contract, including a field mapping worksheet, a file touch map for every entity, and rename recipes.
Inventory the demo surface
Decide instance spaces
inst_location, or change or add spaces to match a site, plant, or access boundary. Do not split spaces by source system. See Instance spaces.Map your source fields
Trim unused types
Replace scaffold properties
SOURCE_SCAFFOLD: property. Use one camelCase ID everywhere: container, view, search view, SQL alias, and through.identifier. Never add a custom property that duplicates a core or process industries property such as name, status, or assets. Map to the existing property instead.Point ingestion at real data
*_industry_data_dump modules once real extractors write the same nodes.Align the search model
Validate
cdf build and cdf deploy --dry-run. After the first deployment with real data, compare instance and record counts against the source.rg SOURCE_SCAFFOLD: returns no hits, or only properties you have listed as intentionally temporary, and no transformation or function reads the sample RAW databases.
Query the model
Always scope queries to the instance space. For large volumes, prefer/sync over unbounded /list or /query requests. Do not filter or paginate on lastUpdatedTime or createdTime for instance reads. Use /sync for change tracking instead. See Query data models.
To read every instance of one view, filter with hasData on the view, use /sync with mode: twoPhase, and set backfillSort to a cursorable index on that view. The sort must match the index property and direction. For /query pagination, a sort that doesn’t match a cursorable index fails with sortNotBackedByIndex.
site index (POST /models/instances/sync):
nextCursor until a page returns fewer rows than limit. The backfill is then complete. Keep following the cursor to receive live changes. Sync cursors expire after about three days.