@hestia-earth/data-validation 0.38.5 → 0.38.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hestia-earth/data-validation",
3
- "version": "0.38.5",
3
+ "version": "0.38.6",
4
4
  "description": "HESTIA Data Validation library",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "fuel": [
3
- "diesel",
4
3
  "petrol",
4
+ "diesel",
5
5
  "diesel1D",
6
6
  "aviationGasoline",
7
7
  "marineDieselOil",
8
8
  "diesel4D",
9
9
  "diesel2D",
10
- "gasolineTypeJetFuel",
11
10
  "en590Diesel",
11
+ "gasolineTypeJetFuel",
12
12
  "petrolBurntIn2StrokeEngine",
13
13
  "petrolBurntIn4StrokeEngine"
14
14
  ],
@@ -43,28 +43,27 @@
43
43
  "aware",
44
44
  "landOccupationCalculationUsedDurationOnly",
45
45
  "worldMeteorologicalOrganization1999",
46
- "globalCropWaterModel2008",
47
- "ecoIndicator95",
48
- "cml2001NonBaseline",
49
- "emepEea2019",
50
- "ipcc2013IncludingFeedbacks",
51
- "sqcbFaistEmmeneggerEtAl2009",
52
- "emepEea2019CountryAverageFertiliserMix",
53
- "massBalanceModel",
54
- "chaudharyEtAl2015",
55
- "stehfestBouwman2006GisImplementation",
56
- "milaICanalsEtAl2007",
57
- "dammgen2009",
58
- "allenEtAl2018",
59
- "royEtAl2014",
60
- "stehfestBouwman2006",
61
- "ipcc2021",
62
- "schererPfister2015",
63
- "hestia",
64
- "cumulativeEnergyDemandCedMethod",
65
- "gfliDatabaseV2",
66
- "semc2000",
67
- "linkedImpactAssessment",
46
+ "ipcc2013ExcludingFeedbacks",
47
+ "pribyl2010",
48
+ "ridouttPfister2010",
49
+ "lcImpactCertainEffects100Years",
50
+ "recipe2016Individualist",
51
+ "chaudharyBrooks2018",
52
+ "recipe2016Hierarchist",
53
+ "ecoinventV3AndEmberClimate",
54
+ "mapbiomas",
55
+ "sqcb",
56
+ "harmonizedWorldSoilDatabaseV1-2",
57
+ "lcImpactCertainEffectsInfinite",
58
+ "poschEtAl2008",
59
+ "haversineFormula",
60
+ "europeanEnvironmentAgency2016",
61
+ "fantkeEtAl2016",
62
+ "papatryphonEtAl2004",
63
+ "ipcc2019CountryAverageFertiliserMix",
64
+ "usetoxV2",
65
+ "cml1992",
66
+ "ecoinventV3",
68
67
  "ipcc2006",
69
68
  "ipcc2001",
70
69
  "recipe2008Hierarchist",
@@ -87,27 +86,28 @@
87
86
  "akiyamaEtAl2010",
88
87
  "ipcc1996",
89
88
  "hyde3-2",
