cognite-neat 0.103.1__py3-none-any.whl → 0.105.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of cognite-neat might be problematic. Click here for more details.

Files changed (175) hide show
  1. cognite/neat/_client/_api/data_modeling_loaders.py +83 -23
  2. cognite/neat/_client/_api/schema.py +2 -1
  3. cognite/neat/_client/data_classes/neat_sequence.py +261 -0
  4. cognite/neat/_client/data_classes/schema.py +5 -1
  5. cognite/neat/_client/testing.py +33 -0
  6. cognite/neat/_constants.py +56 -0
  7. cognite/neat/_graph/extractors/_classic_cdf/_base.py +6 -5
  8. cognite/neat/_graph/extractors/_classic_cdf/_sequences.py +225 -11
  9. cognite/neat/_graph/extractors/_mock_graph_generator.py +2 -2
  10. cognite/neat/_graph/loaders/_rdf2dms.py +13 -2
  11. cognite/neat/_graph/transformers/__init__.py +3 -1
  12. cognite/neat/_graph/transformers/_base.py +109 -1
  13. cognite/neat/_graph/transformers/_classic_cdf.py +6 -1
  14. cognite/neat/_graph/transformers/_prune_graph.py +103 -47
  15. cognite/neat/_graph/transformers/_rdfpath.py +41 -17
  16. cognite/neat/_graph/transformers/_value_type.py +188 -151
  17. cognite/neat/_issues/__init__.py +0 -2
  18. cognite/neat/_issues/_base.py +54 -43
  19. cognite/neat/_issues/warnings/__init__.py +4 -1
  20. cognite/neat/_issues/warnings/_general.py +7 -0
  21. cognite/neat/_issues/warnings/_resources.py +12 -1
  22. cognite/neat/_rules/_shared.py +18 -34
  23. cognite/neat/_rules/exporters/_base.py +28 -2
  24. cognite/neat/_rules/exporters/_rules2dms.py +39 -1
  25. cognite/neat/_rules/exporters/_rules2excel.py +13 -2
  26. cognite/neat/_rules/exporters/_rules2instance_template.py +4 -0
  27. cognite/neat/_rules/exporters/_rules2ontology.py +13 -1
  28. cognite/neat/_rules/exporters/_rules2yaml.py +4 -0
  29. cognite/neat/_rules/importers/_base.py +9 -0
  30. cognite/neat/_rules/importers/_dms2rules.py +80 -57
  31. cognite/neat/_rules/importers/_dtdl2rules/dtdl_importer.py +5 -2
  32. cognite/neat/_rules/importers/_rdf/_base.py +10 -8
  33. cognite/neat/_rules/importers/_rdf/_imf2rules.py +4 -0
  34. cognite/neat/_rules/importers/_rdf/_inference2rules.py +7 -0
  35. cognite/neat/_rules/importers/_rdf/_owl2rules.py +4 -0
  36. cognite/neat/_rules/importers/_spreadsheet2rules.py +17 -8
  37. cognite/neat/_rules/importers/_yaml2rules.py +21 -7
  38. cognite/neat/_rules/models/_base_input.py +1 -1
  39. cognite/neat/_rules/models/_base_rules.py +9 -1
  40. cognite/neat/_rules/models/dms/_rules.py +4 -0
  41. cognite/neat/_rules/models/dms/_rules_input.py +9 -0
  42. cognite/neat/_rules/models/entities/_wrapped.py +10 -5
  43. cognite/neat/_rules/models/information/_rules.py +4 -0
  44. cognite/neat/_rules/models/information/_rules_input.py +9 -0
  45. cognite/neat/_rules/models/mapping/_classic2core.py +2 -5
  46. cognite/neat/_rules/models/mapping/_classic2core.yaml +239 -38
  47. cognite/neat/_rules/transformers/__init__.py +13 -6
  48. cognite/neat/_rules/transformers/_base.py +41 -65
  49. cognite/neat/_rules/transformers/_converters.py +404 -234
  50. cognite/neat/_rules/transformers/_mapping.py +93 -72
  51. cognite/neat/_rules/transformers/_verification.py +50 -38
  52. cognite/neat/_session/_base.py +32 -121
  53. cognite/neat/_session/_inspect.py +5 -3
  54. cognite/neat/_session/_mapping.py +17 -105
  55. cognite/neat/_session/_prepare.py +138 -268
  56. cognite/neat/_session/_read.py +39 -195
  57. cognite/neat/_session/_set.py +6 -30
  58. cognite/neat/_session/_show.py +40 -21
  59. cognite/neat/_session/_state.py +49 -107
  60. cognite/neat/_session/_to.py +44 -33
  61. cognite/neat/_shared.py +23 -2
  62. cognite/neat/_store/_provenance.py +3 -82
  63. cognite/neat/_store/_rules_store.py +368 -10
  64. cognite/neat/_store/exceptions.py +23 -0
  65. cognite/neat/_utils/graph_transformations_report.py +36 -0
  66. cognite/neat/_utils/rdf_.py +8 -0
  67. cognite/neat/_utils/reader/_base.py +27 -0
  68. cognite/neat/_utils/spreadsheet.py +5 -4
  69. cognite/neat/_version.py +1 -1
  70. {cognite_neat-0.103.1.dist-info → cognite_neat-0.105.0.dist-info}/METADATA +3 -2
  71. cognite_neat-0.105.0.dist-info/RECORD +179 -0
  72. {cognite_neat-0.103.1.dist-info → cognite_neat-0.105.0.dist-info}/WHEEL +1 -1
  73. cognite/neat/_app/api/__init__.py +0 -0
  74. cognite/neat/_app/api/asgi/metrics.py +0 -4
  75. cognite/neat/_app/api/configuration.py +0 -98
  76. cognite/neat/_app/api/context_manager/__init__.py +0 -3
  77. cognite/neat/_app/api/context_manager/manager.py +0 -16
  78. cognite/neat/_app/api/data_classes/__init__.py +0 -0
  79. cognite/neat/_app/api/data_classes/rest.py +0 -59
  80. cognite/neat/_app/api/explorer.py +0 -66
  81. cognite/neat/_app/api/routers/configuration.py +0 -25
  82. cognite/neat/_app/api/routers/crud.py +0 -102
  83. cognite/neat/_app/api/routers/metrics.py +0 -10
  84. cognite/neat/_app/api/routers/workflows.py +0 -224
  85. cognite/neat/_app/api/utils/__init__.py +0 -0
  86. cognite/neat/_app/api/utils/data_mapping.py +0 -17
  87. cognite/neat/_app/api/utils/logging.py +0 -26
  88. cognite/neat/_app/api/utils/query_templates.py +0 -92
  89. cognite/neat/_app/main.py +0 -17
  90. cognite/neat/_app/monitoring/__init__.py +0 -0
  91. cognite/neat/_app/monitoring/metrics.py +0 -69
  92. cognite/neat/_app/ui/index.html +0 -1
  93. cognite/neat/_app/ui/neat-app/.gitignore +0 -23
  94. cognite/neat/_app/ui/neat-app/README.md +0 -70
  95. cognite/neat/_app/ui/neat-app/build/asset-manifest.json +0 -14
  96. cognite/neat/_app/ui/neat-app/build/favicon.ico +0 -0
  97. cognite/neat/_app/ui/neat-app/build/img/architect-icon.svg +0 -116
  98. cognite/neat/_app/ui/neat-app/build/img/developer-icon.svg +0 -112
  99. cognite/neat/_app/ui/neat-app/build/img/sme-icon.svg +0 -34
  100. cognite/neat/_app/ui/neat-app/build/index.html +0 -1
  101. cognite/neat/_app/ui/neat-app/build/logo192.png +0 -0
  102. cognite/neat/_app/ui/neat-app/build/manifest.json +0 -25
  103. cognite/neat/_app/ui/neat-app/build/robots.txt +0 -3
  104. cognite/neat/_app/ui/neat-app/build/static/css/main.72e3d92e.css +0 -2
  105. cognite/neat/_app/ui/neat-app/build/static/css/main.72e3d92e.css.map +0 -1
  106. cognite/neat/_app/ui/neat-app/build/static/js/main.5a52cf09.js +0 -3
  107. cognite/neat/_app/ui/neat-app/build/static/js/main.5a52cf09.js.LICENSE.txt +0 -88
  108. cognite/neat/_app/ui/neat-app/build/static/js/main.5a52cf09.js.map +0 -1
  109. cognite/neat/_app/ui/neat-app/build/static/media/logo.8093b84df9ed36a174c629d6fe0b730d.svg +0 -1
  110. cognite/neat/_app/ui/neat-app/package-lock.json +0 -18306
  111. cognite/neat/_app/ui/neat-app/package.json +0 -62
  112. cognite/neat/_app/ui/neat-app/public/favicon.ico +0 -0
  113. cognite/neat/_app/ui/neat-app/public/img/architect-icon.svg +0 -116
  114. cognite/neat/_app/ui/neat-app/public/img/developer-icon.svg +0 -112
  115. cognite/neat/_app/ui/neat-app/public/img/sme-icon.svg +0 -34
  116. cognite/neat/_app/ui/neat-app/public/index.html +0 -43
  117. cognite/neat/_app/ui/neat-app/public/logo192.png +0 -0
  118. cognite/neat/_app/ui/neat-app/public/manifest.json +0 -25
  119. cognite/neat/_app/ui/neat-app/public/robots.txt +0 -3
  120. cognite/neat/_app/ui/neat-app/src/App.css +0 -38
  121. cognite/neat/_app/ui/neat-app/src/App.js +0 -17
  122. cognite/neat/_app/ui/neat-app/src/App.test.js +0 -8
  123. cognite/neat/_app/ui/neat-app/src/MainContainer.tsx +0 -70
  124. cognite/neat/_app/ui/neat-app/src/components/JsonViewer.tsx +0 -43
  125. cognite/neat/_app/ui/neat-app/src/components/LocalUploader.tsx +0 -124
  126. cognite/neat/_app/ui/neat-app/src/components/OverviewComponentEditorDialog.tsx +0 -63
  127. cognite/neat/_app/ui/neat-app/src/components/StepEditorDialog.tsx +0 -511
  128. cognite/neat/_app/ui/neat-app/src/components/TabPanel.tsx +0 -36
  129. cognite/neat/_app/ui/neat-app/src/components/Utils.tsx +0 -56
  130. cognite/neat/_app/ui/neat-app/src/components/WorkflowDeleteDialog.tsx +0 -60
  131. cognite/neat/_app/ui/neat-app/src/components/WorkflowExecutionReport.tsx +0 -112
  132. cognite/neat/_app/ui/neat-app/src/components/WorkflowImportExportDialog.tsx +0 -67
  133. cognite/neat/_app/ui/neat-app/src/components/WorkflowMetadataDialog.tsx +0 -79
  134. cognite/neat/_app/ui/neat-app/src/index.css +0 -13
  135. cognite/neat/_app/ui/neat-app/src/index.js +0 -13
  136. cognite/neat/_app/ui/neat-app/src/logo.svg +0 -1
  137. cognite/neat/_app/ui/neat-app/src/reportWebVitals.js +0 -13
  138. cognite/neat/_app/ui/neat-app/src/setupTests.js +0 -5
  139. cognite/neat/_app/ui/neat-app/src/types/WorkflowTypes.ts +0 -388
  140. cognite/neat/_app/ui/neat-app/src/views/AboutView.tsx +0 -61
  141. cognite/neat/_app/ui/neat-app/src/views/ConfigView.tsx +0 -184
  142. cognite/neat/_app/ui/neat-app/src/views/GlobalConfigView.tsx +0 -180
  143. cognite/neat/_app/ui/neat-app/src/views/WorkflowView.tsx +0 -570
  144. cognite/neat/_app/ui/neat-app/tsconfig.json +0 -27
  145. cognite/neat/_rules/transformers/_pipelines.py +0 -70
  146. cognite/neat/_workflows/__init__.py +0 -17
  147. cognite/neat/_workflows/base.py +0 -590
  148. cognite/neat/_workflows/cdf_store.py +0 -393
  149. cognite/neat/_workflows/examples/Export_DMS/workflow.yaml +0 -89
  150. cognite/neat/_workflows/examples/Export_Semantic_Data_Model/workflow.yaml +0 -66
  151. cognite/neat/_workflows/examples/Import_DMS/workflow.yaml +0 -65
  152. cognite/neat/_workflows/examples/Validate_Rules/workflow.yaml +0 -67
  153. cognite/neat/_workflows/examples/Validate_Solution_Model/workflow.yaml +0 -64
  154. cognite/neat/_workflows/manager.py +0 -292
  155. cognite/neat/_workflows/model.py +0 -203
  156. cognite/neat/_workflows/steps/__init__.py +0 -0
  157. cognite/neat/_workflows/steps/data_contracts.py +0 -109
  158. cognite/neat/_workflows/steps/lib/__init__.py +0 -0
  159. cognite/neat/_workflows/steps/lib/current/__init__.py +0 -6
  160. cognite/neat/_workflows/steps/lib/current/graph_extractor.py +0 -100
  161. cognite/neat/_workflows/steps/lib/current/graph_loader.py +0 -51
  162. cognite/neat/_workflows/steps/lib/current/graph_store.py +0 -48
  163. cognite/neat/_workflows/steps/lib/current/rules_exporter.py +0 -537
  164. cognite/neat/_workflows/steps/lib/current/rules_importer.py +0 -398
  165. cognite/neat/_workflows/steps/lib/current/rules_validator.py +0 -106
  166. cognite/neat/_workflows/steps/lib/io/__init__.py +0 -1
  167. cognite/neat/_workflows/steps/lib/io/io_steps.py +0 -393
  168. cognite/neat/_workflows/steps/step_model.py +0 -79
  169. cognite/neat/_workflows/steps_registry.py +0 -218
  170. cognite/neat/_workflows/tasks.py +0 -18
  171. cognite/neat/_workflows/triggers.py +0 -169
  172. cognite/neat/_workflows/utils.py +0 -19
  173. cognite_neat-0.103.1.dist-info/RECORD +0 -275
  174. {cognite_neat-0.103.1.dist-info → cognite_neat-0.105.0.dist-info}/LICENSE +0 -0
  175. {cognite_neat-0.103.1.dist-info → cognite_neat-0.105.0.dist-info}/entry_points.txt +0 -0
