@tiangong-lca/tidas-sdk 0.1.42 → 0.1.45
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.
- package/dist/core/entities/TidasLifeCycleModel.js +3 -1
- package/dist/core/entities/TidasLifeCycleModel.js.map +1 -1
- package/dist/core/entities/TidasProcess.js +3 -1
- package/dist/core/entities/TidasProcess.js.map +1 -1
- package/dist/runtime-assets/tidas/schema.lock.json +269 -0
- package/dist/runtime-assets/tidas/schemas/tidas_contacts.json +7 -25
- package/dist/runtime-assets/tidas/schemas/tidas_data_types.json +245 -30
- package/dist/runtime-assets/tidas/schemas/tidas_flowproperties.json +5 -1
- package/dist/runtime-assets/tidas/schemas/tidas_flows.json +195 -218
- package/dist/runtime-assets/tidas/schemas/tidas_lciamethods.json +50 -111
- package/dist/runtime-assets/tidas/schemas/tidas_lifecyclemodels.json +242 -163
- package/dist/runtime-assets/tidas/schemas/tidas_locations_category.json +8 -4
- package/dist/runtime-assets/tidas/schemas/tidas_processes.json +198 -158
- package/dist/runtime-assets/tidas/schemas/tidas_sources.json +28 -7
- package/dist/runtime-assets/tidas/schemas/tidas_unitgroups.json +5 -1
- package/dist/runtime-assets/tidas/schemas_zh/tidas_contacts.json +294 -0
- package/dist/runtime-assets/tidas/schemas_zh/tidas_contacts_category.json +126 -0
- package/dist/runtime-assets/tidas/schemas_zh/tidas_data_types.json +599 -0
- package/dist/runtime-assets/tidas/schemas_zh/tidas_flowproperties.json +307 -0
- package/dist/runtime-assets/tidas/schemas_zh/tidas_flowproperties_category.json +61 -0
- package/dist/runtime-assets/tidas/schemas_zh/tidas_flows.json +787 -0
- package/dist/runtime-assets/tidas/schemas_zh/tidas_flows_elementary_category.json +720 -0
- package/dist/runtime-assets/tidas/schemas_zh/tidas_flows_product_category.json +59623 -0
- package/dist/runtime-assets/tidas/schemas_zh/tidas_lciamethods.json +1266 -0
- package/dist/runtime-assets/tidas/schemas_zh/tidas_lciamethods_category.json +685 -0
- package/dist/runtime-assets/tidas/schemas_zh/tidas_lifecyclemodels.json +1453 -0
- package/dist/runtime-assets/tidas/schemas_zh/tidas_locations_category.json +2597 -0
- package/dist/runtime-assets/tidas/schemas_zh/tidas_processes.json +1686 -0
- package/dist/runtime-assets/tidas/schemas_zh/tidas_processes_category.json +10795 -0
- package/dist/runtime-assets/tidas/schemas_zh/tidas_sources.json +249 -0
- package/dist/runtime-assets/tidas/schemas_zh/tidas_sources_category.json +100 -0
- package/dist/runtime-assets/tidas/schemas_zh/tidas_unitgroups.json +342 -0
- package/dist/runtime-assets/tidas/schemas_zh/tidas_unitgroups_category.json +61 -0
- package/dist/schemas/tidas_contacts.schema.d.ts +20 -10
- package/dist/schemas/tidas_contacts.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_contacts.schema.js +1 -1
- package/dist/schemas/tidas_contacts.schema.js.map +1 -1
- package/dist/schemas/tidas_data_types.schema.d.ts +10 -6
- package/dist/schemas/tidas_data_types.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_data_types.schema.js +32 -15
- package/dist/schemas/tidas_data_types.schema.js.map +1 -1
- package/dist/schemas/tidas_flowproperties.schema.d.ts +28 -14
- package/dist/schemas/tidas_flowproperties.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_flowproperties.schema.js +1 -1
- package/dist/schemas/tidas_flowproperties.schema.js.map +1 -1
- package/dist/schemas/tidas_flows.schema.d.ts +36 -18
- package/dist/schemas/tidas_flows.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_flows.schema.js +1 -1
- package/dist/schemas/tidas_flows.schema.js.map +1 -1
- package/dist/schemas/tidas_lciamethods.schema.d.ts +117 -63
- package/dist/schemas/tidas_lciamethods.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_lciamethods.schema.js +36 -62
- package/dist/schemas/tidas_lciamethods.schema.js.map +1 -1
- package/dist/schemas/tidas_lifecyclemodels.schema.d.ts +98 -39
- package/dist/schemas/tidas_lifecyclemodels.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_lifecyclemodels.schema.js +50 -24
- package/dist/schemas/tidas_lifecyclemodels.schema.js.map +1 -1
- package/dist/schemas/tidas_locations_category.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_locations_category.schema.js +4 -3
- package/dist/schemas/tidas_locations_category.schema.js.map +1 -1
- package/dist/schemas/tidas_processes.schema.d.ts +130 -60
- package/dist/schemas/tidas_processes.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_processes.schema.js +47 -27
- package/dist/schemas/tidas_processes.schema.js.map +1 -1
- package/dist/schemas/tidas_sources.schema.d.ts +24 -12
- package/dist/schemas/tidas_sources.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_sources.schema.js +9 -4
- package/dist/schemas/tidas_sources.schema.js.map +1 -1
- package/dist/schemas/tidas_unitgroups.schema.d.ts +20 -10
- package/dist/schemas/tidas_unitgroups.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_unitgroups.schema.js +1 -1
- package/dist/schemas/tidas_unitgroups.schema.js.map +1 -1
- package/dist/types/tidas_contacts.d.ts +2 -2
- package/dist/types/tidas_contacts.d.ts.map +1 -1
- package/dist/types/tidas_data_types.d.ts +19 -7
- package/dist/types/tidas_data_types.d.ts.map +1 -1
- package/dist/types/tidas_flowproperties.d.ts +2 -2
- package/dist/types/tidas_flowproperties.d.ts.map +1 -1
- package/dist/types/tidas_flows.d.ts +2 -2
- package/dist/types/tidas_flows.d.ts.map +1 -1
- package/dist/types/tidas_lciamethods.d.ts +11 -11
- package/dist/types/tidas_lciamethods.d.ts.map +1 -1
- package/dist/types/tidas_lifecyclemodels.d.ts +27 -4
- package/dist/types/tidas_lifecyclemodels.d.ts.map +1 -1
- package/dist/types/tidas_locations_category.d.ts +1 -1
- package/dist/types/tidas_locations_category.d.ts.map +1 -1
- package/dist/types/tidas_processes.d.ts +18 -4
- package/dist/types/tidas_processes.d.ts.map +1 -1
- package/dist/types/tidas_sources.d.ts +5 -3
- package/dist/types/tidas_sources.d.ts.map +1 -1
- package/dist/types/tidas_unitgroups.d.ts +2 -2
- package/dist/types/tidas_unitgroups.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -159,41 +159,8 @@
|
|
|
159
159
|
}
|
|
160
160
|
],
|
|
161
161
|
"uniqueItems": true,
|
|
162
|
-
"
|
|
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"
|
|
@@ -204,202 +171,208 @@
|
|
|
204
171
|
]
|
|
205
172
|
},
|
|
206
173
|
"common:classification": {
|
|
207
|
-
"
|
|
208
|
-
"
|
|
209
|
-
|
|
210
|
-
"type": "
|
|
211
|
-
"
|
|
212
|
-
{
|
|
213
|
-
"type": "
|
|
214
|
-
"
|
|
215
|
-
|
|
216
|
-
"
|
|
217
|
-
"
|
|
174
|
+
"description": "Classification of the data set. Either a single system (CPC/ISIC by default) or an array of named systems (e.g. CPC + HS) that coexist.",
|
|
175
|
+
"anyOf": [
|
|
176
|
+
{
|
|
177
|
+
"type": "object",
|
|
178
|
+
"properties": {
|
|
179
|
+
"common:class": {
|
|
180
|
+
"type": "array",
|
|
181
|
+
"items": [
|
|
182
|
+
{
|
|
183
|
+
"type": "object",
|
|
184
|
+
"properties": {
|
|
185
|
+
"@level": {
|
|
186
|
+
"$ref": "tidas_data_types.json#/$defs/LevelType",
|
|
187
|
+
"const": "0"
|
|
188
|
+
},
|
|
189
|
+
"@classId": {
|
|
190
|
+
"type": "string"
|
|
191
|
+
},
|
|
192
|
+
"#text": {
|
|
193
|
+
"type": "string"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"required": [
|
|
197
|
+
"@level",
|
|
198
|
+
"@classId",
|
|
199
|
+
"#text"
|
|
200
|
+
],
|
|
201
|
+
"dependencies": {
|
|
202
|
+
"@level": {
|
|
203
|
+
"$ref": "./tidas_flows_product_category.json"
|
|
204
|
+
}
|
|
205
|
+
}
|
|
218
206
|
},
|
|
219
|
-
|
|
220
|
-
"type": "
|
|
207
|
+
{
|
|
208
|
+
"type": "object",
|
|
209
|
+
"properties": {
|
|
210
|
+
"@level": {
|
|
211
|
+
"$ref": "tidas_data_types.json#/$defs/LevelType",
|
|
212
|
+
"const": "1"
|
|
213
|
+
},
|
|
214
|
+
"@classId": {
|
|
215
|
+
"type": "string"
|
|
216
|
+
},
|
|
217
|
+
"#text": {
|
|
218
|
+
"type": "string"
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
"required": [
|
|
222
|
+
"@level",
|
|
223
|
+
"@classId",
|
|
224
|
+
"#text"
|
|
225
|
+
],
|
|
226
|
+
"dependencies": {
|
|
227
|
+
"@level": {
|
|
228
|
+
"$ref": "./tidas_flows_product_category.json"
|
|
229
|
+
}
|
|
230
|
+
}
|
|
221
231
|
},
|
|
222
|
-
|
|
223
|
-
"type": "
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
"
|
|
242
|
-
|
|
232
|
+
{
|
|
233
|
+
"type": "object",
|
|
234
|
+
"properties": {
|
|
235
|
+
"@level": {
|
|
236
|
+
"$ref": "tidas_data_types.json#/$defs/LevelType",
|
|
237
|
+
"const": "2"
|
|
238
|
+
},
|
|
239
|
+
"@classId": {
|
|
240
|
+
"type": "string"
|
|
241
|
+
},
|
|
242
|
+
"#text": {
|
|
243
|
+
"type": "string"
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"required": [
|
|
247
|
+
"@level",
|
|
248
|
+
"@classId",
|
|
249
|
+
"#text"
|
|
250
|
+
],
|
|
251
|
+
"dependencies": {
|
|
252
|
+
"@level": {
|
|
253
|
+
"$ref": "./tidas_flows_product_category.json"
|
|
254
|
+
}
|
|
255
|
+
}
|
|
243
256
|
},
|
|
244
|
-
|
|
245
|
-
"type": "
|
|
257
|
+
{
|
|
258
|
+
"type": "object",
|
|
259
|
+
"properties": {
|
|
260
|
+
"@level": {
|
|
261
|
+
"$ref": "tidas_data_types.json#/$defs/LevelType",
|
|
262
|
+
"const": "3"
|
|
263
|
+
},
|
|
264
|
+
"@classId": {
|
|
265
|
+
"type": "string"
|
|
266
|
+
},
|
|
267
|
+
"#text": {
|
|
268
|
+
"type": "string"
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
"required": [
|
|
272
|
+
"@level",
|
|
273
|
+
"@classId",
|
|
274
|
+
"#text"
|
|
275
|
+
],
|
|
276
|
+
"dependencies": {
|
|
277
|
+
"@level": {
|
|
278
|
+
"$ref": "./tidas_flows_product_category.json"
|
|
279
|
+
}
|
|
280
|
+
}
|
|
246
281
|
},
|
|
247
|
-
|
|
248
|
-
"type": "
|
|
282
|
+
{
|
|
283
|
+
"type": "object",
|
|
284
|
+
"properties": {
|
|
285
|
+
"@level": {
|
|
286
|
+
"$ref": "tidas_data_types.json#/$defs/LevelType",
|
|
287
|
+
"const": "4"
|
|
288
|
+
},
|
|
289
|
+
"@classId": {
|
|
290
|
+
"type": "string"
|
|
291
|
+
},
|
|
292
|
+
"#text": {
|
|
293
|
+
"type": "string"
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"required": [
|
|
297
|
+
"@level",
|
|
298
|
+
"@classId",
|
|
299
|
+
"#text"
|
|
300
|
+
],
|
|
301
|
+
"dependencies": {
|
|
302
|
+
"@level": {
|
|
303
|
+
"$ref": "./tidas_flows_product_category.json"
|
|
304
|
+
}
|
|
305
|
+
}
|
|
249
306
|
}
|
|
250
|
-
},
|
|
251
|
-
"required": [
|
|
252
|
-
"@level",
|
|
253
|
-
"@classId",
|
|
254
|
-
"#text"
|
|
255
307
|
],
|
|
256
|
-
"
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
}
|
|
260
|
-
}
|
|
308
|
+
"uniqueItems": true,
|
|
309
|
+
"maxItems": 5,
|
|
310
|
+
"additionalItems": false
|
|
261
311
|
},
|
|
262
|
-
{
|
|
263
|
-
"
|
|
264
|
-
"properties": {
|
|
265
|
-
"@level": {
|
|
266
|
-
"$ref": "tidas_data_types.json#/$defs/LevelType",
|
|
267
|
-
"const": "2"
|
|
268
|
-
},
|
|
269
|
-
"@classId": {
|
|
270
|
-
"type": "string"
|
|
271
|
-
},
|
|
272
|
-
"#text": {
|
|
273
|
-
"type": "string"
|
|
274
|
-
}
|
|
275
|
-
},
|
|
276
|
-
"required": [
|
|
277
|
-
"@level",
|
|
278
|
-
"@classId",
|
|
279
|
-
"#text"
|
|
280
|
-
],
|
|
281
|
-
"dependencies": {
|
|
282
|
-
"@level": {
|
|
283
|
-
"$ref": "./tidas_flows_product_category.json"
|
|
284
|
-
}
|
|
285
|
-
}
|
|
312
|
+
"common:other": {
|
|
313
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
286
314
|
},
|
|
287
|
-
{
|
|
288
|
-
"type": "
|
|
289
|
-
"
|
|
290
|
-
"@level": {
|
|
291
|
-
"$ref": "tidas_data_types.json#/$defs/LevelType",
|
|
292
|
-
"const": "3"
|
|
293
|
-
},
|
|
294
|
-
"@classId": {
|
|
295
|
-
"type": "string"
|
|
296
|
-
},
|
|
297
|
-
"#text": {
|
|
298
|
-
"type": "string"
|
|
299
|
-
}
|
|
300
|
-
},
|
|
301
|
-
"required": [
|
|
302
|
-
"@level",
|
|
303
|
-
"@classId",
|
|
304
|
-
"#text"
|
|
305
|
-
],
|
|
306
|
-
"dependencies": {
|
|
307
|
-
"@level": {
|
|
308
|
-
"$ref": "./tidas_flows_product_category.json"
|
|
309
|
-
}
|
|
310
|
-
}
|
|
315
|
+
"@name": {
|
|
316
|
+
"type": "string",
|
|
317
|
+
"description": "Name of the classification system (e.g. CPC, ISIC, HS). Per ILCD this defaults to 'ILCD' when absent; set it explicitly for non-ILCD systems."
|
|
311
318
|
},
|
|
312
|
-
{
|
|
313
|
-
"type": "
|
|
314
|
-
"
|
|
315
|
-
"@level": {
|
|
316
|
-
"$ref": "tidas_data_types.json#/$defs/LevelType",
|
|
317
|
-
"const": "4"
|
|
318
|
-
},
|
|
319
|
-
"@classId": {
|
|
320
|
-
"type": "string"
|
|
321
|
-
},
|
|
322
|
-
"#text": {
|
|
323
|
-
"type": "string"
|
|
324
|
-
}
|
|
325
|
-
},
|
|
326
|
-
"required": [
|
|
327
|
-
"@level",
|
|
328
|
-
"@classId",
|
|
329
|
-
"#text"
|
|
330
|
-
],
|
|
331
|
-
"dependencies": {
|
|
332
|
-
"@level": {
|
|
333
|
-
"$ref": "./tidas_flows_product_category.json"
|
|
334
|
-
}
|
|
335
|
-
}
|
|
319
|
+
"@classes": {
|
|
320
|
+
"type": "string",
|
|
321
|
+
"description": "Optional URL or identifier of the classification file/system."
|
|
336
322
|
}
|
|
337
|
-
|
|
338
|
-
"
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
"
|
|
354
|
-
|
|
355
|
-
"
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
"@level": {
|
|
379
|
-
"const": "3"
|
|
380
|
-
}
|
|
323
|
+
},
|
|
324
|
+
"required": [
|
|
325
|
+
"common:class"
|
|
326
|
+
]
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"type": "array",
|
|
330
|
+
"minItems": 1,
|
|
331
|
+
"items": {
|
|
332
|
+
"type": "object",
|
|
333
|
+
"description": "One named classification system (e.g. CPC or HS). Used in the array form to let multiple systems coexist.",
|
|
334
|
+
"properties": {
|
|
335
|
+
"@name": {
|
|
336
|
+
"type": "string",
|
|
337
|
+
"description": "Name of the classification system (e.g. CPC, ISIC, HS). Per ILCD this defaults to 'ILCD' when absent; set it explicitly for non-ILCD systems."
|
|
338
|
+
},
|
|
339
|
+
"@classes": {
|
|
340
|
+
"type": "string",
|
|
341
|
+
"description": "Optional URL or identifier of the classification file/system."
|
|
342
|
+
},
|
|
343
|
+
"common:class": {
|
|
344
|
+
"type": "array",
|
|
345
|
+
"minItems": 1,
|
|
346
|
+
"items": {
|
|
347
|
+
"type": "object",
|
|
348
|
+
"properties": {
|
|
349
|
+
"@level": {
|
|
350
|
+
"$ref": "tidas_data_types.json#/$defs/LevelType"
|
|
351
|
+
},
|
|
352
|
+
"@classId": {
|
|
353
|
+
"type": "string"
|
|
354
|
+
},
|
|
355
|
+
"#text": {
|
|
356
|
+
"type": "string"
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
"required": [
|
|
360
|
+
"@level",
|
|
361
|
+
"@classId",
|
|
362
|
+
"#text"
|
|
363
|
+
]
|
|
381
364
|
}
|
|
365
|
+
},
|
|
366
|
+
"common:other": {
|
|
367
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
382
368
|
}
|
|
383
369
|
},
|
|
384
|
-
|
|
385
|
-
"
|
|
386
|
-
"
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
"@level": {
|
|
390
|
-
"const": "4"
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
]
|
|
396
|
-
},
|
|
397
|
-
"common:other": {
|
|
398
|
-
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
370
|
+
"required": [
|
|
371
|
+
"@name",
|
|
372
|
+
"common:class"
|
|
373
|
+
]
|
|
374
|
+
}
|
|
399
375
|
}
|
|
400
|
-
},
|
|
401
|
-
"required": [
|
|
402
|
-
"common:class"
|
|
403
376
|
]
|
|
404
377
|
}
|
|
405
378
|
},
|
|
@@ -617,7 +590,11 @@
|
|
|
617
590
|
"type": "object",
|
|
618
591
|
"properties": {
|
|
619
592
|
"common:dataSetVersion": {
|
|
620
|
-
"
|
|
593
|
+
"allOf": [
|
|
594
|
+
{
|
|
595
|
+
"$ref": "tidas_data_types.json#/$defs/Version"
|
|
596
|
+
}
|
|
597
|
+
],
|
|
621
598
|
"description": "Version number of data set. First two digits refer to major updates, the second two digits to minor revisions and error corrections etc. The third three digits are intended for automatic and internal counting of versions during data set development. Together with the data set's UUID, the \"Data set version\" uniquely identifies each data set."
|
|
622
599
|
},
|
|
623
600
|
"common:referenceToPrecedingDataSetVersion": {
|