@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.
- 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 +5 -1
- 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 +194 -129
- package/dist/runtime-assets/tidas/schemas/tidas_lciamethods.json +48 -76
- package/dist/runtime-assets/tidas/schemas/tidas_lifecyclemodels.json +244 -121
- package/dist/runtime-assets/tidas/schemas/tidas_locations_category.json +8 -4
- package/dist/runtime-assets/tidas/schemas/tidas_processes.json +200 -116
- 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
|
@@ -0,0 +1,599 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$defs": {
|
|
4
|
+
"CASNumber": {
|
|
5
|
+
"description": "CAS 编号,需要前导零。",
|
|
6
|
+
"type": "string",
|
|
7
|
+
"format": "cas-number",
|
|
8
|
+
"pattern": "^[0-9]{2,7}-[0-9]{2}-[0-9]$"
|
|
9
|
+
},
|
|
10
|
+
"FT": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"description": "长度不受限制的自由文本。"
|
|
13
|
+
},
|
|
14
|
+
"Languages": {
|
|
15
|
+
"description": "TIDAS Languages enumeration.",
|
|
16
|
+
"type": "string",
|
|
17
|
+
"enum": [
|
|
18
|
+
"aa",
|
|
19
|
+
"ab",
|
|
20
|
+
"ae",
|
|
21
|
+
"af",
|
|
22
|
+
"ak",
|
|
23
|
+
"am",
|
|
24
|
+
"an",
|
|
25
|
+
"ar",
|
|
26
|
+
"as",
|
|
27
|
+
"av",
|
|
28
|
+
"ay",
|
|
29
|
+
"az",
|
|
30
|
+
"ba",
|
|
31
|
+
"be",
|
|
32
|
+
"bg",
|
|
33
|
+
"bh",
|
|
34
|
+
"bi",
|
|
35
|
+
"bm",
|
|
36
|
+
"bn",
|
|
37
|
+
"bo",
|
|
38
|
+
"br",
|
|
39
|
+
"bs",
|
|
40
|
+
"ca",
|
|
41
|
+
"ce",
|
|
42
|
+
"ch",
|
|
43
|
+
"co",
|
|
44
|
+
"cr",
|
|
45
|
+
"cs",
|
|
46
|
+
"cu",
|
|
47
|
+
"cv",
|
|
48
|
+
"cy",
|
|
49
|
+
"da",
|
|
50
|
+
"de",
|
|
51
|
+
"dv",
|
|
52
|
+
"dz",
|
|
53
|
+
"ee",
|
|
54
|
+
"el",
|
|
55
|
+
"en",
|
|
56
|
+
"eo",
|
|
57
|
+
"es",
|
|
58
|
+
"et",
|
|
59
|
+
"eu",
|
|
60
|
+
"fa",
|
|
61
|
+
"ff",
|
|
62
|
+
"fi",
|
|
63
|
+
"fj",
|
|
64
|
+
"fo",
|
|
65
|
+
"fr",
|
|
66
|
+
"fy",
|
|
67
|
+
"ga",
|
|
68
|
+
"gd",
|
|
69
|
+
"gl",
|
|
70
|
+
"gn",
|
|
71
|
+
"gu",
|
|
72
|
+
"gv",
|
|
73
|
+
"ha",
|
|
74
|
+
"he",
|
|
75
|
+
"hi",
|
|
76
|
+
"ho",
|
|
77
|
+
"hr",
|
|
78
|
+
"ht",
|
|
79
|
+
"hu",
|
|
80
|
+
"hy",
|
|
81
|
+
"hz",
|
|
82
|
+
"ia",
|
|
83
|
+
"id",
|
|
84
|
+
"ie",
|
|
85
|
+
"ig",
|
|
86
|
+
"ii",
|
|
87
|
+
"ik",
|
|
88
|
+
"io",
|
|
89
|
+
"is",
|
|
90
|
+
"it",
|
|
91
|
+
"iu",
|
|
92
|
+
"ja",
|
|
93
|
+
"jv",
|
|
94
|
+
"ka",
|
|
95
|
+
"kg",
|
|
96
|
+
"ki",
|
|
97
|
+
"kj",
|
|
98
|
+
"kk",
|
|
99
|
+
"kl",
|
|
100
|
+
"km",
|
|
101
|
+
"kn",
|
|
102
|
+
"ko",
|
|
103
|
+
"kr",
|
|
104
|
+
"ks",
|
|
105
|
+
"ku",
|
|
106
|
+
"kv",
|
|
107
|
+
"kw",
|
|
108
|
+
"ky",
|
|
109
|
+
"la",
|
|
110
|
+
"lb",
|
|
111
|
+
"lg",
|
|
112
|
+
"li",
|
|
113
|
+
"ln",
|
|
114
|
+
"lo",
|
|
115
|
+
"lt",
|
|
116
|
+
"lu",
|
|
117
|
+
"lv",
|
|
118
|
+
"mg",
|
|
119
|
+
"mh",
|
|
120
|
+
"mi",
|
|
121
|
+
"mk",
|
|
122
|
+
"ml",
|
|
123
|
+
"mn",
|
|
124
|
+
"mo",
|
|
125
|
+
"mr",
|
|
126
|
+
"ms",
|
|
127
|
+
"mt",
|
|
128
|
+
"my",
|
|
129
|
+
"na",
|
|
130
|
+
"nb",
|
|
131
|
+
"nd",
|
|
132
|
+
"ne",
|
|
133
|
+
"ng",
|
|
134
|
+
"nl",
|
|
135
|
+
"nn",
|
|
136
|
+
"no",
|
|
137
|
+
"nr",
|
|
138
|
+
"nv",
|
|
139
|
+
"ny",
|
|
140
|
+
"oc",
|
|
141
|
+
"oj",
|
|
142
|
+
"om",
|
|
143
|
+
"or",
|
|
144
|
+
"os",
|
|
145
|
+
"pa",
|
|
146
|
+
"pi",
|
|
147
|
+
"pl",
|
|
148
|
+
"ps",
|
|
149
|
+
"pt",
|
|
150
|
+
"qu",
|
|
151
|
+
"rm",
|
|
152
|
+
"rn",
|
|
153
|
+
"ro",
|
|
154
|
+
"ru",
|
|
155
|
+
"rw",
|
|
156
|
+
"sa",
|
|
157
|
+
"sc",
|
|
158
|
+
"sd",
|
|
159
|
+
"se",
|
|
160
|
+
"sg",
|
|
161
|
+
"si",
|
|
162
|
+
"sk",
|
|
163
|
+
"sl",
|
|
164
|
+
"sm",
|
|
165
|
+
"sn",
|
|
166
|
+
"so",
|
|
167
|
+
"sq",
|
|
168
|
+
"sr",
|
|
169
|
+
"ss",
|
|
170
|
+
"st",
|
|
171
|
+
"su",
|
|
172
|
+
"sv",
|
|
173
|
+
"sw",
|
|
174
|
+
"ta",
|
|
175
|
+
"te",
|
|
176
|
+
"tg",
|
|
177
|
+
"th",
|
|
178
|
+
"ti",
|
|
179
|
+
"tk",
|
|
180
|
+
"tl",
|
|
181
|
+
"tn",
|
|
182
|
+
"to",
|
|
183
|
+
"tr",
|
|
184
|
+
"ts",
|
|
185
|
+
"tt",
|
|
186
|
+
"tw",
|
|
187
|
+
"ty",
|
|
188
|
+
"ug",
|
|
189
|
+
"uk",
|
|
190
|
+
"ur",
|
|
191
|
+
"uz",
|
|
192
|
+
"ve",
|
|
193
|
+
"vi",
|
|
194
|
+
"vo",
|
|
195
|
+
"wa",
|
|
196
|
+
"wo",
|
|
197
|
+
"xh",
|
|
198
|
+
"yi",
|
|
199
|
+
"yo",
|
|
200
|
+
"za",
|
|
201
|
+
"zh",
|
|
202
|
+
"zu"
|
|
203
|
+
]
|
|
204
|
+
},
|
|
205
|
+
"LocalizedTextItem": {
|
|
206
|
+
"description": "带有语言标记的文本,带有针对所选语言的可选脚本检查。",
|
|
207
|
+
"type": "object",
|
|
208
|
+
"properties": {
|
|
209
|
+
"@xml:lang": {
|
|
210
|
+
"$ref": "#/$defs/Languages"
|
|
211
|
+
},
|
|
212
|
+
"#text": {
|
|
213
|
+
"type": "string"
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
"required": [
|
|
217
|
+
"@xml:lang",
|
|
218
|
+
"#text"
|
|
219
|
+
],
|
|
220
|
+
"allOf": [
|
|
221
|
+
{
|
|
222
|
+
"if": {
|
|
223
|
+
"properties": {
|
|
224
|
+
"@xml:lang": {
|
|
225
|
+
"const": "zh"
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
"required": [
|
|
229
|
+
"@xml:lang"
|
|
230
|
+
]
|
|
231
|
+
},
|
|
232
|
+
"then": {
|
|
233
|
+
"properties": {
|
|
234
|
+
"#text": {
|
|
235
|
+
"pattern": "[\\u3400-\\u4DBF\\u4E00-\\u9FFF\\uF900-\\uFAFF]"
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"if": {
|
|
242
|
+
"properties": {
|
|
243
|
+
"@xml:lang": {
|
|
244
|
+
"const": "en"
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
"required": [
|
|
248
|
+
"@xml:lang"
|
|
249
|
+
]
|
|
250
|
+
},
|
|
251
|
+
"then": {
|
|
252
|
+
"properties": {
|
|
253
|
+
"#text": {
|
|
254
|
+
"not": {
|
|
255
|
+
"pattern": "[\\u3400-\\u4DBF\\u4E00-\\u9FFF\\uF900-\\uFAFF]"
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
]
|
|
262
|
+
},
|
|
263
|
+
"LocalizedText500Item": {
|
|
264
|
+
"description": "最大长度为 500 个字符的语言标记文本。",
|
|
265
|
+
"allOf": [
|
|
266
|
+
{
|
|
267
|
+
"$ref": "#/$defs/LocalizedTextItem"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"properties": {
|
|
271
|
+
"#text": {
|
|
272
|
+
"maxLength": 500
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
]
|
|
277
|
+
},
|
|
278
|
+
"AnnualSupplyOrProductionVolumeTextItem": {
|
|
279
|
+
"description": "语言标记的年度供应量或生产量文本。文本必须以实数开头,后跟空格和非空单位或上下文后缀。",
|
|
280
|
+
"allOf": [
|
|
281
|
+
{
|
|
282
|
+
"$ref": "#/$defs/LocalizedText500Item"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"properties": {
|
|
286
|
+
"#text": {
|
|
287
|
+
"pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([Ee][+-]?\\d+)?\\s+\\S.*$"
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
]
|
|
292
|
+
},
|
|
293
|
+
"AnnualSupplyOrProductionVolumeMultiLang": {
|
|
294
|
+
"description": "带有数字前缀和单位或上下文后缀的多语言年度供应量或生产量文本。",
|
|
295
|
+
"anyOf": [
|
|
296
|
+
{
|
|
297
|
+
"type": "array",
|
|
298
|
+
"items": {
|
|
299
|
+
"$ref": "#/$defs/AnnualSupplyOrProductionVolumeTextItem"
|
|
300
|
+
},
|
|
301
|
+
"uniqueItems": true
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"$ref": "#/$defs/AnnualSupplyOrProductionVolumeTextItem"
|
|
305
|
+
}
|
|
306
|
+
]
|
|
307
|
+
},
|
|
308
|
+
"LocalizedText1000Item": {
|
|
309
|
+
"description": "最大长度为 1000 个字符的语言标记文本。",
|
|
310
|
+
"allOf": [
|
|
311
|
+
{
|
|
312
|
+
"$ref": "#/$defs/LocalizedTextItem"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"properties": {
|
|
316
|
+
"#text": {
|
|
317
|
+
"maxLength": 1000
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
]
|
|
322
|
+
},
|
|
323
|
+
"StringMultiLang": {
|
|
324
|
+
"description": "多语言字符串,最大长度为 500 个字符",
|
|
325
|
+
"anyOf": [
|
|
326
|
+
{
|
|
327
|
+
"type": "array",
|
|
328
|
+
"items": {
|
|
329
|
+
"$ref": "#/$defs/LocalizedText500Item"
|
|
330
|
+
},
|
|
331
|
+
"uniqueItems": true
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"$ref": "#/$defs/LocalizedText500Item"
|
|
335
|
+
}
|
|
336
|
+
]
|
|
337
|
+
},
|
|
338
|
+
"Int1": {
|
|
339
|
+
"description": "1 位整数",
|
|
340
|
+
"type": "string",
|
|
341
|
+
"pattern": "^[0-9]$"
|
|
342
|
+
},
|
|
343
|
+
"Int5": {
|
|
344
|
+
"description": "5位整数",
|
|
345
|
+
"type": "string",
|
|
346
|
+
"pattern": "^(0|[1-9]\\d{0,4})$"
|
|
347
|
+
},
|
|
348
|
+
"Int6": {
|
|
349
|
+
"description": "6位整数",
|
|
350
|
+
"type": "string",
|
|
351
|
+
"pattern": "^(0|[1-9]\\d{0,5})$"
|
|
352
|
+
},
|
|
353
|
+
"LevelType": {
|
|
354
|
+
"description": "1 位整数,必须等于或大于 0",
|
|
355
|
+
"$ref": "#/$defs/Int1"
|
|
356
|
+
},
|
|
357
|
+
"Perc": {
|
|
358
|
+
"description": "百分比金额(ILCD Perc:十进制,totalDigits=5,fractionDigits=3)",
|
|
359
|
+
"type": "string",
|
|
360
|
+
"pattern": "^[+-]?(\\d{1,5}|\\d{1,4}\\.\\d|\\d{1,3}\\.\\d{2}|\\d{1,2}\\.\\d{3})$"
|
|
361
|
+
},
|
|
362
|
+
"MatR": {
|
|
363
|
+
"description": "数学规则",
|
|
364
|
+
"type": "string"
|
|
365
|
+
},
|
|
366
|
+
"MatV": {
|
|
367
|
+
"description": "数学变量或参数",
|
|
368
|
+
"type": "string"
|
|
369
|
+
},
|
|
370
|
+
"Real": {
|
|
371
|
+
"description": "38位实数",
|
|
372
|
+
"type": "string",
|
|
373
|
+
"pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([Ee][+-]?\\d+)?$"
|
|
374
|
+
},
|
|
375
|
+
"ST": {
|
|
376
|
+
"description": "短文本,最大长度为 1000 个字符",
|
|
377
|
+
"type": "string",
|
|
378
|
+
"maxLength": 1000
|
|
379
|
+
},
|
|
380
|
+
"String": {
|
|
381
|
+
"description": "最大长度为 500 个字符的字符串。最小长度必须为 1。",
|
|
382
|
+
"type": "string",
|
|
383
|
+
"maxLength": 500,
|
|
384
|
+
"minLength": 1
|
|
385
|
+
},
|
|
386
|
+
"STMultiLang": {
|
|
387
|
+
"description": "多语言短文本,最大长度为 1000 个字符。",
|
|
388
|
+
"anyOf": [
|
|
389
|
+
{
|
|
390
|
+
"type": "array",
|
|
391
|
+
"items": {
|
|
392
|
+
"$ref": "#/$defs/LocalizedText1000Item"
|
|
393
|
+
},
|
|
394
|
+
"uniqueItems": true
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"$ref": "#/$defs/LocalizedText1000Item"
|
|
398
|
+
}
|
|
399
|
+
]
|
|
400
|
+
},
|
|
401
|
+
"FTMultiLang": {
|
|
402
|
+
"description": "长度不受限制的多语言自由文本。",
|
|
403
|
+
"anyOf": [
|
|
404
|
+
{
|
|
405
|
+
"type": "array",
|
|
406
|
+
"items": {
|
|
407
|
+
"$ref": "#/$defs/LocalizedTextItem"
|
|
408
|
+
},
|
|
409
|
+
"uniqueItems": true
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"$ref": "#/$defs/LocalizedTextItem"
|
|
413
|
+
}
|
|
414
|
+
]
|
|
415
|
+
},
|
|
416
|
+
"AnyXmlElement": {
|
|
417
|
+
"description": "任意 XML 元素负载的 JSON 表示形式。",
|
|
418
|
+
"anyOf": [
|
|
419
|
+
{
|
|
420
|
+
"type": "null"
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"type": "string"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"type": "number"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"type": "boolean"
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"type": "array",
|
|
433
|
+
"minItems": 1,
|
|
434
|
+
"items": {
|
|
435
|
+
"$ref": "#/$defs/AnyXmlElement"
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"type": "object",
|
|
440
|
+
"additionalProperties": {
|
|
441
|
+
"$ref": "#/$defs/AnyXmlElement"
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
]
|
|
445
|
+
},
|
|
446
|
+
"CommonOther": {
|
|
447
|
+
"description": "ILCD通用:其他扩展容器。容器必须包含至少一个非公共扩展元素;允许命名空间声明,但不计为扩展内容。",
|
|
448
|
+
"type": "object",
|
|
449
|
+
"patternProperties": {
|
|
450
|
+
"^@xmlns(:[A-Za-z_][A-Za-z0-9_.-]*)?$": {
|
|
451
|
+
"type": "string"
|
|
452
|
+
},
|
|
453
|
+
"^(?!(common|xmlns):)([A-Za-z_][A-Za-z0-9_.-]*:)?[A-Za-z_][A-Za-z0-9_.-]*$": {
|
|
454
|
+
"$ref": "#/$defs/AnyXmlElement"
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
"additionalProperties": false,
|
|
458
|
+
"not": {
|
|
459
|
+
"propertyNames": {
|
|
460
|
+
"pattern": "^@xmlns(:[A-Za-z_][A-Za-z0-9_.-]*)?$"
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
"GlobalReferenceType": {
|
|
465
|
+
"description": "表示对另一个数据集或文件的引用。在 TIDAS 中,引用必须包括类型、refObjectId、版本、uri 和短描述。",
|
|
466
|
+
"anyOf": [
|
|
467
|
+
{
|
|
468
|
+
"type": "object",
|
|
469
|
+
"properties": {
|
|
470
|
+
"@type": {
|
|
471
|
+
"$ref": "#/$defs/GlobalReferenceTypeValues"
|
|
472
|
+
},
|
|
473
|
+
"@refObjectId": {
|
|
474
|
+
"type": "string",
|
|
475
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
476
|
+
},
|
|
477
|
+
"@version": {
|
|
478
|
+
"$ref": "#/$defs/Version"
|
|
479
|
+
},
|
|
480
|
+
"@uri": {
|
|
481
|
+
"type": "string"
|
|
482
|
+
},
|
|
483
|
+
"common:shortDescription": {
|
|
484
|
+
"$ref": "#/$defs/STMultiLang"
|
|
485
|
+
},
|
|
486
|
+
"common:subReference": {
|
|
487
|
+
"description": "Optional sub-reference (e.g. section or page) within the referenced source.",
|
|
488
|
+
"anyOf": [
|
|
489
|
+
{
|
|
490
|
+
"$ref": "#/$defs/String"
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"type": "array",
|
|
494
|
+
"minItems": 1,
|
|
495
|
+
"items": {
|
|
496
|
+
"$ref": "#/$defs/String"
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
]
|
|
500
|
+
}
|
|
501
|
+
},
|
|
502
|
+
"required": [
|
|
503
|
+
"@type",
|
|
504
|
+
"@refObjectId",
|
|
505
|
+
"@uri",
|
|
506
|
+
"@version",
|
|
507
|
+
"common:shortDescription"
|
|
508
|
+
]
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"type": "array",
|
|
512
|
+
"items": {
|
|
513
|
+
"type": "object",
|
|
514
|
+
"properties": {
|
|
515
|
+
"@type": {
|
|
516
|
+
"$ref": "#/$defs/GlobalReferenceTypeValues"
|
|
517
|
+
},
|
|
518
|
+
"@refObjectId": {
|
|
519
|
+
"type": "string",
|
|
520
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
521
|
+
},
|
|
522
|
+
"@version": {
|
|
523
|
+
"$ref": "#/$defs/Version"
|
|
524
|
+
},
|
|
525
|
+
"@uri": {
|
|
526
|
+
"type": "string"
|
|
527
|
+
},
|
|
528
|
+
"common:shortDescription": {
|
|
529
|
+
"$ref": "#/$defs/STMultiLang"
|
|
530
|
+
},
|
|
531
|
+
"common:subReference": {
|
|
532
|
+
"description": "Optional sub-reference (e.g. section or page) within the referenced source.",
|
|
533
|
+
"anyOf": [
|
|
534
|
+
{
|
|
535
|
+
"$ref": "#/$defs/String"
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"type": "array",
|
|
539
|
+
"minItems": 1,
|
|
540
|
+
"items": {
|
|
541
|
+
"$ref": "#/$defs/String"
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
]
|
|
545
|
+
}
|
|
546
|
+
},
|
|
547
|
+
"required": [
|
|
548
|
+
"@type",
|
|
549
|
+
"@refObjectId",
|
|
550
|
+
"@uri",
|
|
551
|
+
"@version",
|
|
552
|
+
"common:shortDescription"
|
|
553
|
+
]
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
]
|
|
557
|
+
},
|
|
558
|
+
"GIS": {
|
|
559
|
+
"description": "纬度和经度中的全球地理参考示例:“+42.42;-180”、“0;0”、“13.22 ; -3”",
|
|
560
|
+
"type": "string",
|
|
561
|
+
"pattern": "^\\s*[+-]?((90(\\.0+)?)|([0-8]?\\d(\\.\\d+)?))\\s*;\\s*[+-]?((180(\\.0+)?)|((1[0-7]\\d|[0-9]?\\d)(\\.\\d+)?))\\s*$"
|
|
562
|
+
},
|
|
563
|
+
"UUID": {
|
|
564
|
+
"description": "唯一通用标识符,16 字节十六进制数",
|
|
565
|
+
"type": "string",
|
|
566
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
567
|
+
},
|
|
568
|
+
"Version": {
|
|
569
|
+
"description": "数据集版本号,格式 NN.NN(.NNN)(符合 ILCD)。",
|
|
570
|
+
"type": "string",
|
|
571
|
+
"pattern": "^\\d{2}\\.\\d{2}(\\.\\d{3})?$"
|
|
572
|
+
},
|
|
573
|
+
"GlobalReferenceTypeValues": {
|
|
574
|
+
"description": "被引用数据集/文件的类型(ILCD GlobalReferenceTypeValues)。",
|
|
575
|
+
"type": "string",
|
|
576
|
+
"enum": [
|
|
577
|
+
"source data set",
|
|
578
|
+
"process data set",
|
|
579
|
+
"flow data set",
|
|
580
|
+
"flow property data set",
|
|
581
|
+
"unit group data set",
|
|
582
|
+
"contact data set",
|
|
583
|
+
"LCIA method data set",
|
|
584
|
+
"other external file"
|
|
585
|
+
]
|
|
586
|
+
},
|
|
587
|
+
"Year": {
|
|
588
|
+
"description": "4 位数字年份",
|
|
589
|
+
"type": "integer",
|
|
590
|
+
"minimum": 1000,
|
|
591
|
+
"maximum": 9999
|
|
592
|
+
},
|
|
593
|
+
"dateTime": {
|
|
594
|
+
"description": "日期和时间格式符合。符合 ISO 8601",
|
|
595
|
+
"type": "string",
|
|
596
|
+
"format": "date-time"
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
}
|