@@ -1,13 +1,17 @@
1
+ containers:
2
+ - container: ClassicEquipment
3
+ neatId: http://purl.org/cognite/neat/neatId_bb7e4121_bc17_46c7_a93d_c855f710ccbe
4
+ used_for: node
1
5
  enum:
2
6
  - collection: timeseriesType
3
7
  description: Time series with double floating point data points.
4
8
  name: numeric
5
- neatId: http://purl.org/cognite/neat/neatId_d4e42064_7c60_4bfc_b629_a873345f0ee2
9
+ neatId: http://purl.org/cognite/neat/neatId_797b05f5_c67d_4aed_a40b_6a6042f16321
6
10
  value: numeric
7
11
  - collection: timeseriesType
8
12
  description: Time series with string data points.
9
13
  name: string
10
- neatId: http://purl.org/cognite/neat/neatId_8bb46fae_572d_464a_bc61_1055b0aa6c5d
14
+ neatId: http://purl.org/cognite/neat/neatId_97f686d4_c02a_460e_991a_e7fd109c7c01
11
15
  value: string
12
16
  metadata:
13
17
  created: '2024-08-29T13:49:56.696000'
@@ -20,22 +24,54 @@ metadata:
20
24
  updated: '2024-08-29T13:49:56.696000'
21
25
  version: v1.0