90
- "ipcc2013ExcludingFeedbacks",
91
- "pribyl2010",
92
- "ridouttPfister2010",
93
- "lcImpactCertainEffects100Years",
94
- "recipe2016Individualist",
95
- "chaudharyBrooks2018",
96
- "recipe2016Hierarchist",
97
- "ecoinventV3AndEmberClimate",
98
- "mapbiomas",
99
- "sqcb",
100
- "harmonizedWorldSoilDatabaseV1-2",
101
- "lcImpactCertainEffectsInfinite",
102
- "poschEtAl2008",
103
- "haversineFormula",
104
- "europeanEnvironmentAgency2016",
105
- "fantkeEtAl2016",
106
- "papatryphonEtAl2004",
107
- "ipcc2019CountryAverageFertiliserMix",
108
- "usetoxV2",
109
- "cml1992",
110
- "ecoinventV3",
89
+ "globalCropWaterModel2008",
90
+ "ecoIndicator95",
91
+ "cml2001NonBaseline",
92
+ "emepEea2019",
93
+ "ipcc2013IncludingFeedbacks",
94
+ "sqcbFaistEmmeneggerEtAl2009",
95
+ "emepEea2019CountryAverageFertiliserMix",
96
+ "massBalanceModel",
97
+ "chaudharyEtAl2015",
98
+ "stehfestBouwman2006GisImplementation",
99
+ "milaICanalsEtAl2007",
100
+ "dammgen2009",
101
+ "allenEtAl2018",
102
+ "royEtAl2014",
103
+ "stehfestBouwman2006",
104
+ "ipcc2021",
105
+ "schererPfister2015",
106
+ "hestia",
107
+ "cumulativeEnergyDemandCedMethod",
108
+ "gfliDatabaseV2",
109
+ "semc2000",
110
+ "linkedImpactAssessment",
111
111
  "pooreNemecek2018",
112
112
  "worldSteel",
113
113
  "salca",
@@ -133,17 +133,6 @@
133
133
  "ecoalimV9"
134
134
  ],
