@hestia-earth/data-validation 0.37.9 → 0.37.11
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 +1 -1
- package/search-results.json +102 -101
- package/src/version.ts +1 -1
- package/validation.json +34 -34
package/package.json
CHANGED
package/search-results.json
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"fuel": [
|
|
3
3
|
"diesel",
|
|
4
4
|
"petrol",
|
|
5
|
-
"aviationGasoline",
|
|
6
5
|
"diesel1D",
|
|
6
|
+
"aviationGasoline",
|
|
7
7
|
"marineDieselOil",
|
|
8
8
|
"diesel4D",
|
|
9
9
|
"diesel2D",
|
|
10
10
|
"gasolineTypeJetFuel",
|
|
11
|
-
"en590Diesel",
|
|
12
11
|
"petrolBurntIn2StrokeEngine",
|
|
12
|
+
"en590Diesel",
|
|
13
13
|
"petrolBurntIn4StrokeEngine"
|
|
14
14
|
],
|
|
15
15
|
"cropResidue": [
|
|
@@ -26,108 +26,109 @@
|
|
|
26
26
|
"discardedCropRemoved"
|
|
27
27
|
],
|
|
28
28
|
"model": [
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"aware2-0",
|
|
29
|
+
"riskpollModel",
|
|
30
|
+
"ipcc1995",
|
|
32
31
|
"environmentalFootprintV3-1",
|
|
33
|
-
"
|
|
32
|
+
"deRuijterEtAl2010",
|
|
33
|
+
"ecoalimV9",
|
|
34
|
+
"kanEtAl2020",
|
|
34
35
|
"resourceUseNotRelevant",
|
|
35
36
|
"environmentalFootprintV3-0",
|
|
36
|
-
"
|
|
37
|
-
"emissionNotRelevant",
|
|
37
|
+
"pooreNemecek2018",
|
|
38
38
|
"koble2014",
|
|
39
|
-
"
|
|
39
|
+
"usEpa1993",
|
|
40
|
+
"directive200829EcOfTheEuropeanParliament",
|
|
41
|
+
"emissionNotRelevant",
|
|
42
|
+
"lanca",
|
|
43
|
+
"aware2-0",
|
|
44
|
+
"schmidt2007",
|
|
40
45
|
"blonkConsultants2016",
|
|
41
|
-
"
|
|
46
|
+
"akagiEtAl2011",
|
|
47
|
+
"salca",
|
|
42
48
|
"usEpa1995",
|
|
43
|
-
"schmidt2007",
|
|
44
|
-
"lanca",
|
|
45
|
-
"usEpa1993",
|
|
46
|
-
"ecoalimV9",
|
|
47
49
|
"jarvisAndPain1994",
|
|
48
|
-
"
|
|
50
|
+
"emepEea2019CountryAverageFertiliserMix",
|
|
51
|
+
"ipcc2013IncludingFeedbacks",
|
|
49
52
|
"emepEea2019",
|
|
53
|
+
"massBalanceModel",
|
|
54
|
+
"gfliDatabaseV2",
|
|
50
55
|
"ipcc2021",
|
|
51
56
|
"dammgen2009",
|
|
57
|
+
"semc2000",
|
|
58
|
+
"hestia",
|
|
52
59
|
"allenEtAl2018",
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"linkedImpactAssessment",
|
|
60
|
+
"schererPfister2015",
|
|
61
|
+
"stehfestBouwman2006",
|
|
62
|
+
"cumulativeEnergyDemandCedMethod",
|
|
57
63
|
"chaudharyEtAl2015",
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"semc2000",
|
|
61
|
-
"cml2001NonBaseline",
|
|
64
|
+
"globalCropWaterModel2008",
|
|
65
|
+
"sqcbFaistEmmeneggerEtAl2009",
|
|
62
66
|
"royEtAl2014",
|
|
63
67
|
"milaICanalsEtAl2007",
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
68
|
+
"cml2001NonBaseline",
|
|
69
|
+
"ecoIndicator95",
|
|
70
|
+
"linkedImpactAssessment",
|
|
67
71
|
"stehfestBouwman2006GisImplementation",
|
|
68
|
-
"schererPfister2015",
|
|
69
|
-
"globalCropWaterModel2008",
|
|
70
|
-
"cumulativeEnergyDemandCedMethod",
|
|
71
|
-
"europeanEnvironmentAgency2016",
|
|
72
|
-
"ipcc2019CountryAverageFertiliserMix",
|
|
73
72
|
"papatryphonEtAl2004",
|
|
74
|
-
"
|
|
75
|
-
"lcImpactCertainEffects100Years",
|
|
76
|
-
"haversineFormula",
|
|
73
|
+
"ipcc2019CountryAverageFertiliserMix",
|
|
77
74
|
"usetoxV2",
|
|
75
|
+
"europeanEnvironmentAgency2016",
|
|
78
76
|
"ipcc2013ExcludingFeedbacks",
|
|
79
|
-
"
|
|
77
|
+
"fantkeEtAl2016",
|
|
78
|
+
"recipe2016Hierarchist",
|
|
80
79
|
"harmonizedWorldSoilDatabaseV1-2",
|
|
81
80
|
"poschEtAl2008",
|
|
81
|
+
"pribyl2010",
|
|
82
|
+
"ridouttPfister2010",
|
|
83
|
+
"cml1992",
|
|
84
|
+
"mapbiomas",
|
|
85
|
+
"lcImpactCertainEffects100Years",
|
|
86
|
+
"ecoinventV3AndEmberClimate",
|
|
82
87
|
"ecoinventV3",
|
|
88
|
+
"recipe2016Individualist",
|
|
83
89
|
"chaudharyBrooks2018",
|
|
84
|
-
"recipe2016Hierarchist",
|
|
85
90
|
"sqcb",
|
|
86
|
-
"mapbiomas",
|
|
87
|
-
"recipe2016Individualist",
|
|
88
|
-
"cml1992",
|
|
89
|
-
"ecoinventV3AndEmberClimate",
|
|
90
91
|
"lcImpactCertainEffectsInfinite",
|
|
91
|
-
"
|
|
92
|
+
"haversineFormula",
|
|
93
|
+
"landOccupationCalculationUsedDurationOnly",
|
|
94
|
+
"aware",
|
|
95
|
+
"agribalyse2016",
|
|
96
|
+
"hestiaAggregatedData",
|
|
97
|
+
"edip2003",
|
|
98
|
+
"pefcrGuidanceDocument2017",
|
|
99
|
+
"dewulfEtAl2007",
|
|
100
|
+
"landOccupationCalculationIncludingUsedAndUnusedDuration",
|
|
101
|
+
"spatial",
|
|
102
|
+
"worldMeteorologicalOrganization1999",
|
|
103
|
+
"cnspsModel",
|
|
104
|
+
"ipcc2007",
|
|
105
|
+
"ipcc2019",
|
|
106
|
+
"pestlciConsensusModel",
|
|
107
|
+
"epa2014",
|
|
108
|
+
"lcImpactAllEffects100Years",
|
|
109
|
+
"recipe2008Individualist",
|
|
110
|
+
"faostat2018",
|
|
111
|
+
"hyde3-2",
|
|
112
|
+
"akagiEtAl2011AndIpcc2006",
|
|
113
|
+
"ipcc2006",
|
|
114
|
+
"lcImpactAllEffectsInfinite",
|
|
115
|
+
"recipe2008Egalitarian",
|
|
116
|
+
"ipcc1996",
|
|
117
|
+
"otherModel",
|
|
92
118
|
"ipcc2001",
|
|
93
|
-
"environmentalFootprintV2-0",
|
|
94
119
|
"europeanEnvironmentAgency2013",
|
|
95
|
-
"akiyamaEtAl2010",
|
|
96
|
-
"lcImpactAllEffectsInfinite",
|
|
97
120
|
"aggregatedModels",
|
|
98
|
-
"
|
|
99
|
-
"akagiEtAl2011AndIpcc2006",
|
|
100
|
-
"webbEtAl2012AndSintermannEtAl2012",
|
|
101
|
-
"frischknechtEtAl2000",
|
|
121
|
+
"environmentalFootprintV2-0",
|
|
102
122
|
"impact2002Model",
|
|
123
|
+
"recipe2016Egalitarian",
|
|
103
124
|
"recipe2008Hierarchist",
|
|
104
|
-
"
|
|
105
|
-
"ecoinventV2",
|
|
106
|
-
"faostat2018",
|
|
125
|
+
"frischknechtEtAl2000",
|
|
107
126
|
"ecoIndicator99",
|
|
108
|
-
"
|
|
109
|
-
"
|
|
127
|
+
"akiyamaEtAl2010",
|
|
128
|
+
"ecoinventV2",
|
|
129
|
+
"webbEtAl2012AndSintermannEtAl2012",
|
|
110
130
|
"cml2001Baseline",
|
|
111
|
-
"
|
|
112
|
-
"recipe2008Egalitarian",
|
|
113
|
-
"ipcc2006",
|
|
114
|
-
"cnspsModel",
|
|
115
|
-
"dewulfEtAl2007",
|
|
116
|
-
"ipcc2019",
|
|
117
|
-
"ipcc2007",
|
|
118
|
-
"landOccupationCalculationIncludingUsedAndUnusedDuration",
|
|
119
|
-
"spatial",
|
|
120
|
-
"epa2014",
|
|
121
|
-
"pestlciConsensusModel",
|
|
122
|
-
"worldMeteorologicalOrganization1999",
|
|
123
|
-
"agribalyse2016",
|
|
124
|
-
"hestiaAggregatedData",
|
|
125
|
-
"pefcrGuidanceDocument2017",
|
|
126
|
-
"edip2003",
|
|
127
|
-
"recipe2008Individualist",
|
|
128
|
-
"aware",
|
|
129
|
-
"landOccupationCalculationUsedDurationOnly",
|
|
130
|
-
"lcImpactAllEffects100Years"
|
|
131
|
+
"rainsModel"
|
|
131
132
|
],
|
|
132
133
|
"forage": [
|
|
133
134
|
"tomatoFreshForage",
|
|
@@ -178,6 +179,22 @@
|
|
|
178
179
|
"burguFreshForage",
|
|
179
180
|
"barleyFreshForage",
|
|
180
181
|
"turnipFreshForage",
|
|
182
|
+
"cockatooFreshForage",
|
|
183
|
+
"jackfruitFreshForage",
|
|
184
|
+
"cocksfootFreshForage",
|
|
185
|
+
"safflowerFreshForage",
|
|
186
|
+
"trefoilFreshForage",
|
|
187
|
+
"kikuyuFreshForage",
|
|
188
|
+
"arrowrootFreshForage",
|
|
189
|
+
"itchgrassFreshForage",
|
|
190
|
+
"tanniaFreshForage",
|
|
191
|
+
"babulFreshForage",
|
|
192
|
+
"agatiFreshForage",
|
|
193
|
+
"nigerFreshForage",
|
|
194
|
+
"ryeFreshForage",
|
|
195
|
+
"peanutFreshForage",
|
|
196
|
+
"mulgaFreshForage",
|
|
197
|
+
"lupinFreshForage",
|
|
181
198
|
"natalGrassFreshForage",
|
|
182
199
|
"pennisetumSquamulatumFreshForage",
|
|
183
200
|
"desertGrassFreshForage",
|
|
@@ -204,22 +221,6 @@
|
|
|
204
221
|
"liverseedGrassFreshForage",
|
|
205
222
|
"molassesGrassFreshForage",
|
|
206
223
|
"birdwoodGrassFreshForage",
|
|
207
|
-
"cockatooFreshForage",
|
|
208
|
-
"jackfruitFreshForage",
|
|
209
|
-
"cocksfootFreshForage",
|
|
210
|
-
"safflowerFreshForage",
|
|
211
|
-
"trefoilFreshForage",
|
|
212
|
-
"kikuyuFreshForage",
|
|
213
|
-
"arrowrootFreshForage",
|
|
214
|
-
"itchgrassFreshForage",
|
|
215
|
-
"tanniaFreshForage",
|
|
216
|
-
"babulFreshForage",
|
|
217
|
-
"agatiFreshForage",
|
|
218
|
-
"nigerFreshForage",
|
|
219
|
-
"ryeFreshForage",
|
|
220
|
-
"peanutFreshForage",
|
|
221
|
-
"mulgaFreshForage",
|
|
222
|
-
"lupinFreshForage",
|
|
223
224
|
"sporobolusNervosusFreshForage",
|
|
224
225
|
"spottedBrachiariaFreshForage",
|
|
225
226
|
"pennisetumOrientaleFreshForage",
|
|
@@ -309,17 +310,6 @@
|
|
|
309
310
|
"redRhodesGrassFreshForage",
|
|
310
311
|
"lehmannLoveGrassFreshForage",
|
|
311
312
|
"stylosanthesCampoGrandeFreshForage",
|
|
312
|
-
"milanjeFingerGrassFreshForage",
|
|
313
|
-
"africanCouchGrassFreshForage",
|
|
314
|
-
"colouredGuineaGrassFreshForage",
|
|
315
|
-
"grassAlfalfaMixtureFreshForage",
|
|
316
|
-
"smallCanaryGrassFreshForage",
|
|
317
|
-
"wildSudanGrassFreshForage",
|
|
318
|
-
"woollyFingerGrassFreshForage",
|
|
319
|
-
"commonThatchingGrassFreshForage",
|
|
320
|
-
"greyLoveGrassFreshForage",
|
|
321
|
-
"cushionLoveGrassFreshForage",
|
|
322
|
-
"wireLemonGrassFreshForage",
|
|
323
313
|
"sunnHempFreshForage",
|
|
324
314
|
"signalGrassFreshForage",
|
|
325
315
|
"columbusGrassFreshForage",
|
|
@@ -352,6 +342,17 @@
|
|
|
352
342
|
"congoGrassFreshForage",
|
|
353
343
|
"indianBluegrassFreshForage",
|
|
354
344
|
"mnesitheaRottboellioidesFreshForage",
|
|
345
|
+
"milanjeFingerGrassFreshForage",
|
|
346
|
+
"africanCouchGrassFreshForage",
|
|
347
|
+
"colouredGuineaGrassFreshForage",
|
|
348
|
+
"grassAlfalfaMixtureFreshForage",
|
|
349
|
+
"smallCanaryGrassFreshForage",
|
|
350
|
+
"wildSudanGrassFreshForage",
|
|
351
|
+
"woollyFingerGrassFreshForage",
|
|
352
|
+
"commonThatchingGrassFreshForage",
|
|
353
|
+
"greyLoveGrassFreshForage",
|
|
354
|
+
"cushionLoveGrassFreshForage",
|
|
355
|
+
"wireLemonGrassFreshForage",
|
|
355
356
|
"colouredHoodGrassFreshForage",
|
|
356
357
|
"falseRhodesGrassFreshForage",
|
|
357
358
|
"stAugustineGrassFreshForage",
|
|
@@ -377,8 +378,8 @@
|
|
|
377
378
|
],
|
|
378
379
|
"rice": [
|
|
379
380
|
"riceStraw",
|
|
380
|
-
"jungleRiceHay",
|
|
381
381
|
"riceGrainInHuskFlooded",
|
|
382
|
+
"jungleRiceHay",
|
|
382
383
|
"riceGrainInHuskUpland"
|
|
383
384
|
]
|
|
384
385
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const DATA_VALIDATION_VERSION = '0.37.
|
|
1
|
+
export const DATA_VALIDATION_VERSION = '0.37.11';
|
package/validation.json
CHANGED
|
@@ -5,11 +5,26 @@
|
|
|
5
5
|
"level": "error",
|
|
6
6
|
"message": "must be before today"
|
|
7
7
|
},
|
|
8
|
+
{
|
|
9
|
+
"function": "validate_node_dates",
|
|
10
|
+
"level": "error",
|
|
11
|
+
"message": "must be greater than startDate"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"function": "validate_node_dates",
|
|
15
|
+
"level": "error",
|
|
16
|
+
"message": "must be in the same format as endDate"
|
|
17
|
+
},
|
|
8
18
|
{
|
|
9
19
|
"function": "validate_list_dates",
|
|
10
20
|
"level": "error",
|
|
11
21
|
"message": "must be greater than startDate"
|
|
12
22
|
},
|
|
23
|
+
{
|
|
24
|
+
"function": "validate_list_dates_format",
|
|
25
|
+
"level": "error",
|
|
26
|
+
"message": "must have the same length as endDate"
|
|
27
|
+
},
|
|
13
28
|
{
|
|
14
29
|
"function": "validate_list_dates_length",
|
|
15
30
|
"level": "error",
|
|
@@ -83,7 +98,7 @@
|
|
|
83
98
|
{
|
|
84
99
|
"function": "validate_boundary_area",
|
|
85
100
|
"level": "warning",
|
|
86
|
-
"message": "should be lower than max size"
|
|
101
|
+
"message": "boundaryArea should be lower than max size"
|
|
87
102
|
},
|
|
88
103
|
{
|
|
89
104
|
"function": "validate_region_size",
|
|
@@ -148,7 +163,7 @@
|
|
|
148
163
|
{
|
|
149
164
|
"function": "validate_methodTier_background",
|
|
150
165
|
"level": "error",
|
|
151
|
-
"message": "
|
|
166
|
+
"message": "must not have background methodTier"
|
|
152
167
|
},
|
|
153
168
|
{
|
|
154
169
|
"function": "validate_defaultValue",
|
|
@@ -185,11 +200,26 @@
|
|
|
185
200
|
"level": "warning",
|
|
186
201
|
"message": "should contain a tillage practice"
|
|
187
202
|
},
|
|
203
|
+
{
|
|
204
|
+
"function": "validate_tillage_values",
|
|
205
|
+
"level": "error",
|
|
206
|
+
"message": "cannot use no tillage if depth or number of tillages is not 0"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"function": "validate_tillage_values",
|
|
210
|
+
"level": "error",
|
|
211
|
+
"message": "cannot use full tillage if depth or number of tillages is 0"
|
|
212
|
+
},
|
|
188
213
|
{
|
|
189
214
|
"function": "validate_liveAnimal_system",
|
|
190
215
|
"level": "warning",
|
|
191
216
|
"message": "should add an animal production system"
|
|
192
217
|
},
|
|
218
|
+
{
|
|
219
|
+
"function": "validate_has_pastureGrass",
|
|
220
|
+
"level": "warning",
|
|
221
|
+
"message": "should add the term pastureGrass"
|
|
222
|
+
},
|
|
193
223
|
{
|
|
194
224
|
"function": "validate_pastureGrass_key_termType",
|
|
195
225
|
"level": "error",
|
|
@@ -205,11 +235,6 @@
|
|
|
205
235
|
"level": "error",
|
|
206
236
|
"message": "the sum of all pastureGrass values must be 100"
|
|
207
237
|
},
|
|
208
|
-
{
|
|
209
|
-
"function": "validate_has_pastureGrass",
|
|
210
|
-
"level": "warning",
|
|
211
|
-
"message": "should add the term pastureGrass"
|
|
212
|
-
},
|
|
213
238
|
{
|
|
214
239
|
"function": "validate_permanent_crop_productive_phase",
|
|
215
240
|
"level": "error",
|
|
@@ -298,7 +323,7 @@
|
|
|
298
323
|
{
|
|
299
324
|
"function": "validate_inonising_compounds_waste",
|
|
300
325
|
"level": "error",
|
|
301
|
-
"message": "
|
|
326
|
+
"message": "must be linked to waste input"
|
|
302
327
|
},
|
|
303
328
|
{
|
|
304
329
|
"function": "validate_empty",
|
|
@@ -320,16 +345,6 @@
|
|
|
320
345
|
"level": "error",
|
|
321
346
|
"message": "must not be equal to 1 ha"
|
|
322
347
|
},
|
|
323
|
-
{
|
|
324
|
-
"function": "validate_cycle_dates",
|
|
325
|
-
"level": "error",
|
|
326
|
-
"message": "must be greater than startDate"
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
"function": "validate_cycle_dates",
|
|
330
|
-
"level": "error",
|
|
331
|
-
"message": "must be in the same format as endDate"
|
|
332
|
-
},
|
|
333
348
|
{
|
|
334
349
|
"function": "validate_sum_aboveGroundCropResidue",
|
|
335
350
|
"level": "error",
|
|
@@ -475,11 +490,6 @@
|
|
|
475
490
|
"level": "error",
|
|
476
491
|
"message": "is not an allowed excreta product"
|
|
477
492
|
},
|
|
478
|
-
{
|
|
479
|
-
"function": "validate_organisation_dates",
|
|
480
|
-
"level": "error",
|
|
481
|
-
"message": "must be greater than startDate"
|
|
482
|
-
},
|
|
483
493
|
{
|
|
484
494
|
"function": "validate_has_animals",
|
|
485
495
|
"level": "warning",
|
|
@@ -565,11 +575,6 @@
|
|
|
565
575
|
"level": "warning",
|
|
566
576
|
"message": "should contain at least one management node"
|
|
567
577
|
},
|
|
568
|
-
{
|
|
569
|
-
"function": "validate_exists",
|
|
570
|
-
"level": "warning",
|
|
571
|
-
"message": "should contain at least one management node"
|
|
572
|
-
},
|
|
573
578
|
{
|
|
574
579
|
"function": "validate_fallow_dates",
|
|
575
580
|
"level": "error",
|
|
@@ -580,11 +585,6 @@
|
|
|
580
585
|
"level": "error",
|
|
581
586
|
"message": "management date must be before cycle start date"
|
|
582
587
|
},
|
|
583
|
-
{
|
|
584
|
-
"function": "validate_site_dates",
|
|
585
|
-
"level": "error",
|
|
586
|
-
"message": "must be greater than startDate"
|
|
587
|
-
},
|
|
588
588
|
{
|
|
589
589
|
"function": "validate_cycle_dates",
|
|
590
590
|
"level": "error",
|
|
@@ -606,7 +606,7 @@
|
|
|
606
606
|
"message": "aggregation id must contain a product, region, start, and end year"
|
|
607
607
|
},
|
|
608
608
|
{
|
|
609
|
-
"function": "
|
|
609
|
+
"function": "_validate_previous_transformationId",
|
|
610
610
|
"level": "error",
|
|
611
611
|
"message": "must point to a previous transformation in the list"
|
|
612
612
|
},
|