22
26
  properties:
27
+ - connection: reverse(property=assets)
28
+ description: An automatically updated list of activities related to the asset.
29
+ is_list: true
30
+ name: Activities
31
+ neatId: http://purl.org/cognite/neat/neatId_9058e127_cdfa_45ae_a6c0_fcdb199264e1
32
+ value_type: ClassicEvent
33
+ view: ClassicAsset
34
+ view_property: activities
35
+ - connection: reverse(property=parent)
36
+ description: An automatically updated list of assets with this asset as their parent.
37
+ is_list: true
38
+ name: Children
39
+ neatId: http://purl.org/cognite/neat/neatId_127f7603_6370_469a_a31f_f40e92697fb6
40
+ value_type: ClassicAsset
41
+ view: ClassicAsset
42
+ view_property: children
23
43
  - container: cdf_cdm:CogniteDescribable
24
44
  container_property: description
25
45
  description: Description of the instance
26
46
  immutable: false
27
47
  is_list: false
28
- neatId: http://purl.org/cognite/neat/neatId_d887305d_af9d_4843_af6e_4115a7217d90
48
+ neatId: http://purl.org/cognite/neat/neatId_c3275410_d533_4e82_9392_84a69571f3f0
29
49
  nullable: true
30
50
  value_type: text
31
51
  view: ClassicAsset
32
52
  view_property: description