135
135
  "forage": [
136
- "wheatFreshForage",
137
- "taroFreshForage",
138
- "peaFreshForage",
139
- "jaraguaFreshForage",
140
- "fenugreekFreshForage",
141
- "hyparrheniaFreshForage",
142
- "ervilFreshForage",
143
- "amaranthFreshForage",
144
- "horoFreshForage",
145
- "tagasasteFreshForage",
146
- "oliveFreshForage",
147
136
  "cockatooFreshForage",
148
137
  "jackfruitFreshForage",
149
138
  "cocksfootFreshForage",
@@ -175,6 +164,17 @@
175
164
  "burguFreshForage",
176
165
  "barleyFreshForage",
177
166
  "turnipFreshForage",
167
+ "wheatFreshForage",
168
+ "taroFreshForage",
169
+ "peaFreshForage",
170
+ "jaraguaFreshForage",
171
+ "fenugreekFreshForage",
172
+ "hyparrheniaFreshForage",
173
+ "ervilFreshForage",
174
+ "amaranthFreshForage",
175
+ "horoFreshForage",
176
+ "tagasasteFreshForage",
177
+ "oliveFreshForage",
178
178
  "tomatoFreshForage",
179
179
  "triticaleFreshForage",
180
180
  "panicFreshForage",
@@ -197,31 +197,6 @@
197
197
  "maizeFreshForage",
198
198
  "buckwheatFreshForage",
199
199
  "calliandraFreshForage",
200
- "sporobolusNervosusFreshForage",
201
- "spottedBrachiariaFreshForage",
202
- "pennisetumOrientaleFreshForage",
203
- "timothyGrassFreshForage",
204
- "eriochloaNubicaFreshForage",
205
- "carpetGrassFreshForage",
206
- "sporobolusHelvolusFreshForage",
207
- "missionGrassFreshForage",
208
- "rainTreeFreshForage",
209
- "sudanGrassFreshForage",
210
- "cockspurGrassFreshForage",
211
- "swaziGrassFreshForage",
212
- "polypogonSchimperianusFreshForage",
213
- "coelachyrumYemenicumFreshForage",
214
- "genericGrassFreshForage",
215
- "donkeyGrassFreshForage",
216
- "blackOatFreshForage",
217
- "prosoMilletFreshForage",
218
- "giantReedFreshForage",
219
- "nigeriaGrassFreshForage",
220
- "mungBeanFreshForage",
221
- "umbrellaThornFreshForage",
222
- "breadGrassFreshForage",
223
- "chineseAlbiziaFreshForage",
224
- "fodderBeetFreshForage",
225
200
  "sunnHempFreshForage",
226
201
  "signalGrassFreshForage",
227
202
  "columbusGrassFreshForage",
@@ -280,6 +255,31 @@
280
255
  "centipedeGrassFreshForage",
281
256
  "dallisGrassFreshForage",
282
257
  "bahiaGrassFreshForage",
258
+ "sporobolusNervosusFreshForage",
259
+ "spottedBrachiariaFreshForage",
260
+ "pennisetumOrientaleFreshForage",
261
+ "timothyGrassFreshForage",
262
+ "eriochloaNubicaFreshForage",
263
+ "carpetGrassFreshForage",
264
+ "sporobolusHelvolusFreshForage",
265
+ "missionGrassFreshForage",
266
+ "rainTreeFreshForage",
267
+ "sudanGrassFreshForage",
268
+ "cockspurGrassFreshForage",
269
+ "swaziGrassFreshForage",
270
+ "polypogonSchimperianusFreshForage",
271
+ "coelachyrumYemenicumFreshForage",
272
+ "genericGrassFreshForage",
273
+ "donkeyGrassFreshForage",
274
+ "blackOatFreshForage",
275
+ "prosoMilletFreshForage",
276
+ "giantReedFreshForage",
277
+ "nigeriaGrassFreshForage",
278
+ "mungBeanFreshForage",
279
+ "umbrellaThornFreshForage",
280
+ "breadGrassFreshForage",
281
+ "chineseAlbiziaFreshForage",
282
+ "fodderBeetFreshForage",
283
283
  "natalGrassFreshForage",
284
284
  "pennisetumSquamulatumFreshForage",
285
285
  "desertGrassFreshForage",
@@ -339,17 +339,6 @@
339
339
  "creepingBluegrassFreshForage",
340
340
  "smutGrassFreshForage",
341
341
  "giantSetariaFreshForage",
342
- "milanjeFingerGrassFreshForage",
343
- "africanCouchGrassFreshForage",
344
- "colouredGuineaGrassFreshForage",
345
- "grassAlfalfaMixtureFreshForage",
346
- "smallCanaryGrassFreshForage",
347
- "wildSudanGrassFreshForage",
348
- "woollyFingerGrassFreshForage",
349
- "commonThatchingGrassFreshForage",
350
- "greyLoveGrassFreshForage",
351
- "cushionLoveGrassFreshForage",
352
- "wireLemonGrassFreshForage",
353
342
  "yellowThatchingGrassFreshForage",
354
343
  "africanLocustBeanFreshForage",
355
344
  "whiteSpearGrassFreshForage",
@@ -372,6 +361,17 @@
372
361
  "redRhodesGrassFreshForage",
373
362
  "lehmannLoveGrassFreshForage",
374
363
  "stylosanthesCampoGrandeFreshForage",
364
+ "milanjeFingerGrassFreshForage",
365
+ "africanCouchGrassFreshForage",
366
+ "colouredGuineaGrassFreshForage",
367
+ "grassAlfalfaMixtureFreshForage",
368
+ "smallCanaryGrassFreshForage",
369
+ "wildSudanGrassFreshForage",
370
+ "woollyFingerGrassFreshForage",
371
+ "commonThatchingGrassFreshForage",
372
+ "greyLoveGrassFreshForage",
373
+ "cushionLoveGrassFreshForage",
374
+ "wireLemonGrassFreshForage",
375
375
  "colouredHoodGrassFreshForage",
376
376
  "falseRhodesGrassFreshForage",
377
377
  "stAugustineGrassFreshForage",
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const DATA_VALIDATION_VERSION = '0.38.5';
1
+ export const DATA_VALIDATION_VERSION = '0.38.6';
package/validation.json CHANGED
@@ -350,6 +350,16 @@
350
350
  "level": "error",
351
351
  "message": "must be linked to waste input"
352
352
  },
353
+ {
354
+ "function": "validate_resourceUse_landCover",
355
+ "level": "error",
356
+ "message": "this field is required"
357
+ },
358
+ {
359
+ "function": "validate_resourceUse_landCover",
360
+ "level": "error",
361
+ "message": "this field is required"
362
+ },
353
363
  {
354
364
  "function": "validate_empty",
355
365
  "level": "error",