@hestia-earth/data-validation 0.38.6 → 0.39.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/package.json +4 -4
- package/search-results.json +155 -153
- package/src/version.ts +1 -1
- package/validation.json +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hestia-earth/data-validation",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.39.0",
|
|
4
4
|
"description": "HESTIA Data Validation library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"@commitlint/cli": "^17.8.1",
|
|
37
37
|
"@commitlint/config-conventional": "^17.8.1",
|
|
38
38
|
"@hestia-earth/eslint-config": "^0.1.1",
|
|
39
|
-
"@hestia-earth/json-schema": "^
|
|
40
|
-
"@hestia-earth/schema": "^
|
|
41
|
-
"@hestia-earth/schema-validation": "^
|
|
39
|
+
"@hestia-earth/json-schema": "^36.0.0",
|
|
40
|
+
"@hestia-earth/schema": "^36.0.0",
|
|
41
|
+
"@hestia-earth/schema-validation": "^36.0.0",
|
|
42
42
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
43
43
|
"@typescript-eslint/parser": "^5.62.0",
|
|
44
44
|
"eslint": "^7.32.0",
|
package/search-results.json
CHANGED
|
@@ -2,153 +2,139 @@
|
|
|
2
2
|
"fuel": [
|
|
3
3
|
"petrol",
|
|
4
4
|
"diesel",
|
|
5
|
-
"diesel1D",
|
|
6
5
|
"aviationGasoline",
|
|
7
|
-
"
|
|
6
|
+
"diesel1D",
|
|
8
7
|
"diesel4D",
|
|
9
8
|
"diesel2D",
|
|
10
|
-
"
|
|
9
|
+
"marineDieselOil",
|
|
11
10
|
"gasolineTypeJetFuel",
|
|
11
|
+
"en590Diesel",
|
|
12
12
|
"petrolBurntIn2StrokeEngine",
|
|
13
13
|
"petrolBurntIn4StrokeEngine"
|
|
14
14
|
],
|
|
15
15
|
"cropResidue": [
|
|
16
16
|
"discardedCropBurnt",
|
|
17
|
-
"aboveGroundCropResidueRemoved",
|
|
18
|
-
"discardedCropIncorporated",
|
|
19
17
|
"discardedCropLeftOnField",
|
|
20
18
|
"discardedCropTotal",
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"aboveGroundCropResidueLeftOnField",
|
|
19
|
+
"aboveGroundCropResidueRemoved",
|
|
20
|
+
"discardedCropIncorporated",
|
|
24
21
|
"aboveGroundCropResidueIncorporated",
|
|
25
22
|
"aboveGroundCropResidueTotal",
|
|
26
|
-
"discardedCropRemoved"
|
|
23
|
+
"discardedCropRemoved",
|
|
24
|
+
"aboveGroundCropResidueBurnt",
|
|
25
|
+
"belowGroundCropResidue",
|
|
26
|
+
"aboveGroundCropResidueLeftOnField"
|
|
27
27
|
],
|
|
28
28
|
"model": [
|
|
29
|
+
"pestlciConsensusModel",
|
|
30
|
+
"landOccupationCalculationUsedDurationOnly",
|
|
31
|
+
"dewulfEtAl2007",
|
|
32
|
+
"cnspsModel",
|
|
33
|
+
"ipcc2007",
|
|
34
|
+
"recipe2008Individualist",
|
|
35
|
+
"worldMeteorologicalOrganization1999",
|
|
29
36
|
"landOccupationCalculationIncludingUsedAndUnusedDuration",
|
|
37
|
+
"spatial",
|
|
38
|
+
"ipcc2019",
|
|
39
|
+
"aware",
|
|
40
|
+
"agribalyse2016",
|
|
41
|
+
"pefcrGuidanceDocument2017",
|
|
30
42
|
"edip2003",
|
|
31
|
-
"cnspsModel",
|
|
32
43
|
"hestiaAggregatedData",
|
|
33
44
|
"lcImpactAllEffects100Years",
|
|
34
|
-
"pestlciConsensusModel",
|
|
35
|
-
"recipe2008Individualist",
|
|
36
|
-
"pefcrGuidanceDocument2017",
|
|
37
|
-
"agribalyse2016",
|
|
38
|
-
"ipcc2007",
|
|
39
|
-
"ipcc2019",
|
|
40
|
-
"dewulfEtAl2007",
|
|
41
45
|
"epa2014",
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
+
"usetoxV2",
|
|
47
|
+
"usetoxV2-1",
|
|
48
|
+
"europeanEnvironmentAgency2016",
|
|
49
|
+
"fantkeEtAl2016",
|
|
46
50
|
"ipcc2013ExcludingFeedbacks",
|
|
51
|
+
"haversineFormula",
|
|
52
|
+
"poschEtAl2008",
|
|
53
|
+
"ipcc2019CountryAverageFertiliserMix",
|
|
54
|
+
"papatryphonEtAl2004",
|
|
55
|
+
"harmonizedWorldSoilDatabaseV1-2",
|
|
47
56
|
"pribyl2010",
|
|
48
|
-
"
|
|
57
|
+
"lcImpactCertainEffectsInfinite",
|
|
49
58
|
"lcImpactCertainEffects100Years",
|
|
50
|
-
"
|
|
51
|
-
"chaudharyBrooks2018",
|
|
59
|
+
"ridouttPfister2010",
|
|
52
60
|
"recipe2016Hierarchist",
|
|
53
|
-
"ecoinventV3AndEmberClimate",
|
|
54
|
-
"mapbiomas",
|
|
55
61
|
"sqcb",
|
|
56
|
-
"harmonizedWorldSoilDatabaseV1-2",
|
|
57
|
-
"lcImpactCertainEffectsInfinite",
|
|
58
|
-
"poschEtAl2008",
|
|
59
|
-
"haversineFormula",
|
|
60
|
-
"europeanEnvironmentAgency2016",
|
|
61
|
-
"fantkeEtAl2016",
|
|
62
|
-
"papatryphonEtAl2004",
|
|
63
|
-
"ipcc2019CountryAverageFertiliserMix",
|
|
64
|
-
"usetoxV2",
|
|
65
|
-
"cml1992",
|
|
66
62
|
"ecoinventV3",
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"ecoIndicator99",
|
|
74
|
-
"akagiEtAl2011AndIpcc2006",
|
|
75
|
-
"aggregatedModels",
|
|
76
|
-
"environmentalFootprintV2-0",
|
|
77
|
-
"recipe2008Egalitarian",
|
|
78
|
-
"cml2001Baseline",
|
|
79
|
-
"europeanEnvironmentAgency2013",
|
|
80
|
-
"ecoinventV2",
|
|
81
|
-
"recipe2016Egalitarian",
|
|
82
|
-
"rainsModel",
|
|
83
|
-
"faostat2018",
|
|
84
|
-
"lcImpactAllEffectsInfinite",
|
|
85
|
-
"webbEtAl2012AndSintermannEtAl2012",
|
|
86
|
-
"akiyamaEtAl2010",
|
|
87
|
-
"ipcc1996",
|
|
88
|
-
"hyde3-2",
|
|
89
|
-
"globalCropWaterModel2008",
|
|
90
|
-
"ecoIndicator95",
|
|
91
|
-
"cml2001NonBaseline",
|
|
92
|
-
"emepEea2019",
|
|
63
|
+
"ecoinventV3AndEmberClimate",
|
|
64
|
+
"cml1992",
|
|
65
|
+
"mapbiomas",
|
|
66
|
+
"chaudharyBrooks2018",
|
|
67
|
+
"recipe2016Individualist",
|
|
68
|
+
"milaICanalsEtAl2007",
|
|
93
69
|
"ipcc2013IncludingFeedbacks",
|
|
94
|
-
"
|
|
70
|
+
"emepEea2019",
|
|
95
71
|
"emepEea2019CountryAverageFertiliserMix",
|
|
72
|
+
"semc2000",
|
|
73
|
+
"royEtAl2014",
|
|
74
|
+
"gfliDatabaseV2",
|
|
96
75
|
"massBalanceModel",
|
|
97
|
-
"
|
|
76
|
+
"cumulativeEnergyDemandCedMethod",
|
|
77
|
+
"globalCropWaterModel2008",
|
|
98
78
|
"stehfestBouwman2006GisImplementation",
|
|
99
|
-
"
|
|
79
|
+
"cml2001NonBaseline",
|
|
80
|
+
"ecoIndicator95",
|
|
81
|
+
"linkedImpactAssessment",
|
|
82
|
+
"hestia",
|
|
83
|
+
"schererPfister2015",
|
|
100
84
|
"dammgen2009",
|
|
101
|
-
"allenEtAl2018",
|
|
102
|
-
"royEtAl2014",
|
|
103
|
-
"stehfestBouwman2006",
|
|
104
85
|
"ipcc2021",
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
86
|
+
"stehfestBouwman2006",
|
|
87
|
+
"sqcbFaistEmmeneggerEtAl2009",
|
|
88
|
+
"allenEtAl2018",
|
|
89
|
+
"chaudharyEtAl2015",
|
|
90
|
+
"akiyamaEtAl2010",
|
|
91
|
+
"ipcc2001",
|
|
92
|
+
"ipcc1996",
|
|
93
|
+
"environmentalFootprintV2-0",
|
|
94
|
+
"europeanEnvironmentAgency2013",
|
|
95
|
+
"aggregatedModels",
|
|
96
|
+
"ecoIndicator99",
|
|
97
|
+
"akagiEtAl2011AndIpcc2006",
|
|
98
|
+
"faostat2018",
|
|
99
|
+
"otherModel",
|
|
100
|
+
"frischknechtEtAl2000",
|
|
101
|
+
"lcImpactAllEffectsInfinite",
|
|
102
|
+
"recipe2008Egalitarian",
|
|
103
|
+
"impact2002Model",
|
|
104
|
+
"ecoinventV2",
|
|
105
|
+
"ipcc2006",
|
|
106
|
+
"recipe2008Hierarchist",
|
|
107
|
+
"hyde3-2",
|
|
108
|
+
"webbEtAl2012AndSintermannEtAl2012",
|
|
109
|
+
"rainsModel",
|
|
110
|
+
"cml2001Baseline",
|
|
111
|
+
"recipe2016Egalitarian",
|
|
112
|
+
"usetoxV2-14",
|
|
113
|
+
"koble2014",
|
|
113
114
|
"salca",
|
|
115
|
+
"ipcc1995",
|
|
116
|
+
"environmentalFootprintV3-0",
|
|
117
|
+
"environmentalFootprintV3-1",
|
|
118
|
+
"riskpollModel",
|
|
119
|
+
"akagiEtAl2011",
|
|
120
|
+
"emissionNotRelevant",
|
|
121
|
+
"bafu2025",
|
|
122
|
+
"lanca",
|
|
114
123
|
"jarvisAndPain1994",
|
|
115
|
-
"
|
|
124
|
+
"deRuijterEtAl2010",
|
|
125
|
+
"aware2-0",
|
|
116
126
|
"usEpa1995",
|
|
117
|
-
"akagiEtAl2011",
|
|
118
|
-
"ipcc1995",
|
|
119
|
-
"kanEtAl2020",
|
|
120
127
|
"usEpa1993",
|
|
121
|
-
"
|
|
128
|
+
"ecoalimV9",
|
|
122
129
|
"directive200829EcOfTheEuropeanParliament",
|
|
123
|
-
"bafu2025",
|
|
124
|
-
"environmentalFootprintV3-1",
|
|
125
|
-
"koble2014",
|
|
126
|
-
"schmidt2007",
|
|
127
130
|
"resourceUseNotRelevant",
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
"ecoalimV9"
|
|
131
|
+
"kanEtAl2020",
|
|
132
|
+
"worldSteel",
|
|
133
|
+
"pooreNemecek2018",
|
|
134
|
+
"schmidt2007",
|
|
135
|
+
"blonkConsultants2016"
|
|
134
136
|
],
|
|
135
137
|
"forage": [
|
|
136
|
-
"cockatooFreshForage",
|
|
137
|
-
"jackfruitFreshForage",
|
|
138
|
-
"cocksfootFreshForage",
|
|
139
|
-
"safflowerFreshForage",
|
|
140
|
-
"trefoilFreshForage",
|
|
141
|
-
"kikuyuFreshForage",
|
|
142
|
-
"arrowrootFreshForage",
|
|
143
|
-
"itchgrassFreshForage",
|
|
144
|
-
"tanniaFreshForage",
|
|
145
|
-
"babulFreshForage",
|
|
146
|
-
"agatiFreshForage",
|
|
147
|
-
"nigerFreshForage",
|
|
148
|
-
"ryeFreshForage",
|
|
149
|
-
"peanutFreshForage",
|
|
150
|
-
"mulgaFreshForage",
|
|
151
|
-
"lupinFreshForage",
|
|
152
138
|
"redtopFreshForage",
|
|
153
139
|
"bluegrassFreshForage",
|
|
154
140
|
"sugarcaneFreshForage",
|
|
@@ -175,6 +161,22 @@
|
|
|
175
161
|
"horoFreshForage",
|
|
176
162
|
"tagasasteFreshForage",
|
|
177
163
|
"oliveFreshForage",
|
|
164
|
+
"cockatooFreshForage",
|
|
165
|
+
"jackfruitFreshForage",
|
|
166
|
+
"cocksfootFreshForage",
|
|
167
|
+
"safflowerFreshForage",
|
|
168
|
+
"trefoilFreshForage",
|
|
169
|
+
"kikuyuFreshForage",
|
|
170
|
+
"arrowrootFreshForage",
|
|
171
|
+
"itchgrassFreshForage",
|
|
172
|
+
"tanniaFreshForage",
|
|
173
|
+
"babulFreshForage",
|
|
174
|
+
"agatiFreshForage",
|
|
175
|
+
"nigerFreshForage",
|
|
176
|
+
"ryeFreshForage",
|
|
177
|
+
"peanutFreshForage",
|
|
178
|
+
"mulgaFreshForage",
|
|
179
|
+
"lupinFreshForage",
|
|
178
180
|
"tomatoFreshForage",
|
|
179
181
|
"triticaleFreshForage",
|
|
180
182
|
"panicFreshForage",
|
|
@@ -197,38 +199,6 @@
|
|
|
197
199
|
"maizeFreshForage",
|
|
198
200
|
"buckwheatFreshForage",
|
|
199
201
|
"calliandraFreshForage",
|
|
200
|
-
"sunnHempFreshForage",
|
|
201
|
-
"signalGrassFreshForage",
|
|
202
|
-
"columbusGrassFreshForage",
|
|
203
|
-
"fingerMilletFreshForage",
|
|
204
|
-
"marvelGrassFreshForage",
|
|
205
|
-
"jungleRiceFreshForage",
|
|
206
|
-
"tallFescueFreshForage",
|
|
207
|
-
"hedgeLucerneFreshForage",
|
|
208
|
-
"guineaGrassFreshForage",
|
|
209
|
-
"riverTamarindFreshForage",
|
|
210
|
-
"hookGrassFreshForage",
|
|
211
|
-
"anthephoraNigritanaFreshForage",
|
|
212
|
-
"limpoGrassFreshForage",
|
|
213
|
-
"echinochloaHaplocladaFreshForage",
|
|
214
|
-
"winterThornFreshForage",
|
|
215
|
-
"intermediateWheatgrassFreshForage",
|
|
216
|
-
"aleppoGrassFreshForage",
|
|
217
|
-
"pearlMilletFreshForage",
|
|
218
|
-
"mountainRedtopFreshForage",
|
|
219
|
-
"kachiGrassFreshForage",
|
|
220
|
-
"indianSanburFreshForage",
|
|
221
|
-
"caribGrassFreshForage",
|
|
222
|
-
"sewanGrassFreshForage",
|
|
223
|
-
"buffelGrassFreshForage",
|
|
224
|
-
"commonVetchFreshForage",
|
|
225
|
-
"landGrassFreshForage",
|
|
226
|
-
"whiteMulberryFreshForage",
|
|
227
|
-
"sabiGrassFreshForage",
|
|
228
|
-
"tocoGrassFreshForage",
|
|
229
|
-
"congoGrassFreshForage",
|
|
230
|
-
"indianBluegrassFreshForage",
|
|
231
|
-
"mnesitheaRottboellioidesFreshForage",
|
|
232
202
|
"gambaGrassFreshForage",
|
|
233
203
|
"andropogonFastigiatusFreshForage",
|
|
234
204
|
"arizonaCottontopFreshForage",
|
|
@@ -280,6 +250,38 @@
|
|
|
280
250
|
"breadGrassFreshForage",
|
|
281
251
|
"chineseAlbiziaFreshForage",
|
|
282
252
|
"fodderBeetFreshForage",
|
|
253
|
+
"sunnHempFreshForage",
|
|
254
|
+
"signalGrassFreshForage",
|
|
255
|
+
"columbusGrassFreshForage",
|
|
256
|
+
"fingerMilletFreshForage",
|
|
257
|
+
"marvelGrassFreshForage",
|
|
258
|
+
"jungleRiceFreshForage",
|
|
259
|
+
"tallFescueFreshForage",
|
|
260
|
+
"hedgeLucerneFreshForage",
|
|
261
|
+
"guineaGrassFreshForage",
|
|
262
|
+
"riverTamarindFreshForage",
|
|
263
|
+
"hookGrassFreshForage",
|
|
264
|
+
"anthephoraNigritanaFreshForage",
|
|
265
|
+
"limpoGrassFreshForage",
|
|
266
|
+
"echinochloaHaplocladaFreshForage",
|
|
267
|
+
"winterThornFreshForage",
|
|
268
|
+
"intermediateWheatgrassFreshForage",
|
|
269
|
+
"aleppoGrassFreshForage",
|
|
270
|
+
"pearlMilletFreshForage",
|
|
271
|
+
"mountainRedtopFreshForage",
|
|
272
|
+
"kachiGrassFreshForage",
|
|
273
|
+
"indianSanburFreshForage",
|
|
274
|
+
"caribGrassFreshForage",
|
|
275
|
+
"sewanGrassFreshForage",
|
|
276
|
+
"buffelGrassFreshForage",
|
|
277
|
+
"commonVetchFreshForage",
|
|
278
|
+
"landGrassFreshForage",
|
|
279
|
+
"whiteMulberryFreshForage",
|
|
280
|
+
"sabiGrassFreshForage",
|
|
281
|
+
"tocoGrassFreshForage",
|
|
282
|
+
"congoGrassFreshForage",
|
|
283
|
+
"indianBluegrassFreshForage",
|
|
284
|
+
"mnesitheaRottboellioidesFreshForage",
|
|
283
285
|
"natalGrassFreshForage",
|
|
284
286
|
"pennisetumSquamulatumFreshForage",
|
|
285
287
|
"desertGrassFreshForage",
|
|
@@ -339,13 +341,6 @@
|
|
|
339
341
|
"creepingBluegrassFreshForage",
|
|
340
342
|
"smutGrassFreshForage",
|
|
341
343
|
"giantSetariaFreshForage",
|
|
342
|
-
"yellowThatchingGrassFreshForage",
|
|
343
|
-
"africanLocustBeanFreshForage",
|
|
344
|
-
"whiteSpearGrassFreshForage",
|
|
345
|
-
"queenslandBlueGrassFreshForage",
|
|
346
|
-
"bulbousCanaryGrassFreshForage",
|
|
347
|
-
"grassCloverMixtureFreshForage",
|
|
348
|
-
"hairyHerringboneGrassFreshForage",
|
|
349
344
|
"giantStarGrassFreshForage",
|
|
350
345
|
"blueSignalGrassFreshForage",
|
|
351
346
|
"chineseRyeGrassFreshForage",
|
|
@@ -356,11 +351,6 @@
|
|
|
356
351
|
"genericLeguminousGrassFreshForage",
|
|
357
352
|
"fineThatchingGrassFreshForage",
|
|
358
353
|
"nadiBlueGrassFreshForage",
|
|
359
|
-
"largeLeafFlemingiaFreshForage",
|
|
360
|
-
"weepingLoveGrassFreshForage",
|
|
361
|
-
"redRhodesGrassFreshForage",
|
|
362
|
-
"lehmannLoveGrassFreshForage",
|
|
363
|
-
"stylosanthesCampoGrandeFreshForage",
|
|
364
354
|
"milanjeFingerGrassFreshForage",
|
|
365
355
|
"africanCouchGrassFreshForage",
|
|
366
356
|
"colouredGuineaGrassFreshForage",
|
|
@@ -372,6 +362,18 @@
|
|
|
372
362
|
"greyLoveGrassFreshForage",
|
|
373
363
|
"cushionLoveGrassFreshForage",
|
|
374
364
|
"wireLemonGrassFreshForage",
|
|
365
|
+
"yellowThatchingGrassFreshForage",
|
|
366
|
+
"africanLocustBeanFreshForage",
|
|
367
|
+
"whiteSpearGrassFreshForage",
|
|
368
|
+
"queenslandBlueGrassFreshForage",
|
|
369
|
+
"bulbousCanaryGrassFreshForage",
|
|
370
|
+
"grassCloverMixtureFreshForage",
|
|
371
|
+
"hairyHerringboneGrassFreshForage",
|
|
372
|
+
"largeLeafFlemingiaFreshForage",
|
|
373
|
+
"weepingLoveGrassFreshForage",
|
|
374
|
+
"redRhodesGrassFreshForage",
|
|
375
|
+
"lehmannLoveGrassFreshForage",
|
|
376
|
+
"stylosanthesCampoGrandeFreshForage",
|
|
375
377
|
"colouredHoodGrassFreshForage",
|
|
376
378
|
"falseRhodesGrassFreshForage",
|
|
377
379
|
"stAugustineGrassFreshForage",
|
|
@@ -381,7 +383,7 @@
|
|
|
381
383
|
"rice": [
|
|
382
384
|
"riceStraw",
|
|
383
385
|
"jungleRiceHay",
|
|
384
|
-
"
|
|
385
|
-
"
|
|
386
|
+
"riceGrainInHuskUpland",
|
|
387
|
+
"riceGrainInHuskFlooded"
|
|
386
388
|
]
|
|
387
389
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const DATA_VALIDATION_VERSION = '0.
|
|
1
|
+
export const DATA_VALIDATION_VERSION = '0.39.0';
|
package/validation.json
CHANGED
|
@@ -175,6 +175,11 @@
|
|
|
175
175
|
"level": "error",
|
|
176
176
|
"message": "must not have background methodTier"
|
|
177
177
|
},
|
|
178
|
+
{
|
|
179
|
+
"function": "validate_depth",
|
|
180
|
+
"level": "warning",
|
|
181
|
+
"message": "should set the depth"
|
|
182
|
+
},
|
|
178
183
|
{
|
|
179
184
|
"function": "validate_defaultValue",
|
|
180
185
|
"level": "warning",
|
|
@@ -400,6 +405,11 @@
|
|
|
400
405
|
"level": "error",
|
|
401
406
|
"message": "must equal to endDate - startDate in days"
|
|
402
407
|
},
|
|
408
|
+
{
|
|
409
|
+
"function": "validate_harvestedArea",
|
|
410
|
+
"level": "error",
|
|
411
|
+
"message": "must be lower or equal to siteArea"
|
|
412
|
+
},
|
|
403
413
|
{
|
|
404
414
|
"function": "validate_maximum_cycleDuration",
|
|
405
415
|
"level": "error",
|