@tiangong-lca/tidas-sdk 0.1.44 → 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.
Files changed (93) hide show
  1. package/dist/core/entities/TidasLifeCycleModel.js +3 -1
  2. package/dist/core/entities/TidasLifeCycleModel.js.map +1 -1
  3. package/dist/core/entities/TidasProcess.js +3 -1
  4. package/dist/core/entities/TidasProcess.js.map +1 -1
  5. package/dist/runtime-assets/tidas/schema.lock.json +269 -0
  6. package/dist/runtime-assets/tidas/schemas/tidas_contacts.json +5 -1
  7. package/dist/runtime-assets/tidas/schemas/tidas_data_types.json +245 -30
  8. package/dist/runtime-assets/tidas/schemas/tidas_flowproperties.json +5 -1
  9. package/dist/runtime-assets/tidas/schemas/tidas_flows.json +194 -129
  10. package/dist/runtime-assets/tidas/schemas/tidas_lciamethods.json +48 -76
  11. package/dist/runtime-assets/tidas/schemas/tidas_lifecyclemodels.json +244 -121
  12. package/dist/runtime-assets/tidas/schemas/tidas_locations_category.json +8 -4
  13. package/dist/runtime-assets/tidas/schemas/tidas_processes.json +200 -116
  14. package/dist/runtime-assets/tidas/schemas/tidas_sources.json +28 -7
  15. package/dist/runtime-assets/tidas/schemas/tidas_unitgroups.json +5 -1
  16. package/dist/runtime-assets/tidas/schemas_zh/tidas_contacts.json +294 -0
  17. package/dist/runtime-assets/tidas/schemas_zh/tidas_contacts_category.json +126 -0
  18. package/dist/runtime-assets/tidas/schemas_zh/tidas_data_types.json +599 -0
  19. package/dist/runtime-assets/tidas/schemas_zh/tidas_flowproperties.json +307 -0
  20. package/dist/runtime-assets/tidas/schemas_zh/tidas_flowproperties_category.json +61 -0
  21. package/dist/runtime-assets/tidas/schemas_zh/tidas_flows.json +787 -0
  22. package/dist/runtime-assets/tidas/schemas_zh/tidas_flows_elementary_category.json +720 -0
  23. package/dist/runtime-assets/tidas/schemas_zh/tidas_flows_product_category.json +59623 -0
  24. package/dist/runtime-assets/tidas/schemas_zh/tidas_lciamethods.json +1266 -0
  25. package/dist/runtime-assets/tidas/schemas_zh/tidas_lciamethods_category.json +685 -0
  26. package/dist/runtime-assets/tidas/schemas_zh/tidas_lifecyclemodels.json +1453 -0
  27. package/dist/runtime-assets/tidas/schemas_zh/tidas_locations_category.json +2597 -0
  28. package/dist/runtime-assets/tidas/schemas_zh/tidas_processes.json +1686 -0
  29. package/dist/runtime-assets/tidas/schemas_zh/tidas_processes_category.json +10795 -0
  30. package/dist/runtime-assets/tidas/schemas_zh/tidas_sources.json +249 -0
  31. package/dist/runtime-assets/tidas/schemas_zh/tidas_sources_category.json +100 -0
  32. package/dist/runtime-assets/tidas/schemas_zh/tidas_unitgroups.json +342 -0
  33. package/dist/runtime-assets/tidas/schemas_zh/tidas_unitgroups_category.json +61 -0
  34. package/dist/schemas/tidas_contacts.schema.d.ts +20 -10
  35. package/dist/schemas/tidas_contacts.schema.d.ts.map +1 -1
  36. package/dist/schemas/tidas_contacts.schema.js +1 -1
  37. package/dist/schemas/tidas_contacts.schema.js.map +1 -1
  38. package/dist/schemas/tidas_data_types.schema.d.ts +10 -6
  39. package/dist/schemas/tidas_data_types.schema.d.ts.map +1 -1
  40. package/dist/schemas/tidas_data_types.schema.js +32 -15
  41. package/dist/schemas/tidas_data_types.schema.js.map +1 -1
  42. package/dist/schemas/tidas_flowproperties.schema.d.ts +28 -14
  43. package/dist/schemas/tidas_flowproperties.schema.d.ts.map +1 -1
  44. package/dist/schemas/tidas_flowproperties.schema.js +1 -1
  45. package/dist/schemas/tidas_flowproperties.schema.js.map +1 -1
  46. package/dist/schemas/tidas_flows.schema.d.ts +36 -18
  47. package/dist/schemas/tidas_flows.schema.d.ts.map +1 -1
  48. package/dist/schemas/tidas_flows.schema.js +1 -1
  49. package/dist/schemas/tidas_flows.schema.js.map +1 -1
  50. package/dist/schemas/tidas_lciamethods.schema.d.ts +117 -63
  51. package/dist/schemas/tidas_lciamethods.schema.d.ts.map +1 -1
  52. package/dist/schemas/tidas_lciamethods.schema.js +36 -62
  53. package/dist/schemas/tidas_lciamethods.schema.js.map +1 -1
  54. package/dist/schemas/tidas_lifecyclemodels.schema.d.ts +98 -39
  55. package/dist/schemas/tidas_lifecyclemodels.schema.d.ts.map +1 -1
  56. package/dist/schemas/tidas_lifecyclemodels.schema.js +50 -24
  57. package/dist/schemas/tidas_lifecyclemodels.schema.js.map +1 -1
  58. package/dist/schemas/tidas_locations_category.schema.d.ts.map +1 -1
  59. package/dist/schemas/tidas_locations_category.schema.js +4 -3
  60. package/dist/schemas/tidas_locations_category.schema.js.map +1 -1
  61. package/dist/schemas/tidas_processes.schema.d.ts +130 -60
  62. package/dist/schemas/tidas_processes.schema.d.ts.map +1 -1
  63. package/dist/schemas/tidas_processes.schema.js +47 -27
  64. package/dist/schemas/tidas_processes.schema.js.map +1 -1
  65. package/dist/schemas/tidas_sources.schema.d.ts +24 -12
  66. package/dist/schemas/tidas_sources.schema.d.ts.map +1 -1
  67. package/dist/schemas/tidas_sources.schema.js +9 -4
  68. package/dist/schemas/tidas_sources.schema.js.map +1 -1
  69. package/dist/schemas/tidas_unitgroups.schema.d.ts +20 -10
  70. package/dist/schemas/tidas_unitgroups.schema.d.ts.map +1 -1
  71. package/dist/schemas/tidas_unitgroups.schema.js +1 -1
  72. package/dist/schemas/tidas_unitgroups.schema.js.map +1 -1
  73. package/dist/types/tidas_contacts.d.ts +2 -2
  74. package/dist/types/tidas_contacts.d.ts.map +1 -1
  75. package/dist/types/tidas_data_types.d.ts +19 -7
  76. package/dist/types/tidas_data_types.d.ts.map +1 -1
  77. package/dist/types/tidas_flowproperties.d.ts +2 -2
  78. package/dist/types/tidas_flowproperties.d.ts.map +1 -1
  79. package/dist/types/tidas_flows.d.ts +2 -2
  80. package/dist/types/tidas_flows.d.ts.map +1 -1
  81. package/dist/types/tidas_lciamethods.d.ts +11 -11
  82. package/dist/types/tidas_lciamethods.d.ts.map +1 -1
  83. package/dist/types/tidas_lifecyclemodels.d.ts +27 -4
  84. package/dist/types/tidas_lifecyclemodels.d.ts.map +1 -1
  85. package/dist/types/tidas_locations_category.d.ts +1 -1
  86. package/dist/types/tidas_locations_category.d.ts.map +1 -1
  87. package/dist/types/tidas_processes.d.ts +18 -4
  88. package/dist/types/tidas_processes.d.ts.map +1 -1
  89. package/dist/types/tidas_sources.d.ts +5 -3
  90. package/dist/types/tidas_sources.d.ts.map +1 -1
  91. package/dist/types/tidas_unitgroups.d.ts +2 -2
  92. package/dist/types/tidas_unitgroups.d.ts.map +1 -1
  93. package/package.json +1 -1
