@tiangong-lca/tidas-sdk 0.1.20 → 0.1.21
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/README.md +174 -451
- package/dist/core/base/TidasEntity.d.ts +190 -0
- package/dist/core/base/TidasEntity.d.ts.map +1 -0
- package/dist/core/base/TidasEntity.js +433 -0
- package/dist/core/base/TidasEntity.js.map +1 -0
- package/dist/core/config/GlobalConfig.d.ts +60 -0
- package/dist/core/config/GlobalConfig.d.ts.map +1 -0
- package/dist/core/config/GlobalConfig.js +110 -0
- package/dist/core/config/GlobalConfig.js.map +1 -0
- package/dist/core/config/ValidationConfig.d.ts +70 -0
- package/dist/core/config/ValidationConfig.d.ts.map +1 -0
- package/dist/core/config/ValidationConfig.js +157 -0
- package/dist/core/config/ValidationConfig.js.map +1 -0
- package/dist/core/copilot/ai.d.ts +150 -0
- package/dist/core/copilot/ai.d.ts.map +1 -0
- package/dist/core/copilot/ai.js +581 -0
- package/dist/core/copilot/ai.js.map +1 -0
- package/dist/core/copilot/base.d.ts +83 -0
- package/dist/core/copilot/base.d.ts.map +1 -0
- package/dist/core/copilot/base.js +193 -0
- package/dist/core/copilot/base.js.map +1 -0
- package/dist/core/copilot/index.d.ts +1 -0
- package/dist/core/copilot/index.d.ts.map +1 -0
- package/dist/core/copilot/index.js +2 -0
- package/dist/core/copilot/index.js.map +1 -0
- package/dist/core/entities/TidasContact.d.ts +14 -0
- package/dist/core/entities/TidasContact.d.ts.map +1 -0
- package/dist/core/entities/TidasContact.js +124 -0
- package/dist/core/entities/TidasContact.js.map +1 -0
- package/dist/core/entities/TidasFlow.d.ts +14 -0
- package/dist/core/entities/TidasFlow.d.ts.map +1 -0
- package/dist/core/entities/TidasFlow.js +143 -0
- package/dist/core/entities/TidasFlow.js.map +1 -0
- package/dist/core/entities/TidasFlowProperty.d.ts +14 -0
- package/dist/core/entities/TidasFlowProperty.d.ts.map +1 -0
- package/dist/core/entities/TidasFlowProperty.js +156 -0
- package/dist/core/entities/TidasFlowProperty.js.map +1 -0
- package/dist/core/entities/TidasLCIAMethod.d.ts +14 -0
- package/dist/core/entities/TidasLCIAMethod.d.ts.map +1 -0
- package/dist/core/entities/TidasLCIAMethod.js +177 -0
- package/dist/core/entities/TidasLCIAMethod.js.map +1 -0
- package/dist/core/entities/TidasLifeCycleModel.d.ts +14 -0
- package/dist/core/entities/TidasLifeCycleModel.d.ts.map +1 -0
- package/dist/core/entities/TidasLifeCycleModel.js +169 -0
- package/dist/core/entities/TidasLifeCycleModel.js.map +1 -0
- package/dist/core/entities/TidasProcess.d.ts +14 -0
- package/dist/core/entities/TidasProcess.d.ts.map +1 -0
- package/dist/core/entities/TidasProcess.js +191 -0
- package/dist/core/entities/TidasProcess.js.map +1 -0
- package/dist/core/entities/TidasSource.d.ts +14 -0
- package/dist/core/entities/TidasSource.d.ts.map +1 -0
- package/dist/core/entities/TidasSource.js +146 -0
- package/dist/core/entities/TidasSource.js.map +1 -0
- package/dist/core/entities/TidasUnitGroup.d.ts +14 -0
- package/dist/core/entities/TidasUnitGroup.d.ts.map +1 -0
- package/dist/core/entities/TidasUnitGroup.js +177 -0
- package/dist/core/entities/TidasUnitGroup.js.map +1 -0
- package/dist/core/factories/index.d.ts +46 -0
- package/dist/core/factories/index.d.ts.map +1 -0
- package/dist/core/factories/index.js +223 -0
- package/dist/core/factories/index.js.map +1 -0
- package/dist/core/index.d.ts +9 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +56 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/zod-factories.d.ts +71 -0
- package/dist/core/zod-factories.d.ts.map +1 -0
- package/dist/core/zod-factories.js +169 -0
- package/dist/core/zod-factories.js.map +1 -0
- package/dist/core/zod-proxy.d.ts +108 -0
- package/dist/core/zod-proxy.d.ts.map +1 -0
- package/dist/core/zod-proxy.js +382 -0
- package/dist/core/zod-proxy.js.map +1 -0
- package/dist/data/bundled-methodologies.json +1259 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +73 -0
- package/dist/index.js.map +1 -0
- package/dist/schemas/index.d.ts +48 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +112 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/tidas_contacts.schema.d.ts +124 -0
- package/dist/schemas/tidas_contacts.schema.d.ts.map +1 -0
- package/dist/schemas/tidas_contacts.schema.js +75 -0
- package/dist/schemas/tidas_contacts.schema.js.map +1 -0
- package/dist/schemas/tidas_contacts_category.schema.d.ts +3 -0
- package/dist/schemas/tidas_contacts_category.schema.d.ts.map +1 -0
- package/dist/schemas/tidas_contacts_category.schema.js +53 -0
- package/dist/schemas/tidas_contacts_category.schema.js.map +1 -0
- package/dist/schemas/tidas_data_types.schema.d.ts +34 -0
- package/dist/schemas/tidas_data_types.schema.d.ts.map +1 -0
- package/dist/schemas/tidas_data_types.schema.js +60 -0
- package/dist/schemas/tidas_data_types.schema.js.map +1 -0
- package/dist/schemas/tidas_flowproperties.schema.d.ts +152 -0
- package/dist/schemas/tidas_flowproperties.schema.d.ts.map +1 -0
- package/dist/schemas/tidas_flowproperties.schema.js +88 -0
- package/dist/schemas/tidas_flowproperties.schema.js.map +1 -0
- package/dist/schemas/tidas_flowproperties_category.schema.d.ts +3 -0
- package/dist/schemas/tidas_flowproperties_category.schema.d.ts.map +1 -0
- package/dist/schemas/tidas_flowproperties_category.schema.js +28 -0
- package/dist/schemas/tidas_flowproperties_category.schema.js.map +1 -0
- package/dist/schemas/tidas_flows.schema.d.ts +215 -0
- package/dist/schemas/tidas_flows.schema.d.ts.map +1 -0
- package/dist/schemas/tidas_flows.schema.js +165 -0
- package/dist/schemas/tidas_flows.schema.js.map +1 -0
- package/dist/schemas/tidas_flows_elementary_category.schema.d.ts +3 -0
- package/dist/schemas/tidas_flows_elementary_category.schema.d.ts.map +1 -0
- package/dist/schemas/tidas_flows_elementary_category.schema.js +309 -0
- package/dist/schemas/tidas_flows_elementary_category.schema.js.map +1 -0
- package/dist/schemas/tidas_flows_product_category.schema.d.ts +3 -0
- package/dist/schemas/tidas_flows_product_category.schema.d.ts.map +1 -0
- package/dist/schemas/tidas_flows_product_category.schema.js +28508 -0
- package/dist/schemas/tidas_flows_product_category.schema.js.map +1 -0
- package/dist/schemas/tidas_lciamethods.schema.d.ts +546 -0
- package/dist/schemas/tidas_lciamethods.schema.d.ts.map +1 -0
- package/dist/schemas/tidas_lciamethods.schema.js +513 -0
- package/dist/schemas/tidas_lciamethods.schema.js.map +1 -0
- package/dist/schemas/tidas_lciamethods_category.schema.d.ts +3 -0
- package/dist/schemas/tidas_lciamethods_category.schema.d.ts.map +1 -0
- package/dist/schemas/tidas_lciamethods_category.schema.js +278 -0
- package/dist/schemas/tidas_lciamethods_category.schema.js.map +1 -0
- package/dist/schemas/tidas_lifecyclemodels.schema.d.ts +465 -0
- package/dist/schemas/tidas_lifecyclemodels.schema.d.ts.map +1 -0
- package/dist/schemas/tidas_lifecyclemodels.schema.js +420 -0
- package/dist/schemas/tidas_lifecyclemodels.schema.js.map +1 -0
- package/dist/schemas/tidas_locations_category.schema.d.ts +3 -0
- package/dist/schemas/tidas_locations_category.schema.d.ts.map +1 -0
- package/dist/schemas/tidas_locations_category.schema.js +655 -0
- package/dist/schemas/tidas_locations_category.schema.js.map +1 -0
- package/dist/schemas/tidas_processes.schema.d.ts +626 -0
- package/dist/schemas/tidas_processes.schema.d.ts.map +1 -0
- package/dist/schemas/tidas_processes.schema.js +659 -0
- package/dist/schemas/tidas_processes.schema.js.map +1 -0
- package/dist/schemas/tidas_processes_category.schema.d.ts +3 -0
- package/dist/schemas/tidas_processes_category.schema.d.ts.map +1 -0
- package/dist/schemas/tidas_processes_category.schema.js +4904 -0
- package/dist/schemas/tidas_processes_category.schema.js.map +1 -0
- package/dist/schemas/tidas_sources.schema.d.ts +113 -0
- package/dist/schemas/tidas_sources.schema.d.ts.map +1 -0
- package/dist/schemas/tidas_sources.schema.js +73 -0
- package/dist/schemas/tidas_sources.schema.js.map +1 -0
- package/dist/schemas/tidas_sources_category.schema.d.ts +3 -0
- package/dist/schemas/tidas_sources_category.schema.d.ts.map +1 -0
- package/dist/schemas/tidas_sources_category.schema.js +43 -0
- package/dist/schemas/tidas_sources_category.schema.js.map +1 -0
- package/dist/schemas/tidas_unitgroups.schema.d.ts +140 -0
- package/dist/schemas/tidas_unitgroups.schema.d.ts.map +1 -0
- package/dist/schemas/tidas_unitgroups.schema.js +103 -0
- package/dist/schemas/tidas_unitgroups.schema.js.map +1 -0
- package/dist/schemas/tidas_unitgroups_category.schema.d.ts +3 -0
- package/dist/schemas/tidas_unitgroups_category.schema.d.ts.map +1 -0
- package/dist/schemas/tidas_unitgroups_category.schema.js +28 -0
- package/dist/schemas/tidas_unitgroups_category.schema.js.map +1 -0
- package/dist/services/copilot-service.d.ts +147 -0
- package/dist/services/copilot-service.d.ts.map +1 -0
- package/dist/services/copilot-service.js +259 -0
- package/dist/services/copilot-service.js.map +1 -0
- package/dist/services/index.d.ts +9 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/services/index.js +24 -0
- package/dist/services/index.js.map +1 -0
- package/dist/types/index.d.ts +22 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +21 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/multi-lang-types.d.ts +23 -0
- package/dist/types/multi-lang-types.d.ts.map +1 -0
- package/dist/types/multi-lang-types.js +40 -0
- package/dist/types/multi-lang-types.js.map +1 -0
- package/dist/types/tidas_contacts.d.ts +72 -0
- package/dist/types/tidas_contacts.d.ts.map +1 -0
- package/dist/types/tidas_contacts.js +8 -0
- package/dist/types/tidas_contacts.js.map +1 -0
- package/dist/types/tidas_contacts_category.d.ts +43 -0
- package/dist/types/tidas_contacts_category.d.ts.map +1 -0
- package/dist/types/tidas_contacts_category.js +8 -0
- package/dist/types/tidas_contacts_category.js.map +1 -0
- package/dist/types/tidas_data_types.d.ts +116 -0
- package/dist/types/tidas_data_types.d.ts.map +1 -0
- package/dist/types/tidas_data_types.js +8 -0
- package/dist/types/tidas_data_types.js.map +1 -0
- package/dist/types/tidas_flowproperties.d.ts +73 -0
- package/dist/types/tidas_flowproperties.d.ts.map +1 -0
- package/dist/types/tidas_flowproperties.js +8 -0
- package/dist/types/tidas_flowproperties.js.map +1 -0
- package/dist/types/tidas_flowproperties_category.d.ts +23 -0
- package/dist/types/tidas_flowproperties_category.d.ts.map +1 -0
- package/dist/types/tidas_flowproperties_category.js +8 -0
- package/dist/types/tidas_flowproperties_category.js.map +1 -0
- package/dist/types/tidas_flows.d.ts +113 -0
- package/dist/types/tidas_flows.d.ts.map +1 -0
- package/dist/types/tidas_flows.js +8 -0
- package/dist/types/tidas_flows.js.map +1 -0
- package/dist/types/tidas_flows_elementary_category.d.ts +227 -0
- package/dist/types/tidas_flows_elementary_category.d.ts.map +1 -0
- package/dist/types/tidas_flows_elementary_category.js +8 -0
- package/dist/types/tidas_flows_elementary_category.js.map +1 -0
- package/dist/types/tidas_flows_product_category.d.ts +18391 -0
- package/dist/types/tidas_flows_product_category.d.ts.map +1 -0
- package/dist/types/tidas_flows_product_category.js +8 -0
- package/dist/types/tidas_flows_product_category.js.map +1 -0
- package/dist/types/tidas_lciamethods.d.ts +231 -0
- package/dist/types/tidas_lciamethods.d.ts.map +1 -0
- package/dist/types/tidas_lciamethods.js +8 -0
- package/dist/types/tidas_lciamethods.js.map +1 -0
- package/dist/types/tidas_lciamethods_category.d.ts +215 -0
- package/dist/types/tidas_lciamethods_category.d.ts.map +1 -0
- package/dist/types/tidas_lciamethods_category.js +8 -0
- package/dist/types/tidas_lciamethods_category.js.map +1 -0
- package/dist/types/tidas_lifecyclemodels.d.ts +259 -0
- package/dist/types/tidas_lifecyclemodels.d.ts.map +1 -0
- package/dist/types/tidas_lifecyclemodels.js +8 -0
- package/dist/types/tidas_lifecyclemodels.js.map +1 -0
- package/dist/types/tidas_locations_category.d.ts +7 -0
- package/dist/types/tidas_locations_category.d.ts.map +1 -0
- package/dist/types/tidas_locations_category.js +8 -0
- package/dist/types/tidas_locations_category.js.map +1 -0
- package/dist/types/tidas_processes.d.ts +301 -0
- package/dist/types/tidas_processes.d.ts.map +1 -0
- package/dist/types/tidas_processes.js +8 -0
- package/dist/types/tidas_processes.js.map +1 -0
- package/dist/types/tidas_processes_category.d.ts +3327 -0
- package/dist/types/tidas_processes_category.d.ts.map +1 -0
- package/dist/types/tidas_processes_category.js +8 -0
- package/dist/types/tidas_processes_category.js.map +1 -0
- package/dist/types/tidas_sources.d.ts +58 -0
- package/dist/types/tidas_sources.d.ts.map +1 -0
- package/dist/types/tidas_sources.js +8 -0
- package/dist/types/tidas_sources.js.map +1 -0
- package/dist/types/tidas_sources_category.d.ts +35 -0
- package/dist/types/tidas_sources_category.d.ts.map +1 -0
- package/dist/types/tidas_sources_category.js +8 -0
- package/dist/types/tidas_sources_category.js.map +1 -0
- package/dist/types/tidas_unitgroups.d.ts +85 -0
- package/dist/types/tidas_unitgroups.d.ts.map +1 -0
- package/dist/types/tidas_unitgroups.js +8 -0
- package/dist/types/tidas_unitgroups.js.map +1 -0
- package/dist/types/tidas_unitgroups_category.d.ts +23 -0
- package/dist/types/tidas_unitgroups_category.d.ts.map +1 -0
- package/dist/types/tidas_unitgroups_category.js +8 -0
- package/dist/types/tidas_unitgroups_category.js.map +1 -0
- package/dist/utils/diff.d.ts +47 -0
- package/dist/utils/diff.d.ts.map +1 -0
- package/dist/utils/diff.js +263 -0
- package/dist/utils/diff.js.map +1 -0
- package/dist/utils/index.d.ts +7 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +31 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/object-utils.d.ts +47 -0
- package/dist/utils/object-utils.d.ts.map +1 -0
- package/dist/utils/object-utils.js +332 -0
- package/dist/utils/object-utils.js.map +1 -0
- package/package.json +4 -4
|
@@ -0,0 +1,659 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProcessesSchema = void 0;
|
|
4
|
+
// Generated by ts-to-zod
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
const tidas_data_types_schema_1 = require("./tidas_data_types.schema");
|
|
7
|
+
const tidas_locations_category_schema_1 = require("./tidas_locations_category.schema");
|
|
8
|
+
exports.ProcessesSchema = zod_1.z.object({
|
|
9
|
+
processDataSet: zod_1.z.object({
|
|
10
|
+
'@xmlns:common': zod_1.z.literal('http://lca.jrc.it/ILCD/Common'),
|
|
11
|
+
'@xmlns': zod_1.z.literal('http://lca.jrc.it/ILCD/Process'),
|
|
12
|
+
'@xmlns:xsi': zod_1.z.literal('http://www.w3.org/2001/XMLSchema-instance'),
|
|
13
|
+
'@version': zod_1.z.literal('1.1'),
|
|
14
|
+
'@locations': zod_1.z.literal('../ILCDLocations.xml'),
|
|
15
|
+
'@xsi:schemaLocation': zod_1.z.string(),
|
|
16
|
+
processInformation: zod_1.z.object({
|
|
17
|
+
dataSetInformation: zod_1.z.object({
|
|
18
|
+
'common:UUID': tidas_data_types_schema_1.UUIDSchema,
|
|
19
|
+
name: zod_1.z.object({
|
|
20
|
+
baseName: tidas_data_types_schema_1.StringMultiLangSchema,
|
|
21
|
+
treatmentStandardsRoutes: tidas_data_types_schema_1.StringMultiLangSchema,
|
|
22
|
+
mixAndLocationTypes: tidas_data_types_schema_1.StringMultiLangSchema,
|
|
23
|
+
functionalUnitFlowProperties: tidas_data_types_schema_1.StringMultiLangSchema.optional(),
|
|
24
|
+
'common:other': zod_1.z.string().optional(),
|
|
25
|
+
}),
|
|
26
|
+
identifierOfSubDataSet: tidas_data_types_schema_1.StringSchema.optional(),
|
|
27
|
+
'common:synonyms': tidas_data_types_schema_1.FTMultiLangSchema.optional(),
|
|
28
|
+
complementingProcesses: zod_1.z
|
|
29
|
+
.object({
|
|
30
|
+
referenceToComplementingProcess: tidas_data_types_schema_1.GlobalReferenceTypeSchema.optional(),
|
|
31
|
+
})
|
|
32
|
+
.optional(),
|
|
33
|
+
classificationInformation: zod_1.z.object({
|
|
34
|
+
'common:classification': zod_1.z.object({
|
|
35
|
+
'common:class': zod_1.z.tuple([
|
|
36
|
+
zod_1.z.object({
|
|
37
|
+
'@level': tidas_data_types_schema_1.LevelTypeSchema,
|
|
38
|
+
'@classId': zod_1.z.string(),
|
|
39
|
+
'#text': zod_1.z.string(),
|
|
40
|
+
}),
|
|
41
|
+
zod_1.z.object({
|
|
42
|
+
'@level': tidas_data_types_schema_1.LevelTypeSchema,
|
|
43
|
+
'@classId': zod_1.z.string(),
|
|
44
|
+
'#text': zod_1.z.string(),
|
|
45
|
+
}),
|
|
46
|
+
zod_1.z.object({
|
|
47
|
+
'@level': tidas_data_types_schema_1.LevelTypeSchema,
|
|
48
|
+
'@classId': zod_1.z.string(),
|
|
49
|
+
'#text': zod_1.z.string(),
|
|
50
|
+
}),
|
|
51
|
+
zod_1.z.object({
|
|
52
|
+
'@level': tidas_data_types_schema_1.LevelTypeSchema,
|
|
53
|
+
'@classId': zod_1.z.string(),
|
|
54
|
+
'#text': zod_1.z.string(),
|
|
55
|
+
}),
|
|
56
|
+
]),
|
|
57
|
+
'common:other': zod_1.z.string().optional(),
|
|
58
|
+
}),
|
|
59
|
+
}),
|
|
60
|
+
'common:generalComment': tidas_data_types_schema_1.FTMultiLangSchema,
|
|
61
|
+
referenceToExternalDocumentation: tidas_data_types_schema_1.GlobalReferenceTypeSchema.optional(),
|
|
62
|
+
'common:other': zod_1.z.string().optional(),
|
|
63
|
+
}),
|
|
64
|
+
quantitativeReference: zod_1.z.object({
|
|
65
|
+
'@type': zod_1.z.union([
|
|
66
|
+
zod_1.z.literal('Reference flow(s)'),
|
|
67
|
+
zod_1.z.literal('Functional unit'),
|
|
68
|
+
zod_1.z.literal('Other parameter'),
|
|
69
|
+
zod_1.z.literal('Production period'),
|
|
70
|
+
]),
|
|
71
|
+
referenceToReferenceFlow: tidas_data_types_schema_1.Int6Schema,
|
|
72
|
+
functionalUnitOrOther: tidas_data_types_schema_1.StringMultiLangSchema.optional(),
|
|
73
|
+
'common:other': zod_1.z.string().optional(),
|
|
74
|
+
}),
|
|
75
|
+
time: zod_1.z.object({
|
|
76
|
+
'common:referenceYear': tidas_data_types_schema_1.YearSchema,
|
|
77
|
+
'common:dataSetValidUntil': tidas_data_types_schema_1.YearSchema.optional(),
|
|
78
|
+
'common:timeRepresentativenessDescription': tidas_data_types_schema_1.FTMultiLangSchema.optional(),
|
|
79
|
+
'common:other': zod_1.z.string().optional(),
|
|
80
|
+
}),
|
|
81
|
+
geography: zod_1.z.object({
|
|
82
|
+
locationOfOperationSupplyOrProduction: zod_1.z.object({
|
|
83
|
+
'@location': tidas_locations_category_schema_1.LocationsCategorySchema,
|
|
84
|
+
'@latitudeAndLongitude': tidas_data_types_schema_1.GISSchema.optional(),
|
|
85
|
+
descriptionOfRestrictions: tidas_data_types_schema_1.FTMultiLangSchema.optional(),
|
|
86
|
+
'common:other': zod_1.z.string().optional(),
|
|
87
|
+
}),
|
|
88
|
+
subLocationOfOperationSupplyOrProduction: zod_1.z
|
|
89
|
+
.object({
|
|
90
|
+
'@subLocation': tidas_locations_category_schema_1.LocationsCategorySchema.optional(),
|
|
91
|
+
'@latitudeAndLongitude': tidas_data_types_schema_1.GISSchema.optional(),
|
|
92
|
+
descriptionOfRestrictions: tidas_data_types_schema_1.FTMultiLangSchema.optional(),
|
|
93
|
+
'common:other': zod_1.z.string().optional(),
|
|
94
|
+
})
|
|
95
|
+
.optional(),
|
|
96
|
+
'common:other': zod_1.z.string().optional(),
|
|
97
|
+
}),
|
|
98
|
+
technology: zod_1.z
|
|
99
|
+
.object({
|
|
100
|
+
technologyDescriptionAndIncludedProcesses: tidas_data_types_schema_1.FTMultiLangSchema,
|
|
101
|
+
referenceToIncludedProcesses: tidas_data_types_schema_1.GlobalReferenceTypeSchema.optional(),
|
|
102
|
+
technologicalApplicability: tidas_data_types_schema_1.FTMultiLangSchema.optional(),
|
|
103
|
+
referenceToTechnologyPictogramme: tidas_data_types_schema_1.GlobalReferenceTypeSchema.optional(),
|
|
104
|
+
referenceToTechnologyFlowDiagrammOrPicture: tidas_data_types_schema_1.GlobalReferenceTypeSchema.optional(),
|
|
105
|
+
'common:other': zod_1.z.string().optional(),
|
|
106
|
+
})
|
|
107
|
+
.optional(),
|
|
108
|
+
mathematicalRelations: zod_1.z
|
|
109
|
+
.object({
|
|
110
|
+
modelDescription: tidas_data_types_schema_1.FTMultiLangSchema.optional(),
|
|
111
|
+
variableParameter: zod_1.z
|
|
112
|
+
.object({
|
|
113
|
+
'@name': tidas_data_types_schema_1.MatVSchema.optional(),
|
|
114
|
+
formula: tidas_data_types_schema_1.MatRSchema.optional(),
|
|
115
|
+
meanValue: tidas_data_types_schema_1.RealSchema.optional(),
|
|
116
|
+
minimumValue: tidas_data_types_schema_1.RealSchema.optional(),
|
|
117
|
+
maximumValue: tidas_data_types_schema_1.RealSchema.optional(),
|
|
118
|
+
uncertaintyDistributionType: zod_1.z
|
|
119
|
+
.union([
|
|
120
|
+
zod_1.z.literal('undefined'),
|
|
121
|
+
zod_1.z.literal('log-normal'),
|
|
122
|
+
zod_1.z.literal('normal'),
|
|
123
|
+
zod_1.z.literal('triangular'),
|
|
124
|
+
zod_1.z.literal('uniform'),
|
|
125
|
+
])
|
|
126
|
+
.optional(),
|
|
127
|
+
relativeStandardDeviation95In: tidas_data_types_schema_1.PercSchema.optional(),
|
|
128
|
+
comment: tidas_data_types_schema_1.StringMultiLangSchema.optional(),
|
|
129
|
+
'common:other': zod_1.z.string().optional(),
|
|
130
|
+
})
|
|
131
|
+
.optional(),
|
|
132
|
+
'common:other': zod_1.z.string().optional(),
|
|
133
|
+
})
|
|
134
|
+
.optional(),
|
|
135
|
+
'common:other': zod_1.z.string().optional(),
|
|
136
|
+
}),
|
|
137
|
+
modellingAndValidation: zod_1.z.object({
|
|
138
|
+
LCIMethodAndAllocation: zod_1.z.object({
|
|
139
|
+
typeOfDataSet: zod_1.z.union([
|
|
140
|
+
zod_1.z.literal('Unit process, single operation'),
|
|
141
|
+
zod_1.z.literal('Unit process, black box'),
|
|
142
|
+
zod_1.z.literal('LCI result'),
|
|
143
|
+
zod_1.z.literal('Partly terminated system'),
|
|
144
|
+
zod_1.z.literal('Avoided product system'),
|
|
145
|
+
]),
|
|
146
|
+
LCIMethodPrinciple: zod_1.z
|
|
147
|
+
.union([
|
|
148
|
+
zod_1.z.literal('Attributional'),
|
|
149
|
+
zod_1.z.literal('Consequential'),
|
|
150
|
+
zod_1.z.literal('Consequential with attributional components'),
|
|
151
|
+
zod_1.z.literal('Not applicable'),
|
|
152
|
+
zod_1.z.literal('Other'),
|
|
153
|
+
])
|
|
154
|
+
.optional(),
|
|
155
|
+
deviationsFromLCIMethodPrinciple: tidas_data_types_schema_1.FTMultiLangSchema.optional(),
|
|
156
|
+
LCIMethodApproaches: zod_1.z
|
|
157
|
+
.union([
|
|
158
|
+
zod_1.z.literal('Allocation - market value'),
|
|
159
|
+
zod_1.z.literal('Allocation - gross calorific value'),
|
|
160
|
+
zod_1.z.literal('Allocation - net calorific value'),
|
|
161
|
+
zod_1.z.literal('Allocation - exergetic content'),
|
|
162
|
+
zod_1.z.literal('Allocation - element content'),
|
|
163
|
+
zod_1.z.literal('Allocation - mass'),
|
|
164
|
+
zod_1.z.literal('Allocation - volume'),
|
|
165
|
+
zod_1.z.literal('Allocation - ability to bear'),
|
|
166
|
+
zod_1.z.literal('Allocation - marginal causality'),
|
|
167
|
+
zod_1.z.literal('Allocation - physical causality'),
|
|
168
|
+
zod_1.z.literal('Allocation - 100% to main function'),
|
|
169
|
+
zod_1.z.literal('Allocation - other explicit assignment'),
|
|
170
|
+
zod_1.z.literal('Allocation - equal distribution'),
|
|
171
|
+
zod_1.z.literal('Substitution - BAT'),
|
|
172
|
+
zod_1.z.literal('Substitution - average, market price correction'),
|
|
173
|
+
zod_1.z.literal('Substitution - average, technical properties correction'),
|
|
174
|
+
zod_1.z.literal('Allocation - recycled content'),
|
|
175
|
+
zod_1.z.literal('Substitution - recycling potential'),
|
|
176
|
+
zod_1.z.literal('Substitution - average, no correction'),
|
|
177
|
+
zod_1.z.literal('Substitution - specific'),
|
|
178
|
+
zod_1.z.literal('Consequential effects - other'),
|
|
179
|
+
zod_1.z.literal('Not applicable'),
|
|
180
|
+
zod_1.z.literal('Other'),
|
|
181
|
+
])
|
|
182
|
+
.optional(),
|
|
183
|
+
deviationsFromLCIMethodApproaches: tidas_data_types_schema_1.FTMultiLangSchema.optional(),
|
|
184
|
+
modellingConstants: tidas_data_types_schema_1.FTMultiLangSchema.optional(),
|
|
185
|
+
deviationsFromModellingConstants: tidas_data_types_schema_1.FTMultiLangSchema.optional(),
|
|
186
|
+
referenceToLCAMethodDetails: tidas_data_types_schema_1.GlobalReferenceTypeSchema.optional(),
|
|
187
|
+
'common:other': zod_1.z.string().optional(),
|
|
188
|
+
}),
|
|
189
|
+
dataSourcesTreatmentAndRepresentativeness: zod_1.z
|
|
190
|
+
.object({
|
|
191
|
+
dataCutOffAndCompletenessPrinciples: tidas_data_types_schema_1.FTMultiLangSchema,
|
|
192
|
+
deviationsFromCutOffAndCompletenessPrinciples: tidas_data_types_schema_1.FTMultiLangSchema.optional(),
|
|
193
|
+
dataSelectionAndCombinationPrinciples: tidas_data_types_schema_1.FTMultiLangSchema.optional(),
|
|
194
|
+
deviationsFromSelectionAndCombinationPrinciples: tidas_data_types_schema_1.FTMultiLangSchema.optional(),
|
|
195
|
+
dataTreatmentAndExtrapolationsPrinciples: tidas_data_types_schema_1.FTMultiLangSchema.optional(),
|
|
196
|
+
deviationsFromTreatmentAndExtrapolationPrinciples: tidas_data_types_schema_1.FTMultiLangSchema.optional(),
|
|
197
|
+
referenceToDataHandlingPrinciples: tidas_data_types_schema_1.GlobalReferenceTypeSchema.optional(),
|
|
198
|
+
referenceToDataSource: tidas_data_types_schema_1.GlobalReferenceTypeSchema,
|
|
199
|
+
percentageSupplyOrProductionCovered: tidas_data_types_schema_1.PercSchema.optional(),
|
|
200
|
+
annualSupplyOrProductionVolume: tidas_data_types_schema_1.StringMultiLangSchema.optional(),
|
|
201
|
+
samplingProcedure: tidas_data_types_schema_1.FTMultiLangSchema.optional(),
|
|
202
|
+
dataCollectionPeriod: tidas_data_types_schema_1.StringMultiLangSchema.optional(),
|
|
203
|
+
uncertaintyAdjustments: tidas_data_types_schema_1.FTMultiLangSchema.optional(),
|
|
204
|
+
useAdviceForDataSet: tidas_data_types_schema_1.FTMultiLangSchema.optional(),
|
|
205
|
+
'common:other': zod_1.z.string().optional(),
|
|
206
|
+
})
|
|
207
|
+
.optional(),
|
|
208
|
+
completeness: zod_1.z
|
|
209
|
+
.object({
|
|
210
|
+
completenessProductModel: zod_1.z
|
|
211
|
+
.union([
|
|
212
|
+
zod_1.z.literal('All relevant flows quantified'),
|
|
213
|
+
zod_1.z.literal('Relevant flows missing'),
|
|
214
|
+
zod_1.z.literal('Topic not relevant'),
|
|
215
|
+
zod_1.z.literal('No statement'),
|
|
216
|
+
])
|
|
217
|
+
.optional(),
|
|
218
|
+
referenceToSupportedImpactAssessmentMethods: tidas_data_types_schema_1.GlobalReferenceTypeSchema.optional(),
|
|
219
|
+
completenessElementaryFlows: zod_1.z
|
|
220
|
+
.object({
|
|
221
|
+
'@type': zod_1.z
|
|
222
|
+
.union([
|
|
223
|
+
zod_1.z.literal('Climate change'),
|
|
224
|
+
zod_1.z.literal('Ozone depletion'),
|
|
225
|
+
zod_1.z.literal('Summer smog'),
|
|
226
|
+
zod_1.z.literal('Eutrophication'),
|
|
227
|
+
zod_1.z.literal('Acidification'),
|
|
228
|
+
zod_1.z.literal('Human toxicity'),
|
|
229
|
+
zod_1.z.literal('Freshwater ecotoxicity'),
|
|
230
|
+
zod_1.z.literal('Seawater eco-toxicity'),
|
|
231
|
+
zod_1.z.literal('Terrestric eco-toxicity'),
|
|
232
|
+
zod_1.z.literal('Radioactivity'),
|
|
233
|
+
zod_1.z.literal('Land use'),
|
|
234
|
+
zod_1.z.literal('Non-renewable material resource depletion'),
|
|
235
|
+
zod_1.z.literal('Renewable material resource consumption'),
|
|
236
|
+
zod_1.z.literal('Non-renewable primary energy depletion'),
|
|
237
|
+
zod_1.z.literal('Renewable primary energy consumption'),
|
|
238
|
+
zod_1.z.literal('Particulate matter/respiratory inorganics'),
|
|
239
|
+
zod_1.z.literal('Species depletion'),
|
|
240
|
+
zod_1.z.literal('Noise'),
|
|
241
|
+
])
|
|
242
|
+
.optional(),
|
|
243
|
+
'@value': zod_1.z
|
|
244
|
+
.union([
|
|
245
|
+
zod_1.z.literal('All relevant flows quantified'),
|
|
246
|
+
zod_1.z.literal('Relevant flows missing'),
|
|
247
|
+
zod_1.z.literal('Topic not relevant'),
|
|
248
|
+
zod_1.z.literal('No statement'),
|
|
249
|
+
])
|
|
250
|
+
.optional(),
|
|
251
|
+
})
|
|
252
|
+
.optional(),
|
|
253
|
+
completenessOtherProblemField: tidas_data_types_schema_1.FTMultiLangSchema.optional(),
|
|
254
|
+
'common:other': zod_1.z.string().optional(),
|
|
255
|
+
})
|
|
256
|
+
.optional(),
|
|
257
|
+
validation: zod_1.z.object({
|
|
258
|
+
review: zod_1.z.object({
|
|
259
|
+
'@type': zod_1.z.union([
|
|
260
|
+
zod_1.z.literal('Dependent internal review'),
|
|
261
|
+
zod_1.z.literal('Independent internal review'),
|
|
262
|
+
zod_1.z.literal('Independent external review'),
|
|
263
|
+
zod_1.z.literal('Accredited third party review'),
|
|
264
|
+
zod_1.z.literal('Independent review panel'),
|
|
265
|
+
zod_1.z.literal('Not reviewed'),
|
|
266
|
+
]),
|
|
267
|
+
'common:scope': zod_1.z
|
|
268
|
+
.union([
|
|
269
|
+
zod_1.z.object({
|
|
270
|
+
'@name': zod_1.z.union([
|
|
271
|
+
zod_1.z.literal('Raw data'),
|
|
272
|
+
zod_1.z.literal('Unit process(es), single operation'),
|
|
273
|
+
zod_1.z.literal('Unit process(es), black box'),
|
|
274
|
+
zod_1.z.literal('LCI results or Partly terminated system'),
|
|
275
|
+
zod_1.z.literal('LCIA results'),
|
|
276
|
+
zod_1.z.literal('Documentation'),
|
|
277
|
+
zod_1.z.literal('Life cycle inventory methods'),
|
|
278
|
+
zod_1.z.literal('LCIA results calculation'),
|
|
279
|
+
zod_1.z.literal('Goal and scope definition'),
|
|
280
|
+
]),
|
|
281
|
+
'common:method': zod_1.z.union([
|
|
282
|
+
zod_1.z.object({
|
|
283
|
+
'@name': zod_1.z.union([
|
|
284
|
+
zod_1.z.literal('Validation of data sources'),
|
|
285
|
+
zod_1.z.literal('Sample tests on calculations'),
|
|
286
|
+
zod_1.z.literal('Energy balance'),
|
|
287
|
+
zod_1.z.literal('Element balance'),
|
|
288
|
+
zod_1.z.literal('Cross-check with other source'),
|
|
289
|
+
zod_1.z.literal('Cross-check with other data set'),
|
|
290
|
+
zod_1.z.literal('Expert judgement'),
|
|
291
|
+
zod_1.z.literal('Mass balance'),
|
|
292
|
+
zod_1.z.literal('Compliance with legal limits'),
|
|
293
|
+
zod_1.z.literal('Compliance with ISO 14040 to 14044'),
|
|
294
|
+
zod_1.z.literal('Documentation'),
|
|
295
|
+
zod_1.z.literal('Evidence collection by means of plant visits and/or interviews'),
|
|
296
|
+
]),
|
|
297
|
+
}),
|
|
298
|
+
zod_1.z.array(zod_1.z.object({
|
|
299
|
+
'@name': zod_1.z.union([
|
|
300
|
+
zod_1.z.literal('Validation of data sources'),
|
|
301
|
+
zod_1.z.literal('Sample tests on calculations'),
|
|
302
|
+
zod_1.z.literal('Energy balance'),
|
|
303
|
+
zod_1.z.literal('Element balance'),
|
|
304
|
+
zod_1.z.literal('Cross-check with other source'),
|
|
305
|
+
zod_1.z.literal('Cross-check with other data set'),
|
|
306
|
+
zod_1.z.literal('Expert judgement'),
|
|
307
|
+
zod_1.z.literal('Mass balance'),
|
|
308
|
+
zod_1.z.literal('Compliance with legal limits'),
|
|
309
|
+
zod_1.z.literal('Compliance with ISO 14040 to 14044'),
|
|
310
|
+
zod_1.z.literal('Documentation'),
|
|
311
|
+
zod_1.z.literal('Evidence collection by means of plant visits and/or interviews'),
|
|
312
|
+
]),
|
|
313
|
+
})),
|
|
314
|
+
]),
|
|
315
|
+
}),
|
|
316
|
+
zod_1.z.array(zod_1.z.object({
|
|
317
|
+
'@name': zod_1.z.union([
|
|
318
|
+
zod_1.z.literal('Raw data'),
|
|
319
|
+
zod_1.z.literal('Unit process(es), single operation'),
|
|
320
|
+
zod_1.z.literal('Unit process(es), black box'),
|
|
321
|
+
zod_1.z.literal('LCI results or Partly terminated system'),
|
|
322
|
+
zod_1.z.literal('LCIA results'),
|
|
323
|
+
zod_1.z.literal('Documentation'),
|
|
324
|
+
zod_1.z.literal('Life cycle inventory methods'),
|
|
325
|
+
zod_1.z.literal('LCIA results calculation'),
|
|
326
|
+
zod_1.z.literal('Goal and scope definition'),
|
|
327
|
+
]),
|
|
328
|
+
'common:method': zod_1.z.union([
|
|
329
|
+
zod_1.z.object({
|
|
330
|
+
'@name': zod_1.z.union([
|
|
331
|
+
zod_1.z.literal('Validation of data sources'),
|
|
332
|
+
zod_1.z.literal('Sample tests on calculations'),
|
|
333
|
+
zod_1.z.literal('Energy balance'),
|
|
334
|
+
zod_1.z.literal('Element balance'),
|
|
335
|
+
zod_1.z.literal('Cross-check with other source'),
|
|
336
|
+
zod_1.z.literal('Cross-check with other data set'),
|
|
337
|
+
zod_1.z.literal('Expert judgement'),
|
|
338
|
+
zod_1.z.literal('Mass balance'),
|
|
339
|
+
zod_1.z.literal('Compliance with legal limits'),
|
|
340
|
+
zod_1.z.literal('Compliance with ISO 14040 to 14044'),
|
|
341
|
+
zod_1.z.literal('Documentation'),
|
|
342
|
+
zod_1.z.literal('Evidence collection by means of plant visits and/or interviews'),
|
|
343
|
+
]),
|
|
344
|
+
}),
|
|
345
|
+
zod_1.z.array(zod_1.z.object({
|
|
346
|
+
'@name': zod_1.z.union([
|
|
347
|
+
zod_1.z.literal('Validation of data sources'),
|
|
348
|
+
zod_1.z.literal('Sample tests on calculations'),
|
|
349
|
+
zod_1.z.literal('Energy balance'),
|
|
350
|
+
zod_1.z.literal('Element balance'),
|
|
351
|
+
zod_1.z.literal('Cross-check with other source'),
|
|
352
|
+
zod_1.z.literal('Cross-check with other data set'),
|
|
353
|
+
zod_1.z.literal('Expert judgement'),
|
|
354
|
+
zod_1.z.literal('Mass balance'),
|
|
355
|
+
zod_1.z.literal('Compliance with legal limits'),
|
|
356
|
+
zod_1.z.literal('Compliance with ISO 14040 to 14044'),
|
|
357
|
+
zod_1.z.literal('Documentation'),
|
|
358
|
+
zod_1.z.literal('Evidence collection by means of plant visits and/or interviews'),
|
|
359
|
+
]),
|
|
360
|
+
})),
|
|
361
|
+
]),
|
|
362
|
+
})),
|
|
363
|
+
])
|
|
364
|
+
.optional(),
|
|
365
|
+
'common:dataQualityIndicators': zod_1.z
|
|
366
|
+
.object({
|
|
367
|
+
'common:dataQualityIndicator': zod_1.z.union([
|
|
368
|
+
zod_1.z.object({
|
|
369
|
+
'@name': zod_1.z.union([
|
|
370
|
+
zod_1.z.literal('Technological representativeness'),
|
|
371
|
+
zod_1.z.literal('Time representativeness'),
|
|
372
|
+
zod_1.z.literal('Geographical representativeness'),
|
|
373
|
+
zod_1.z.literal('Completeness'),
|
|
374
|
+
zod_1.z.literal('Precision'),
|
|
375
|
+
zod_1.z.literal('Methodological appropriateness and consistency'),
|
|
376
|
+
zod_1.z.literal('Overall quality'),
|
|
377
|
+
]),
|
|
378
|
+
'@value': zod_1.z.union([
|
|
379
|
+
zod_1.z.literal('Very good'),
|
|
380
|
+
zod_1.z.literal('Good'),
|
|
381
|
+
zod_1.z.literal('Fair'),
|
|
382
|
+
zod_1.z.literal('Poor'),
|
|
383
|
+
zod_1.z.literal('Very poor'),
|
|
384
|
+
zod_1.z.literal('Not evaluated / unknown'),
|
|
385
|
+
zod_1.z.literal('Not applicable'),
|
|
386
|
+
]),
|
|
387
|
+
}),
|
|
388
|
+
zod_1.z.array(zod_1.z.object({
|
|
389
|
+
'@name': zod_1.z.union([
|
|
390
|
+
zod_1.z.literal('Technological representativeness'),
|
|
391
|
+
zod_1.z.literal('Time representativeness'),
|
|
392
|
+
zod_1.z.literal('Geographical representativeness'),
|
|
393
|
+
zod_1.z.literal('Completeness'),
|
|
394
|
+
zod_1.z.literal('Precision'),
|
|
395
|
+
zod_1.z.literal('Methodological appropriateness and consistency'),
|
|
396
|
+
zod_1.z.literal('Overall quality'),
|
|
397
|
+
]),
|
|
398
|
+
'@value': zod_1.z.union([
|
|
399
|
+
zod_1.z.literal('Very good'),
|
|
400
|
+
zod_1.z.literal('Good'),
|
|
401
|
+
zod_1.z.literal('Fair'),
|
|
402
|
+
zod_1.z.literal('Poor'),
|
|
403
|
+
zod_1.z.literal('Very poor'),
|
|
404
|
+
zod_1.z.literal('Not evaluated / unknown'),
|
|
405
|
+
zod_1.z.literal('Not applicable'),
|
|
406
|
+
]),
|
|
407
|
+
})),
|
|
408
|
+
]),
|
|
409
|
+
})
|
|
410
|
+
.optional(),
|
|
411
|
+
'common:reviewDetails': tidas_data_types_schema_1.FTMultiLangSchema.optional(),
|
|
412
|
+
'common:referenceToNameOfReviewerAndInstitution': tidas_data_types_schema_1.GlobalReferenceTypeSchema.optional(),
|
|
413
|
+
'common:otherReviewDetails': tidas_data_types_schema_1.FTMultiLangSchema.optional(),
|
|
414
|
+
'common:referenceToCompleteReviewReport': tidas_data_types_schema_1.GlobalReferenceTypeSchema.optional(),
|
|
415
|
+
'common:other': zod_1.z.string().optional(),
|
|
416
|
+
}),
|
|
417
|
+
'common:other': zod_1.z.string().optional(),
|
|
418
|
+
}),
|
|
419
|
+
complianceDeclarations: zod_1.z.object({
|
|
420
|
+
compliance: zod_1.z.union([
|
|
421
|
+
zod_1.z.object({
|
|
422
|
+
'common:referenceToComplianceSystem': tidas_data_types_schema_1.GlobalReferenceTypeSchema,
|
|
423
|
+
'common:approvalOfOverallCompliance': zod_1.z.union([
|
|
424
|
+
zod_1.z.literal('Fully compliant'),
|
|
425
|
+
zod_1.z.literal('Not compliant'),
|
|
426
|
+
zod_1.z.literal('Not defined'),
|
|
427
|
+
]),
|
|
428
|
+
'common:nomenclatureCompliance': zod_1.z.union([
|
|
429
|
+
zod_1.z.literal('Fully compliant'),
|
|
430
|
+
zod_1.z.literal('Not compliant'),
|
|
431
|
+
zod_1.z.literal('Not defined'),
|
|
432
|
+
]),
|
|
433
|
+
'common:methodologicalCompliance': zod_1.z.union([
|
|
434
|
+
zod_1.z.literal('Fully compliant'),
|
|
435
|
+
zod_1.z.literal('Not compliant'),
|
|
436
|
+
zod_1.z.literal('Not defined'),
|
|
437
|
+
]),
|
|
438
|
+
'common:reviewCompliance': zod_1.z.union([
|
|
439
|
+
zod_1.z.literal('Fully compliant'),
|
|
440
|
+
zod_1.z.literal('Not compliant'),
|
|
441
|
+
zod_1.z.literal('Not defined'),
|
|
442
|
+
]),
|
|
443
|
+
'common:documentationCompliance': zod_1.z.union([
|
|
444
|
+
zod_1.z.literal('Fully compliant'),
|
|
445
|
+
zod_1.z.literal('Not compliant'),
|
|
446
|
+
zod_1.z.literal('Not defined'),
|
|
447
|
+
]),
|
|
448
|
+
'common:qualityCompliance': zod_1.z.union([
|
|
449
|
+
zod_1.z.literal('Fully compliant'),
|
|
450
|
+
zod_1.z.literal('Not compliant'),
|
|
451
|
+
zod_1.z.literal('Not defined'),
|
|
452
|
+
]),
|
|
453
|
+
'common:other': zod_1.z.string().optional(),
|
|
454
|
+
}),
|
|
455
|
+
zod_1.z.array(zod_1.z.object({
|
|
456
|
+
'common:referenceToComplianceSystem': tidas_data_types_schema_1.GlobalReferenceTypeSchema,
|
|
457
|
+
'common:approvalOfOverallCompliance': zod_1.z.union([
|
|
458
|
+
zod_1.z.literal('Fully compliant'),
|
|
459
|
+
zod_1.z.literal('Not compliant'),
|
|
460
|
+
zod_1.z.literal('Not defined'),
|
|
461
|
+
]),
|
|
462
|
+
'common:nomenclatureCompliance': zod_1.z.union([
|
|
463
|
+
zod_1.z.literal('Fully compliant'),
|
|
464
|
+
zod_1.z.literal('Not compliant'),
|
|
465
|
+
zod_1.z.literal('Not defined'),
|
|
466
|
+
]),
|
|
467
|
+
'common:methodologicalCompliance': zod_1.z.union([
|
|
468
|
+
zod_1.z.literal('Fully compliant'),
|
|
469
|
+
zod_1.z.literal('Not compliant'),
|
|
470
|
+
zod_1.z.literal('Not defined'),
|
|
471
|
+
]),
|
|
472
|
+
'common:reviewCompliance': zod_1.z.union([
|
|
473
|
+
zod_1.z.literal('Fully compliant'),
|
|
474
|
+
zod_1.z.literal('Not compliant'),
|
|
475
|
+
zod_1.z.literal('Not defined'),
|
|
476
|
+
]),
|
|
477
|
+
'common:documentationCompliance': zod_1.z.union([
|
|
478
|
+
zod_1.z.literal('Fully compliant'),
|
|
479
|
+
zod_1.z.literal('Not compliant'),
|
|
480
|
+
zod_1.z.literal('Not defined'),
|
|
481
|
+
]),
|
|
482
|
+
'common:qualityCompliance': zod_1.z.union([
|
|
483
|
+
zod_1.z.literal('Fully compliant'),
|
|
484
|
+
zod_1.z.literal('Not compliant'),
|
|
485
|
+
zod_1.z.literal('Not defined'),
|
|
486
|
+
]),
|
|
487
|
+
'common:other': zod_1.z.string().optional(),
|
|
488
|
+
})),
|
|
489
|
+
]),
|
|
490
|
+
'common:other': zod_1.z.string().optional(),
|
|
491
|
+
}),
|
|
492
|
+
'common:other': zod_1.z.string().optional(),
|
|
493
|
+
}),
|
|
494
|
+
administrativeInformation: zod_1.z.object({
|
|
495
|
+
'common:commissionerAndGoal': zod_1.z.object({
|
|
496
|
+
'common:referenceToCommissioner': tidas_data_types_schema_1.GlobalReferenceTypeSchema,
|
|
497
|
+
'common:project': tidas_data_types_schema_1.StringMultiLangSchema.optional(),
|
|
498
|
+
'common:intendedApplications': tidas_data_types_schema_1.FTMultiLangSchema,
|
|
499
|
+
'common:other': zod_1.z.string().optional(),
|
|
500
|
+
}),
|
|
501
|
+
dataGenerator: zod_1.z
|
|
502
|
+
.object({
|
|
503
|
+
'common:referenceToPersonOrEntityGeneratingTheDataSet': tidas_data_types_schema_1.GlobalReferenceTypeSchema.optional(),
|
|
504
|
+
'common:other': zod_1.z.string().optional(),
|
|
505
|
+
})
|
|
506
|
+
.optional(),
|
|
507
|
+
dataEntryBy: zod_1.z.object({
|
|
508
|
+
'common:timeStamp': tidas_data_types_schema_1.dateTimeSchema,
|
|
509
|
+
'common:referenceToDataSetFormat': tidas_data_types_schema_1.GlobalReferenceTypeSchema,
|
|
510
|
+
'common:referenceToConvertedOriginalDataSetFrom': tidas_data_types_schema_1.GlobalReferenceTypeSchema.optional(),
|
|
511
|
+
'common:referenceToPersonOrEntityEnteringTheData': tidas_data_types_schema_1.GlobalReferenceTypeSchema,
|
|
512
|
+
'common:referenceToDataSetUseApproval': tidas_data_types_schema_1.GlobalReferenceTypeSchema.optional(),
|
|
513
|
+
'common:other': zod_1.z.string().optional(),
|
|
514
|
+
}),
|
|
515
|
+
publicationAndOwnership: zod_1.z.object({
|
|
516
|
+
'common:dateOfLastRevision': zod_1.z.string().optional(),
|
|
517
|
+
'common:dataSetVersion': zod_1.z.string(),
|
|
518
|
+
'common:referenceToPrecedingDataSetVersion': tidas_data_types_schema_1.GlobalReferenceTypeSchema.optional(),
|
|
519
|
+
'common:permanentDataSetURI': zod_1.z.string(),
|
|
520
|
+
'common:workflowAndPublicationStatus': zod_1.z
|
|
521
|
+
.union([
|
|
522
|
+
zod_1.z.literal('Working draft'),
|
|
523
|
+
zod_1.z.literal('Final draft for internal review'),
|
|
524
|
+
zod_1.z.literal('Final draft for external review'),
|
|
525
|
+
zod_1.z.literal('Data set finalised; unpublished'),
|
|
526
|
+
zod_1.z.literal('Under revision'),
|
|
527
|
+
zod_1.z.literal('Withdrawn'),
|
|
528
|
+
zod_1.z.literal('Data set finalised; subsystems published'),
|
|
529
|
+
zod_1.z.literal('Data set finalised; entirely published'),
|
|
530
|
+
])
|
|
531
|
+
.optional(),
|
|
532
|
+
'common:referenceToUnchangedRepublication': tidas_data_types_schema_1.GlobalReferenceTypeSchema.optional(),
|
|
533
|
+
'common:referenceToRegistrationAuthority': tidas_data_types_schema_1.GlobalReferenceTypeSchema.optional(),
|
|
534
|
+
'common:registrationNumber': tidas_data_types_schema_1.StringSchema.optional(),
|
|
535
|
+
'common:referenceToOwnershipOfDataSet': tidas_data_types_schema_1.GlobalReferenceTypeSchema,
|
|
536
|
+
'common:copyright': zod_1.z.union([zod_1.z.literal('true'), zod_1.z.literal('false')]),
|
|
537
|
+
'common:referenceToEntitiesWithExclusiveAccess': tidas_data_types_schema_1.GlobalReferenceTypeSchema.optional(),
|
|
538
|
+
'common:licenseType': zod_1.z.union([
|
|
539
|
+
zod_1.z.literal('Free of charge for all users and uses'),
|
|
540
|
+
zod_1.z.literal('Free of charge for some user types or use types'),
|
|
541
|
+
zod_1.z.literal('Free of charge for members only'),
|
|
542
|
+
zod_1.z.literal('License fee'),
|
|
543
|
+
zod_1.z.literal('Other'),
|
|
544
|
+
]),
|
|
545
|
+
'common:accessRestrictions': tidas_data_types_schema_1.FTMultiLangSchema.optional(),
|
|
546
|
+
'common:other': zod_1.z.string().optional(),
|
|
547
|
+
}),
|
|
548
|
+
'common:other': zod_1.z.string().optional(),
|
|
549
|
+
}),
|
|
550
|
+
exchanges: zod_1.z.object({
|
|
551
|
+
exchange: zod_1.z.array(zod_1.z.object({
|
|
552
|
+
'@dataSetInternalID': tidas_data_types_schema_1.Int6Schema,
|
|
553
|
+
referenceToFlowDataSet: tidas_data_types_schema_1.GlobalReferenceTypeSchema,
|
|
554
|
+
location: tidas_data_types_schema_1.StringSchema.optional(),
|
|
555
|
+
functionType: zod_1.z
|
|
556
|
+
.union([
|
|
557
|
+
zod_1.z.literal('General reminder flow'),
|
|
558
|
+
zod_1.z.literal('Allocation reminder flow'),
|
|
559
|
+
zod_1.z.literal('System expansion reminder flow'),
|
|
560
|
+
])
|
|
561
|
+
.optional(),
|
|
562
|
+
exchangeDirection: zod_1.z.union([zod_1.z.literal('Input'), zod_1.z.literal('Output')]),
|
|
563
|
+
referenceToVariable: tidas_data_types_schema_1.StringSchema.optional(),
|
|
564
|
+
meanAmount: tidas_data_types_schema_1.RealSchema,
|
|
565
|
+
resultingAmount: tidas_data_types_schema_1.RealSchema,
|
|
566
|
+
minimumAmount: tidas_data_types_schema_1.RealSchema.optional(),
|
|
567
|
+
maximumAmount: tidas_data_types_schema_1.RealSchema.optional(),
|
|
568
|
+
uncertaintyDistributionType: zod_1.z
|
|
569
|
+
.union([
|
|
570
|
+
zod_1.z.literal('undefined'),
|
|
571
|
+
zod_1.z.literal('log-normal'),
|
|
572
|
+
zod_1.z.literal('normal'),
|
|
573
|
+
zod_1.z.literal('triangular'),
|
|
574
|
+
zod_1.z.literal('uniform'),
|
|
575
|
+
])
|
|
576
|
+
.optional(),
|
|
577
|
+
relativeStandardDeviation95In: tidas_data_types_schema_1.PercSchema.optional(),
|
|
578
|
+
allocations: zod_1.z
|
|
579
|
+
.object({
|
|
580
|
+
allocation: zod_1.z
|
|
581
|
+
.object({
|
|
582
|
+
'@internalReferenceToCoProduct': tidas_data_types_schema_1.Int6Schema.optional(),
|
|
583
|
+
'@allocatedFraction': tidas_data_types_schema_1.PercSchema.optional(),
|
|
584
|
+
})
|
|
585
|
+
.optional(),
|
|
586
|
+
})
|
|
587
|
+
.optional(),
|
|
588
|
+
dataSourceType: zod_1.z
|
|
589
|
+
.union([
|
|
590
|
+
zod_1.z.literal('Primary'),
|
|
591
|
+
zod_1.z.literal('> 90% primary'),
|
|
592
|
+
zod_1.z.literal('Mixed primary / secondary'),
|
|
593
|
+
zod_1.z.literal('Secondary'),
|
|
594
|
+
])
|
|
595
|
+
.optional(),
|
|
596
|
+
dataDerivationTypeStatus: zod_1.z.union([
|
|
597
|
+
zod_1.z.literal('Measured'),
|
|
598
|
+
zod_1.z.literal('Calculated'),
|
|
599
|
+
zod_1.z.literal('Estimated'),
|
|
600
|
+
zod_1.z.literal('Unknown derivation'),
|
|
601
|
+
zod_1.z.literal('Missing important'),
|
|
602
|
+
zod_1.z.literal('Missing unimportant'),
|
|
603
|
+
]),
|
|
604
|
+
referencesToDataSource: zod_1.z
|
|
605
|
+
.object({
|
|
606
|
+
referenceToDataSource: tidas_data_types_schema_1.GlobalReferenceTypeSchema.optional(),
|
|
607
|
+
'common:other': zod_1.z.string().optional(),
|
|
608
|
+
})
|
|
609
|
+
.optional(),
|
|
610
|
+
generalComment: tidas_data_types_schema_1.StringMultiLangSchema.optional(),
|
|
611
|
+
'common:other': zod_1.z.string().optional(),
|
|
612
|
+
})),
|
|
613
|
+
'common:other': zod_1.z.string().optional(),
|
|
614
|
+
}),
|
|
615
|
+
LCIAResults: zod_1.z
|
|
616
|
+
.object({
|
|
617
|
+
LCIAResult: zod_1.z
|
|
618
|
+
.union([
|
|
619
|
+
zod_1.z.object({
|
|
620
|
+
referenceToLCIAMethodDataSet: tidas_data_types_schema_1.GlobalReferenceTypeSchema.optional(),
|
|
621
|
+
meanAmount: tidas_data_types_schema_1.RealSchema,
|
|
622
|
+
uncertaintyDistributionType: zod_1.z
|
|
623
|
+
.union([
|
|
624
|
+
zod_1.z.literal('undefined'),
|
|
625
|
+
zod_1.z.literal('log-normal'),
|
|
626
|
+
zod_1.z.literal('normal'),
|
|
627
|
+
zod_1.z.literal('triangular'),
|
|
628
|
+
zod_1.z.literal('uniform'),
|
|
629
|
+
])
|
|
630
|
+
.optional(),
|
|
631
|
+
relativeStandardDeviation95In: tidas_data_types_schema_1.PercSchema.optional(),
|
|
632
|
+
generalComment: tidas_data_types_schema_1.StringMultiLangSchema.optional(),
|
|
633
|
+
'common:other': zod_1.z.string().optional(),
|
|
634
|
+
}),
|
|
635
|
+
zod_1.z.array(zod_1.z.object({
|
|
636
|
+
referenceToLCIAMethodDataSet: tidas_data_types_schema_1.GlobalReferenceTypeSchema.optional(),
|
|
637
|
+
meanAmount: tidas_data_types_schema_1.RealSchema,
|
|
638
|
+
uncertaintyDistributionType: zod_1.z
|
|
639
|
+
.union([
|
|
640
|
+
zod_1.z.literal('undefined'),
|
|
641
|
+
zod_1.z.literal('log-normal'),
|
|
642
|
+
zod_1.z.literal('normal'),
|
|
643
|
+
zod_1.z.literal('triangular'),
|
|
644
|
+
zod_1.z.literal('uniform'),
|
|
645
|
+
])
|
|
646
|
+
.optional(),
|
|
647
|
+
relativeStandardDeviation95In: tidas_data_types_schema_1.PercSchema.optional(),
|
|
648
|
+
generalComment: tidas_data_types_schema_1.StringMultiLangSchema.optional(),
|
|
649
|
+
'common:other': zod_1.z.string().optional(),
|
|
650
|
+
})),
|
|
651
|
+
])
|
|
652
|
+
.optional(),
|
|
653
|
+
'common:other': zod_1.z.string().optional(),
|
|
654
|
+
})
|
|
655
|
+
.optional(),
|
|
656
|
+
'common:other': zod_1.z.string().optional(),
|
|
657
|
+
}),
|
|
658
|
+
});
|
|
659
|
+
//# sourceMappingURL=tidas_processes.schema.js.map
|