@tiangong-lca/tidas-sdk 0.1.41 → 0.1.44

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.
Files changed (65) hide show
  1. package/dist/contracts/index.d.ts +2 -0
  2. package/dist/contracts/index.d.ts.map +1 -0
  3. package/dist/contracts/index.js +18 -0
  4. package/dist/contracts/index.js.map +1 -0
  5. package/dist/contracts/tidas-contract.d.ts +49 -0
  6. package/dist/contracts/tidas-contract.d.ts.map +1 -0
  7. package/dist/contracts/tidas-contract.js +272 -0
  8. package/dist/contracts/tidas-contract.js.map +1 -0
  9. package/dist/core/config/ValidationConfig.d.ts +2 -1
  10. package/dist/core/config/ValidationConfig.d.ts.map +1 -1
  11. package/dist/core/config/ValidationConfig.js +15 -4
  12. package/dist/core/config/ValidationConfig.js.map +1 -1
  13. package/dist/core/index.d.ts +1 -0
  14. package/dist/core/index.d.ts.map +1 -1
  15. package/dist/core/index.js +1 -0
  16. package/dist/core/index.js.map +1 -1
  17. package/dist/core/validation/tidas-languages.d.ts +4 -0
  18. package/dist/core/validation/tidas-languages.d.ts.map +1 -0
  19. package/dist/core/validation/tidas-languages.js +192 -0
  20. package/dist/core/validation/tidas-languages.js.map +1 -0
  21. package/dist/data/bundled-methodologies.json +4 -0
  22. package/dist/index.d.ts +1 -0
  23. package/dist/index.d.ts.map +1 -1
  24. package/dist/index.js +1 -0
  25. package/dist/index.js.map +1 -1
  26. package/dist/parity/validation-rules.d.ts.map +1 -1
  27. package/dist/parity/validation-rules.js +11 -6
  28. package/dist/parity/validation-rules.js.map +1 -1
  29. package/dist/runtime-assets/tidas/schemas/tidas_contacts.json +2 -24
  30. package/dist/runtime-assets/tidas/schemas/tidas_data_types.json +28 -3
  31. package/dist/runtime-assets/tidas/schemas/tidas_flows.json +6 -93
  32. package/dist/runtime-assets/tidas/schemas/tidas_lciamethods.json +9 -41
  33. package/dist/runtime-assets/tidas/schemas/tidas_lifecyclemodels.json +2 -46
  34. package/dist/runtime-assets/tidas/schemas/tidas_processes.json +2 -46
  35. package/dist/schemas/tidas_contacts.schema.d.ts +5610 -30
  36. package/dist/schemas/tidas_contacts.schema.d.ts.map +1 -1
  37. package/dist/schemas/tidas_data_types.schema.d.ts +4302 -22
  38. package/dist/schemas/tidas_data_types.schema.d.ts.map +1 -1
  39. package/dist/schemas/tidas_data_types.schema.js +195 -6
  40. package/dist/schemas/tidas_data_types.schema.js.map +1 -1
  41. package/dist/schemas/tidas_flowproperties.schema.d.ts +6358 -34
  42. package/dist/schemas/tidas_flowproperties.schema.d.ts.map +1 -1
  43. package/dist/schemas/tidas_flows.schema.d.ts +10099 -55
  44. package/dist/schemas/tidas_flows.schema.d.ts.map +1 -1
  45. package/dist/schemas/tidas_flows.schema.js +1 -0
  46. package/dist/schemas/tidas_flows.schema.js.map +1 -1
  47. package/dist/schemas/tidas_lciamethods.schema.d.ts +27683 -155
  48. package/dist/schemas/tidas_lciamethods.schema.d.ts.map +1 -1
  49. package/dist/schemas/tidas_lciamethods.schema.js +7 -6
  50. package/dist/schemas/tidas_lciamethods.schema.js.map +1 -1
  51. package/dist/schemas/tidas_lifecyclemodels.schema.d.ts +18326 -98
  52. package/dist/schemas/tidas_lifecyclemodels.schema.d.ts.map +1 -1
  53. package/dist/schemas/tidas_processes.schema.d.ts +35156 -188
  54. package/dist/schemas/tidas_processes.schema.d.ts.map +1 -1
  55. package/dist/schemas/tidas_sources.schema.d.ts +4488 -24
  56. package/dist/schemas/tidas_sources.schema.d.ts.map +1 -1
  57. package/dist/schemas/tidas_unitgroups.schema.d.ts +5236 -28
  58. package/dist/schemas/tidas_unitgroups.schema.d.ts.map +1 -1
  59. package/dist/types/tidas_data_types.d.ts +8 -4
  60. package/dist/types/tidas_data_types.d.ts.map +1 -1
  61. package/dist/types/tidas_flows.d.ts +1 -1
  62. package/dist/types/tidas_flows.d.ts.map +1 -1
  63. package/dist/types/tidas_lciamethods.d.ts +7 -7
  64. package/dist/types/tidas_lciamethods.d.ts.map +1 -1
  65. package/package.json +6 -1