@@ -0,0 +1,307 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "flowPropertyDataSet": {
6
+ "type": "object",
7
+ "properties": {
8
+ "@xmlns": {
9
+ "type": "string",
10
+ "const": "http://lca.jrc.it/ILCD/FlowProperty"
11
+ },
12
+ "@xmlns:common": {
13
+ "type": "string",
14
+ "const": "http://lca.jrc.it/ILCD/Common"
15
+ },
16
+ "@xmlns:xsi": {
17
+ "type": "string",
18
+ "const": "http://www.w3.org/2001/XMLSchema-instance"
19
+ },
20
+ "@version": {
21
+ "type": "string",
22
+ "const": "1.1"
23
+ },
24
+ "@xsi:schemaLocation": {
25
+ "type": "string",
26
+ "const": "http://lca.jrc.it/ILCD/FlowProperty ../../schemas/ILCD_FlowPropertyDataSet.xsd"
27
+ },
28
+ "flowPropertiesInformation": {
29
+ "type": "object",
30
+ "properties": {
31
+ "dataSetInformation": {
32
+ "type": "object",
33
+ "properties": {
34
+ "common:UUID": {
35
+ "$ref": "tidas_data_types.json#/$defs/UUID",
36
+ "description": "自动生成该数据集的通用唯一标识符。UUID 与“数据集版本”一起唯一标识每个数据集。"
37
+ },
38
+ "common:name": {
39
+ "$ref": "tidas_data_types.json#/$defs/StringMultiLang",
40
+ "description": "流属性的名称。"
41
+ },
42
+ "common:synonyms": {
43
+ "$ref": "tidas_data_types.json#/$defs/FTMultiLang",
44
+ "description": "同义词是 流属性“名称”的替代名称。"
45
+ },
46
+ "classificationInformation": {
47
+ "description": "预计将使用流属性的分层分类来构造数据库的流属性内容。 (注意:识别流属性数据集不需要此条目。不过,应避免在同一类中对流属性使用相同的名称。",
48
+ "type": "object",
49
+ "properties": {
50
+ "common:classification": {
51
+ "description": "数据集的可选统计或其他分类。通常也用于构建 LCA 数据库。",
52
+ "type": "object",
53
+ "properties": {
54
+ "common:class": {
55
+ "type": "object",
56
+ "properties": {
57
+ "@level": {
58
+ "$ref": "tidas_data_types.json#/$defs/LevelType"
59
+ },
60
+ "@classId": {
61
+ "type": "string"
62
+ },
63
+ "#text": {
64
+ "type": "string"
65
+ }
66
+ },
67
+ "dependencies": {
68
+ "@level": {
69
+ "$ref": "./tidas_flowproperties_category.json#/$defs/FlowProperty"
70
+ }
71
+ },
72
+ "required": [
73
+ "@level",
74
+ "@classId",
75
+ "#text"
76
+ ]
77
+ },
78
+ "common:other": {
79
+ "$ref": "tidas_data_types.json#/$defs/CommonOther"
80
+ }
81
+ },
82
+ "required": [
83
+ "common:class"
84
+ ]
85
+ }
86
+ },
87
+ "required": [
88
+ "common:classification"
89
+ ]
90
+ },
91
+ "common:generalComment": {
92
+ "$ref": "tidas_data_types.json#/$defs/FTMultiLang",
93
+ "description": "有关数据集的一般信息的自由文本。它可能包含以下评论:使用的信息来源以及一般(内部,未经审查)质量声明。"
94
+ },
95
+ "common:other": {
96
+ "$ref": "tidas_data_types.json#/$defs/CommonOther"
97
+ }
98
+ },
99
+ "required": [
100
+ "common:UUID",
101
+ "common:name",
102
+ "classificationInformation"
103
+ ]
104
+ },
105
+ "quantitativeReference": {
106
+ "description": "本节允许引用流属性的定量参考,它始终是一个单位(即测量属性的单位,例如与能量相关的流属性的“MJ”)。",
107
+ "type": "object",
108
+ "properties": {
109
+ "referenceToReferenceUnitGroup": {
110
+ "$ref": "tidas_data_types.json#/$defs/GlobalReferenceType",
111
+ "description": "“单元组数据集”及其参考单元,其中测量流属性。"
112
+ },
113
+ "common:other": {
114
+ "$ref": "tidas_data_types.json#/$defs/CommonOther"
115
+ }
116
+ },
117
+ "required": [
118
+ "referenceToReferenceUnitGroup"
119
+ ]
120
+ },
121
+ "common:other": {
122
+ "$ref": "tidas_data_types.json#/$defs/CommonOther"
123
+ }
124
+ },
125
+ "required": [
126
+ "dataSetInformation",
127
+ "quantitativeReference"
128
+ ]
129
+ },
130
+ "modellingAndValidation": {
131
+ "description": "涵盖五个小节:1) LCI 方法(未使用),2) 数据源、处理和代表性(仅 3 个字段),3) 完整性(未使用),4) 验证,以及 5) 合规性。",
132
+ "type": "object",
133
+ "properties": {
134
+ "dataSourcesTreatmentAndRepresentativeness": {
135
+ "type": "object",
136
+ "properties": {
137
+ "referenceToDataSource": {
138
+ "$ref": "tidas_data_types.json#/$defs/GlobalReferenceType",
139
+ "description": "用于数据集的数据源的“源数据集”,例如论文、调查问卷、专着等。主要原始数据来源也应注明。 [注:尤其与市场价格数据相关。]"
140
+ },
141
+ "common:other": {
142
+ "$ref": "tidas_data_types.json#/$defs/CommonOther"
143
+ }
144
+ }
145
+ },
146
+ "complianceDeclarations": {
147
+ "type": "object",
148
+ "description": "关于多个数据集方面符合参考合规系统定义的合规要求的声明(例如 EPD 计划、国家或国际数据网络手册,如 ILCD 等)。",
149
+ "properties": {
150
+ "compliance": {
151
+ "description": "一份合规声明。可以提供多个声明。",
152
+ "anyOf": [
153
+ {
154
+ "type": "object",
155
+ "properties": {
156
+ "common:referenceToComplianceSystem": {
157
+ "$ref": "tidas_data_types.json#/$defs/GlobalReferenceType",
158
+ "description": "声明数据集满足的“合规体系”的“源数据集”。"
159
+ },
160
+ "common:approvalOfOverallCompliance": {
161
+ "description": "官方批准数据集是否以及在多大程度上满足所提及的“合规体系”的所有要求。该批准应由该合规系统的所有者发布/确认,该所有者通过相应的“联系数据集”进行识别。",
162
+ "type": "string",
163
+ "enum": [
164
+ "Fully compliant",
165
+ "Not compliant",
166
+ "Not defined"
167
+ ]
168
+ }
169
+ },
170
+ "required": [
171
+ "common:referenceToComplianceSystem",
172
+ "common:approvalOfOverallCompliance"
173
+ ]
174
+ },
175
+ {
176
+ "type": "array",
177
+ "items": {
178
+ "type": "object",
179
+ "properties": {
180
+ "common:referenceToComplianceSystem": {
181
+ "$ref": "tidas_data_types.json#/$defs/GlobalReferenceType",
182
+ "description": "声明数据集满足的“合规体系”的“源数据集”。"
183
+ },
184
+ "common:approvalOfOverallCompliance": {
185
+ "description": "官方批准数据集是否以及在多大程度上满足所提及的“合规体系”的所有要求。该批准应由该合规系统的所有者发布/确认,该所有者通过相应的“联系数据集”进行识别。",
186
+ "type": "string",
187
+ "enum": [
188
+ "Fully compliant",
189
+ "Not compliant",
190
+ "Not defined"
191
+ ]
192
+ }
193
+ },
194
+ "required": [
195
+ "common:referenceToComplianceSystem",
196
+ "common:approvalOfOverallCompliance"
197
+ ]
198
+ },
199
+ "minItems": 1
200
+ }
201
+ ]
202
+ },
203
+ "common:other": {
204
+ "$ref": "tidas_data_types.json#/$defs/CommonOther"
205
+ }
206
+ },
207
+ "required": [
208
+ "compliance"
209
+ ]
210
+ },
211
+ "common:other": {
212
+ "$ref": "tidas_data_types.json#/$defs/CommonOther"
213
+ }
214
+ },
215
+ "required": [
216
+ "complianceDeclarations"
217
+ ]
218
+ },
219
+ "administrativeInformation": {
220
+ "description": "有关数据集管理和管理的信息。",
221
+ "type": "object",
222
+ "properties": {
223
+ "dataEntryBy": {
224
+ "type": "object",
225
+ "description": "记录生成的数据集并将信息输入数据库的人员或实体;加上与数据输入活动相关的管理信息。",
226
+ "properties": {
227
+ "common:timeStamp": {
228
+ "type": "string",
229
+ "description": "数据集生成的日期和时间戳,通常是自动输入(“上次保存”)。",
230
+ "format": "date-time"
231
+ },
232
+ "common:referenceToDataSetFormat": {
233
+ "type": "object",
234
+ "description": "ILCD 格式所用版本的“源数据集”。如果使用“命名空间”选项将附加数据格式字段集成到数据集文件中,则将给出所使用的格式命名空间。如果数据集携带由其他特定 LCA 格式指定的附加信息,例如,则属于这种情况。其他数据库网络或 LCA 软件。",
235
+ "$ref": "tidas_data_types.json#/$defs/GlobalReferenceType"
236
+ },
237
+ "common:other": {
238
+ "$ref": "tidas_data_types.json#/$defs/CommonOther"
239
+ }
240
+ },
241
+ "required": [
242
+ "common:timeStamp",
243
+ "common:referenceToDataSetFormat"
244
+ ]
245
+ },
246
+ "publicationAndOwnership": {
247
+ "type": "object",
248
+ "description": "与数据集的发布和版本管理相关的信息,包括版权和访问限制。",
249
+ "properties": {
250
+ "common:dataSetVersion": {
251
+ "allOf": [
252
+ {
253
+ "$ref": "tidas_data_types.json#/$defs/Version"
254
+ }
255
+ ],
256
+ "description": "数据集的版本号。前两位数字表示主要更新,后两位数字表示较小的修订和错误更正等。第三个三位数字用于在数据集开发过程中自动和内部计数版本。 “数据集版本”与数据集的UUID 一起唯一标识每个数据集。"
257
+ },
258
+ "common:referenceToPrecedingDataSetVersion": {
259
+ "$ref": "tidas_data_types.json#/$defs/GlobalReferenceType",
260
+ "description": "最后一个先前的数据集,已被此版本替换。在TIDAS中,该引用包括前面的数据集URI、UUID和版本号。"
261
+ },
262
+ "common:permanentDataSetURI": {
263
+ "type": "string",
264
+ "format": "uri",
265
+ "description": "该数据集原始的 URI(即互联网地址)。 [注意:这个同样全球唯一的标识符支持用户和软件工具通过互联网识别和检索数据集的原始版本或检查可用的更新。 URI 不得代表现有的 WWW 地址,但它应该是唯一的并指向数据访问点,例如通过将数据所有者的 www 路径与数据集的UUID 相结合,例如http://www.mycompany.com/lca/processes/50f12420-8855-12db-b606-0900210c9a66。]"
266
+ },
267
+ "common:referenceToOwnershipOfDataSet": {
268
+ "$ref": "tidas_data_types.json#/$defs/GlobalReferenceType",
269
+ "description": "拥有该数据集的个人或实体的“联系人数据集”。 (注意:这不一定是数据集的发布者。)"
270
+ },
271
+ "common:other": {
272
+ "$ref": "tidas_data_types.json#/$defs/CommonOther"
273
+ }
274
+ },
275
+ "required": [
276
+ "common:dataSetVersion",
277
+ "common:referenceToOwnershipOfDataSet"
278
+ ]
279
+ },
280
+ "common:other": {
281
+ "$ref": "tidas_data_types.json#/$defs/CommonOther"
282
+ }
283
+ },
284
+ "required": [
285
+ "dataEntryBy",
286
+ "publicationAndOwnership"
287
+ ]
288
+ },
289
+ "common:other": {
290
+ "$ref": "tidas_data_types.json#/$defs/CommonOther"
291
+ }
292
+ },
293
+ "required": [
294
+ "@xmlns",
295
+ "@xmlns:common",
296
+ "@xmlns:xsi",
297
+ "@version",
298
+ "@xsi:schemaLocation",
299
+ "flowPropertiesInformation",
300
+ "administrativeInformation"
301
+ ]
302
+ }
303
+ },
304
+ "required": [
305
+ "flowPropertyDataSet"
306
+ ]
307
+ }
@@ -0,0 +1,61 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$defs": {
4
+ "FlowProperty": {
5
+ "oneOf": [
6
+ {
7
+ "properties": {
8
+ "@level": {
9
+ "const": "0"
10
+ },
11
+ "@classId": {
12
+ "const": "1"
13
+ },
14
+ "#text": {
15
+ "const": "Technical flow properties"
16
+ }
17
+ }
18
+ },
19
+ {
20
+ "properties": {
21
+ "@level": {
22
+ "const": "0"
23
+ },
24
+ "@classId": {
25
+ "const": "2"
26
+ },
27
+ "#text": {
28
+ "const": "Chemical composition of flows"
29
+ }
30
+ }
31
+ },
32
+ {
33
+ "properties": {
34
+ "@level": {
35
+ "const": "0"
36
+ },
37
+ "@classId": {
38
+ "const": "3"
39
+ },
40
+ "#text": {
41
+ "const": "Economic flow properties"
42
+ }
43
+ }
44
+ },
45
+ {
46
+ "properties": {
47
+ "@level": {
48
+ "const": "0"
49
+ },
50
+ "@classId": {
51
+ "const": "4"
52
+ },
53
+ "#text": {
54
+ "const": "Other flow properties"
55
+ }
56
+ }
57
+ }
58
+ ]
59
+ }
60
+ }
61
+ }