@hestia-earth/data-validation 0.37.15 → 0.37.17

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.37.15",
3
+ "version": "0.37.17",
4
4
  "description": "HESTIA Data Validation library",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "fuel": [
3
- "petrol",
4
3
  "diesel",
4
+ "petrol",
5
5
  "diesel1D",
6
6
  "aviationGasoline",
7
7
  "marineDieselOil",
@@ -26,112 +26,135 @@
26
26
  "discardedCropRemoved"
27
27
  ],
28
28
  "model": [
29
+ "landOccupationCalculationIncludingUsedAndUnusedDuration",
30
+ "edip2003",
29
31
  "cnspsModel",
32
+ "hestiaAggregatedData",
33
+ "lcImpactAllEffects100Years",
30
34
  "pestlciConsensusModel",
31
- "worldMeteorologicalOrganization1999",
32
- "ipcc2019",
33
- "ipcc2007",
35
+ "recipe2008Individualist",
36
+ "pefcrGuidanceDocument2017",
34
37
  "agribalyse2016",
35
- "hestiaAggregatedData",
38
+ "ipcc2007",
39
+ "ipcc2019",
40
+ "dewulfEtAl2007",
36
41
  "epa2014",
37
- "pefcrGuidanceDocument2017",
38
- "edip2003",
39
- "landOccupationCalculationIncludingUsedAndUnusedDuration",
40
- "recipe2008Individualist",
41
- "lcImpactAllEffects100Years",
42
+ "spatial",
42
43
  "aware",
43
44
  "landOccupationCalculationUsedDurationOnly",
44
- "spatial",
45
- "dewulfEtAl2007",
46
- "usetoxV2",
45
+ "worldMeteorologicalOrganization1999",
47
46
  "ipcc2013ExcludingFeedbacks",
48
- "europeanEnvironmentAgency2016",
49
- "haversineFormula",
50
- "ipcc2019CountryAverageFertiliserMix",
51
- "lcImpactCertainEffects100Years",
52
- "papatryphonEtAl2004",
53
- "fantkeEtAl2016",
54
47
  "pribyl2010",
55
- "cml1992",
48
+ "ridouttPfister2010",
49
+ "lcImpactCertainEffects100Years",
50
+ "recipe2016Individualist",
56
51
  "chaudharyBrooks2018",
57
- "lcImpactCertainEffectsInfinite",
58
- "ecoinventV3",
52
+ "recipe2016Hierarchist",
59
53
  "ecoinventV3AndEmberClimate",
60
- "ridouttPfister2010",
61
- "harmonizedWorldSoilDatabaseV1-2",
62
54
  "mapbiomas",
63
- "recipe2016Hierarchist",
64
- "poschEtAl2008",
65
- "recipe2016Individualist",
66
55
  "sqcb",
67
- "ipcc1995",
68
- "riskpollModel",
56
+ "harmonizedWorldSoilDatabaseV1-2",
57
+ "lcImpactCertainEffectsInfinite",
58
+ "poschEtAl2008",
59
+ "haversineFormula",
60
+ "europeanEnvironmentAgency2016",
61
+ "fantkeEtAl2016",
62
+ "papatryphonEtAl2004",
63
+ "ipcc2019CountryAverageFertiliserMix",
64
+ "usetoxV2",
65
+ "cml1992",
66
+ "ecoinventV3",
69
67
  "pooreNemecek2018",
70
- "salca",
71
- "ecoalimV9",
72
68
  "worldSteel",
73
- "deRuijterEtAl2010",
74
- "environmentalFootprintV3-0",
75
- "lanca",
76
- "aware2-0",
69
+ "salca",
77
70
  "jarvisAndPain1994",
78
- "directive200829EcOfTheEuropeanParliament",
79
- "akagiEtAl2011",
80
- "schmidt2007",
81
- "koble2014",
82
71
  "blonkConsultants2016",
83
- "resourceUseNotRelevant",
84
- "kanEtAl2020",
85
72
  "usEpa1995",
73
+ "akagiEtAl2011",
74
+ "ipcc1995",
75
+ "kanEtAl2020",
86
76
  "usEpa1993",
87
- "emissionNotRelevant",
77
+ "lanca",
78
+ "directive200829EcOfTheEuropeanParliament",
79
+ "bafu2025",
88
80
  "environmentalFootprintV3-1",
89
- "emepEea2019",
81
+ "koble2014",
82
+ "schmidt2007",
83
+ "resourceUseNotRelevant",
84
+ "deRuijterEtAl2010",
85
+ "aware2-0",
86
+ "emissionNotRelevant",
87
+ "environmentalFootprintV3-0",
88
+ "riskpollModel",
89
+ "ecoalimV9",
90
+ "globalCropWaterModel2008",
90
91
  "ecoIndicator95",
92
+ "cml2001NonBaseline",
93
+ "emepEea2019",
94
+ "ipcc2013IncludingFeedbacks",
95
+ "sqcbFaistEmmeneggerEtAl2009",
96
+ "emepEea2019CountryAverageFertiliserMix",
97
+ "massBalanceModel",
91
98
  "chaudharyEtAl2015",
92
- "cumulativeEnergyDemandCedMethod",
93
- "ipcc2021",
94
- "semc2000",
95
- "stehfestBouwman2006",
96
- "gfliDatabaseV2",
97
- "globalCropWaterModel2008",
99
+ "stehfestBouwman2006GisImplementation",
98
100
  "milaICanalsEtAl2007",
99
- "emepEea2019CountryAverageFertiliserMix",
100
101
  "dammgen2009",
101
- "ipcc2013IncludingFeedbacks",
102
- "massBalanceModel",
103
- "linkedImpactAssessment",
102
+ "allenEtAl2018",
104
103
  "royEtAl2014",
105
- "stehfestBouwman2006GisImplementation",
106
- "hestia",
107
- "cml2001NonBaseline",
104
+ "stehfestBouwman2006",
105
+ "ipcc2021",
108
106
  "schererPfister2015",
109
- "sqcbFaistEmmeneggerEtAl2009",
110
- "allenEtAl2018",
111
- "rainsModel",
112
- "aggregatedModels",
113
- "europeanEnvironmentAgency2013",
114
- "frischknechtEtAl2000",
107
+ "hestia",
108
+ "cumulativeEnergyDemandCedMethod",
109
+ "gfliDatabaseV2",
110
+ "semc2000",
111
+ "linkedImpactAssessment",
112
+ "ipcc2006",
115
113
  "ipcc2001",
114
+ "recipe2008Hierarchist",
115
+ "otherModel",
116
+ "frischknechtEtAl2000",
117
+ "impact2002Model",
118
+ "ecoIndicator99",
119
+ "akagiEtAl2011AndIpcc2006",
120
+ "aggregatedModels",
116
121
  "environmentalFootprintV2-0",
122
+ "recipe2008Egalitarian",
123
+ "cml2001Baseline",
124
+ "europeanEnvironmentAgency2013",
117
125
  "ecoinventV2",
118
126
  "recipe2016Egalitarian",
119
- "hyde3-2",
120
- "ipcc2006",
121
- "otherModel",
122
- "ipcc1996",
123
- "recipe2008Hierarchist",
127
+ "rainsModel",
124
128
  "faostat2018",
125
- "ecoIndicator99",
126
- "cml2001Baseline",
127
- "recipe2008Egalitarian",
128
- "webbEtAl2012AndSintermannEtAl2012",
129
- "akagiEtAl2011AndIpcc2006",
130
129
  "lcImpactAllEffectsInfinite",
131
- "impact2002Model",
132
- "akiyamaEtAl2010"
130
+ "webbEtAl2012AndSintermannEtAl2012",
131
+ "akiyamaEtAl2010",
132
+ "ipcc1996",
133
+ "hyde3-2"
133
134
  ],
