Skip to main content
The Generic Industry Data Model (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.
The _DOM suffix marks an enterprise (domain) data model, and _SOL marks a solution data model built for a specific consumer.
To deploy both modules together with sample SAP, PI, and SharePoint data, use the Industry Domain Deployment Pack Demo (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

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. Every property in the template is marked in its description as either 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 streamId support). See Setting up.
  • A cdf.toml file exists in your project root. Authentication is configured. Run cdf auth init and cdf auth verify. See Authentication and authorization.
  • .env includes the Microsoft Entra ID group object IDs for the access groups the modules create. In the group names, <env> is your environment name, such as dev or prod:
  • If you plan to test with sample data:
    • .env also includes IDP_CLIENT_ID and IDP_CLIENT_SECRET for the service principal that runs the sample transformations, workflows, and alarm function. Map that service principal into the identity provider (IdP) group for producer_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.
From your project directory:
The Cognite Toolkit creates the modules under modules/datamodels/ and updates your config.<env>.yaml files. Before you build:
  1. Set the group source ID variables in .env. See Prerequisites.
  2. Override module variables in config.<env>.yaml, at minimum the access group names for your environment. See Configuration reference.
  3. Decide on the alarm stream template. The stream template cannot be changed after the stream is created. See Alarm stream template.
Then build and deploy:
1

Build deployment artifacts

The Toolkit substitutes template variables and writes artifacts to the 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.
2

Dry-run the deployment

Inspect the output and confirm that configurations look correct before deploying.
3

Deploy to CDF

The Toolkit deploys only configurations that have changed since the last run.
4

Set up CI/CD (optional)

For governed production deployments, automate build, dry-run, and deploy in a pipeline. See Set up CI/CD pipelines.
After deployment, your project should include:
If you build the search module without the enterprise module, and the enterprise containers aren’t in CDF yet, 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.
1

Add the sample data modules

The modules default to the same 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.
2

Deploy

Run 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.
3

Upload sample data

If your modules directory is under an organization directory, prepend that directory name to each path. --cdf-project must match the project in your credentials.
4

Run the SAP workflow first

In Integrate > Data Workflows, trigger wf_sap_all_to_industry and wait for it to complete. It creates the tags and equipment that the other workflows link to.
5

Run the PI and SharePoint workflows

Trigger wf_pi_all_to_industry and wf_sharepoint_all_to_industry, in either order.
By default, the workflow schedules (0 0 29 2 *) run only on 29 February. Start the workflows manually. Workflow dependencies do not enforce the order across modules. Always run wf_sap_all_to_industry before the PI and SharePoint workflows. Otherwise, time series, documents, and alarms have no tags to link to.

Verify the deployment

After deploying, confirm success with these checks:
  1. cdf deploy completes without errors and reports spaces, containers, views, data models, the data set, location filters, groups, and the stream.
  2. In Data Modeling > Spaces, the spaces dm_dom_industry, dm_sol_industry_search, and inst_location exist (or your configured names).
  3. The data models Industry_DOM and IndustrySearch_SOL are listed and open. Industry_DOM contains Tag, Equipment, Document, TimeSeriesData, WorkOrder, WorkOrderOperation, Notification, Material, and OperatingLimit.
  4. The stream pi_all_alarm_event exists with the stream template you chose. Use the records API or the Cognite Toolkit to check.
  5. If you tested with sample data, all three workflows complete without errors, and SearchTag in IndustrySearch_SOL returns tag instances.
The deployment is successful when both data models open, the stream exists, and, if you loaded sample data, tags link to their equipment, time series, documents, and work orders.

Configuration reference

Module variables are defined in each module’s default.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)

The enterprise and search modules version independently. Bumping 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 is BasicArchive, which is safe for production. For short-lived sample streams, override alarm_stream_template to ImmutableTestStream in config.dev.yaml only.
You cannot change a stream template after the stream is created. If you create the alarm stream with ImmutableTestStream, you must create a new stream to get production retention. See Choose and size streams.

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_*. To read core data model time series and files, a user needs both 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: The enterprise model adds no other reverse relations. New reverse relations belong in the search model.

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.
Never delete or recreate the AlarmEvent container once records exist. Records written through a deleted record container become permanently inaccessible, even if you recreate the container with the same ID. Add properties only. Every property you write to a stream counts against the stream’s limit on unique properties.

Search views

Each search view maps its enterprise container for the scaffold properties. Search views for core and process industries types also map the minimum cdf_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

Single CogniteAsset. 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.
labels vs. tags: Because the asset view is named Tag, the inherited tags property from CogniteDescribable is exposed as labels on Tag and SearchTag. In transformations, queries, and API calls, always use labels. Write AS labels, never AS tags.

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’s SPEC.md holds the full adaptation contract, including a field mapping worksheet, a file touch map for every entity, and rename recipes.
1

Inventory the demo surface

List every demo property and every sample RAW table, transformation, and workflow task:
2

Decide instance spaces

Keep 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.
3

Map your source fields

For each real source field, record the source system, the field, the target view, the container property, and the action: keep, replace, or drop. Confirm the mapping before you edit YAML.
4

Trim unused types

Remove any demo entity with no real source and no consumer: its container, view, data model entry, search view, reverse relations, transformation, workflow task, and RAW table.
5

Replace scaffold properties

Rename, replace, or drop each 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.
6

Point ingestion at real data

Change the transformation sources to your extractors’ RAW tables and update the RAW database variables. Stop deploying the *_industry_data_dump modules once real extractors write the same nodes.
7

Align the search model

Update or remove search views for every container you kept, renamed, trimmed, or added. Point the search location filter at the same instance spaces as the enterprise module.
8

Validate

Run cdf build and cdf deploy --dry-run. After the first deployment with real data, compare instance and record counts against the source.
You are done when 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.
The sample data has known gaps. Only the 47 sample tags with a SAP class have an asset type. The other tags in the sample set have none. The OPC UA identifiers on time series are synthetic, derived from the PI source tag. Remove them if you have no OPC UA source.

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. This example syncs all tags and backfills through the cursorable site index (POST /models/instances/sync):
Follow 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.

Troubleshooting

For issues not covered here, contact Cognite support.

Support

Last modified on November 25, 2026