@@ -159,41 +159,8 @@
159
159
  }
160
160
  ],
161
161
  "uniqueItems": true,
162
- "allOf": [
163
- {
164
- "maxContains": 1,
165
- "minContains": 0,
166
- "contains": {
167
- "properties": {
168
- "@level": {
169
- "const": "0"
170
- }
171
- }
172
- }
173
- },
174
- {
175
- "maxContains": 1,
176
- "minContains": 0,
177
- "contains": {
178
- "properties": {
179
- "@level": {
180
- "const": "1"
181
- }
182
- }
183
- }
184
- },
185
- {
186
- "maxContains": 1,
187
- "minContains": 0,
188
- "contains": {
189
- "properties": {
190
- "@level": {
191
- "const": "2"
192
- }
193
- }
194
- }
195
- }
196
- ]
162
+ "maxItems": 3,
163
+ "additionalItems": false
197
164
  },
198
165
  "common:other": {
199
166
  "$ref": "tidas_data_types.json#/$defs/CommonOther"
@@ -336,63 +303,8 @@
336
303
  }
337
304
  ],
338
305
  "uniqueItems": true,
339
- "allOf": [
340
- {
341
- "maxContains": 1,
342
- "minContains": 0,
343
- "contains": {
344
- "properties": {
345
- "@level": {
346
- "const": "0"
347
- }
348
- }
349
- }
350
- },
351
- {
352
- "maxContains": 1,
353
- "minContains": 0,
354
- "contains": {
355
- "properties": {
356
- "@level": {
357
- "const": "1"
358
- }
359
- }
360
- }
361
- },
362
- {
363
- "maxContains": 1,
364
- "minContains": 0,
365
- "contains": {
366
- "properties": {
367
- "@level": {
368
- "const": "2"
369
- }
370
- }
371
- }
372
- },
373
- {
374
- "maxContains": 1,
375
- "minContains": 0,
376
- "contains": {
377
- "properties": {
378
- "@level": {
379
- "const": "3"
380
- }
381
- }
382
- }
383
- },
384
- {
385
- "maxContains": 1,
386
- "minContains": 0,
387
- "contains": {
388
- "properties": {
389
- "@level": {
390
- "const": "4"
391
- }
392
- }
393
- }
394
- }
395
- ]
306
+ "maxItems": 5,
307
+ "additionalItems": false
396
308
  },
397
309
  "common:other": {
398
310
  "$ref": "tidas_data_types.json#/$defs/CommonOther"
@@ -499,7 +411,8 @@
499
411
  "enum": [
500
412
  "Elementary flow",
501
413
  "Product flow",
502
- "Waste flow"
414
+ "Waste flow",
415
+ "Other flow"
503
416
  ]
504
417
  },
505
418
  "common:other": {
@@ -132,41 +132,8 @@
132
132
  }
133
133
  ],
134
134
  "uniqueItems": true,
135
- "allOf": [
136
- {
137
- "maxContains": 1,
138
- "minContains": 0,
139
- "contains": {
140
- "properties": {
141
- "@level": {
142
- "const": "0"
143
- }
144
- }
145
- }
146
- },
147
- {
148
- "maxContains": 1,
149
- "minContains": 0,
150
- "contains": {
151
- "properties": {
152
- "@level": {
153
- "const": "1"
154
- }
155
- }
156
- }
157
- },
158
- {
159
- "maxContains": 1,
160
- "minContains": 0,
161
- "contains": {
162
- "properties": {
163
- "@level": {
164
- "const": "2"
165
- }
166
- }
167
- }
168
- }
169
- ]
135
+ "maxItems": 3,
136
+ "additionalItems": false
170
137
  }
171
138
  ]
172
139
  },
@@ -212,6 +179,7 @@
212
179
  "Natural resources",
213
180
  "Natural environment",
214
181
  "Human health",
182
+ "Man-made environment",
215
183
  "Other"
216
184
  ]
217
185
  },
@@ -570,7 +538,7 @@
570
538
  "Cross-check with other data set",
571
539
  "Expert judgement",
572
540
  "Mass balance",
573
- "Compliance with legal limitsRegulated Inputs and Outputs e.g. emission data are validated for compliance with legal limits, typically after relating and scaling the data to the regulated processes/sites etc.",
541
+ "Compliance with legal limits",
574
542
  "Compliance with ISO 14040 to 14044",
575
543
  "Documentation",