53
+ - connection: reverse(property=asset)
54
+ description: An automatically updated list of equipment related to the asset.
55
+ is_list: true
56
+ name: Equipment
57
+ neatId: http://purl.org/cognite/neat/neatId_de038f8e_9ed6_439b_84da_f85386607136
58
+ value_type: ClassicEquipment
59
+ view: ClassicAsset
60
+ view_property: equipment
61
+ - connection: reverse(property=assets)
62
+ description: An automatically updated list of files related to the asset.
63
+ is_list: true
64
+ name: Files
65
+ neatId: http://purl.org/cognite/neat/neatId_8d2a9b16_fd29_4cde_9578_7038c13dabd4
66
+ value_type: ClassicFile
67
+ view: ClassicAsset
68
+ view_property: files
33
69
  - container: cdf_cdm:CogniteDescribable
34
70
  container_property: tags
35
71
  description: Text based labels for generic use, limited to 1000
36
72
  immutable: false
37
73
  is_list: true
38
- neatId: http://purl.org/cognite/neat/neatId_105a0fee_3942_4a6b_9d25_74d46d09c209
74
+ neatId: http://purl.org/cognite/neat/neatId_b11b5446_1b50_47f3_bc42_7f8abef437fe
39
75
  nullable: true
40
76
  value_type: text
41
77
  view: ClassicAsset
@@ -46,7 +82,7 @@ properties:
46
82
  immutable: false
47
83
  index: name
48
84
  is_list: false
49
- neatId: http://purl.org/cognite/neat/neatId_9559ecd6_a585_4fb9_90b7_7301da5f2170
85
+ neatId: http://purl.org/cognite/neat/neatId_bec8eafc_4c53_401b_98dc_57cdb98525ef
50
86
  nullable: true
51
87
  value_type: text
52
88
  view: ClassicAsset
@@ -58,11 +94,36 @@ properties:
58
94
  immutable: false
59
95
  is_list: false
60
96
  name: Parent
61
- neatId: http://purl.org/cognite/neat/neatId_fdc3280b_0d11_4e66_b2b5_8f37a398bed9
97
+ neatId: http://purl.org/cognite/neat/neatId_53e67f4d_f847_4406_a20e_25d9e24fca86
62
98
  nullable: true
63
99
  value_type: ClassicAsset
64
100
  view: ClassicAsset
65
101
  view_property: parentId
102
+ - connection: direct
103
+ container: cdf_cdm:CogniteAsset
104
+ container_property: assetHierarchy_path
105
+ description: An automatically updated ordered list of this asset's ancestors, starting
106
+ with the root asset. Enables subtree filtering to find all assets under a parent.
107
+ immutable: false
108
+ is_list: true
109
+ name: Path
110
+ neatId: http://purl.org/cognite/neat/neatId_97d45ff7_058b_40c0_8d34_5572564f19d3
111
+ nullable: true
112
+ value_type: ClassicAsset
113
+ view: ClassicAsset
114
+ view_property: path
115
+ - connection: direct
116
+ container: cdf_cdm:CogniteAsset
117
+ container_property: assetHierarchy_root
118
+ description: An automatically updated reference to the top-level asset of the hierarchy.
119
+ immutable: false
120
+ is_list: false
121
+ name: Root
122
+ neatId: http://purl.org/cognite/neat/neatId_30ddc92c_4a30_4743_aff4_ed0270a39a21
123
+ nullable: true
124
+ value_type: ClassicAsset
125
+ view: ClassicAsset
126
+ view_property: root
66
127
  - connection: direct
67
128
  container: cdf_cdm:CogniteSourceable
68
129
  container_property: source
@@ -70,17 +131,86 @@ properties:
70
131
  immutable: false
71
132
  index: source
72
133
  is_list: false
73
- neatId: http://purl.org/cognite/neat/neatId_247e5b5d_4caf_4312_bd5b_341ed3fc3a03
134
+ neatId: http://purl.org/cognite/neat/neatId_2ae86694_8a5d_42ca_9f61_105379cbce73
74
135
  nullable: true
75
136
  value_type: ClassicSourceSystem
76
137
  view: ClassicAsset
77
138
  view_property: source
139
+ - connection: reverse(property=assets)
140
+ description: An automatically updated list of time series related to the asset.
141
+ is_list: true
142
+ name: Time series
143
+ neatId: http://purl.org/cognite/neat/neatId_a59ab1b1_c3d5_4f53_bf4d_473ab9e25b0e
144
+ value_type: ClassicTimeSeries
145
+ view: ClassicAsset
146
+ view_property: timeSeries
147
+ - connection: reverse(property=equipment)
148
+ description: An automatically updated list of activities related to the equipment.
149
+ is_list: true
150
+ name: Activities
151
+ neatId: http://purl.org/cognite/neat/neatId_9d2e445e_51eb_4abb_b4c8_dc67697d728e
152
+ value_type: ClassicEvent
153
+ view: ClassicEquipment
154
+ view_property: activities
155
+ - connection: direct
156
+ container: cdf_cdm:CogniteEquipment
157
+ container_property: asset
158
+ description: The asset the equipment is related to.
159
+ immutable: false
160
+ is_list: false
161
+ name: Asset
162
+ neatId: http://purl.org/cognite/neat/neatId_14907de8_b97f_4696_ac7c_65d87d969049
163
+ nullable: true
164
+ value_type: ClassicAsset
165
+ view: ClassicEquipment
166
+ view_property: asset
167
+ - container: ClassicEquipment
168
+ container_property: classicEquipmentGUID
169
+ immutable: false
170
+ is_list: false
171
+ neatId: http://purl.org/cognite/neat/neatId_daffaf42_d75c_436f_beac_91199f70932f
172
+ nullable: true
173
+ value_type: text
174
+ view: ClassicEquipment
175
+ view_property: classicEquipmentGUID
176
+ - connection: direct
177
+ container: cdf_cdm:CogniteEquipment
178
+ container_property: files
179
+ description: A list of files the equipment relates to.
180
+ immutable: false
181
+ is_list: true
182
+ name: Files
183
+ neatId: http://purl.org/cognite/neat/neatId_72cca8d9_9a0d_4e79_93c9_cef63b3d1889
184
+ nullable: true
185
+ value_type: ClassicFile
186
+ view: ClassicEquipment
187
+ view_property: files
188
+ - connection: direct
189
+ container: cdf_cdm:CogniteSourceable
190
+ container_property: source
191
+ description: Direct relation to a source system
192
+ immutable: false
193
+ index: source
194
+ is_list: false
195
+ neatId: http://purl.org/cognite/neat/neatId_bd31051b_63c6_4226_8836_d9f3713afef3
196
+ nullable: true
197
+ value_type: ClassicSourceSystem
198
+ view: ClassicEquipment
199
+ view_property: source
200
+ - connection: reverse(property=equipment)
201
+ description: An automatically updated list of time series related to the equipment.
202
+ is_list: true
203
+ name: Time series
204
+ neatId: http://purl.org/cognite/neat/neatId_f94199fc_3523_450d_84d7_6ad0df10cc4f
205
+ value_type: ClassicTimeSeries
206
+ view: ClassicEquipment
207
+ view_property: timeSeries
78
208
  - container: cdf_cdm:CogniteDescribable