134
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
+ "tomatoFreshForage",
148
+ "triticaleFreshForage",
149
+ "panicFreshForage",
150
+ "quinoaFreshForage",
151
+ "sorghumFreshForage",
152
+ "cottonFreshForage",
153
+ "ryegrassFreshForage",
154
+ "teosinteFreshForage",
155
+ "cerealFreshForage",
156
+ "alfalfaFreshForage",
157
+ "sesbanFreshForage",
135
158
  "cockatooFreshForage",
136
159
  "jackfruitFreshForage",
137
160
  "cocksfootFreshForage",
@@ -148,28 +171,6 @@
148
171
  "peanutFreshForage",
149
172
  "mulgaFreshForage",
150
173
  "lupinFreshForage",
151
- "tomatoFreshForage",
152
- "triticaleFreshForage",
153
- "panicFreshForage",
154
- "quinoaFreshForage",
155
- "sorghumFreshForage",
156
- "cottonFreshForage",
157
- "ryegrassFreshForage",
158
- "teosinteFreshForage",
159
- "cerealFreshForage",
160
- "alfalfaFreshForage",
161
- "sesbanFreshForage",
162
- "wheatFreshForage",
163
- "taroFreshForage",
164
- "peaFreshForage",
165
- "jaraguaFreshForage",
166
- "fenugreekFreshForage",
167
- "hyparrheniaFreshForage",
168
- "ervilFreshForage",
169
- "amaranthFreshForage",
170
- "horoFreshForage",
171
- "tagasasteFreshForage",
172
- "oliveFreshForage",
173
174
  "redtopFreshForage",
