@hestia-earth/data-validation 0.40.6 → 0.41.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/index.js CHANGED
@@ -313,6 +313,11 @@ var validations = [
313
313
  level: "warning",
314
314
  message: "should use irrigated water regime"
315
315
  },
316
+ {
317
+ function: "validate_cropResidueManagement_products",
318
+ level: "error",
319
+ message: "cropResidue product is not accounted for by the cropResidueManagement practices"
320
+ },
316
321
  {
317
322
  function: "validate_soilTexture",
318
323
  level: "error",
package/index.mjs CHANGED
@@ -311,6 +311,11 @@ var validations = [
311
311
  level: "warning",
312
312
  message: "should use irrigated water regime"
313
313
  },
314
+ {
315
+ function: "validate_cropResidueManagement_products",
316
+ level: "error",
317
+ message: "cropResidue product is not accounted for by the cropResidueManagement practices"
318
+ },
314
319
  {
315
320
  function: "validate_soilTexture",
316
321
  level: "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hestia-earth/data-validation",
3
- "version": "0.40.6",
3
+ "version": "0.41.0",
4
4
  "description": "HESTIA Data Validation library",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",
@@ -60,9 +60,9 @@
60
60
  "@commitlint/cli": "^17.8.1",
61
61
  "@commitlint/config-conventional": "^17.8.1",
62
62
  "@hestia-earth/eslint-config": "^0.1.1",
63
- "@hestia-earth/json-schema": "^38.3.1",
64
- "@hestia-earth/schema": "^38.3.1",
65
- "@hestia-earth/schema-validation": "^38.3.1",
63
+ "@hestia-earth/json-schema": "^39.0.0",
64
+ "@hestia-earth/schema": "^39.0.0",
65
+ "@hestia-earth/schema-validation": "^39.0.0",
66
66
  "@typescript-eslint/eslint-plugin": "^5.62.0",
67
67
  "@typescript-eslint/parser": "^5.62.0",
68
68
  "eslint": "^7.32.0",
package/validation.json CHANGED
@@ -300,6 +300,11 @@
300
300
  "level": "warning",
301
301
  "message": "should use irrigated water regime"
302
302
  },
303
+ {
304
+ "function": "validate_cropResidueManagement_products",
305
+ "level": "error",
306
+ "message": "cropResidue product is not accounted for by the cropResidueManagement practices"
307
+ },
303
308
  {
304
309
  "function": "validate_soilTexture",
305
310
  "level": "error",