576
544
  "Evidence collection by means of plant visits and/or interviews"
@@ -597,7 +565,7 @@
597
565
  "Cross-check with other data set",
598
566
  "Expert judgement",
599
567
  "Mass balance",
600
- "Compliance with legal limitsRegulated Inputs and Outputs e.g. emission data are validated for compliance with legal limits, typically after relating and scaling the data to the regulated processes/sites etc.",
568
+ "Compliance with legal limits",
601
569
  "Compliance with ISO 14040 to 14044",
602
570
  "Documentation",
603
571
  "Evidence collection by means of plant visits and/or interviews"
@@ -653,7 +621,7 @@
653
621
  "Cross-check with other data set",
654
622
  "Expert judgement",
655
623
  "Mass balance",
656
- "Compliance with legal limitsRegulated Inputs and Outputs e.g. emission data are validated for compliance with legal limits, typically after relating and scaling the data to the regulated processes/sites etc.",
624
+ "Compliance with legal limits",
657
625
  "Compliance with ISO 14040 to 14044",
658
626
  "Documentation",
659
627
  "Evidence collection by means of plant visits and/or interviews"
@@ -680,7 +648,7 @@
680
648
  "Cross-check with other data set",
681
649
  "Expert judgement",
682
650
  "Mass balance",
683
- "Compliance with legal limitsRegulated Inputs and Outputs e.g. emission data are validated for compliance with legal limits, typically after relating and scaling the data to the regulated processes/sites etc.",
651
+ "Compliance with legal limits",
684
652
  "Compliance with ISO 14040 to 14044",
685
653
  "Documentation",
686
654
  "Evidence collection by means of plant visits and/or interviews"
@@ -1155,7 +1123,7 @@
1155
1123
  "enum": [
1156
1124
  "undefined",
1157
1125
  "log-normal",
1158
- "normalisation",
1126
+ "normal",
1159
1127
  "triangular",
1160
1128
  "uniform"
1161
1129
  ]
@@ -1245,7 +1213,7 @@
1245
1213
  "enum": [
1246
1214
  "undefined",
1247
1215
  "log-normal",
1248
- "normalisation",
1216
+ "normal",
1249
1217
  "triangular",
1250
1218
  "uniform"
1251
1219
  ]
@@ -188,52 +188,8 @@
188
188
  }
189
189
  ],
190
190
  "uniqueItems": true,
191
- "allOf": [
192
- {
193
- "maxContains": 1,
194
- "minContains": 0,
195
- "contains": {
196
- "properties": {
197
- "@level": {
198
- "const": "0"
199
- }
200
- }
201
- }
202
- },
203
- {
204
- "maxContains": 1,
205
- "minContains": 0,
206
- "contains": {
207
- "properties": {
208
- "@level": {
209
- "const": "1"
210
- }
211
- }
212
- }
213
- },
214
- {
215
- "maxContains": 1,
216
- "minContains": 0,
217
- "contains": {
218
- "properties": {
219
- "@level": {
220
- "const": "2"
221
- }
222
- }
223
- }
224
- },
225
- {
226
- "maxContains": 1,
227
- "minContains": 0,
228
- "contains": {
229
- "properties": {
230
- "@level": {
231
- "const": "3"
232
- }
233
- }
234
- }
235
- }
236
- ]
191
+ "maxItems": 4,
192
+ "additionalItems": false
237
193
  },
238
194
  "common:other": {
239
195
  "$ref": "tidas_data_types.json#/$defs/CommonOther"
@@ -196,52 +196,8 @@
196
196
  }
197
197
  ],
198
198
  "uniqueItems": true,
199
- "allOf": [
200
- {
201
- "maxContains": 1,
202
- "minContains": 0,
203
- "contains": {
204
- "properties": {
205
- "@level": {
206
- "const": "0"
207
- }
208
- }
209
- }
210
- },
211
- {
212
- "maxContains": 1,
213
- "minContains": 0,
214
- "contains": {
215
- "properties": {
216
- "@level": {
217
- "const": "1"
218
- }
219
- }
220
- }
221
- },
222
- {
223
- "maxContains": 1,
224
- "minContains": 0,
225
- "contains": {
226
- "properties": {
227
- "@level": {
228
- "const": "2"
229
- }
230
- }
231
- }
232
- },
233
- {
234
- "maxContains": 1,
235
- "minContains": 0,
236
- "contains": {
237
- "properties": {
238
- "@level": {
239
- "const": "3"
240
- }
241
- }
242
- }
243
- }
244
- ]
199
+ "maxItems": 4,
200
+ "additionalItems": false
245
201
  },
246
202
  "common:other": {
247
203
  "$ref": "tidas_data_types.json#/$defs/CommonOther"