174
175
  "bluegrassFreshForage",
175
176
  "sugarcaneFreshForage",
@@ -196,6 +197,57 @@
196
197
  "maizeFreshForage",
197
198
  "buckwheatFreshForage",
198
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
+ "natalGrassFreshForage",
226
+ "pennisetumSquamulatumFreshForage",
227
+ "desertGrassFreshForage",
228
+ "blanketGrassFreshForage",
229
+ "ubaCaneFreshForage",
230
+ "slenderGramaFreshForage",
231
+ "sporobolusMarginatusFreshForage",
232
+ "ravennaGrassFreshForage",
233
+ "leptochloaOptusifloraFreshForage",
234
+ "chrysopogonFallaxFreshForage",
235
+ "mnesitheaSelloanaFreshForage",
236
+ "slenderBluestemFreshForage",
237
+ "dubiGrassFreshForage",
238
+ "paspalidiumDesertorumFreshForage",
239
+ "pennisetumStramineumFreshForage",
240
+ "trachypogonVestitusFreshForage",
241
+ "rhodesGrassFreshForage",
242
+ "bungomaGrassFreshForage",
243
+ "spearGrassFreshForage",
244
+ "jerusalemArtichokeFreshForage",
245
+ "chlorisRoxburghianaFreshForage",
246
+ "pangolaGrassFreshForage",
247
+ "slenderChlorisFreshForage",
248
+ "liverseedGrassFreshForage",
249
+ "molassesGrassFreshForage",
250
+ "birdwoodGrassFreshForage",
199
251
  "sunnHempFreshForage",
200
252
  "signalGrassFreshForage",
201
253
  "columbusGrassFreshForage",
@@ -228,57 +280,32 @@
228
280
  "congoGrassFreshForage",
229
281
  "indianBluegrassFreshForage",
230
282
  "mnesitheaRottboellioidesFreshForage",