79
209
  container_property: aliases
80
210
  description: Alternative names for the node
81
211
  immutable: false
82
212
  is_list: true
83
- neatId: http://purl.org/cognite/neat/neatId_7412eae6_e77c_41b7_92ca_737798f5844a
213
+ neatId: http://purl.org/cognite/neat/neatId_4dc1493d_2f7d_4c3e_8556_97b1c13ea6ab
84
214
  nullable: true
85
215
  value_type: text
86
216
  view: ClassicEvent
@@ -92,7 +222,7 @@ properties:
92
222
  immutable: false
93
223
  is_list: true
94
224
  name: Assets
95
- neatId: http://purl.org/cognite/neat/neatId_439538ba_610d_4300_a8cd_aa51dbbf5c1a
225
+ neatId: http://purl.org/cognite/neat/neatId_4ec2a68e_1030_403b_b107_c998880da468
96
226
  nullable: true
97
227
  value_type: ClassicAsset
98
228
  view: ClassicEvent
@@ -102,7 +232,7 @@ properties:
102
232
  description: Description of the instance
103
233
  immutable: false
104
234
  is_list: false
105
- neatId: http://purl.org/cognite/neat/neatId_8ab69b21_b84e_4374_a2bd_6b7e6321f22d
235
+ neatId: http://purl.org/cognite/neat/neatId_8890ae4a_6429_4002_9cae_78c3e4f868f7
106
236
  nullable: true
107
237
  value_type: text
108
238
  view: ClassicEvent
@@ -113,17 +243,29 @@ properties:
113
243
  immutable: false
114
244
  index: endTime
115
245
  is_list: false
116
- neatId: http://purl.org/cognite/neat/neatId_fce69deb_af37_4c49_b1cf_caf569563ba7
246
+ neatId: http://purl.org/cognite/neat/neatId_8ef52490_bcd6_45cf_92db_532fa19cac82
117
247
  nullable: true
118
248
  value_type: timestamp
119
249
  view: ClassicEvent
120
250
  view_property: endTime
251
+ - connection: direct
252
+ container: cdf_cdm:CogniteActivity
253
+ container_property: equipment
254
+ description: A list of equipment the activity is related to.
255
+ immutable: false
256
+ is_list: true
257
+ name: Equipment
258
+ neatId: http://purl.org/cognite/neat/neatId_b19b32c3_aa6e_43dc_a27d_c9f76a294b63
259
+ nullable: true
260
+ value_type: ClassicEquipment
261
+ view: ClassicEvent
262
+ view_property: equipment
121
263
  - container: cdf_cdm:CogniteDescribable
122
264
  container_property: tags
123
265
  description: Text based labels for generic use, limited to 1000
124
266
  immutable: false
125
267
  is_list: true
126
- neatId: http://purl.org/cognite/neat/neatId_0ed58b00_11ab_4774_9c66_d2eabc5f8f42
268
+ neatId: http://purl.org/cognite/neat/neatId_0d4ee2f5_9f69_4bed_9425_1cfb3f67206c
127
269
  nullable: true
128
270
  value_type: text
129
271
  view: ClassicEvent
@@ -135,7 +277,7 @@ properties:
135
277
  immutable: false
136
278
  index: source
137
279
  is_list: false
138
- neatId: http://purl.org/cognite/neat/neatId_b0c7d726_6504_4189_896d_1b978d9ef5b2
280
+ neatId: http://purl.org/cognite/neat/neatId_c5969c32_e96b_4c94_832f_5364b838fc2a
139
281
  nullable: true
140
282
  value_type: ClassicSourceSystem
141
283
  view: ClassicEvent
@@ -146,11 +288,23 @@ properties:
146
288
  immutable: false
147
289
  index: startTime
148
290
  is_list: false
149
- neatId: http://purl.org/cognite/neat/neatId_2304763f_d0f3_4723_a4c5_2e879069195d
291
+ neatId: http://purl.org/cognite/neat/neatId_25111812_f05c_47f5_901e_f82ccc6ed099
150
292
  nullable: true
151
293
  value_type: timestamp
152
294
  view: ClassicEvent
153
295
  view_property: startTime
