@tiangong-lca/cli 0.0.11 → 0.0.13
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 +18 -7
- package/assets/tidas-schemas/tidas_contacts.json +312 -0
- package/assets/tidas-schemas/tidas_contacts_category.json +126 -0
- package/assets/tidas-schemas/tidas_data_types.json +359 -0
- package/assets/tidas-schemas/tidas_flowproperties.json +303 -0
- package/assets/tidas-schemas/tidas_flowproperties_category.json +61 -0
- package/assets/tidas-schemas/tidas_flows.json +809 -0
- package/assets/tidas-schemas/tidas_flows_elementary_category.json +720 -0
- package/assets/tidas-schemas/tidas_flows_product_category.json +59623 -0
- package/assets/tidas-schemas/tidas_lciamethods.json +1326 -0
- package/assets/tidas-schemas/tidas_lciamethods_category.json +685 -0
- package/assets/tidas-schemas/tidas_lifecyclemodels.json +1374 -0
- package/assets/tidas-schemas/tidas_locations_category.json +2593 -0
- package/assets/tidas-schemas/tidas_processes.json +1646 -0
- package/assets/tidas-schemas/tidas_processes_category.json +10795 -0
- package/assets/tidas-schemas/tidas_sources.json +228 -0
- package/assets/tidas-schemas/tidas_sources_category.json +100 -0
- package/assets/tidas-schemas/tidas_unitgroups.json +338 -0
- package/assets/tidas-schemas/tidas_unitgroups_category.json +61 -0
- package/dist/src/cli.js +847 -13
- package/dist/src/cli.js.map +1 -1
- package/dist/src/lib/dataset-classification.js +947 -0
- package/dist/src/lib/dataset-classification.js.map +1 -0
- package/dist/src/lib/dataset-command.js +11 -0
- package/dist/src/lib/dataset-command.js.map +1 -1
- package/dist/src/lib/dataset-contract.js +2 -0
- package/dist/src/lib/dataset-contract.js.map +1 -1
- package/dist/src/lib/dataset-curation-queue.js +359 -2
- package/dist/src/lib/dataset-curation-queue.js.map +1 -1
- package/dist/src/lib/dataset-import-lca.js +18 -0
- package/dist/src/lib/dataset-import-lca.js.map +1 -1
- package/dist/src/lib/dataset-local.js +94 -1
- package/dist/src/lib/dataset-local.js.map +1 -1
- package/dist/src/lib/dataset-maintenance-clear-account.js +506 -0
- package/dist/src/lib/dataset-maintenance-clear-account.js.map +1 -0
- package/dist/src/lib/dataset-patch.js +797 -0
- package/dist/src/lib/dataset-patch.js.map +1 -0
- package/dist/src/lib/dataset-remote-verify.js +188 -3
- package/dist/src/lib/dataset-remote-verify.js.map +1 -1
- package/dist/src/lib/dataset-save-draft-run.js +725 -0
- package/dist/src/lib/dataset-save-draft-run.js.map +1 -0
- package/dist/src/lib/dataset-validate.js +32 -2
- package/dist/src/lib/dataset-validate.js.map +1 -1
- package/dist/src/lib/flow-publish-version.js +7 -2
- package/dist/src/lib/flow-publish-version.js.map +1 -1
- package/dist/src/lib/flow-qa.js +8 -0
- package/dist/src/lib/flow-qa.js.map +1 -1
- package/dist/src/lib/identity-preflight.js +895 -117
- package/dist/src/lib/identity-preflight.js.map +1 -1
- package/dist/src/lib/lifecyclemodel-qa.js +159 -34
- package/dist/src/lib/lifecyclemodel-qa.js.map +1 -1
- package/dist/src/lib/process-required-fields.js +62 -12
- package/dist/src/lib/process-required-fields.js.map +1 -1
- package/dist/src/lib/process-save-draft-run.js +10 -0
- package/dist/src/lib/process-save-draft-run.js.map +1 -1
- package/dist/src/lib/process-save-draft.js +59 -3
- package/dist/src/lib/process-save-draft.js.map +1 -1
- package/dist/src/lib/supabase-client.js +19 -8
- package/dist/src/lib/supabase-client.js.map +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"sourceDataSet": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"@xmlns:common": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"const": "http://lca.jrc.it/ILCD/Common"
|
|
11
|
+
},
|
|
12
|
+
"@xmlns": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"const": "http://lca.jrc.it/ILCD/Source"
|
|
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/Source ../../schemas/ILCD_SourceDataSet.xsd"
|
|
27
|
+
},
|
|
28
|
+
"sourceInformation": {
|
|
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": "Automatically generated Universally Unique Identifier of this data set. Together with the \"Data set version\", the UUID uniquely identifies each data set."
|
|
37
|
+
},
|
|
38
|
+
"common:shortName": {
|
|
39
|
+
"$ref": "tidas_data_types.json#/$defs/StringMultiLang",
|
|
40
|
+
"description": "Short name for the \"Source citation\", i.e. for the bibliographical reference or reference to internal data sources used."
|
|
41
|
+
},
|
|
42
|
+
"classificationInformation": {
|
|
43
|
+
"type": "object",
|
|
44
|
+
"description": "Hierarchical classification of the Source foreseen to be used to structure the Source content of the database. (Note: This entry is NOT required for the identification of a Source. It should nevertheless be avoided to use identical names for Source in the same class.",
|
|
45
|
+
"properties": {
|
|
46
|
+
"common:classification": {
|
|
47
|
+
"type": "object",
|
|
48
|
+
"properties": {
|
|
49
|
+
"common:class": {
|
|
50
|
+
"type": "object",
|
|
51
|
+
"properties": {
|
|
52
|
+
"@level": {
|
|
53
|
+
"$ref": "tidas_data_types.json#/$defs/LevelType",
|
|
54
|
+
"const": "0"
|
|
55
|
+
},
|
|
56
|
+
"@classId": {
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
"#text": {
|
|
60
|
+
"type": "string"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"required": [
|
|
64
|
+
"@level",
|
|
65
|
+
"@classId",
|
|
66
|
+
"#text"
|
|
67
|
+
],
|
|
68
|
+
"dependencies": {
|
|
69
|
+
"@level": {
|
|
70
|
+
"$ref": "./tidas_sources_category.json#/$defs/Source"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"common:other": {
|
|
75
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"required": [
|
|
79
|
+
"common:class"
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"required": [
|
|
84
|
+
"common:classification"
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
"sourceCitation": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"description": "Bibliographical reference or reference to internal data source. Also used in order to reference to databases and tools, data set formats, conformity systems, pictures etc.."
|
|
90
|
+
},
|
|
91
|
+
"publicationType": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"description": "Bibliographic publication type of the source.",
|
|
94
|
+
"enum": [
|
|
95
|
+
"Undefined",
|
|
96
|
+
"Article in periodical",
|
|
97
|
+
"Chapter in anthology",
|
|
98
|
+
"Monograph",
|
|
99
|
+
"Direct measurement",
|
|
100
|
+
"Oral communication",
|
|
101
|
+
"Personal written communication",
|
|
102
|
+
"Questionnaire",
|
|
103
|
+
"Software or database",
|
|
104
|
+
"Other unpublished and grey literature"
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
"sourceDescriptionOrComment": {
|
|
108
|
+
"$ref": "tidas_data_types.json#/$defs/FTMultiLang",
|
|
109
|
+
"description": "Free text for additional description of the source. In case of use of published data it may contain a brief summary of the publication and the kind of medium used (e.g. CD-ROM, hard copy)."
|
|
110
|
+
},
|
|
111
|
+
"referenceToDigitalFile": {
|
|
112
|
+
"type": "object",
|
|
113
|
+
"description": "Link to a digital file of the source (www-address or intranet-path; relative or absolue path). (Info: Allows direct access to e.g. complete reports of further documentation, which may also be digitally attached to this data set and exchanged jointly with the XML file.)",
|
|
114
|
+
"properties": {
|
|
115
|
+
"@uri": {
|
|
116
|
+
"type": "string",
|
|
117
|
+
"format": "uri"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"referenceToContact": {
|
|
122
|
+
"$ref": "tidas_data_types.json#/$defs/GlobalReferenceType",
|
|
123
|
+
"description": "\"Contact data set\"s of working groups, organisations or database networks to which EITHER this person or entity OR this database, data set format, or compliance system belongs. [Note: This does not necessarily imply a legally binding relationship, but may also be a voluntary membership.]"
|
|
124
|
+
},
|
|
125
|
+
"referenceToLogo": {
|
|
126
|
+
"$ref": "tidas_data_types.json#/$defs/GlobalReferenceType",
|
|
127
|
+
"description": "\"Source data set\" of the logo of the organisation or source to be used in reports etc."
|
|
128
|
+
},
|
|
129
|
+
"common:other": {
|
|
130
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"required": [
|
|
134
|
+
"common:UUID",
|
|
135
|
+
"common:shortName",
|
|
136
|
+
"classificationInformation"
|
|
137
|
+
]
|
|
138
|
+
},
|
|
139
|
+
"common:other": {
|
|
140
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"required": [
|
|
144
|
+
"dataSetInformation"
|
|
145
|
+
]
|
|
146
|
+
},
|
|
147
|
+
"administrativeInformation": {
|
|
148
|
+
"type": "object",
|
|
149
|
+
"description": "Information on data set management and administration.",
|
|
150
|
+
"properties": {
|
|
151
|
+
"dataEntryBy": {
|
|
152
|
+
"type": "object",
|
|
153
|
+
"properties": {
|
|
154
|
+
"common:timeStamp": {
|
|
155
|
+
"$ref": "tidas_data_types.json#/$defs/dateTime",
|
|
156
|
+
"description": "Date and time stamp of data set generation, typically an automated entry ('last saved')."
|
|
157
|
+
},
|
|
158
|
+
"common:referenceToDataSetFormat": {
|
|
159
|
+
"$ref": "tidas_data_types.json#/$defs/GlobalReferenceType",
|
|
160
|
+
"description": "\"Source data set\" of the used version of the ILCD format. If additional data format fields have been integrated into the data set file, using the \"namespace\" option, the used format namespace(s) are to be given. This is the case if the data sets carries additional information as specified by other, particular LCA formats, e.g. of other database networks or LCA softwares."
|
|
161
|
+
},
|
|
162
|
+
"common:other": {
|
|
163
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"required": [
|
|
167
|
+
"common:timeStamp",
|
|
168
|
+
"common:referenceToDataSetFormat"
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
"publicationAndOwnership": {
|
|
172
|
+
"type": "object",
|
|
173
|
+
"description": "Information related to publication and version management of the data set including copyright and access restrictions.",
|
|
174
|
+
"properties": {
|
|
175
|
+
"common:dataSetVersion": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"description": "Version number of data set. First two digits refer to major updates, the second two digits to minor revisions and error corrections etc. The third three digits are intended for automatic and internal counting of versions during data set development. Together with the data set's UUID, the \"Data set version\" uniquely identifies each data set."
|
|
178
|
+
},
|
|
179
|
+
"common:referenceToPrecedingDataSetVersion": {
|
|
180
|
+
"$ref": "tidas_data_types.json#/$defs/GlobalReferenceType",
|
|
181
|
+
"description": "Last preceding data set, which was replaced by this version. In TIDAS, this reference includes the preceding data set URI, UUID, and version number."
|
|
182
|
+
},
|
|
183
|
+
"common:permanentDataSetURI": {
|
|
184
|
+
"type": "string",
|
|
185
|
+
"format": "uri",
|
|
186
|
+
"description": "URI (i.e. an internet address) of the original of this data set. [Note: This equally globally unique identifier supports users and software tools to identify and retrieve the original version of a data set via the internet or to check for available updates. The URI must not represent an existing WWW address, but it should be unique and point to the data access point, e.g. by combining the data owner's www path with the data set's UUID, e.g. http://www.mycompany.com/lca/processes/50f12420-8855-12db-b606-0900210c9a66.]"
|
|
187
|
+
},
|
|
188
|
+
"common:referenceToOwnershipOfDataSet": {
|
|
189
|
+
"$ref": "tidas_data_types.json#/$defs/GlobalReferenceType",
|
|
190
|
+
"description": "\"Contact data set\" of the person or entity who owns this data set. (Note: this is not necessarily the publisher of the data set.)"
|
|
191
|
+
},
|
|
192
|
+
"common:other": {
|
|
193
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"required": [
|
|
197
|
+
"common:dataSetVersion",
|
|
198
|
+
"common:referenceToOwnershipOfDataSet"
|
|
199
|
+
]
|
|
200
|
+
},
|
|
201
|
+
"common:other": {
|
|
202
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"required": [
|
|
206
|
+
"dataEntryBy",
|
|
207
|
+
"publicationAndOwnership"
|
|
208
|
+
]
|
|
209
|
+
},
|
|
210
|
+
"common:other": {
|
|
211
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
"required": [
|
|
215
|
+
"@xmlns:common",
|
|
216
|
+
"@xmlns",
|
|
217
|
+
"@xmlns:xsi",
|
|
218
|
+
"@version",
|
|
219
|
+
"@xsi:schemaLocation",
|
|
220
|
+
"sourceInformation",
|
|
221
|
+
"administrativeInformation"
|
|
222
|
+
]
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"required": [
|
|
226
|
+
"sourceDataSet"
|
|
227
|
+
]
|
|
228
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$defs": {
|
|
4
|
+
"Source": {
|
|
5
|
+
"oneOf": [
|
|
6
|
+
{
|
|
7
|
+
"properties": {
|
|
8
|
+
"@level": {
|
|
9
|
+
"const": "0"
|
|
10
|
+
},
|
|
11
|
+
"@classId": {
|
|
12
|
+
"const": "0"
|
|
13
|
+
},
|
|
14
|
+
"#text": {
|
|
15
|
+
"const": "Images"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"properties": {
|
|
21
|
+
"@level": {
|
|
22
|
+
"const": "0"
|
|
23
|
+
},
|
|
24
|
+
"@classId": {
|
|
25
|
+
"const": "1"
|
|
26
|
+
},
|
|
27
|
+
"#text": {
|
|
28
|
+
"const": "Data set formats"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"properties": {
|
|
34
|
+
"@level": {
|
|
35
|
+
"const": "0"
|
|
36
|
+
},
|
|
37
|
+
"@classId": {
|
|
38
|
+
"const": "2"
|
|
39
|
+
},
|
|
40
|
+
"#text": {
|
|
41
|
+
"const": "Databases"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"properties": {
|
|
47
|
+
"@level": {
|
|
48
|
+
"const": "0"
|
|
49
|
+
},
|
|
50
|
+
"@classId": {
|
|
51
|
+
"const": "3"
|
|
52
|
+
},
|
|
53
|
+
"#text": {
|
|
54
|
+
"const": "Compliance systems"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"properties": {
|
|
60
|
+
"@level": {
|
|
61
|
+
"const": "0"
|
|
62
|
+
},
|
|
63
|
+
"@classId": {
|
|
64
|
+
"const": "4"
|
|
65
|
+
},
|
|
66
|
+
"#text": {
|
|
67
|
+
"const": "Statistical classifications"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"properties": {
|
|
73
|
+
"@level": {
|
|
74
|
+
"const": "0"
|
|
75
|
+
},
|
|
76
|
+
"@classId": {
|
|
77
|
+
"const": "5"
|
|
78
|
+
},
|
|
79
|
+
"#text": {
|
|
80
|
+
"const": "Publications and communications"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"properties": {
|
|
86
|
+
"@level": {
|
|
87
|
+
"const": "0"
|
|
88
|
+
},
|
|
89
|
+
"@classId": {
|
|
90
|
+
"const": "6"
|
|
91
|
+
},
|
|
92
|
+
"#text": {
|
|
93
|
+
"const": "Other source types"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,338 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"unitGroupDataSet": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"@xmlns": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"const": "http://lca.jrc.it/ILCD/UnitGroup"
|
|
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/UnitGroup ../../schemas/ILCD_UnitGroupDataSet.xsd"
|
|
27
|
+
},
|
|
28
|
+
"unitGroupInformation": {
|
|
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": "Automatically generated Universally Unique Identifier of this data set. Together with the \"Data set version\", the UUID uniquely identifies each data set."
|
|
37
|
+
},
|
|
38
|
+
"common:name": {
|
|
39
|
+
"$ref": "tidas_data_types.json#/$defs/StringMultiLang",
|
|
40
|
+
"description": "Name of the unit group, typically indicating for which flow property or group of flow properties it is used. The individual units are named in the \"Units\" section of the \"Unit group data set\""
|
|
41
|
+
},
|
|
42
|
+
"classificationInformation": {
|
|
43
|
+
"type": "object",
|
|
44
|
+
"description": "Hierachical classification of the Unit groups; foreseen to be used to structure the Unit group content of the database. (Note: This entry is NOT required for the identification of the Unit group data set. It should nevertheless be avoided to use identical names for Unit groups in the same class.",
|
|
45
|
+
"properties": {
|
|
46
|
+
"common:classification": {
|
|
47
|
+
"type": "object",
|
|
48
|
+
"description": "Optional statistical or other classification of the data set. Typically also used for structuring LCA databases.",
|
|
49
|
+
"properties": {
|
|
50
|
+
"common:class": {
|
|
51
|
+
"type": "object",
|
|
52
|
+
"properties": {
|
|
53
|
+
"@level": {
|
|
54
|
+
"$ref": "tidas_data_types.json#/$defs/LevelType",
|
|
55
|
+
"const": "0",
|
|
56
|
+
"description": "If more than one class is specified in a hierachical classification system, the hierarchy level (1,2,...) could be specified with this attribute of class."
|
|
57
|
+
},
|
|
58
|
+
"@classId": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"description": "Unique identifier for the class. [Notes: If such identifiers are also defined in the referenced category file, they should be identical. Identifiers can be UUID's, but also other forms are allowed.]"
|
|
61
|
+
},
|
|
62
|
+
"#text": {
|
|
63
|
+
"type": "string"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"required": [
|
|
67
|
+
"@level",
|
|
68
|
+
"@classId",
|
|
69
|
+
"#text"
|
|
70
|
+
],
|
|
71
|
+
"dependencies": {
|
|
72
|
+
"@level": {
|
|
73
|
+
"$ref": "./tidas_unitgroups_category.json#/$defs/UnitGroup"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"common:other": {
|
|
78
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"required": [
|
|
82
|
+
"common:class"
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"required": [
|
|
87
|
+
"common:classification"
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
"common:generalComment": {
|
|
91
|
+
"$ref": "tidas_data_types.json#/$defs/FTMultiLang",
|
|
92
|
+
"description": "Free text for general information about the data set. E.g. coverage of different unit systems, information sources used, etc."
|
|
93
|
+
},
|
|
94
|
+
"common:other": {
|
|
95
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"required": [
|
|
99
|
+
"common:UUID",
|
|
100
|
+
"common:name",
|
|
101
|
+
"classificationInformation"
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
"quantitativeReference": {
|
|
105
|
+
"type": "object",
|
|
106
|
+
"properties": {
|
|
107
|
+
"referenceToReferenceUnit": {
|
|
108
|
+
"$ref": "tidas_data_types.json#/$defs/Int5"
|
|
109
|
+
},
|
|
110
|
+
"common:other": {
|
|
111
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"required": [
|
|
115
|
+
"referenceToReferenceUnit"
|
|
116
|
+
]
|
|
117
|
+
},
|
|
118
|
+
"common:other": {
|
|
119
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"required": [
|
|
123
|
+
"dataSetInformation",
|
|
124
|
+
"quantitativeReference"
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
"modellingAndValidation": {
|
|
128
|
+
"type": "object",
|
|
129
|
+
"properties": {
|
|
130
|
+
"complianceDeclarations": {
|
|
131
|
+
"type": "object",
|
|
132
|
+
"properties": {
|
|
133
|
+
"compliance": {
|
|
134
|
+
"description": "One compliance declaration. Multiple declarations may be provided.",
|
|
135
|
+
"anyOf": [
|
|
136
|
+
{
|
|
137
|
+
"type": "object",
|
|
138
|
+
"properties": {
|
|
139
|
+
"common:referenceToComplianceSystem": {
|
|
140
|
+
"$ref": "tidas_data_types.json#/$defs/GlobalReferenceType"
|
|
141
|
+
},
|
|
142
|
+
"common:approvalOfOverallCompliance": {
|
|
143
|
+
"type": "string",
|
|
144
|
+
"enum": [
|
|
145
|
+
"Fully compliant",
|
|
146
|
+
"Not compliant",
|
|
147
|
+
"Not defined"
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
"common:other": {
|
|
151
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"required": [
|
|
155
|
+
"common:referenceToComplianceSystem",
|
|
156
|
+
"common:approvalOfOverallCompliance"
|
|
157
|
+
]
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"type": "array",
|
|
161
|
+
"items": {
|
|
162
|
+
"type": "object",
|
|
163
|
+
"properties": {
|
|
164
|
+
"common:referenceToComplianceSystem": {
|
|
165
|
+
"$ref": "tidas_data_types.json#/$defs/GlobalReferenceType"
|
|
166
|
+
},
|
|
167
|
+
"common:approvalOfOverallCompliance": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"enum": [
|
|
170
|
+
"Fully compliant",
|
|
171
|
+
"Not compliant",
|
|
172
|
+
"Not defined"
|
|
173
|
+
]
|
|
174
|
+
},
|
|
175
|
+
"common:other": {
|
|
176
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"required": [
|
|
180
|
+
"common:referenceToComplianceSystem",
|
|
181
|
+
"common:approvalOfOverallCompliance"
|
|
182
|
+
]
|
|
183
|
+
},
|
|
184
|
+
"minItems": 1
|
|
185
|
+
}
|
|
186
|
+
]
|
|
187
|
+
},
|
|
188
|
+
"common:other": {
|
|
189
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"required": [
|
|
193
|
+
"compliance"
|
|
194
|
+
]
|
|
195
|
+
},
|
|
196
|
+
"common:other": {
|
|
197
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"required": [
|
|
201
|
+
"complianceDeclarations"
|
|
202
|
+
]
|
|
203
|
+
},
|
|
204
|
+
"administrativeInformation": {
|
|
205
|
+
"type": "object",
|
|
206
|
+
"properties": {
|
|
207
|
+
"dataEntryBy": {
|
|
208
|
+
"type": "object",
|
|
209
|
+
"properties": {
|
|
210
|
+
"common:timeStamp": {
|
|
211
|
+
"$ref": "tidas_data_types.json#/$defs/dateTime",
|
|
212
|
+
"description": "Date and time stamp of data set generation, typically an automated entry (\"last saved\")."
|
|
213
|
+
},
|
|
214
|
+
"common:referenceToDataSetFormat": {
|
|
215
|
+
"$ref": "tidas_data_types.json#/$defs/GlobalReferenceType",
|
|
216
|
+
"description": "\"Source data set\" of the used version of the ILCD format. If additional data format fields have been integrated into the data set file, using the \"namespace\" option, the used format namespace(s) are to be given. This is the case if the data sets carries additional information as specified by other, particular LCA formats, e.g. of other database networks or LCA softwares."
|
|
217
|
+
},
|
|
218
|
+
"common:other": {
|
|
219
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"required": [
|
|
223
|
+
"common:timeStamp",
|
|
224
|
+
"common:referenceToDataSetFormat"
|
|
225
|
+
]
|
|
226
|
+
},
|
|
227
|
+
"publicationAndOwnership": {
|
|
228
|
+
"type": "object",
|
|
229
|
+
"properties": {
|
|
230
|
+
"common:dataSetVersion": {
|
|
231
|
+
"type": "string",
|
|
232
|
+
"description": "Version number of data set. First two digits refer to major updates, the second two digits to minor revisions and error corrections etc. The third three digits are intended for automatic and internal counting of versions during data set development. Together with the data set's UUID, the \"Data set version\" uniquely identifies each data set."
|
|
233
|
+
},
|
|
234
|
+
"common:referenceToPrecedingDataSetVersion": {
|
|
235
|
+
"$ref": "tidas_data_types.json#/$defs/GlobalReferenceType",
|
|
236
|
+
"description": "Last preceding data set, which was replaced by this version. In TIDAS, this reference includes the preceding data set URI, UUID, and version number."
|
|
237
|
+
},
|
|
238
|
+
"common:permanentDataSetURI": {
|
|
239
|
+
"type": "string",
|
|
240
|
+
"format": "uri",
|
|
241
|
+
"description": "URI (i.e. an internet address) of the original of this data set. [Note: This equally globally unique identifier supports users and software tools to identify and retrieve the original version of a data set via the internet or to check for available updates. The URI must not represent an existing WWW address, but it should be unique and point to the data access point, e.g. by combining the data owner's www path with the data set's UUID, e.g. http://www.mycompany.com/lca/processes/50f12420-8855-12db-b606-0900210c9a66.]"
|
|
242
|
+
},
|
|
243
|
+
"common:referenceToOwnershipOfDataSet": {
|
|
244
|
+
"$ref": "tidas_data_types.json#/$defs/GlobalReferenceType",
|
|
245
|
+
"description": "\"Contact data set\" of the person or entity who owns this data set. (Note: this is not necessarily the publisher of the data set.)"
|
|
246
|
+
},
|
|
247
|
+
"common:other": {
|
|
248
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
"required": [
|
|
252
|
+
"common:dataSetVersion",
|
|
253
|
+
"common:referenceToOwnershipOfDataSet"
|
|
254
|
+
]
|
|
255
|
+
},
|
|
256
|
+
"common:other": {
|
|
257
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"required": [
|
|
261
|
+
"dataEntryBy",
|
|
262
|
+
"publicationAndOwnership"
|
|
263
|
+
]
|
|
264
|
+
},
|
|
265
|
+
"units": {
|
|
266
|
+
"type": "object",
|
|
267
|
+
"properties": {
|
|
268
|
+
"unit": {
|
|
269
|
+
"anyOf": [
|
|
270
|
+
{
|
|
271
|
+
"type": "object",
|
|
272
|
+
"properties": {
|
|
273
|
+
"@dataSetInternalID": {
|
|
274
|
+
"$ref": "tidas_data_types.json#/$defs/Int5"
|
|
275
|
+
},
|
|
276
|
+
"name": {
|
|
277
|
+
"$ref": "tidas_data_types.json#/$defs/String"
|
|
278
|
+
},
|
|
279
|
+
"meanValue": {
|
|
280
|
+
"$ref": "tidas_data_types.json#/$defs/Real"
|
|
281
|
+
},
|
|
282
|
+
"generalComment": {
|
|
283
|
+
"$ref": "tidas_data_types.json#/$defs/StringMultiLang",
|
|
284
|
+
"description": "General comment on each single unit, typically giving the long name and unit system from which this unit stems, and (if necessary) referring to specifc data sources used, or for workflow purposes about status of \"finalisation\" of an entry etc."
|
|
285
|
+
},
|
|
286
|
+
"common:other": {
|
|
287
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"type": "array",
|
|
293
|
+
"items": {
|
|
294
|
+
"type": "object",
|
|
295
|
+
"properties": {
|
|
296
|
+
"@dataSetInternalID": {
|
|
297
|
+
"$ref": "tidas_data_types.json#/$defs/Int5"
|
|
298
|
+
},
|
|
299
|
+
"name": {
|
|
300
|
+
"$ref": "tidas_data_types.json#/$defs/String"
|
|
301
|
+
},
|
|
302
|
+
"meanValue": {
|
|
303
|
+
"$ref": "tidas_data_types.json#/$defs/Real"
|
|
304
|
+
},
|
|
305
|
+
"generalComment": {
|
|
306
|
+
"$ref": "tidas_data_types.json#/$defs/StringMultiLang",
|
|
307
|
+
"description": "General comment on each single unit, typically giving the long name and unit system from which this unit stems, and (if necessary) referring to specifc data sources used, or for workflow purposes about status of \"finalisation\" of an entry etc."
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
]
|
|
313
|
+
},
|
|
314
|
+
"common:other": {
|
|
315
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
"common:other": {
|
|
320
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"required": [
|
|
324
|
+
"@xmlns",
|
|
325
|
+
"@xmlns:common",
|
|
326
|
+
"@xmlns:xsi",
|
|
327
|
+
"@version",
|
|
328
|
+
"@xsi:schemaLocation",
|
|
329
|
+
"unitGroupInformation",
|
|
330
|
+
"modellingAndValidation",
|
|
331
|
+
"administrativeInformation"
|
|
332
|
+
]
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"required": [
|
|
336
|
+
"unitGroupDataSet"
|
|
337
|
+
]
|
|
338
|
+
}
|