231
- "natalGrassFreshForage",
232
- "pennisetumSquamulatumFreshForage",
233
- "desertGrassFreshForage",
234
- "blanketGrassFreshForage",
235
- "ubaCaneFreshForage",
236
- "slenderGramaFreshForage",
237
- "sporobolusMarginatusFreshForage",
238
- "ravennaGrassFreshForage",
239
- "leptochloaOptusifloraFreshForage",
240
- "chrysopogonFallaxFreshForage",
241
- "mnesitheaSelloanaFreshForage",
242
- "slenderBluestemFreshForage",
243
- "dubiGrassFreshForage",
244
- "paspalidiumDesertorumFreshForage",
245
- "pennisetumStramineumFreshForage",
246
- "trachypogonVestitusFreshForage",
247
- "rhodesGrassFreshForage",
248
- "bungomaGrassFreshForage",
249
- "spearGrassFreshForage",
250
- "jerusalemArtichokeFreshForage",
251
- "chlorisRoxburghianaFreshForage",
252
- "pangolaGrassFreshForage",
253
- "slenderChlorisFreshForage",
254
- "liverseedGrassFreshForage",
255
- "molassesGrassFreshForage",
256
- "birdwoodGrassFreshForage",
257
- "sporobolusNervosusFreshForage",
258
- "spottedBrachiariaFreshForage",
259
- "pennisetumOrientaleFreshForage",
260
- "timothyGrassFreshForage",
261
- "eriochloaNubicaFreshForage",
262
- "carpetGrassFreshForage",
263
- "sporobolusHelvolusFreshForage",
264
- "missionGrassFreshForage",
265
- "rainTreeFreshForage",
266
- "sudanGrassFreshForage",
267
- "cockspurGrassFreshForage",
268
- "swaziGrassFreshForage",
269
- "polypogonSchimperianusFreshForage",
270
- "coelachyrumYemenicumFreshForage",
271
- "genericGrassFreshForage",
272
- "donkeyGrassFreshForage",
273
- "blackOatFreshForage",
274
- "prosoMilletFreshForage",
275
- "giantReedFreshForage",
276
- "nigeriaGrassFreshForage",
277
- "mungBeanFreshForage",
278
- "umbrellaThornFreshForage",
279
- "breadGrassFreshForage",
280
- "chineseAlbiziaFreshForage",
281
- "fodderBeetFreshForage",
283
+ "gambaGrassFreshForage",
284
+ "andropogonFastigiatusFreshForage",
285
+ "arizonaCottontopFreshForage",
286
+ "andropogonCanaliculatusFreshForage",
287
+ "pigeonPeaFreshForage",
288
+ "guriaGrassFreshForage",
289
+ "durumWheatFreshForage",
290
+ "paraGrassFreshForage",
291
+ "torpedoGrassFreshForage",
292
+ "sainGrassFreshForage",
293
+ "bluePanicFreshForage",
294
+ "tripsacumLatifoliumFreshForage",
295
+ "bermudaGrassFreshForage",
296
+ "setariaLachneaFreshForage",
297
+ "hyacinthBeanFreshForage",
298
+ "nileGrassFreshForage",
299
+ "alangAlangFreshForage",
300
+ "elephantGrassFreshForage",
301
+ "chlorisPrieuriiFreshForage",
302
+ "blackseedGrassFreshForage",
303
+ "surinameGrassFreshForage",
304
+ "redCloverFreshForage",
305
+ "guatemalaGrassFreshForage",
306
+ "centipedeGrassFreshForage",
307
+ "dallisGrassFreshForage",
308
+ "bahiaGrassFreshForage",
282
309
  "ottochloaNodosaFreshForage",
283
310
  "guarBeanFreshForage",
284
311
  "espartoGrassFreshForage",
@@ -312,44 +339,6 @@
312
339
  "creepingBluegrassFreshForage",
313
340
  "smutGrassFreshForage",
314
341
  "giantSetariaFreshForage",