296
+ - connection: direct
297
+ container: cdf_cdm:CogniteActivity
298
+ container_property: timeSeries
299
+ description: A list of time series the activity is related to.
300
+ immutable: false
301
+ is_list: true
302
+ name: Time series
303
+ neatId: http://purl.org/cognite/neat/neatId_8741da5d_97e2_4d68_8d0f_730f17042d9d
304
+ nullable: true
305
+ value_type: ClassicTimeSeries
306
+ view: ClassicEvent
307
+ view_property: timeSeries
154
308
  - connection: direct
155
309
  container: cdf_cdm:CogniteFile
156
310
  container_property: assets
@@ -158,7 +312,7 @@ properties:
158
312
  immutable: false
159
313
  is_list: true
160
314
  name: Assets
161
- neatId: http://purl.org/cognite/neat/neatId_77ec0da0_839b_4b52_9f64_35382213dac6
315
+ neatId: http://purl.org/cognite/neat/neatId_49ac77e9_21fd_4987_9c85_48cc42fa6583
162
316
  nullable: true
163
317
  value_type: ClassicAsset
164
318
  view: ClassicFile
@@ -170,17 +324,25 @@ properties:
170
324
  immutable: false
171
325
  is_list: false
172
326
  name: Directory
173
- neatId: http://purl.org/cognite/neat/neatId_f06ff883_4f00_4a5d_b9c3_83664b62b573
327
+ neatId: http://purl.org/cognite/neat/neatId_4076aa57_8d74_414c_bac8_0a358e471ecc
174
328
  nullable: true
175
329
  value_type: text
176
330
  view: ClassicFile
177
331
  view_property: directory
332
+ - connection: reverse(property=files)
333
+ description: An automatically updated list of equipment this file is related to.
334
+ is_list: true
335
+ name: Equipment
336
+ neatId: http://purl.org/cognite/neat/neatId_7810e930_e85f_4dbf_afc1_0cae559aa035
337
+ value_type: ClassicEquipment
338
+ view: ClassicFile
339
+ view_property: equipment
178
340
  - container: cdf_cdm:CogniteDescribable
179
341
  container_property: tags
180
342
  description: Text based labels for generic use, limited to 1000
181
343
  immutable: false
182
344
  is_list: true
183
- neatId: http://purl.org/cognite/neat/neatId_5d721016_c99e_4f73_8e9d_bdd27b4472c3
345
+ neatId: http://purl.org/cognite/neat/neatId_637da076_d2a6_41dc_b0f3_e8800f17ba5f
184
346
  nullable: true
185
347
  value_type: text
186
348
  view: ClassicFile
@@ -191,7 +353,7 @@ properties:
191
353
  immutable: false
192
354
  is_list: false
193
355
  name: MIME type
194
- neatId: http://purl.org/cognite/neat/neatId_d65bd20a_bcb9_4243_b3e9_06188378c4cc
356
+ neatId: http://purl.org/cognite/neat/neatId_ce1d8507_aec7_4189_922d_8084909ecd71
195
357
  nullable: true
196
358
  value_type: text
197
359
  view: ClassicFile
@@ -202,7 +364,7 @@ properties:
202
364
  immutable: false
203
365
  index: name
204
366
  is_list: false
205
- neatId: http://purl.org/cognite/neat/neatId_793d1480_2fba_4dde_8325_c11ef7e57de5
367
+ neatId: http://purl.org/cognite/neat/neatId_7f766b8e_dd9a_41b5_a989_12607e27c4ba
206
368
  nullable: true
207
369
  value_type: text
208
370
  view: ClassicFile
@@ -214,7 +376,7 @@ properties:
214
376
  immutable: false
215
377
  index: source
216
378
  is_list: false
217
- neatId: http://purl.org/cognite/neat/neatId_87aa809b_a7cc_4136_885c_276844ed6b38
379
+ neatId: http://purl.org/cognite/neat/neatId_050092ac_080f_46e8_bdf9_7dfa61158191
218
380
  nullable: true
219
381
  value_type: ClassicSourceSystem
220
382
  view: ClassicFile
@@ -225,7 +387,7 @@ properties:
225
387
  immutable: false
226
388
  index: sourceCreatedTime
227
389
  is_list: false
228
- neatId: http://purl.org/cognite/neat/neatId_26b7346d_3d5f_43a5_894e_96707e89227c
390
+ neatId: http://purl.org/cognite/neat/neatId_16fa6dbb_58a3_481d_9bfb_48940cd34d5a
229
391
  nullable: true
230
392
  value_type: timestamp
231
393
  view: ClassicFile
@@ -236,7 +398,7 @@ properties:
236
398
  immutable: false
237
399
  index: sourceUpdatedTime
238
400
  is_list: false
239
- neatId: http://purl.org/cognite/neat/neatId_4b6be7c8_8b26_4f11_9ad5_283123a54c91
401
+ neatId: http://purl.org/cognite/neat/neatId_9d626527_9cf4_4df9_b82a_c71aa7ebe4cb
240
402
  nullable: true
241
403
  value_type: timestamp
242
404
  view: ClassicFile
@@ -245,11 +407,20 @@ properties:
245
407
  container_property: name
246
408
  immutable: false
247
409
  is_list: false
248
- neatId: http://purl.org/cognite/neat/neatId_7d7c614a_43ea_4fc2_abb0_3f3fdddaa239
410
+ neatId: http://purl.org/cognite/neat/neatId_77d10af9_1638_4800_9a8f_0e31c7fd4c16
249
411
  nullable: true
250
412
  value_type: text
251
413
  view: ClassicSourceSystem
252
414
  view_property: name
415
+ - connection: reverse(property=timeSeries)
416
+ description: An automatically updated list of activities the time series is related
417
+ to.
418
+ is_list: true
419
+ name: Activities
420
+ neatId: http://purl.org/cognite/neat/neatId_4dd4937e_8c18_42ae_a03e_ac6df70f3159
421
+ value_type: ClassicEvent
422
+ view: ClassicTimeSeries
423
+ view_property: activities
253
424
  - connection: direct
