@tiangong-lca/tidas-sdk 0.4.1 → 0.5.0
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/contracts/public-rules-assets/public-rules.source.v1.json +1 -1
- package/dist/core/entities/TidasFlow.js +1 -1
- package/dist/core/entities/TidasFlow.js.map +1 -1
- package/dist/core/validation/json-schema.d.ts +2 -0
- package/dist/core/validation/json-schema.d.ts.map +1 -1
- package/dist/core/validation/json-schema.js +10 -0
- package/dist/core/validation/json-schema.js.map +1 -1
- package/dist/runtime-assets/tidas/schema.lock.json +61 -61
- package/dist/runtime-assets/tidas/schemas/tidas_contacts.json +110 -49
- package/dist/runtime-assets/tidas/schemas/tidas_flowproperties.json +78 -20
- package/dist/runtime-assets/tidas/schemas/tidas_flows.json +118 -91
- package/dist/runtime-assets/tidas/schemas/tidas_lciamethods.json +1388 -283
- package/dist/runtime-assets/tidas/schemas/tidas_lifecyclemodels.json +506 -185
- package/dist/runtime-assets/tidas/schemas/tidas_processes.json +296 -115
- package/dist/runtime-assets/tidas/schemas/tidas_sources.json +80 -22
- package/dist/runtime-assets/tidas/schemas/tidas_unitgroups.json +102 -29
- package/dist/runtime-assets/tidas/schemas_zh/tidas_contacts.json +110 -49
- package/dist/runtime-assets/tidas/schemas_zh/tidas_flowproperties.json +78 -20
- package/dist/runtime-assets/tidas/schemas_zh/tidas_flows.json +118 -91
- package/dist/runtime-assets/tidas/schemas_zh/tidas_lciamethods.json +1388 -283
- package/dist/runtime-assets/tidas/schemas_zh/tidas_lifecyclemodels.json +506 -185
- package/dist/runtime-assets/tidas/schemas_zh/tidas_processes.json +296 -115
- package/dist/runtime-assets/tidas/schemas_zh/tidas_sources.json +80 -22
- package/dist/runtime-assets/tidas/schemas_zh/tidas_unitgroups.json +102 -29
- package/dist/schemas/tidas_contacts.schema.d.ts +14 -2
- package/dist/schemas/tidas_contacts.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_contacts.schema.js +33 -14
- package/dist/schemas/tidas_contacts.schema.js.map +1 -1
- package/dist/schemas/tidas_flowproperties.schema.d.ts +13 -2
- package/dist/schemas/tidas_flowproperties.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_flowproperties.schema.js +26 -8
- package/dist/schemas/tidas_flowproperties.schema.js.map +1 -1
- package/dist/schemas/tidas_flows.schema.d.ts +10 -3
- package/dist/schemas/tidas_flows.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_flows.schema.js +31 -37
- package/dist/schemas/tidas_flows.schema.js.map +1 -1
- package/dist/schemas/tidas_lciamethods.schema.d.ts +13698 -8203
- package/dist/schemas/tidas_lciamethods.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_lciamethods.schema.js +639 -162
- package/dist/schemas/tidas_lciamethods.schema.js.map +1 -1
- package/dist/schemas/tidas_lifecyclemodels.schema.d.ts +1658 -25
- package/dist/schemas/tidas_lifecyclemodels.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_lifecyclemodels.schema.js +204 -120
- package/dist/schemas/tidas_lifecyclemodels.schema.js.map +1 -1
- package/dist/schemas/tidas_processes.schema.d.ts +785 -11
- package/dist/schemas/tidas_processes.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_processes.schema.js +185 -87
- package/dist/schemas/tidas_processes.schema.js.map +1 -1
- package/dist/schemas/tidas_sources.schema.d.ts +13 -2
- package/dist/schemas/tidas_sources.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_sources.schema.js +26 -8
- package/dist/schemas/tidas_sources.schema.js.map +1 -1
- package/dist/schemas/tidas_unitgroups.schema.d.ts +22 -10
- package/dist/schemas/tidas_unitgroups.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_unitgroups.schema.js +35 -20
- package/dist/schemas/tidas_unitgroups.schema.js.map +1 -1
- package/dist/types/tidas_contacts.d.ts +13 -1
- package/dist/types/tidas_contacts.d.ts.map +1 -1
- package/dist/types/tidas_flowproperties.d.ts +12 -1
- package/dist/types/tidas_flowproperties.d.ts.map +1 -1
- package/dist/types/tidas_flows.d.ts +26 -2
- package/dist/types/tidas_flows.d.ts.map +1 -1
- package/dist/types/tidas_lciamethods.d.ts +119 -16
- package/dist/types/tidas_lciamethods.d.ts.map +1 -1
- package/dist/types/tidas_lifecyclemodels.d.ts +43 -14
- package/dist/types/tidas_lifecyclemodels.d.ts.map +1 -1
- package/dist/types/tidas_processes.d.ts +25 -7
- package/dist/types/tidas_processes.d.ts.map +1 -1
- package/dist/types/tidas_sources.d.ts +12 -1
- package/dist/types/tidas_sources.d.ts.map +1 -1
- package/dist/types/tidas_unitgroups.d.ts +19 -7
- package/dist/types/tidas_unitgroups.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -49,38 +49,96 @@
|
|
|
49
49
|
"properties": {
|
|
50
50
|
"common:classification": {
|
|
51
51
|
"description": "Optional statistical or other classification of the data set. Typically also used for structuring LCA databases.",
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
"common:class": {
|
|
52
|
+
"anyOf": [
|
|
53
|
+
{
|
|
55
54
|
"type": "object",
|
|
56
55
|
"properties": {
|
|
57
|
-
"
|
|
58
|
-
"
|
|
56
|
+
"common:class": {
|
|
57
|
+
"type": "object",
|
|
58
|
+
"properties": {
|
|
59
|
+
"@level": {
|
|
60
|
+
"$ref": "tidas_data_types.json#/$defs/LevelType"
|
|
61
|
+
},
|
|
62
|
+
"@classId": {
|
|
63
|
+
"type": "string"
|
|
64
|
+
},
|
|
65
|
+
"#text": {
|
|
66
|
+
"type": "string"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"dependencies": {
|
|
70
|
+
"@level": {
|
|
71
|
+
"$ref": "./tidas_flowproperties_category.json#/$defs/FlowProperty"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"required": [
|
|
75
|
+
"@level",
|
|
76
|
+
"@classId",
|
|
77
|
+
"#text"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"common:other": {
|
|
81
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
59
82
|
},
|
|
60
|
-
"@
|
|
83
|
+
"@name": {
|
|
61
84
|
"type": "string"
|
|
62
85
|
},
|
|
63
|
-
"
|
|
86
|
+
"@classes": {
|
|
64
87
|
"type": "string"
|
|
65
88
|
}
|
|
66
89
|
},
|
|
67
|
-
"dependencies": {
|
|
68
|
-
"@level": {
|
|
69
|
-
"$ref": "./tidas_flowproperties_category.json#/$defs/FlowProperty"
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
90
|
"required": [
|
|
73
|
-
"
|
|
74
|
-
"@classId",
|
|
75
|
-
"#text"
|
|
91
|
+
"common:class"
|
|
76
92
|
]
|
|
77
93
|
},
|
|
78
|
-
|
|
79
|
-
"
|
|
94
|
+
{
|
|
95
|
+
"type": "array",
|
|
96
|
+
"minItems": 1,
|
|
97
|
+
"items": {
|
|
98
|
+
"type": "object",
|
|
99
|
+
"description": "One named classification system (e.g. CPC or HS). Used in the array form to let multiple systems coexist.",
|
|
100
|
+
"properties": {
|
|
101
|
+
"@name": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"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."
|
|
104
|
+
},
|
|
105
|
+
"@classes": {
|
|
106
|
+
"type": "string",
|
|
107
|
+
"description": "Optional URL or identifier of the classification file/system."
|
|
108
|
+
},
|
|
109
|
+
"common:class": {
|
|
110
|
+
"type": "array",
|
|
111
|
+
"minItems": 1,
|
|
112
|
+
"items": {
|
|
113
|
+
"type": "object",
|
|
114
|
+
"properties": {
|
|
115
|
+
"@level": {
|
|
116
|
+
"$ref": "tidas_data_types.json#/$defs/LevelType"
|
|
117
|
+
},
|
|
118
|
+
"@classId": {
|
|
119
|
+
"type": "string"
|
|
120
|
+
},
|
|
121
|
+
"#text": {
|
|
122
|
+
"type": "string"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"required": [
|
|
126
|
+
"@level",
|
|
127
|
+
"@classId",
|
|
128
|
+
"#text"
|
|
129
|
+
]
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"common:other": {
|
|
133
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"required": [
|
|
137
|
+
"@name",
|
|
138
|
+
"common:class"
|
|
139
|
+
]
|
|
140
|
+
}
|
|
80
141
|
}
|
|
81
|
-
},
|
|
82
|
-
"required": [
|
|
83
|
-
"common:class"
|
|
84
142
|
]
|
|
85
143
|
}
|
|
86
144
|
},
|
|
@@ -75,97 +75,17 @@
|
|
|
75
75
|
"description": "Hierachical classification of the Flow property foreseen to be used to structure the Flow property content of the database. (Note: This entry is NOT required for the identification of the Flow property data set. It should nevertheless be avoided to use identical names for Flow properties in the same class.",
|
|
76
76
|
"properties": {
|
|
77
77
|
"common:elementaryFlowCategorization": {
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
"type": "array",
|
|
82
|
-
"items": [
|
|
83
|
-
{
|
|
84
|
-
"type": "object",
|
|
85
|
-
"properties": {
|
|
86
|
-
"@level": {
|
|
87
|
-
"$ref": "tidas_data_types.json#/$defs/LevelType",
|
|
88
|
-
"const": "0"
|
|
89
|
-
},
|
|
90
|
-
"@catId": {
|
|
91
|
-
"type": "string"
|
|
92
|
-
},
|
|
93
|
-
"#text": {
|
|
94
|
-
"type": "string"
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
"required": [
|
|
98
|
-
"@level",
|
|
99
|
-
"@catId",
|
|
100
|
-
"#text"
|
|
101
|
-
],
|
|
102
|
-
"dependencies": {
|
|
103
|
-
"@level": {
|
|
104
|
-
"$ref": "./tidas_flows_elementary_category.json"
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"type": "object",
|
|
110
|
-
"properties": {
|
|
111
|
-
"@level": {
|
|
112
|
-
"$ref": "tidas_data_types.json#/$defs/LevelType",
|
|
113
|
-
"const": "1"
|
|
114
|
-
},
|
|
115
|
-
"@catId": {
|
|
116
|
-
"type": "string"
|
|
117
|
-
},
|
|
118
|
-
"#text": {
|
|
119
|
-
"type": "string"
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
"required": [
|
|
123
|
-
"@level",
|
|
124
|
-
"@catId",
|
|
125
|
-
"#text"
|
|
126
|
-
],
|
|
127
|
-
"dependencies": {
|
|
128
|
-
"@level": {
|
|
129
|
-
"$ref": "./tidas_flows_elementary_category.json"
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"type": "object",
|
|
135
|
-
"properties": {
|
|
136
|
-
"@level": {
|
|
137
|
-
"$ref": "tidas_data_types.json#/$defs/LevelType",
|
|
138
|
-
"const": "2"
|
|
139
|
-
},
|
|
140
|
-
"@catId": {
|
|
141
|
-
"type": "string"
|
|
142
|
-
},
|
|
143
|
-
"#text": {
|
|
144
|
-
"type": "string"
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
"required": [
|
|
148
|
-
"@level",
|
|
149
|
-
"@catId",
|
|
150
|
-
"#text"
|
|
151
|
-
],
|
|
152
|
-
"dependencies": {
|
|
153
|
-
"@level": {
|
|
154
|
-
"$ref": "./tidas_flows_elementary_category.json"
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
],
|
|
159
|
-
"uniqueItems": true,
|
|
160
|
-
"maxItems": 3,
|
|
161
|
-
"additionalItems": false
|
|
78
|
+
"anyOf": [
|
|
79
|
+
{
|
|
80
|
+
"$ref": "#/$defs/ElementaryFlowCategorization"
|
|
162
81
|
},
|
|
163
|
-
|
|
164
|
-
"
|
|
82
|
+
{
|
|
83
|
+
"type": "array",
|
|
84
|
+
"minItems": 1,
|
|
85
|
+
"items": {
|
|
86
|
+
"$ref": "#/$defs/ElementaryFlowCategorization"
|
|
87
|
+
}
|
|
165
88
|
}
|
|
166
|
-
},
|
|
167
|
-
"required": [
|
|
168
|
-
"common:category"
|
|
169
89
|
]
|
|
170
90
|
},
|
|
171
91
|
"common:classification": {
|
|
@@ -427,7 +347,18 @@
|
|
|
427
347
|
"type": "object",
|
|
428
348
|
"properties": {
|
|
429
349
|
"locationOfSupply": {
|
|
430
|
-
"
|
|
350
|
+
"anyOf": [
|
|
351
|
+
{
|
|
352
|
+
"$ref": "tidas_locations_category.json"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"type": "array",
|
|
356
|
+
"minItems": 1,
|
|
357
|
+
"items": {
|
|
358
|
+
"$ref": "tidas_locations_category.json"
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
]
|
|
431
362
|
},
|
|
432
363
|
"common:other": {
|
|
433
364
|
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
@@ -841,5 +772,101 @@
|
|
|
841
772
|
},
|
|
842
773
|
"required": [
|
|
843
774
|
"flowDataSet"
|
|
844
|
-
]
|
|
775
|
+
],
|
|
776
|
+
"$defs": {
|
|
777
|
+
"ElementaryFlowCategorization": {
|
|
778
|
+
"type": "object",
|
|
779
|
+
"properties": {
|
|
780
|
+
"common:category": {
|
|
781
|
+
"type": "array",
|
|
782
|
+
"items": [
|
|
783
|
+
{
|
|
784
|
+
"type": "object",
|
|
785
|
+
"properties": {
|
|
786
|
+
"@level": {
|
|
787
|
+
"$ref": "tidas_data_types.json#/$defs/LevelType",
|
|
788
|
+
"const": "0"
|
|
789
|
+
},
|
|
790
|
+
"@catId": {
|
|
791
|
+
"type": "string"
|
|
792
|
+
},
|
|
793
|
+
"#text": {
|
|
794
|
+
"type": "string"
|
|
795
|
+
}
|
|
796
|
+
},
|
|
797
|
+
"required": [
|
|
798
|
+
"@level",
|
|
799
|
+
"@catId",
|
|
800
|
+
"#text"
|
|
801
|
+
],
|
|
802
|
+
"dependencies": {
|
|
803
|
+
"@level": {
|
|
804
|
+
"$ref": "./tidas_flows_elementary_category.json"
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"type": "object",
|
|
810
|
+
"properties": {
|
|
811
|
+
"@level": {
|
|
812
|
+
"$ref": "tidas_data_types.json#/$defs/LevelType",
|
|
813
|
+
"const": "1"
|
|
814
|
+
},
|
|
815
|
+
"@catId": {
|
|
816
|
+
"type": "string"
|
|
817
|
+
},
|
|
818
|
+
"#text": {
|
|
819
|
+
"type": "string"
|
|
820
|
+
}
|
|
821
|
+
},
|
|
822
|
+
"required": [
|
|
823
|
+
"@level",
|
|
824
|
+
"@catId",
|
|
825
|
+
"#text"
|
|
826
|
+
],
|
|
827
|
+
"dependencies": {
|
|
828
|
+
"@level": {
|
|
829
|
+
"$ref": "./tidas_flows_elementary_category.json"
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
"type": "object",
|
|
835
|
+
"properties": {
|
|
836
|
+
"@level": {
|
|
837
|
+
"$ref": "tidas_data_types.json#/$defs/LevelType",
|
|
838
|
+
"const": "2"
|
|
839
|
+
},
|
|
840
|
+
"@catId": {
|
|
841
|
+
"type": "string"
|
|
842
|
+
},
|
|
843
|
+
"#text": {
|
|
844
|
+
"type": "string"
|
|
845
|
+
}
|
|
846
|
+
},
|
|
847
|
+
"required": [
|
|
848
|
+
"@level",
|
|
849
|
+
"@catId",
|
|
850
|
+
"#text"
|
|
851
|
+
],
|
|
852
|
+
"dependencies": {
|
|
853
|
+
"@level": {
|
|
854
|
+
"$ref": "./tidas_flows_elementary_category.json"
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
],
|
|
859
|
+
"uniqueItems": true,
|
|
860
|
+
"maxItems": 3,
|
|
861
|
+
"additionalItems": false
|
|
862
|
+
},
|
|
863
|
+
"common:other": {
|
|
864
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
865
|
+
}
|
|
866
|
+
},
|
|
867
|
+
"required": [
|
|
868
|
+
"common:category"
|
|
869
|
+
]
|
|
870
|
+
}
|
|
871
|
+
}
|
|
845
872
|
}
|