315
- "gambaGrassFreshForage",
316
- "andropogonFastigiatusFreshForage",
317
- "arizonaCottontopFreshForage",
318
- "andropogonCanaliculatusFreshForage",
319
- "pigeonPeaFreshForage",
320
- "guriaGrassFreshForage",
321
- "durumWheatFreshForage",
322
- "paraGrassFreshForage",
323
- "torpedoGrassFreshForage",
324
- "sainGrassFreshForage",
325
- "bluePanicFreshForage",
326
- "tripsacumLatifoliumFreshForage",
327
- "bermudaGrassFreshForage",
328
- "setariaLachneaFreshForage",
329
- "hyacinthBeanFreshForage",
330
- "nileGrassFreshForage",
331
- "alangAlangFreshForage",
332
- "elephantGrassFreshForage",
333
- "chlorisPrieuriiFreshForage",
334
- "blackseedGrassFreshForage",
335
- "surinameGrassFreshForage",
336
- "redCloverFreshForage",
337
- "guatemalaGrassFreshForage",
338
- "centipedeGrassFreshForage",
339
- "dallisGrassFreshForage",
340
- "bahiaGrassFreshForage",
341
- "yellowThatchingGrassFreshForage",
342
- "africanLocustBeanFreshForage",
343
- "whiteSpearGrassFreshForage",
344
- "queenslandBlueGrassFreshForage",
345
- "bulbousCanaryGrassFreshForage",
346
- "grassCloverMixtureFreshForage",
347
- "hairyHerringboneGrassFreshForage",
348
- "largeLeafFlemingiaFreshForage",
349
- "weepingLoveGrassFreshForage",
350
- "redRhodesGrassFreshForage",
351
- "lehmannLoveGrassFreshForage",
352
- "stylosanthesCampoGrandeFreshForage",
353
342
  "milanjeFingerGrassFreshForage",
354
343
  "africanCouchGrassFreshForage",
355
344
  "colouredGuineaGrassFreshForage",
@@ -361,10 +350,18 @@
361
350
  "greyLoveGrassFreshForage",
362
351
  "cushionLoveGrassFreshForage",
363
352
  "wireLemonGrassFreshForage",
364
- "colouredHoodGrassFreshForage",
365
- "falseRhodesGrassFreshForage",
366
- "stAugustineGrassFreshForage",
367
- "commonNeedleGrassFreshForage",
353
+ "largeLeafFlemingiaFreshForage",
354
+ "weepingLoveGrassFreshForage",
355
+ "redRhodesGrassFreshForage",
356
+ "lehmannLoveGrassFreshForage",
357
+ "stylosanthesCampoGrandeFreshForage",
358
+ "yellowThatchingGrassFreshForage",
359
+ "africanLocustBeanFreshForage",
360
+ "whiteSpearGrassFreshForage",
361
+ "queenslandBlueGrassFreshForage",
362
+ "bulbousCanaryGrassFreshForage",
363
+ "grassCloverMixtureFreshForage",
364
+ "hairyHerringboneGrassFreshForage",
368
365
  "giantStarGrassFreshForage",
369
366
  "blueSignalGrassFreshForage",
370
367
  "chineseRyeGrassFreshForage",
@@ -375,6 +372,10 @@
375
372
  "genericLeguminousGrassFreshForage",
376
373
  "fineThatchingGrassFreshForage",
377
374
  "nadiBlueGrassFreshForage",
375
+ "colouredHoodGrassFreshForage",
376
+ "falseRhodesGrassFreshForage",
377
+ "stAugustineGrassFreshForage",
378
+ "commonNeedleGrassFreshForage",
378
379
  "bigLeafBristleGrassFreshForage"
379
380
  ],
380
381
  "rice": [
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const DATA_VALIDATION_VERSION = '0.37.15';
1
+ export const DATA_VALIDATION_VERSION = '0.37.17';
package/validation.json CHANGED
@@ -515,11 +515,6 @@
515
515
  "level": "error",
516
516
  "message": "must not add the feed input to the Cycle as well"
517
517
  },
518
- {
519
- "function": "validate_has_pregnancyRateTotal",
520
- "level": "warning",
521
- "message": "should specify the pregnancy rate"
522
- },
523
518
  {
524
519
  "function": "validate_has_milkYieldPractice",
525
520
  "level": "warning",
@@ -623,7 +618,7 @@
623
618
  {
624
619
  "function": "validate_id",
625
620
  "level": "error",
626
- "message": "aggregation id must contain a product, region, start, and end year"
621
+ "message": "aggregation id must contain a product, region, start, end year, and a timestamp"
627
622
  },
628
623
  {
629
624
  "function": "_validate_previous_transformationId",