254
425
  container: cdf_cdm:CogniteTimeSeries
255
426
  container_property: assets
@@ -257,7 +428,7 @@ properties:
257
428
  immutable: false
258
429
  is_list: true
259
430
  name: Assets
260
- neatId: http://purl.org/cognite/neat/neatId_bc4e12b0_82bd_4859_995d_d219181f9b52
431
+ neatId: http://purl.org/cognite/neat/neatId_78d5fc39_8487_45d8_a118_b3519f944ead
261
432
  nullable: true
262
433
  value_type: ClassicAsset
263
434
  view: ClassicTimeSeries
@@ -267,11 +438,23 @@ properties:
267
438
  description: Description of the instance
268
439
  immutable: false
269
440
  is_list: false
270
- neatId: http://purl.org/cognite/neat/neatId_73372a76_aa52_47c1_bdae_34bfbd80f572
441
+ neatId: http://purl.org/cognite/neat/neatId_421f69b9_460d_4bce_ae79_efc233eb6a7a
271
442
  nullable: true
272
443
  value_type: text
273
444
  view: ClassicTimeSeries
274
445
  view_property: description
446
+ - connection: direct
447
+ container: cdf_cdm:CogniteTimeSeries
448
+ container_property: equipment
449
+ description: A list of equipment the time series is related to.
450
+ immutable: false
451
+ is_list: true
452
+ name: Equipment
453
+ neatId: http://purl.org/cognite/neat/neatId_786d14cf_cf7d_4859_92a7_51bf19b557e0
454
+ nullable: true
455
+ value_type: ClassicEquipment
456
+ view: ClassicTimeSeries
457
+ view_property: equipment
275
458
  - container: cdf_cdm:CogniteTimeSeries
276
459
  container_property: isStep
277
460
  default: 0
@@ -279,7 +462,7 @@ properties:
279
462
  immutable: false
280
463
  is_list: false
281
464
  name: Is step
282
- neatId: http://purl.org/cognite/neat/neatId_cfa476ae_125b_4e6a_8caf_152f44095037
465
+ neatId: http://purl.org/cognite/neat/neatId_3c04c07d_15e9_4ef2_95cd_89410215513a
283
466
  nullable: false
284
467
  value_type: boolean
285
468
  view: ClassicTimeSeries
@@ -290,7 +473,7 @@ properties:
290
473
  immutable: true
291
474
  is_list: false
292
475
  name: Type
293
- neatId: http://purl.org/cognite/neat/neatId_7943437b_6138_47e6_889a_f414280df48e
476
+ neatId: http://purl.org/cognite/neat/neatId_82015271_2d18_4d19_a4f4_ab74f0c2ef1b
294
477
  nullable: false
295
478
  value_type: enum(collection=timeseriesType)
296
479
  view: ClassicTimeSeries
@@ -300,7 +483,7 @@ properties:
300
483
  description: Alternative names for the node
301
484
  immutable: false
302
485
  is_list: true
303
- neatId: http://purl.org/cognite/neat/neatId_15cfc454_8fc0_443b_8af6_9db5368d6fd4
486
+ neatId: http://purl.org/cognite/neat/neatId_5848e41f_1b5c_401a_ab59_72822e0dcc70
304
487
  nullable: true
305
488
  value_type: text
306
489
  view: ClassicTimeSeries
@@ -311,7 +494,7 @@ properties:
311
494
  immutable: false
312
495
  index: name
313
496
  is_list: false
314
- neatId: http://purl.org/cognite/neat/neatId_01370dd7_3371_40a1_b4eb_ddfcbbac63c8
497
+ neatId: http://purl.org/cognite/neat/neatId_38c55983_af5b_4f62_ac62_8c788c12009e
315
498
  nullable: true
316
499
  value_type: text
317
500
  view: ClassicTimeSeries
@@ -321,18 +504,30 @@ properties:
321
504
  description: Text based labels for generic use, limited to 1000
322
505
  immutable: false
323
506
  is_list: true
324
- neatId: http://purl.org/cognite/neat/neatId_d7e122ee_421a_490f_9bec_b0f9f5ececfd
507
+ neatId: http://purl.org/cognite/neat/neatId_b30b7973_0a45_412e_a1e6_2f791ae37ae4
325
508
  nullable: true
326
509
  value_type: text
327
510
  view: ClassicTimeSeries
328
511
  view_property: securityCategories
512
+ - connection: direct
513
+ container: cdf_cdm:CogniteSourceable
514
+ container_property: source
515
+ description: Direct relation to a source system
516
+ immutable: false
517
+ index: source
518
+ is_list: false
519
+ neatId: http://purl.org/cognite/neat/neatId_9fb95a34_b79b_490f_8362_fc8009874b01
520
+ nullable: true
521
+ value_type: ClassicSourceSystem
522
+ view: ClassicTimeSeries
523
+ view_property: source
329
524
  - container: cdf_cdm:CogniteTimeSeries
330
525
  container_property: sourceUnit
331
526
  description: The unit specified in the source system.
332
527
  immutable: false
333
528
  is_list: false
334
529
  name: Source unit
335
- neatId: http://purl.org/cognite/neat/neatId_3bfc11e0_9d27_47ea_841e_de1e4363dbed
530
+ neatId: http://purl.org/cognite/neat/neatId_7abfaf90_2178_4e02_8b2f_95bb221d7a30
336
531
  nullable: true
337
532
  value_type: text
338
533
  view: ClassicTimeSeries
@@ -344,7 +539,7 @@ properties:
344
539
  immutable: false
345
540
  is_list: false
346
541
  name: Unit
