1
Create a target data model that extends CDM
The data model must extend the CogniteCore model. See Create a data model.
2
Create resource view mappings
Map asset-centric properties to the target views. See Create resource view mappings.
3
Deploy the model and mappings
Deploy them to your CDF project so the migration plugin can use them. See Governance.
Create a data model
Consider using Neat to create your data model. Neat checks your data model for
consistency and provides insights on how to improve it.
asset_schema.yaml
metadata become explicit properties on a WindTurbine view:
windturbine.View.yaml
Create resource view mappings
Create a resource view mapping alongside the data model. The mapping defines how asset-centric properties map to properties in your target views. The Cognite Toolkit uses these mappings during migration to move data from asset-centric resources into the correct places in your data model, including data type conversion where needed. These mappings are YAML resources that the Cognite Toolkit can deploy to your CDF project:windturbine.ResourceViewMapping.yaml