@hestia-earth/data-validation 0.41.0 → 0.41.2

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
@@ -583,6 +583,11 @@ var validations = [
583
583
  level: "error",
584
584
  message: "is not an allowed excreta product"
585
585
  },
586
+ {
587
+ function: "validate_requires_water_salinity",
588
+ level: "error",
589
+ message: "requires a water salinity measurement"
590
+ },
586
591
  {
587
592
  function: "validate_has_animals",
588
593
  level: "warning",
@@ -633,6 +638,11 @@ var validations = [
633
638
  level: "error",
634
639
  message: "saplings cannot be used as an input here"
635
640
  },
641
+ {
642
+ function: "validate_material_depreciated",
643
+ level: "error",
644
+ message: "must use the depreciated term"
645
+ },
636
646
  {
637
647
  function: "validate_input_is_product",
638
648
  level: "error",
package/index.mjs CHANGED
@@ -581,6 +581,11 @@ var validations = [
581
581
  level: "error",
582
582
  message: "is not an allowed excreta product"
583
583
  },
584
+ {
585
+ function: "validate_requires_water_salinity",
586
+ level: "error",
587
+ message: "requires a water salinity measurement"
588
+ },
584
589
  {
585
590
  function: "validate_has_animals",
586
591
  level: "warning",
@@ -631,6 +636,11 @@ var validations = [
631
636
  level: "error",
632
637
  message: "saplings cannot be used as an input here"
633
638
  },
639
+ {
640
+ function: "validate_material_depreciated",
641
+ level: "error",
642
+ message: "must use the depreciated term"
643
+ },
634
644
  {
635
645
  function: "validate_input_is_product",
636
646
  level: "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hestia-earth/data-validation",
3
- "version": "0.41.0",
3
+ "version": "0.41.2",
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": "^39.0.0",
64
- "@hestia-earth/schema": "^39.0.0",
65
- "@hestia-earth/schema-validation": "^39.0.0",
63
+ "@hestia-earth/json-schema": "^39.0.1",
64
+ "@hestia-earth/schema": "^39.0.1",
65
+ "@hestia-earth/schema-validation": "^39.0.1",
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
@@ -570,6 +570,11 @@
570
570
  "level": "error",
571
571
  "message": "is not an allowed excreta product"
572
572
  },
573
+ {
574
+ "function": "validate_requires_water_salinity",
575
+ "level": "error",
576
+ "message": "requires a water salinity measurement"
577
+ },
573
578
  {
574
579
  "function": "validate_has_animals",
575
580
  "level": "warning",
@@ -620,6 +625,11 @@
620
625
  "level": "error",
621
626
  "message": "saplings cannot be used as an input here"
622
627
  },
628
+ {
629
+ "function": "validate_material_depreciated",
630
+ "level": "error",
631
+ "message": "must use the depreciated term"
632
+ },
623
633
  {
624
634
  "function": "validate_input_is_product",
625
635
  "level": "error",