347
- neatId: http://purl.org/cognite/neat/neatId_33b75362_e127_4a5a_9690_2df55501250c
542
+ neatId: http://purl.org/cognite/neat/neatId_650ad782_a303_4c06_b700_16ba3d1c695b
348
543
  nullable: true
349
544
  value_type: cdf_cdm:CogniteUnit(version=v1)
350
545
  view: ClassicTimeSeries
@@ -353,37 +548,43 @@ views:
353
548
  - description: Represents a single unit of measurement
354
549
  implements: cdf_cdm:CogniteDescribable(version=v1)
355
550
  in_model: true
356
- neatId: http://purl.org/cognite/neat/neatId_f3397b4c_b6e0_4701_8ea3_7edbf72bf50d
551
+ neatId: http://purl.org/cognite/neat/neatId_9be483e1_8313_4558_b7df_0268a58a6bc8
357
552
  view: cdf_cdm:CogniteUnit(version=v1)
358
553
  - description: Assets represent systems that support industrial functions or processes.
359
554
  Assets are often called 'functional location'.
360
555
  implements: cdf_cdm:CogniteAsset(version=v1)
361
556
  in_model: true
362
557
  name: Asset
363
- neatId: http://purl.org/cognite/neat/neatId_23380192_0c8a_4870_9684_cb91e5e5d67d
558
+ neatId: http://purl.org/cognite/neat/neatId_be2316ba_03ce_4f6a_9ee3_30c94dcb15ad
364
559
  view: ClassicAsset
560
+ - description: Equipment represents physical supplies or devices.
561
+ implements: cdf_cdm:CogniteEquipment(version=v1)
562
+ in_model: true
563
+ name: Equipment
564
+ neatId: http://purl.org/cognite/neat/neatId_0e02efdf_7279_49e7_a027_a77002e69134
565
+ view: ClassicEquipment
365
566
  - description: Represents activities. Activities typically happen over a period and
366
567
  have a start and end time.
367
568
  implements: cdf_cdm:CogniteActivity(version=v1)
368
569
  in_model: true
369
570
  name: Activity
370
- neatId: http://purl.org/cognite/neat/neatId_3c0bda0e_9af0_4c75_9f1c_d76a6eae2e44
571
+ neatId: http://purl.org/cognite/neat/neatId_539c7bd5_adb5_466a_909d_607ed7a3cd5c
371
572
  view: ClassicEvent
372
573
  - description: Represents files.
373
574
  implements: cdf_cdm:CogniteFile(version=v1)
374
575
  in_model: true
375
576
  name: File
376
- neatId: http://purl.org/cognite/neat/neatId_4a92bfcc_a259_4ec6_b58b_bdb386ba9ce2
577
+ neatId: http://purl.org/cognite/neat/neatId_3f7a661f_5b2b_4a4c_9ae8_e443d8c0ee1c
377
578
  view: ClassicFile
378
579
  - description: The CogniteSourceSystem core concept is used to standardize the way
379
580
  source system is stored.
380
581
  implements: cdf_cdm:CogniteSourceSystem(version=v1)
381
582
  in_model: true
382
- neatId: http://purl.org/cognite/neat/neatId_280264e2_a809_4feb_81e3_454adc00fdde
583
+ neatId: http://purl.org/cognite/neat/neatId_53b8b70c_eb54_4b92_9d9d_d77722badea0
383
584
  view: ClassicSourceSystem
384
585
  - description: Represents a series of data points in time order.
385
586
  implements: cdf_cdm:CogniteTimeSeries(version=v1)
386
587
  in_model: true
387
588
  name: Time series
388
- neatId: http://purl.org/cognite/neat/neatId_0730d4f7_51ce_40de_a8af_b9efff498b06
589
+ neatId: http://purl.org/cognite/neat/neatId_a5f93a7e_9e4a_4229_92bc_ef8e372d86a2
389
590
  view: ClassicTimeSeries
@@ -1,33 +1,40 @@
1
- from ._base import RulesPipeline, RulesTransformer
1
+ from ._base import RulesTransformer
2
2
  from ._converters import (
3
+ AddClassImplements,
3
4
  ConvertToRules,
4
5
  DMSToInformation,
6
+ IncludeReferenced,
5
7
  InformationToDMS,
6
8
  PrefixEntities,
7
9
  ReduceCogniteModel,
8
10
  SetIDDMSModel,
9
11
  ToCompliantEntities,
10
- ToExtension,
12
+ ToDataProductModel,
13
+ ToEnterpriseModel,
14
+ ToExtensionModel,
15
+ ToSolutionModel,
11
16
  )
12
17
  from ._mapping import AsParentPropertyId, MapOneToOne, RuleMapper
13
- from ._pipelines import ImporterPipeline
14
18
  from ._verification import VerifyAnyRules, VerifyDMSRules, VerifyInformationRules
15
19
 
16
20
  __all__ = [
21
+ "AddClassImplements",
17
22
  "AsParentPropertyId",
18
23
  "ConvertToRules",
19
24
  "DMSToInformation",
20
- "ImporterPipeline",
25
+ "IncludeReferenced",
21
26
  "InformationToDMS",
22
27
  "MapOneToOne",
23
28
  "PrefixEntities",
24
29
  "ReduceCogniteModel",
25
30
  "RuleMapper",
26
- "RulesPipeline",
27
31
  "RulesTransformer",
28
32
  "SetIDDMSModel",
29
33
  "ToCompliantEntities",
30
- "ToExtension",
34
+ "ToDataProductModel",
35
+ "ToEnterpriseModel",
36
+ "ToExtensionModel",
37
+ "ToSolutionModel",
31
38
  "VerifyAnyRules",
32
39
  "VerifyDMSRules",
33
40
  "VerifyInformationRules",