@hestia-earth/data-validation 0.38.1 → 0.38.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/package.json +1 -1
- package/search-results.json +1 -1
- package/src/version.ts +1 -1
- package/validation.json +16 -1
package/package.json
CHANGED
package/search-results.json
CHANGED
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const DATA_VALIDATION_VERSION = '0.38.
|
|
1
|
+
export const DATA_VALIDATION_VERSION = '0.38.2';
|
package/validation.json
CHANGED
|
@@ -310,6 +310,11 @@
|
|
|
310
310
|
"level": "error",
|
|
311
311
|
"message": "must be unique"
|
|
312
312
|
},
|
|
313
|
+
{
|
|
314
|
+
"function": "validate_term_unique",
|
|
315
|
+
"level": "error",
|
|
316
|
+
"message": "must provide value or min and max"
|
|
317
|
+
},
|
|
313
318
|
{
|
|
314
319
|
"function": "validate_with_models",
|
|
315
320
|
"level": "warning",
|
|
@@ -408,7 +413,17 @@
|
|
|
408
413
|
{
|
|
409
414
|
"function": "validate_animal_siteDuration",
|
|
410
415
|
"level": "error",
|
|
411
|
-
"message": "
|
|
416
|
+
"message": "should be equal to cycleDuration for animals"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"function": "validate_animal_siteDuration",
|
|
420
|
+
"level": "error",
|
|
421
|
+
"message": "should be equal to cycleDuration - otherSitesDuration for animals"
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"function": "validate_animal_siteDuration",
|
|
425
|
+
"level": "error",
|
|
426
|
+
"message": "should be less than cycleDuration for animals"
|
|
412
427
|
},
|
|
413
428
|
{
|
|
414
429
|
"function": "validate_durations",
|